没有合适的资源?快使用搜索试试~ 我知道了~
基于FPGA的电子抢答器的设计.doc
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 114 浏览量
2023-06-20
15:30:43
上传
评论
收藏 324KB DOC 举报
温馨提示
试读
54页
基于FPGA的电子抢答器的设计.doc
资源推荐
资源详情
资源评论
摘 要
随着科学技术的不断发展,促使人们学科学、学技术、学知识的手段多种
多样。抢答器作为一种工具,已广泛应用于各种智力和知识竞赛场合。但抢答
器的使用频率较低,且有的要么制作复杂,要么可靠性低,减少兴致。做为一
个单位若专购一台抢答器虽然在经济上可以承受,但每年使用的次数极少,往
往因长期存放使(电子器件的)抢答器损坏,再购置的麻烦和及时性就会影响
活动的开展,因此设计了本抢答器。
本设计是以六路抢答为基本理念。考虑到依需设定限时回答的功能,利用
AT89C51 单片机及外围接口实现的抢答系统,利用单片机的定时器/计数器定时
和记数的原理,将软、硬件有机地结合起来,使得系统能够正确地进行计时,
同时使数码管能够正确地显示时间。用开关做键盘输出,扬声器发生提示。同
时系统能够实现:在抢答中,只有开始后抢答才有效,如果在开始抢答前抢答
为无效;抢答限定时间和回答问题的时间可在 1-99s 设定;可以显示是哪位选
手有效抢答和无效抢答,正确按键后有音乐提示;抢答时间和回答问题时间倒
记时显示,满时后系统计时自动复位及主控强制复位;按键锁定,在有效状态
下,按键无效非法。
关键词: AT89C51;LED 数码管;抢答器计时;报警
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 Qiangda 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 concept.By taking into account the
need for seting time and limiting to answer the function, which uses AT89C51
microcontroller and external interface of Qiangda system, and uses SCM timer /
counter timing and the number of mind Principle, the software and hardware
organically combined, which could allow the right to conduct time, while the digital
display to the correct time. Switching with the keyboard output, speakers in tips. At
the same time, system can be realized .In Qiang da and which only begins after the
Qiangda only effective, if at the beginning of Qiangda before Qiangda invalid;
Qiangda limited time to answer questions and the time can be set in the 1-99 s; players
who can show that it is effective and Qiangda Qiang da invalid, right after the music
keys tips; Qiangda time to time and answer questions Dao Ji shi, over time, the system
automatically reset control and mandatory reduction; keys locked in an active state,
the key is invalid illegal.
Key words: AT89C51; alphanumeric display; Qiangda; time; alarm
目 录
摘 要 ...............................................I
ABSTRACT ............................................II
第一章 绪论 .........................................1
1.1 课题研究的相关背景 ..................................1
1.2 选题的目的和意义 ....................................1
1.3 课题研究的内容 ......................................1
1.4 国内外研究现状 ......................................2
1.5 抢答器目前存在的主要问题 ............................3
第二章 抢答器的系统概述 ..............................4
2.1 系统的主要功能与分析 ................................4
2.2 抢答器的工作流程 ....................................5
2.3 器件选型方案及详细清单 ..............................7
2.4 AT89C51 特殊功能寄存器 ..............................7
2.5 AT89C51 的功能及简介 ................................8
2.5.1 89 系列单片机的概况..............................8
2.5.2 AT89C51 单片机的内部结构图......................10
2.5.3 各类型单片机的比较分析 .........................11
2.5.4 AT89C51 单片机..................................12
2.6 抢答器的优点及组成 .................................13
第三章 系统总体方案的设计 ...........................14
3.1 硬件电路的设计与原理图 .............................14
3.2 时钟频率电路的设计 .................................15
3.3 复位电路与显示电路的设计 ...........................16
3.4 键盘扫描电路的设计 .................................19
3.5 发声 ...............................................20
3.6 系统复位 ...........................................20
第四章 软件设计 .....................................24
4.1 主程序系统结构图 ...................................24
4.2 软件任务分析 .......................................24
4.3 程序流程图 .........................................25
4.4 主要程序分析 ......................................26
第五章 PROTEUS 仿真系列组图..........................35
系统仿真图.............................................35
第六章 总结 .........................................38
附 录 ..............................................39
参考文献 ............................................49
剩余53页未读,继续阅读
资源评论
omyligaga
- 粉丝: 53
- 资源: 2万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功