1、基于单片机的球类比赛计时计分系统设计 1 基于单片机的球类比赛计时计分系统设计基于单片机的球类比赛计时计分系统设计 摘要:单片机广泛应用在电子领域的各个方面,因此想到要把单片机应用在球类比赛当中去,球类比 赛主要包括计时和计分两大块,这样就可以应用单片机来控制七段数码管 LED来实现这种功能,达到 预期的效果。 本此计时计分系统的设计主要是篮球比赛为例,然后可以拓展到其他球类比赛的各个方面,篮球 比赛的计时计分系统主要是以 AT89C51 单片机为核心元件,利用它内部的计数器 T0,通过软件编程来完成比 赛的计时,硬件部分除了 AT89C51 之外,还有 7 段 LED 数码管和开关,通过程序
2、控制后显示比分和时间。报警部 分采用蜂鸣器为音响器件。该计时计分器具有以下功能:1、计时:赛程时间启/停设置、24s 倒计时控制;2、计 分:比分加减控制,调整两队的比分;3、报警。且价格低廉、操作简单、携带方便,适合学校单位举办友谊比 赛等赛事的计时计分辅助工具。 关键词: 篮球 AT89C51 计时计分系统 中图分类号:号:TN Based on SCM ball games timing scoring system design Abstract:widely used in the electronic field microcontroller, therefore all asp
3、ects of the thought of putting SCM in ball games, ball games among mainly includes timing and scoring two bulks, so it can be used a singleship controlling seven segment digital tube LED to implement this function, achieve the desired effect. The timing of the scoring system is designed as an exampl
4、e, then basketball game could expand to other ball games each aspect, the game of basketball timing scoring system is mainly by AT89C51 components, use it internal counter T0, through software programming to complete game timing, hardware part besides AT89C51 seven sections, but also LED digital tube and switch, through the program control time and that the score. Alarm part adopts for audio devices. Buzzer The timing JiFenQi has the following functions: 1, timing: schedule time rev/stop setti