基于.单片机的八路抢答器的设计说明

上传人:xmg****18 文档编号:118865843 上传时间:2019-12-27 格式:DOC 页数:41 大小:2.48MB
返回 下载 相关 举报
基于.单片机的八路抢答器的设计说明_第1页
第1页 / 共41页
基于.单片机的八路抢答器的设计说明_第2页
第2页 / 共41页
基于.单片机的八路抢答器的设计说明_第3页
第3页 / 共41页
基于.单片机的八路抢答器的设计说明_第4页
第4页 / 共41页
基于.单片机的八路抢答器的设计说明_第5页
第5页 / 共41页
点击查看更多>>
资源描述

《基于.单片机的八路抢答器的设计说明》由会员分享,可在线阅读,更多相关《基于.单片机的八路抢答器的设计说明(41页珍藏版)》请在金锄头文库上搜索。

1、- - . - word 可编辑. 摘 要 随着科学技术的发展和普及,各种各样的竞赛越来越多,其中抢答器的作用也越 来越重要。本文设计出以 AT89C51 单片机为核心的八路抢答器,采用了数字显示器直 接指示,自动锁存显示结果,并自动复位的设计思想,它能根据不同的抢答输入信号, 经过单片机的控制处理并产生与输入信号相对应的输出信号,最后通过 LED 数码管显 示相应的路数,即使两组的抢答时间相差几微秒,也可分辨出是哪组优先按下的按键, 充分利用了单片机系统结构简单、功能强大、可靠性好、实用性强的特点。 本设计是以抢答为出发点。考虑到根据需要设定限时回答的功能,利用 89C51 单 片机及外围接

2、口实现的抢答系统,利用单片机的定时器/计数器定时和记数的原理,将 软、硬件有机地结合起来,使得系统能够正确地进行计时,同时使数码管能够正确地 显示时间。用开关做键盘输入,蜂鸣器发声提示。同时系统能够实现:在抢答中,只 有开始后抢答才有效,如果在开始抢答前抢答为无效;满时后系统计时自动复位及主 控强制复位;按键锁定,在该状态下,按键是无效的。 关键词:抢答器 单片机 LED 数码显示管 定时器/计数器 - - . - word 可编辑. ABSTRACT With the development and popularization of science and technology, all

3、kinds of competitions become more and more, so responder is more and more important. This paper designed eight-way Responder based on AT89C51 MCU, with digital display direct instructions, automatic latch showed results, and automatic reset design ideas. It can according to different contest input s

4、ignal 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 utiliz

5、e the signal-chip microcomputer system structure is simple, powerful, good reliability and practicability strong characteristic. This design is for the starting point. Responders considering the set limit to answer in 89C51 single-chip microcomputer and function, use of peripheral interfaces, scare-

6、answering system of the microcontroller timer/counter timing and numeration principle, software and hardware organically, and makes the system can correctly to the time, at the same time making digital tube can properly show time. With a switch does keyboard output, the speaker happen hint. And the

7、system can realize: in the contest, only after beginning vies to effective, if at the stat of the contest for the invalid; former contest full automatic rest and clock after the system master mandatory rest; key lock, in this effective condition, buttons invalid. Key words: Responder Single chip mic

8、rocomputer LED digital display tube Timer / counter - - . - word 可编辑. 目 录录 第一章 绪论绪论.1 1.1 抢答器发展概况.1 1.2 本课题研究的意义.1 1.3 系统设计的功能.2 第二章 单单片机系统统原理.3 2.1 单片机的原理.3 2.1.1 单片机的简介 .3 2.1.2 单片机的分类 .3 2.2 单片机的工作过程.4 2.3 单片机的引脚及其作用.5 第三章 八路抢抢答器的电电路设计设计.7 3.1 电路设计原理.7 3.2 八路抢答器模块化设计.7 3.3 时钟与复位模块.8 3.3.1 时钟模块.8 3.3.2 复位模块.9 3.4 显示模块.9 3.5 按键输入模块 .11 3.5.1 键盘的去抖动.

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 大杂烩/其它

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号