1、 2010 届本科生毕业论文 学 号: 成 绩: 单片机智能抢答器的设计单片机智能抢答器的设计 院 部: 电子信息工程学院 专 业: 电子信息工程 姓 名: 指导教师: XXX 二二一一年年一一月月 摘 要 近年来随着科技的飞速发展,单片机的应用正在不断深入,同时带动传统控制检测 技术日益更新。在实时检测和自动控制的单片机应用系统中,单片机往往作为一个核心 部件来使用,作为嵌入式控制系统的主体与核心,代替了传统的控制系统的常规电子线 路。但仅单片机方面知识是不够的,还应根据具体硬件结构软硬件结合,加以完善。 本设计是以六路抢答为基本理念,应用以单片机作为核心部件进行逻辑控制及信号 的产生,考虑
2、到依需设定限时回答的功能,利用 AT89C51 单片机及外围接口实现的抢 答系统,利用单片机的定时器/计数器定时和记数的原理,将软、硬件有机地结合起来, 使得系统能够正确地进行计时, 同时使数码管能够正确地显示时间。 用开关做键盘输出, 扬声器发生提示。同时系统能够实现:在抢答中,只有开始后抢答才有效,如果在开始 抢答前抢答为无效;抢答限定时间和回答问题的时间可在 1-99s 设定;可以显示是哪位 选手有效抢答和无效抢答,正确按键后有音乐提示;抢答时间和回答问题时间倒记时显 示,满时后系统计时自动复位及主控强制复位;按键锁定,在有效状态下,按键无效非 法。 由于计算机的普及和电子信息技术的迅猛
3、发展,对智能抢答器有了更高的要求,如 何有效的保证许多公开竞争场合裁决的公平,公正。单片机智能抢答器为之提供了条件 和发展空间。建立一个价格适宜、智能化、自动化、数字化等特点的智能抢答器具有重 要意义。 【关键词】单片机;智能;六路;抢答 Abstract With the rapid development of science and technology in recent years, SCM applications are deepening at the same time promote ,the growing of traditional control detection
4、 technology updates. In real-time detection and automatics control of the microcomputer application sys- tem, the microcontroller is often used as a core component, as the main embedded control to systems and core, instead of the traditional control system of conventional electronic circuits. But on
5、ly SCM knowledge is not enough, should be based on specific hardware structure of hardware and software combination to be improved. This design is based on six road to answer in the basic concepts used to MCU as the core co- mponents for logic control and signal generation, taking into account the n
6、eed to set timebou- nd to answer according to the function, using AT89C51 microcontroller and external interface of the answer in his system, using SCM Timer / Counter Timing and count of the principle, It hardware and software together organically, allowing the system to correctly time, and while the digital control to correctly display the time. Switching to do with the keyboard output The speaker prompts occur. At the same time the system can be achieved