单片机控制的智力竞赛抢答器设计 毕业设计

上传人:飞*** 文档编号:30974952 上传时间:2018-02-03 格式:DOC 页数:44 大小:469.50KB
返回 下载 相关 举报
单片机控制的智力竞赛抢答器设计 毕业设计_第1页
第1页 / 共44页
单片机控制的智力竞赛抢答器设计 毕业设计_第2页
第2页 / 共44页
单片机控制的智力竞赛抢答器设计 毕业设计_第3页
第3页 / 共44页
单片机控制的智力竞赛抢答器设计 毕业设计_第4页
第4页 / 共44页
单片机控制的智力竞赛抢答器设计 毕业设计_第5页
第5页 / 共44页
点击查看更多>>
资源描述

《单片机控制的智力竞赛抢答器设计 毕业设计》由会员分享,可在线阅读,更多相关《单片机控制的智力竞赛抢答器设计 毕业设计(44页珍藏版)》请在金锄头文库上搜索。

1、东华理工大学长江学院毕业设计(论文) 摘要I摘 要随着科学技术的不断发展,促使人们学科学、学技术、学知识的手段多种多样。抢答器作为一种工具,已广泛应用于各种智力和知识竞赛场合。但抢答器的使用频率较低,且有的要么制作复杂,要么可靠性低,减少兴致。做为一个单位若专购一台抢答器虽然在经济上可以承受,但每年使用的次数极少,往往因长期存放使(电子器件的)抢答器损坏,再购置的麻烦和及时性就会影响活动的开展,因此设计了本抢答器。本设计是以八路抢答为基本理念。考虑到依需设定限时回答的功能,利用 8051单片机及外围接口实现的抢答系统,利用单片机的定时器/计数器定时和记数的原理,将软、硬件有机地结合起来,使得系

2、统能够正确地进行计时,同时使数码管能够正确地显示时间。扬声器发生提示。同时系统能够实现:在抢答中,只有开始后抢答才有效,如果在开始抢答前抢答为无效;抢答时间 5 秒,答题时间为 60 秒。可以显示是哪位选手有效抢答和无效抢答;抢答时间和回答问题时间倒记时显示,满时后系统计时自动复位及主控强制复位;按键锁定,在有效状态下,按键无效非法。关键词:数码管;抢答器; 报警 东华理工大学长江学院毕业设计(论文) ABSTRACTIIABSTRACTWith the continuous development of science and technology, promote learning sci

3、ence, science and technology, knowledge of the variety of means. With a tool for Rush-answer, which has been widely used in all kinds of intelligence and knowledge contests occasions. But Rush-answer is used for lower frequency, and some production complex or low reliability, and reduced interest. A

4、s a unit, if the purchase is a Rush-answer .Although the economy can bear, each year the number is extremely small, because of the long-term storage (electronic devices) Rush-answer for damage to the purchase of the trouble and timeliness of activities, The development will be affected, so this Rush

5、-answer is designed .This designs basic concept is eight road Rush-answer machine.By taking into account the need for seting time and limiting to answer the function, which uses AT89C51 microcontroller and external interface of Rush-answer system, and uses SCM timer counter timing and the number of

6、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 Rush-answer and which only begins after the R

7、ush-answer only effective, if at the beginning of Rush-answer before Rush-answer invalid; the time for rush-answer is 60s and strive for answer is 5s ; players who can show that it is effective and Rush-answer invalid,; Rush-answer time to time and answer questions count down, over time, the system

8、automatically reset control and mandatory reduction; keys locked in an active state, the key is invalid illegal. Key words: alphanumeric display; Rush-answer machine; time; alarm东华理工大学长江学院毕业设计(论文) 目录III目 录0 绪 论.10.1 课题研究的相关背景 .10.2 选题的目的和意义.10.3 课题研究的内容.10.4 国内外研究现状.20.5 抢答器目前存在的主要问题.21 抢答器的系统概述.41.

9、1 系统的主要功能.41.2 工作原理.41.3 抢答器的电路框图.52 系统的软件设计.62.1 主程序 .62.1.1 实现功能.62.1.2 主程序流程图.62.1.3 主程序的关键技术.72.1.4 主程序关键代码.112.2 抢答中断子程序 .112.2.1 实现功能.112.2.2 中断流程图.112.2.3 中断关键技术.112.2.4 中断关键代码.132.3 键盘扫描子程序 .132.3.1 实现功能.132.3.2 键盘扫描流程图.142.3.3 键盘扫描关键技术.142.3.4 键盘扫描关键代码.152.4 键值处理子程序.172.4.1 键值处理所实现功能.172.4.2 键值处理流程图.172.4.3 键值处理关键技术.182.4.4 键值处理关键代码.192.5 显示子程序 .202.5.1 显示程序所实现的功能.20东华理工大学长江学院毕业设计(论文) 目录IV2.5.2 显示程序流程图.212.5.3 显示程序关键技术.212.5.4 显示程序关键代码.222.6 定时中断服务子程序 .232.6.1 定时中断实现的功能.232.6.2 定时中断流程图.232.6.3 定时中断关键技术.242.6.4 定时中断关键代码.27结论.

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

当前位置:首页 > 行业资料 > 其它行业文档

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