毕 业 论 文(设 计) 题 目 基于单片机的篮球计时记分器设计 内 容 提 要随着单片机在各个领域的广泛应用,许多用单片机作控制的球赛计时计分器也应运而生,如用单片机控制 LCD 液晶显示器的计时计分器,用单片机控制 LED 七段显示器的计时计分器等。本设计以基本篮球规则为依据,可对篮球竞赛实现实时控制,解决篮球竞赛时计分与计时的问题。该装置包含硬件设计和软件编程,主要是以 AT89C51 单片机为核心元件,编程控制 LED 七段数码管作显示的球赛计时计分系统,计时部分采纳 CD4511(七段 BCD 码译码器)进行硬件译码;计分部分采纳 CD4094(8 位移位存储总线寄存器)作为串行口扩展显示器接口,并利用 74LS21(双四输入与门)来实现比分的刷新功能。报警部分采纳蜂鸣器为音响器件。该系统具有赛程定时设置,赛程时间暂停,及时刷新甲、乙双方的成绩以及赛后成绩暂存等功能。且价格低廉、操作简单、携带方便,适合学校单位举办友谊竞赛等赛事的计时计分辅助工具。关键词单片机 ;篮球赛计时; 篮球赛计分; 显示Design of Timing and Scoring of Basketball Competition Based on microcontrollerAuthor: yang lu Tutor: wang danAbstractWith a wide range of SCM applications in various fields, many with a sinle chip timing for the control 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 MCU timing control points and more.This design based on the basic rules of basketball, the game of basketball can achieve real-time control, total points and timing can be solved in the game of basketball. The device includes hardware design and software programming, mainly based on AT89C51 MCU as the core components, and programmed to control the LED segment digital tube for the display of the game time scoring,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...