The system adopts a modular design, the main body is divided into timing display module, scoring display module, timing alarm, key control keyboard module. Each module has simple program structure, clear tasks, easy to write, debug and modify. Program readability is good, modifications to the program can be made locally, and other parts can remain unchanged. After programming, Keil uVision4 software is used to compile, and then the generated hex file into the chip, using Proteus 7.8SP2 software simulation, to verify whether the function can be achieved properly, and then use Altium8.3 to draw a hardware circuit diagram. In this design, the system hardware circuit is mainly composed of the following parts: the microcontroller STC89C52, timing circuit, scoring circuit, alarm circuit and key switch.
正在翻译中..