1、 单单 片片 机机 课课 程程 设设 计计 题题 目目 智力抢答应用系统设计智力抢答应用系统设计 姓姓 名名 学学 院院 机电工程学院机电工程学院 专专 业业 测控技术与仪器测控技术与仪器 学学 号号 指导教师指导教师 # 成成 绩绩 _ 2012 年 6 月 i 摘摘 要要 随着科学技术的不断发展,促使人们学科学、学技术、学知识的手段多种多样。抢 答器作为一种工具, 已广泛应用于各种智力和知识竞赛场合。 但抢答器的使用频率较低, 且有的要么制作复杂,要么可靠性低,减少兴致。做为一个单位若专购一台抢答器虽然 在经济上可以承受,但每年使用的次数极少,往往因长期存放使(电子器件的)抢答器 损坏,再
2、购置的麻烦和及时性就会影响活动的开展,因此设计了本抢答器。 本设计是以四路抢答为基本理念。考虑到依需设定限时回答的功能,利用 AT89C51 单片机及外围接口实现的抢答系统,利用单片机的定时器/计数器定时和记数的原理, 将软、硬件有机地结合起来,使得系统能够正确地进行计时,同时使数码管能够正确地 显示时间。用开关做键盘输出,扬声器发生提示。同时系统能够实现:在抢答中,只有 开始后抢答才有效,如果在开始抢答前抢答为无效;可以显示是哪位选手有效抢答和无 效抢答,正确按键后有音乐提示;按键锁定,在有效状态下,按键无效非法。 ABSTRACTABSTRACT With the continuous d
3、evelopment 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 Qiangda is used for lower frequency, and some production c
4、omplex 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 concept.By taking i