文档介绍:毕业设计(论文)
专
业
通信工程
班
级
—
姓
名
学
号
课
题
基于单片机的抢答器设计
指导教师
2012年6月5日
随着科技的迅速发展,现在的抢答器正向着数字化,智能化的方向发展,我 们介绍一种基于单片机的抢答器设计,利用AT89S52单片机及外围接口实现的抢 答器系统功能,采用单片机的定时器/计数器的定时和计数功能,将软、硬件有 机地结合起来,使得系统能够正确地进行计时,同时使数码管能够正确地显示时 间,来完成八路抢答器的抢答正确与否判断、抢答时间设定、蜂鸣器的报警、选 手号码的显示和分数统计等功能。用按键开关做键盘输入,蜂鸣器发生提示,通 过LED数码管进行显示。给出了顶层电路原理图、各模块的源程序设计以及实物 的制作,通过
ke订C51开发平台完成了抢答器源程序设计、编译,并下载到 AT89S52单片机芯片中进行测试,完成抢答器实物的安装与调试。
关键词:单片机、、LED数码管
Abstract
Along with the quick development of science and technology, now of the device is toward digital vies to answer first, the intelligent direction, we introduce a based on SCM vies to answer first device design, use AT89S52 SCM and peripheral interfaces vies to answer first the inverter system function, USES the monolithic timers/counter of the timing and count function, will be soft and hardware organically, and makes the system can correctly to the time, at the same time make digital tube can properly display the time, to complete the 8 vies to answer first the vies to answer first correctly or not judging, vies to answer first time setting, the buzzer alarm, player of the display and scores number statistics etc. Function. With a button switch to do the keyboard intput, a buzzer happen hint, LED digital display through pipe. Given the level of the circuit principle diagram, each module of the source program design and forms of production, through the keil C51 development platform completed the source program design, vies to answer first compiled, and downloaded to the chip AT89S52 SCM test, complete the forms of vies to answer first installation and commissioning.
Key Words:AT89S52 SCM, vies to answer first, implement, LED digital tube
目录
1绪论 -1 -
-1-
-1-
2抢答器系统的概述 -2-
-2-
-3 -
2. 3抢答器的工作过程 -4-
3硬件电路设计 -5-
方案白勺选择与论证 -5 -
-6 -
3.. 单片机最小系统 -6 -
AT89S52 简介 -6 -
-10-
-11 -
-12-
LED显示电路设计 -13 -