基于单片机的四路抢答器设计
来源:56doc.com 资料编号:5D21492 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9A5D21492
资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 密 保 惠 帮助
资料介绍
基于单片机的四路抢答器设计(任务书,开题报告,论文15000字)
摘 要
随着国民生活的日益提高,人们对精神生活的要求也越来越高。在一些竞技类游戏的场合,会要求几个人进行抢答,而单凭裁判通过人眼来观察抢答先后次序是远远不够的,所以市面上就出现了各式各样的抢答器,抢答器的出现让人们更加公平公正得进行抢答操作。
本次设计以单片机为核心控制器,熟悉了抢答器的逻辑功能与工作流程,同时对51系列单片机的端口功能与电气特性有了一定的掌握,在此基础之上,采用微动开关作为裁判发令与参与人员的抢答按钮,采用数码管来进行抢答过程中的编码显示,还使用蜂鸣器以及LED灯珠作为状态提醒。不仅如此,还针对多人同时抢答的情况结合软件做了相关的性能分析。得益于本项目中高效的程序设计方案,在11.0592MHz的晶振驱动下,其理论精度可达2.170 * 10 ^ -5秒,可以满足近乎严苛的多路并发抢答场合。
关键词:抢答器 单片机 AT89C51 数码管 C51
The Design and Implementation of Four-way Responder Based on Single Chip Microcomputer
Abstract
With the ever-increasing national life, people are increasingly demanding spiritual life. In the case of some competitive games, several people will be asked to answer. It is not enough for the referee to observe the order of the answer through the human eye. So there are various types of answering devices on the market. There have been people who are more equitable and fair to carry out the answer operation.
This design uses the SCM as the core controller, and is familiar with the logic function and workflow of the Responder. At the same time, it has a certain mastery of the port functions and electrical characteristics of the 51 series SCM. Based on this, the micro switch is used as a referee. The rush-request button of the issuing and participating personnel uses the digital tube to perform the coding display in the rush response process, and also uses a buzzer and an LED lamp bead as a status reminder. Not only that, but also for a number of people at the same time to answer the situation with the software to do related performance analysis. Thanks to the highly efficient program design program in this project, the theoretical accuracy can reach 2.170 * 10 ^ -5 seconds under the crystal oscillator driven by 11.0592MHz, which can meet the nearly-rigorous multi-channel concurrent rush answering occasions.
Keywords: Responder; Microcontroller; AT89C51; Digital Tube; C51
目 录
摘 要 I
Abstract II
第一章 绪论 1
1.1课题研究的背景和意义 1
1.2课题研究的内容 2
1.3课题章节安排 3
第二章 总体设计 4
2.1系统方案分析 4
2.1.1总体分析 4
2.1.2显示装置 6
2.1.3发声装置 8
2.2系统的框架设计 9
2.3本章小结 10
第三章 系统的硬件设计 11
3.1单片机的介绍与选择 11
3.1.1时钟电路 11
3.1.2复位电路 12
3.2按键控制模块 12
3.3数码管显示模块 13
3.4蜂鸣器模块 14
3.5本章小结 14
第四章 系统的软件设计 15
4.1软件设计方案 15
4.2抢答自锁互锁原理 15
4.2.1自锁原理 15
4.2.2互锁原理 15
4.3程序流程图 15
4.4程序设计 17
4.6本章小结 20
第五章 仿真测试 21
5.1开发环境简介 21
5.2 Proteus仿真 21
5.3性能测试 28
5.3本章小结 30
第六章 实物安装与调试 31
6.1实物的焊接 31
6.2程序的下载 32
6.3实物测试 33
6.4本章小结 36
总结 37
致谢 38
参考文献 39
|