毕业设计---关于单片机的智能抢答器的设计
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
关于单片机的智能抢答器的设计
摘要
单片机实验装置是电子技术常用的设备之一,广泛的应用于教学、科研等领域。设计一个实现抢答功能的电路,能够显示最先抢答到的号数,并能实现倒计时和时间不够时的报警功能。此抢答器电路设计原理简单、功耗低、稳定性好、反应速度快和安装方便。本次设计的核心控制元件是用AT89C52单片机,用它来设计一个简易的智能抢答器,方案的主要内容是以AT89C52单片机作为主控核心,再用数码管的发光点亮和和按键的控制,然后附加上中断部分,最后用C语言的编程,就完成了一个简易的智能抢答器的设计。此抢答器所需的硬件只是一块AT89C52芯片、数码管和按键等,成本比较低,适用于许多场合。本设计的系统采用单片机作为整个控制核心。那么控制系统的四个模块为:显示模块、存储模块、语音模块、抢答开关模块。该系统通过开关电路四个按键输入抢答信号;利用一个数码管来完成显示功能;用按键来让选手进行抢答,在数码管上显示哪一组先答题的,从而实现整个抢答过程。此设计实用性强、判断精确、操作简单、扩展功能强大。当选手坐在抢答器前,观众看着大屏幕显示的题目和答案,利用竞赛软件,运用互动式多媒体技术,将竞赛题目制作成演示程序。通过选手面前的显示器,为参赛队员提供最直接的看题效果,保证队员对题目的正确理解。它的功能实现是有主持人按键来控制总开关,主持人按下开关那么选手开始抢答,此时数码管开始0—60计数,并且选手们必须在规定的时间内进行抢答,若过了60秒还没抢答那么抢答失效,选手们若有一个在规定的时间内抢答成功则其余的选手不可以再抢答,在数码管上会显示哪位选手抢答到题目及其所用的时间。
关键字:抢答器;AT89C52单片机; 数码管动态显示; 中断系统; 程序控制
Pick to
SCM experiment device is electronic technology is one of the equipment used, widely used in teaching, scientific research, etc. Design a realization of the responder can show circuit, the function of the first responder to name, and can realize the countdown and time when insufficient alarm function. This contest decoder circuit design principle is simple, low power consumption, good stability and reaction speed and convenient installation. This design the core control elements are using
AT89C52 single chip computer, and use it to design a simple intelligence contest is the main content of the scheme with
AT89C52 single chip computer as the master, reoccupy digital tube core the glowing light and and buttons on the control, and then added, and C interrupt part of language programming, had completed a simple intelligence contest the design. This contest is the hardware just a needed AT89C52 chip, digital tube and such as keys, cost is lower, applicable to many occasions. This design system adopts singlechip as the core to control. So four modules of the control system for: display module, storage module, speech module, vies to switch module. The system through the switch circuit four keystroke contest signal; Using a
digital tube to complete display function; Use button to let players from the contest, in digital tube display which group, so as to achieve the first answer throughout the contest process. This design practical, judgment, simple operation, precise extended powerful functions. When a contestant vies, the audience is sitting before looking at big screen display, use the questions and answers, using interactive multimedia competition software technology, making demo quiz question. Through the player for the display, before the team provide the most direct, ensure the effect: the correct understanding of the players. It is the realization of the function of the host button to control the total switch, host press the switch so competitor starts contest, now 60 digital tube began to 0, and the players must count in the time allotted to contest, if after a 60 seconds haven't contest so contest failure, the players if one within the prescribed time, the remaining players responder success can no longer contest, which will show in the digital tube responder players to subject and its time used.
Key word: contest manometers; AT89C52 single chip computer; Digital tube dynamic display; Interrupt system; Program control