文档介绍:四川工程职业技术学院
毕业论文
篮球比赛计时、计分系统
专业:电子信息工程技术学号: 200812020295
姓名:张久华指导教师:刘森
完成时间: 2011年6月成绩:
篮球比赛计时、计分系统设计
【摘要】:
随着单片机在各个领域的广泛应用,许多用单片机作控制的球赛计时计分器也应运而生,如用单片机控制LCD液晶显示器的计时计分器,用单片机控制LED七段显示器的计时计分器等等。
本次设计的篮球计时计分系统以AT89C51单片机为核心元件,利用它内部的计数器T0完成比赛的计时,通过七段共阴极LED来显示比分和时间。计时部分采用CD4511(七段BCD码译码器)进行硬件译码;计分部分采用CD4094(8位移位存贮总线寄存器)进行串行口扩展显示器接口,并利用74LS21(双四输入与门)来实现比分的刷新功能。报警部分采用蜂鸣器为音响器件。本系统具有赛事时间设置、赛事时间启/停设置、24s倒计时控制;比分刷新控制;报警等功能。且造价低廉、操作简单、携带方便,适合于学校或小团体作为赛程计时计分工具。
【关键词】:篮球计时计分系统七段共阴LED数码管 AT89C51
Basketball game time, scoring design
Abstract:
With a wide range of SCM applications in various fields, many with a single 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 microcontroller timing control points and more.
The time basketball scoring system designed to AT89C51 microcontroller as the ponent, use it to finish within the time T0 counter, through mon 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, event time start / stop setting, 24s countdown control; score refresh control; alarm functions. And low cost, simple operation, easy to carry, suitable for schools or small groups as the race time scoring tool.
Key words: Time basketball scoring mon cathode seven segment LED digital tube AT89C51
目录
第一部分绪论
选题背景和意义…………………………………1
选题目的…………………………………………1
选题设计要求……………………………………1
第二部分总体方案设计
系统的结构框图…………………………………2
各部分功能介绍…………………………………3
赛程时间设置…………………………………3
赛程时间启动/停止设置………………………3
比分刷新控制…………………………………3
24s显示控制……………………………………4
计时计分显示…………………………………4
计时结束后报警………………………………4
硬件部分的设计…………………………………4
AT89C5