摘要本设计以现实生活中篮球比赛规则为依据,以STC89C52RC型的单片机为核心,利用 LCD1062液晶屏作为显示器,以蜂鸣器作为报警器。满足了篮球比赛对计时计分器的要求。本设计由四部分组成:24秒显示,计时器,记分器,计节器。本设计具有的功能:记录双方的比赛分数和比赛局数,设置每局的时间长度,记录每局的剩余时间,24秒违规报警。本设计性价比很高,价格适中,产品的性能也满足现实生活中篮球比赛的规则。68865
该论文有图4幅,表2个,参考文献15篇。
毕业论文关键词:STC89C52RC型单片机 LCD1602 计时 计分
Time Basketball Scoring System Based on MCU
Abstract
This STC89C52RC MCU-centred design was based on rules of basketball game in real life. The design uses LCD1062 LCD screen as a display and a buzzer as the alertor.The product meets the requirements of the basketball game. This design consists of four parts: shot clock violation, timer, score indicator, gague unit. This design has the following functions : record the scores of two sides and the number of game, set the length of time , record with the rest time of the game, and shot clock violation. Because it's price not only is moderate, but also it's functions meet the rules of basketball game in real life,so the design has a very high cost-effective.
The paper has four pictures ,two tables and fifteen references.
Key Words: STC89C52RC MCU LCD1602 Timing Scoring
目 录
摘要 I
Abstract II
目录 III
图清单 IV
表清单 IV
1 绪论 1
1.1研究的意义 1
1.2篮球计时计分器的研究现状 1
1.3研究方法 2
2 系统硬件设计 3
2.1系统组成框图 3
2.2 STC89C52RC单片机结构 5
2.3显示模块结构 7
2.4复位电路 8
2.5晶振电路 9
2.6报警电路 10
2.7按键控制电路 10
2.8电源输入电路 12
3 系统软件设计 13
3.1程序说明 13
3.2主程序流程框图 13
4 结论 15
5元件清单 16
参考文献 17
致谢 18
图清单
图序号 图名称 页码
图2-1 篮球计时计分器的系统组成框图 3
图2-2 STC89C52RC单片机的引脚图 4
图2-3 复位电路原理图 7
图3-1 主程序流程图
13
表清单