1、 1 毕毕 业业 设设 计计 论论 文文 题目 :基于单片机的智能抢答器 系 别: 专 业: 电气自动化技术 姓 名: 学 号: 指导教师: 年 月 日 2 摘要 随着科学技术的发展和普及,各种各样的竞赛越来越多,其中抢答器的 作用也越来越重要。本文设计出以 AT89S51 单片机为核心的八路抢答器,采用 了数字显示器直接指示,自动锁存显示结果,并自动复位的设计思想,它能根据 不同的抢答输入信号,经过单片机的控制处理并产生不同的与输入信号相对应 的输出信号,最后通过 LED 数码管显示相应的路数,即使两组的抢答时间相差 几微秒,也可分辨出是哪组优先按下的按键,充分利用了单片机系统结构简单、 功
2、能强大、可靠性好、实用性强的特点。 本设计是以抢答为出发点。考虑到依需设定限时回答的功能,利用 89S51 单片机及外围接口实现的抢答系统, 利用单片机的定时器/计数器定时和记数的 原理,将软、硬件有机地结合起来,使得系统能够正确地进行计时,同时使数 码管能够正确地显示时间。用开关做键盘输出,扬声器发生提示。同时系统能 够实现:在抢答中,只有开始后抢答才有效,如果在开始抢答前抢答为无效; 满时后系统计时自动复位及主控强制复位;按键锁定,在有效状态下,按键无 效非法 【关键词】抢答器 单片机 LED 数码显示管 定时器/计数器 扬声器。 河南城建学院 Abstract 3 Abstract Wi
3、th the development of science and technology and popularization, all kinds of competitions, including contest is more and more the role of more and more important. This paper designed AT89S51 as the core in the zhuhai vies regulator, with digital display direct instructions, automatic latch showed r
4、esults, and automatic reset design ideas, it can according to different contest input signal by MCU control, handle and produce different with the input signal corresponding output signal, finally LED digital pipe display by the corresponding points, even if the two groups of vies differs a few microseconds, also time can distinguish which group of priority press buttons, fully utilize the single-chip microcomputer system structure is si