1、 篮球比赛计时与计分系统设计 篮球比赛计时与计分系统设计 摘要 随着单片机在各个领域的广泛应用, 许多用单片机作控制的球赛计时计分器也应运而 生,如用单片机控制 LCD 液晶显示器的计时计分器,用单片机控制 LED 七段显示器的计时 计分器等等。 本次设计的篮球计时计分系统以 AT89C51 单片机为核心元件,利用它内部的计数器 T0 完成比赛的计时,通过七段共阴极 LED 来显示比分和时间。计时部分采用 CD4511(七 段 BCD 码译码器)进行硬件译码;计分部分采用 CD4094(8 位移位存贮总线寄存器)进行 串行口扩展显示器接口,并利用 74LS21(双四输入与门)来实现比分的刷新功
2、能。报警 部分采用蜂鸣器为音响器件。本系统具有赛事时间设置、赛事时间启/停设置、24s 倒计 时控制;比分刷新控制;报警等功能。且造价低廉、操作简单、携带方便,适合于学校或 小团体作为赛程计时计分工具。 关键词:篮球计时计分系统;七段共阴 LED 数码管;AT89C51 篮球比赛计时与计分系统设计 BASKETBALL GAME TIME AND SCORING DESIGN ABSTRACT With a wide range of SCM applications in various fields, many with a single chip timing for the contr
3、ol of the game scoring device have emerged, such as liquid crystal display LCD with MCU control the timing of scoring device, LED seven segment display with microcontroller timing control points and more. The time basketball scoring system designed to AT89C51 microcontroller as the core component, u
4、se it to finish within the time T0 counter, through the common cathode seven segment LED to display the score and time. Part time using CD4511 (seven segment BCD decoder) for hardware decoding; scoring part is CD4094 (8-bit shift register storage bus) serial port expansion, monitor port, and use 74LS21 (Dual four-input AND gate) to achieve the score of the refresh function. Buzzer to sound the alarm part of the device used. The system has set the event time, e