1、 毕 业 论 文 ( 设 计毕 业 论 文 ( 设 计 ) 基于单片机的抢答器的设计 指导老师: 班 级: 系 (部) : 机电工程系 专 业: 机电一体化 答辩时间: - I - 摘 要 随着科学技术的不断发展,促使人们学科学、学技术、学知识的手段多种多样。抢答器作为一 种工具,已广泛应用于各种智力和知识竞赛场合。但抢答器的使用频率较低,且有的要么制作复杂, 要么可靠性低,减少兴致。做为一个单位若专购一台抢答器虽然在经济上可以承受,但每年使用的 次数极少,往往因长期存放使(电子器件的)抢答器损坏,再购置的麻烦和及时性就会影响活动的 开展,因此设计了本抢答器。 本设计是以六路抢答为基本理念。
2、考虑到依需设定限时回答的功能, 利用 A T89C51 单片机及外 围接口实现的抢答系统,利用单片机的定时器/计数器定时和记数的原理,将软、硬件有机地结合起 来,使得系统能够正确地进行计时,同时使数码管能够正确地显示时间。用开关做键盘输出,扬声 器发生提示。同时系统能够实现:在抢答中,只有开始后抢答才有效,如果在开始抢答前抢答为无 效;抢答限定时间和回答问题的时间可在 1-99s 设定;可以显示是哪位选手有效抢答和无效抢答, 正确按键后有音乐提示;抢答时间和回答问题时间倒记时显示,满时后系统计时自动复位及主控强 制复位;按键锁定,在有效状态下,按键无效非法。 关键词 A T89C51 ; LE
3、D 数码管 ;抢答器; 计时 ;报警 - II - ABSTRACT With the continuous development of science and technology, promote learning science, science and technology, knowledge of the variety of means. With a tool for Qiangda, which has been widely used in all kinds of intelligence and knowledge contests occasions. But Qi
4、angda is used for lower frequency, and some production complex or low reliability, and reduced interest. As a unit, if the purchase is a Qiangda. Although the economy can bear, each year the number is extremely small, because of the long-term storage (electronic devices) Qiangda for damage to the purchase of the trouble and timeliness of activities. The development will be affected, so this Qiangda is designed. This design is six road Qiangda as the basic c