[go: up one dir, main page]

0% found this document useful (0 votes)
46 views11 pages

PIC18F452 Cricket Scoreboard Interface

Uploaded by

ammaradil817
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views11 pages

PIC18F452 Cricket Scoreboard Interface

Uploaded by

ammaradil817
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

Microprocessor Systems and

Interfacing

Cricket Scoring Board In Pic18F452


Assembly Languages
Supervised by
Sir Sahibzada Asim
NAME : (REG NO)
Muhammad Ammar Adil
(FA20-EPE-056)
Abbas Khan
(FA20-EPE-042)
Ihsan khan
(FA20-EPE-112)
Table Of Content
Introduction
Objective
Code explanation
Feature of Project
Application
Advantages
Disadvantages
Conclusion
Introduction

With keypad and lcd in Pic 18F452 is a project that uses a


microcontroller to create an interface between a cricket
scoring board, a keypad and an LCD display. This project is
useful for those who would like to have a simpler way to
record and display cricket scores. The microcontroller used
in this project is the PIC18F452, which is a powerful and
versatile microcontroller with a wide variety of features. The
microcontroller can be programmed to accept input from the
keypad and display the score on the LCD display. The user
will use the keypad to input the score from the cricket
scoring board and the microcontroller will then display the
score on the LCD. The microcontroller can also be
programmed to perform other tasks, such as keeping track of
the number of overs and balls played, calculating the run
rate, and displaying the score in different formats
Objective

The objective of the PIC18F452 in the


Circuit Scoring Board is to provide a
microcontroller that can be programmed with
assmebly language to control various tasks.
The board also includes a serial port for
programming and debugging, as well as
various I/O pins that can be used to connect
to other external devices.
Feature of Project

Pic 18F452 has the following features for a


cricket scoring board interface with keypad
and LCD:
Capture/Compare/PWM module for
generating the tones required for cricket
scouring.
• SPI module for driving the LCD display.
• Interrupts for handling key presses.
Code explanation
 SWAPF (file register to destination)
 EQU ( tells the assembler to  CLRF(clear file register)

substitute )  COMF (complement file)


 IORLW(incisive or value little value in
working reg)
 LSFR(load file register instruction)
 0x38 (8-bit 2 row mode of LCD)  TABLAT( table read write instruction)

 0X0E( are used to transfer nibbles  TPLPTRU(table pointer upper most


signi)
to/from the LCD )  TBLPTRL(tabel pointer lower )

0XFC( "Flash" memory)  TBLPTRH(table pointer higher)


 TBLRD*-(post decrement )
 CPFSEQ(Compare f with W, skip if  TBLRD*+(post increment )

f = W)

 BRA(relative jump from current

position)
 TBLRD ( Previous instruction)
 MOVFF(source file, destination file)
 MOVF(file location to another
destination)
Advantages

Advantages and disadvantages of cricket


scouring board interface with keypad and
led in pic18F452
Advantages:
1. Easy to use: The cricket scouring board
interface with keypad and LCD in
PIC18F452 is simple to operate. It allows
the user to easily input data and view the
output on the LCD.
2. Compact design: The interface is small
and lightweight, making it easy to carry
around or install in a tight space.
Disadvantages
1. Limited memory: The interface has limited
memory, which can limit its capabilities.
2. Complex programming: The interface
requires complex programming in order to
create custom applications.
3. Limited input/output options: The
interface has limited input and output
options, which can limit its capabilities.
Conclusion

The implementation of a cricket score board


interface with keypad and LCD in PIC18F452
provides a cost-effective and reliable solution for
keeping track of cricket scores. The interface offers
a user-friendly interface for entering and displaying
scores quickly and accurately. The keypad and LCD
display provide a simple and intuitive way for
players and spectators to follow along with the
game. The use of a PIC18F452 microcontroller
ensures that the interface is reliable, efficient, and
easy to use. Overall, the cricket score board
interface with keypad and LCD in PIC18F452 is an
excellent solution for tracking cricket scores.
Thank You

You might also like