基于单片机得8路智能抢答器设计研究,.docVIP

基于单片机得8路智能抢答器设计研究,.doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
摘 要 在抢答比赛中,利用抢答器可以轻易分辨出某个人或代表队首先获得答题权。本设计采用STC89C52单片机设计抢答器系统。电路要求设置有8个键盘,但是考虑到系统的可拓展性,本设计采取矩阵键盘从而设置16个键盘,可以供16名选手参加比赛。主持人按下开始按钮,则开始抢答,并显示抢答时限;若有人按下自己抢答键,则在数码管上显示对应编号和抢答剩余时间,抢答剩余时间低于5秒时会报警提示,剩余时间为0秒时,若无人抢答,本次抢答无效;有人抢答情况下,主持人读完题目后按下开始作答按钮,则显示作答时间,作答时间低于5秒,会报警提示。 关键词:可拓展性;STC89C52单片机;矩阵键盘 ABSTRACT In a quiz, the responder can easily distinguish which group achieve the first answer right. The subject applies the STC89C52 MCU to design the responder system. The circuit set 8 keyboards. But taking into account the 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 you press your answer key, the digital tube will show the corresponding number and the remaining time; and the circuit will alarm when the remaining time less than 5 seconds; if nobody answer the question when the remaining 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. Key words:Scalability; STC89C52 single chip microcomputer; Matrix keyboard 目 录 摘 要 I ABSTRACT II 1 前言 1 1.1 设计背景及意义 1 1.2 设计要求 1 1.3 设计内容 2 1.4 设计内容的扩展 2 2 系统概述 3 2.1 系统的主要功能 3 2.2 系统工作状态 3 2.3 单片机STC89C52功能简介 4 3 硬件电路设计 7 3.1 Proteus软件介绍 7 3.2 单片机最小系统设计 7 3.3 按键输入电路设计 9 3.4 显示电路设计 11 3.5 报警电路设计 15 3.6 电源电路设计 15 3.7 下载器电路 16 3.8 总体电路设计 17 3.9 实物电路制作 17 4 软件设计 19 4.1 Keil C51软件简介 19 4.2 主程序系统结构 19 4.3 程序流程图 20 4.4 程序设计 21 结 论 29 参 考 文 献 30 致 谢 31 1 前言 1.1 设计背景及意义 随着科技的飞速发展,单片机已经渗透到我们生活的各个领域,几乎在每个领域都能找到单片机的影子。上至军用航空导弹导航系统下至生活中使用的电子表等用品,都离不开单片机应用。 单片机产生于20世纪70年代末,大致经历了三个阶段。单片微型计算机(Single Chip Microcomputer)阶段,微控制器(Micro Controller Unit)阶段,SoC单片机(System On Chip)阶段。著名的单片机生产企业有Atmel、STC、飞利浦、Intel

文档评论(0)

lichenxu1 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档