Design of Feather Scorer Based on 51 Single Chip Computer

1. Design content

It is composed of STC89C51 single-chip microcomputer + key module + LCD1602 LCD display + power supply.
Specific functions:
(1) LCD1602 displays the scores of contestants A and B and the time of the game;
(2) Realize start, team A plus points, and team A minus by pressing buttons Points, B team extra points, B team deduction, pause, stop, reset and other functions;
(3) The result of the game is automatically output on the LCD1602 LCD screen.

2. Design plan

According to the functional requirements and design cost, the hardware control system uses the STC89C51 chip, and the simulation control system uses the AT89C51 chip. The button switch is used to realize the function control. According to the designed function module, a total of 8 button switches are selected to realize the functions of start, team A plus points, team A minus points, team B plus points, team B minus points, pause, stop, and reset. . The clock circuit is composed of a crystal oscillator, a crystal oscillator control chip and a capacitor. It uses serial data transmission to provide a programmable charging function for the power failure protection power supply, and the charging function can be turned off. The reset circuit is used to restore the circuit to the initial state of the circuit equipment to ensure the stable and reliable operation of the circuit in the microcomputer system. It is an essential part of the circuit diagram. Choose LCD1602 LCD screen as the display device to record the scores of the two teams.

3. Software design ideas

The operating process and working process of the system play a very important guiding role in the design of the program. Therefore, the working principle of the badminton scorer should be analyzed before the software design. When the game starts, first determine which team scored and add 1 point for each additional point. If you accidentally add the wrong points, press the button to subtract the extra points. When the game starts, first press the start button S1 to display the start of work, extra points and misoperation, pause and other buttons can work. The design flow chart is shown in the figure.

All materials include programs (notes), AD schematic diagrams, protues simulation, reference papers, program explanations, simulation explanations, simulation videos, schematic explanations, introductions to the use of materials, etc., the most comprehensive network! ! ( Https://www.cirmall.com/circuit/18393 )

For more MCU design and information, please pay attention to the WeChat public account "Electronic Engineer Growth Diary"! !

Guess you like

Origin blog.csdn.net/weixin_41017942/article/details/107595641