多路抢答器的设计与实现本科毕业设计(论文).doc
文本预览下载声明
多路抢答器的设计与实现
[摘要] 本设计是以八路抢答为基本理念,考虑到因活动规则的改变,需设定不同时长的限时抢答、回答问题的功能。利用STC89C52单片机及外围接口实现的抢答系统,以及单片机的定时器/计数器定时和记数的原理,将软、硬件有机地结合起来,使得系统能够设定不同的抢答时间和答题时间,能够正确地进行倒计时,同时使数码管能够正确地显示时间以及选手编号。用矩阵键盘进行活动前的时间设定工作,用开关作为选手抢答按钮输出,用蜂鸣器来发出违规报警和倒计时提醒。同时本设计系统能够实现:在活动中,只有主持人按下开始抢答按钮后,选手的抢答才为有效,如果选手在开始抢答前抢答则为无效;抢答限定时间和回答问题的限定时间可在1-99s内设定;可以显示是哪位选手有效抢答和无效抢答;正确按键后有声音提示;抢答时间和回答问题时间用数码管进行倒计时显示,满时后系统计时自动复位及主控强制复位;有按键锁定,在有效状态下,按键无效非法。
[关键词] STC89C52单片机 LED数码管 抢答器 计时
Design and Implementation of the multi-channel Responder
Tian Pengfei
(Grade 07,class 084, Shaanxi University of Technology,Hanzhong 72300x,Shaanxi)
tutor: Hu bo
[Abstract] The design is based on eight Responder as the basic concept, taking into account the changes in the activity rules need to set the time length limit Responder, answer questions function. The Responder system, STC89C52 microcontroller and peripheral interface implementation and timing microcontroller timer / counter and count the principle of software, hardware organically combined, making the system able to set a different answer in time and answer time, able to correctly to the countdown, digital tube able to correctly display the time and the player number. Matrix keyboard work activities before the time set switch as players answer in the button output, use the buzzer to issue the violation alarm and countdown to remind. The same time, the design system can be achieved: At the event, only moderators began to answer in the button is pressed, the players of the answer in order to effectively, if the players before the start Responder Responder invalidity; a limited time to answer in a limited time and answer questions 1-99s setting; can show which players answer in an effective and invalid answer in; the right button a voice prompt; answer in time and answer questions time countdown display with digital tube, the full system time is automatically reset and master compulsory reset; keys are locked in an effective state, the button is not illegal.
[Key words]
显示全部