没有合适的资源?快使用搜索试试~ 我知道了~
基于8051单片机的8路抢答器-学位论文.doc
0 下载量 151 浏览量
2023-07-10
14:05:15
上传
评论
收藏 300KB DOC 举报
温馨提示
试读
29页
基于8051单片机的8路抢答器-学位论文.doc
资源推荐
资源详情
资源评论
本 科 生 毕 业 设 计 (论 文)
题目:基于 8051 单片机的 8 路抢答器
Title:
教学单位
姓 名
学 号
年 级
专 业
指导教师
职 称
西南民族大学毕业设计 基于 8051 单片机的 8 路抢答器
1
摘要
随着科学技术的发展和普及,各种各样的竞赛越来越多,其中抢答器的作用
也越来越重要。本文设计出以 AT89S51 单片机为核心的八路抢答器,采用了数字
显示器直接指示,自动锁存显示结果,并自动复位的设计思想,它能根据不同的
抢答输入信号,经过单片机的控制处理并产生不同的与输入信号相对应的输出信
号,最后通过 LED 数码管显示相应的路数,即使两组的抢答时间相差几微秒,也
可分辨出是哪组优先按下的按键,充分利用了单片机系统结构简单、功能强大、
可靠性好、实用性强的特点。
本设计是以抢答为出发点。考虑到依需设定限时回答的功能,利用 89S51 单
片机及外围接口实现的抢答系统,利用单片机的定时器/计数器定时和记数的原
理,将软、硬件有机地结合起来,使得系统能够正确地进行计时,同时使数码管
能够正确地显示时间。用开关做键盘输出,扬声器发生提示。同时系统能够实现:
在抢答中,只有开始后抢答才有效,如果在开始抢答前抢答为无效;满时后系统
计时自动复位及主控强制复位;按键锁定,在有效状态下,按键无效非法
【关键词】抢答器 单片机 LED 数码显示管 定时器/计数器 扬声器。
西南民族大学毕业设计 基于 8051 单片机的 8 路抢答器
Abstract
With 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 results, 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 simple, powerful, good
reliability and practicability strong characteristic.
This design is for the starting point. Responder Considering the set limit to answer
in 89S51 single-chip microcomputer and function, use of peripheral interfaces,
scare-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
do keyboard output, the speaker happens hints. And the system can realize: in the
contest, only after beginning vies to effective, if at the start of the contest for the
invalid; former contest Full automatic reset and clock after the system master
mandatory reset; Key lock, in effective condition, buttons invalid illegal
【Key Words】vies to implement microcontroller LED digital
The timer/counters speaker .
西南民族大学毕业设计 基于 8051 单片机的 8 路抢答器
1
目 录
第 1 节 引 言 ……………………………………………………………………1
1.1 抢答器的概述 ……………………………………………………………1
1.2 本设计主要任务 …………………………………………………………1
1.3 系统主要功能 ……………………………………………………………1
第 2 节 系统硬件设计 ………………………………………………………3
2.1 芯片的选择 ………………………………………………………………3
2.2 工作原理 …………………………………………………………………3
2.3 系统的硬件构成及功能 …………………………………………………3
2.3.1 抢答器的电路图…………………………………………………………3
2.3.2 单元电路设计 ……………………………………………………………5
2.3.3 定时电路设计 ……………………………………………………………7
2.3.4 报警电路设计 ……………………………………………………………7
第 3 节 系统软件设计 …………………………………………………………9
3.1 系统主程序设计 ………………………………………………………9
3.2 抢答器的源程序 ………………………………………………………9
第 4 节 技术指标及故障处理 …………………………………………………20
4.1 主要技术参数 ………………………………………………………20
4.2 使用说明 ……………………………………………………………20
4.3 常见故障 ……………………………………………………………21
结束语………………………………………………………………………22
参考文献 …………………………………………………………………………23
第 1 节 引 言
剩余28页未读,继续阅读
资源评论
智慧安全方案
- 粉丝: 3672
- 资源: 59万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功