基于51单片机的六路智能抢答器设计
摘要
在抢答中,只靠人的视觉是很难判断出哪组先答题。利用单片机来设计抢答器,使以上问题得以解决,即使两组的抢答时间相差几微秒,也可分辨出哪组优先答题。能够实现抢答器功能的方式有多种,可以采用模拟电路、数字电路或模拟与数字电路相结合的方式。实现抢答器功能的方式有多种,可以采用早期的模拟电路、数字电路或模数混合电路。本文利用AT89C51单片机及外围接口设计了一个六路抢答器。
关键词:AT89C51LED数码管抢答器计时报警
fDesig
ofsixwayi
tellige
trespo
derbasedo
51si
glechipmicrocomputer
Abstract:I
thea
swero
lybypeoplesvisio
isdifficulttodetermi
ewhichgroupfirst
a
swerUsi
gsi
glechipmicrocomputertodesig
respo
dersothattheaboveproblemsca
besolvedeve
ifthetwogroupsofrespo
dertimediffere
cebetwee
afewmicroseco
dsyouca
ide
tifywhichgroupofpriorityquestio
sTherearema
ywaystorealizethefu
ctio
ofrespo
derwhichca
besimulatedbymea
sofa
alogcircuitsdigitalcircuitsora
aloga
ddigitalcircuitsTherearema
ywaystorealizethefu
ctio
ofa
sweri
gdevicea
dtheearlya
alogcircuitdigitalcircuitora
alogdigitalmixedcircuitca
beadoptedThispaperusesAT89C51microco
trollera
dperipherali
terfacetodesig
asixwayrespo
der
KeywordsAT89C51LEDdigitaltuberespo
dertimi
galarm
II
f目录
第一章系统总体方案的设计111硬件电路的设计112总体原理图213时钟频率电路的设计214复位电路的设计315显示电路的设计4151显示模块在系统软件中的安排416键盘扫描电路的设计617发声718系统复位7
第二章软件设计921主程序系统结构图922软件任务分析923程序流程图10致谢12参考文献13
III
f第一章系统总体方案的设计
11硬件电路的设计
本设计分为硬件设计和软件设计,这两者相互结合,不可r