摘 要:本次设计的篮球记分牌以单片机为核心,由计分器、综合控制器等组成。 核心系统分为计分显示模块、按键控制模块。每个模块所对应的程序结构简单、 任务明确,方便于编写、调试和修改。程序的修改可局部进行,其他部分可保持 不变。采用 Proteus 软件进行仿真,检验功能是否能够很好的实现,此次设计的 系统中的硬件电路主要由单片机 AT89C52、计时电路、计分电路和按键开关等组 成。此外,设计的篮球记分牌由 AT89C52 单片机编程控制以 LED 三段数码管为显示的篮球计分系统。此系统具有及时刷新 AB 双方的成绩、比赛成绩互换和复位等功能。它具有价格低廉、性能稳定、操作方便并且易于携带的优点,广泛的适 合各类学校或者小型团队作为比赛计分。75636
毕业论文关键字:AT89C52 单片机;LED 数码管;记分牌
Abstract:As a result of the high level of integration, the function of the single chip microcomputer is strong, good generality, in particular, it has small volume, light weight, low energy consumption, low price, high reliability, strong anti-interference ability and easy to use and other unique advantages。
Points system main body is pided into display module, a button control keyboard module。 Each module of the program structure is simple, task clear, easy to write, debug, and modify。 Program good readability, the program can be modified locally, This system in the design of hardware circuit mainly consists of the following several parts: single chip microcomputer AT89C52, timing circuit, scoring circuit, alarm circuit and switches。
This design is controlled by AT89C52 programming LED seven segment digital tube display game scoring system。 The system has timely refresh the parties performance, etc。 It has low cost, stable performance, convenient operation and easy to carry, suitable for all kinds of schools or small groups score as schedule。
Keyword:AT89C52 microcontroller; LED digital control; Scoreboard
目 录
1 前言 4
1。1 课题来源 4
1。2 课题研究 4
2 系统设计 5
2。1 框图设计 5
2。2 框图简介 5
3 硬件设计 10
3。1 电路工作原理 10
3。2 仿真 10
4 软件设计 11
4。1 设计流程图 12
4。2 程序代码 13
5 系统调试 18
5。1 硬件调试 18
5。2 软件调试 20
总结 22
参考文献 23
致谢 24
附录 25
1 AT89C52单片机比赛记分牌设计+电路图:http://www.youerw.com/zidonghua/lunwen_86610.html