毕业设计(论文):基于单片机的8路智能抢答器设计

上传人:绿** 文档编号:46315593 上传时间:2018-06-25 格式:DOC 页数:43 大小:859.50KB
返回 下载 相关 举报
毕业设计(论文):基于单片机的8路智能抢答器设计_第1页
第1页 / 共43页
毕业设计(论文):基于单片机的8路智能抢答器设计_第2页
第2页 / 共43页
毕业设计(论文):基于单片机的8路智能抢答器设计_第3页
第3页 / 共43页
毕业设计(论文):基于单片机的8路智能抢答器设计_第4页
第4页 / 共43页
毕业设计(论文):基于单片机的8路智能抢答器设计_第5页
第5页 / 共43页
点击查看更多>>
资源描述

《毕业设计(论文):基于单片机的8路智能抢答器设计》由会员分享,可在线阅读,更多相关《毕业设计(论文):基于单片机的8路智能抢答器设计(43页珍藏版)》请在金锄头文库上搜索。

1、- I -摘 要随着科学技术的发展和普及,各种各样的竞赛越来越多,其中抢答器的作用也就显而易见。目前很多抢答器基本上采用小规模数字集成电路设计,使用起来不够理想。因此设计一更易于使用和区分度搞的抢答器成为了非常迫切的任务。现在单片机已进入各个领域,以其功耗小、智能化而著称,所以若利用单片机来设计抢答器,便使以上问题得以解决,针对以上情况,本文设计出以STC89C52单片机为核心的八路抢答器。我们采用了数字显示器直接指示,自动锁存显示结果,并自动复位的设计思想,它能根据不同的抢答输入信号,经过单片机的控制处理并产生不同的与输入信号相对应的输出信号,最好通过液晶显示屏显示相应的路数,即使两组的抢答

2、时间相差几微秒,也可分辨出事哪组优先按下的按键,它充分了单片机系统的优点,具有结构简单、功能强大、可靠性好、实用性强的特点。本设计采用STC89C52单片机设计一个抢答器系统。初步电路要求设置有8个键盘,但是考虑到系统要有一定的可拓展性,本设计最终采取矩阵键盘从而设置16个键盘,可以供16名选手参加比赛。本设计共分为听题、准备抢答、抢答超时三个阶段进行设计。主持人读题时为听题阶段,此时抢答无效,按下开始按钮,则开始抢答,并显示抢答时限共十秒;若有人按下自己抢答键,则在液晶屏上显示对应编号和LED点阵上显示抢答剩余时间,剩余时间为0秒时,则进入over阶段,若无人抢答,本次抢答无效,若在这之后有

3、人抢答,显示对应编号并且显示无效;有人抢答情况下,主持人读完题目后按下开始作答按钮,则显示作答时间,作答时间低于5秒,会报警提示。关键词:可靠性好;可拓展性;LED;液晶显示屏;STC89C52 单片机;矩阵键盘 - II -ABSTRACTWith the development and popularization of science and technology, more and more variety of competitions, including the role of Responder also obvious. At present, many Responder

4、basically small-scale digital integrated circuit design, using them less than ideal. So design an easier to use and engage in discrimination Responder become a very urgent task. SCM now has entered all areas, with its low power consumption, intelligence known, so if using microcontroller design Resp

5、onder, will make these problems can be solved, for the above situation, the paper designed to STC89C52 microcontroller as the core of eight Responder . We use a direct digital display indicator, even if the difference in time between the two groups to answer in a few microseconds, but also to distin

6、guish which set of priorities accident pressed the button, and it fully the advantages of single-chip system has a simple structure, powerful, reliable Well, practical features.The subject applies the STC89C52 MCU to design the responder system. The circuit set 8 keyboards. But taking into account t

7、he scalability of the system, this design take the matrix keyboard to set the 16 keyboards, so the circuit can be used for 16 players to participate in the competition. The responder will work when a host press the start button, and show answer time limit; if nobody answer the question when the rema

8、ining time is 0 seconds, the answer is invalid. The moderator will press the button after reading the question if someone answer a question, then the circuit display response time after pressing the button .In addition, the circuit will alarm when the time of the answer less than 5 seconds.- III -Ke

9、y words:Scalability; STC89C52 single chip microcomputer; Matrix keyboard目 录摘 要.IABSTRACT.II1 前言 .11.1 设计背景及意义 .11.2 设计要求 .21.3 设计内容 .21.4 设计内容的扩展 .32 系统概述 .32.1 系统的主要功能 .32.2 系统工作状态 .42.3 单片机 STC89C52 功能简介 .53 硬件电路设计 .93.1 Proteus 软件介绍 .93.2 单片机最小系统设计 .93.3 按键输入电路设计 .113.4 显示电路设计 .143.5 报警电路设计 .183.6 电源电路设计 .193.7 下载器电路 .203.8 总体电路设计 .213.9 实物电路制作 .224 软件设计 .234.1 Keil C51 软件简介.234.2 主程序系统结构 .23- IV -4.3 程序流程图 .244.4 程序设计 .26

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

当前位置:首页 > 学术论文 > 毕业论文

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