当前位置:首页 > 基于单片机的篮球计时计分器设计 - 图文
毕 业 论 文(设 计)
题 目 基于单片机的篮球计时记分器设计
I
内 容 提 要
随着单片机在各个领域的广泛应用,许多用单片机作控制的球赛计时计分器也应运而生,如用单片机控制LCD液晶显示器的计时计分器,用单片机控制LED七段显示器的计时计分器等。
本设计以基本篮球规则为依据,可对篮球比赛实现实时控制,解决篮球比赛时计分与计时的问题。该装置包含硬件设计和软件编程,主要是以AT89C51单片机为核心元件,编程控制LED七段数码管作显示的球赛计时计分系统,计时部分采用CD4511(七段BCD码译码器)进行硬件译码;计分部分采用CD4094(8位移位存储总线寄存器)作为串行口扩展显示器接口,并利用74LS21(双四输入与门)来实现比分的刷新功能。报警部分采用蜂鸣器为音响器件。该系统具有赛程定时设置,赛程时间暂停,及时刷新甲、乙双方的成绩以及赛后成绩暂存等功能。且价格低廉、操作简单、携带方便,适合学校单位举办友谊比赛等赛事的计时计分辅助工具。
关键词
单片机 ;篮球赛计时; 篮球赛计分; 显示
II
Design of Timing and Scoring of Basketball Competition Based on microcontroller
Author: yang lu Tutor: wang dan
Abstract
With 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 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 is set up with the schedule from time to time, schedule time to pause, refresh in time A, B, and after the two sides achieved a temporary
III
success functions. It is inexpensive, stable performance, easy to operate and easy to carry and so on. A wide range suitable for all types of schools or small groups as time-points race.
key words
MCU; basketball time; basketball scoreboard; Show
IV
共分享92篇相关文档