基于单片机的8路抢答器设计(任务书,开题报告,外文翻译,论文10000字)
摘要
在生活的各种竞技比赛中我们也经常可以遇到有需要抢答的时候,而如果我们选择用举起手的快慢的方法来确定是哪个人先举的手抢答,不仅会因为主持人的不好判断确定,而且也没有办法让其他人表示信服,这样就会制造出一些麻烦造成比赛的难以进行。这时抢答器就应运而生,抢答器是为了竞技比赛中选手进行抢答而设计的一种电子判断谁先抢答的电路,它不仅方便主持人和选手而且被多数人信服,所以它被多数需要它的活动和竞技比赛采用。使用模、数电路单用或者双用的方式都能够实现所需要的功能对于抢答器来说。现在单片机的技术不断高端,功能的不断多样,它应用在越来越多的地方,我们的生活和社会更是因为有了单片机而变得精彩多多。这次毕业设计本人利用51单片机作为中心元部件进行逻辑的控制以及实现八路抢答器的功能,主要可以让主持人先按下可以开始抢答的按键,选手这一边的八个按键就开始变得能用了,选手就可以开始按键抢答。倒计时的时间开始显现作为选手的抢答时间,倒计时间结束之前选手可以抢答不过倒计时间结束后则抢答按键就不能使用了选手也就不能抢答了。一个人如果要是成功的抢答了即便其他选手再去按下按键是没用的,要保证第一个抢答选手的能够顺利的抢到权利。选手抢答成功后屏幕上要显示出这个选手的得分情况和他的编号,然后再由主持人判断选手的回答是否正确,然后可以按键给选手加分或者减分。我们可以保留住该选手的分数除非整个系统的清零,然后主持人可以按键开始下一题的抢答。
本次毕业设计选择用AT89C51单片机来做这个八路抢答器实现它的的抢答功能,选择它是因为其简单的操作和优越的性能。
关键词:51单片机的8路抢答器 AT89C51 PROTEUS
Design of 8 way responder based on single chip microcomputer
Abstract
In the life of all kinds of sports games we can often encounter when there is a need to answer, and if we choose to use his hand speed to determine who is xianjn hand answer, not only because the host is not good judgment, but there is no way to let others say this will create convincing the game is difficult to cause some trouble. When the responder responder is came into being, in order to players competing to answer in the design of an electronic circuit judge who first responder, it is not only convenient for the host and player and most people are convinced, so it is most in need of it activities and competitions with. Using the mode, number circuit, single or double use can achieve the required functions, for responder. Now, the single-chip technology continues to high-end, continuous variety of functions, it is applied in more and more places, our lives and society is because of the SCM and become more exciting. This graduation design I use 51 microcontroller as the central components of logic control and the realization of eight responder function, can let the host can begin to answer the first press the button, eight buttons on the side of the players began to use, you can begin to answer the key players. The countdown time began to appear as a contestant's answer in time, before the end of the countdown countdown time but the player can answer after answer keys can't use a player will not answer. If a person succeeds, even if the other player to press the key is useless, we must ensure that the first responder players can successfully grab the right. Successful answer, the screen to show the player's scoring situation and his number, and then by the moderator to determine whether the player's answer is correct, and then you can press the key to the players plus or minus points. We can keep the player's score unless the whole system is cleared, and then the host can press the button to start the next question.
The graduation project, I choose to use AT89C51 microcontroller to do this eight responder, to achieve its vies to answer the function, it simple operation and superior performance, let me decisively chose it.
Key words: 51 single chip microcomputer 8 way responder AT89C51 PROTEUS
目 录
摘要 I
Abstract II
目 录 III
第一章 绪论 1
1.1 研究的背景和意义 1
1.2抢答器的内容和现状 2
1.3毕业设计(论文)章节安排 2
第二章 系统设计内容 4
2.1 设计的目的 4
2.2设计任务和要求 4
2.3 抢答器的原理 4
2.4 单片机控制原理 5
第三章 八路抢答器系统的原理 8
3.1 功能模块电路 8
3.1.1复位电路和主持人电路 8
3.1.2 选手抢答按键电路 9
3.1.3 显示电路 10
3.1.4蜂鸣器发声电路 11
3.2八路抢答器原理与结构图 11
第四章 软件设计 13
4.1程序设计 13
4.1.1 系统流程图 13
4.1.2抢答成功流程图 15
4.1.3 抢答失败流程图 16
4.2 程序代码 17
4.2.1 主程序 17
4.2.2 定时器子程序 17
4.2.3 延时子程序 18
4.2.4 显示子程序 18
第五章 系统仿真调试 19
第六章 抢答器实物 21
第七章 总结和期望 23
参考文献 24
致谢 25
附录 26
|