网站大量收购独家精品文档,联系QQ:2885784924

基于单片机的多路抢答器详解.doc

  1. 1、本文档共52页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要 本文设计出以STC89C52单片机为核心的四路抢答器。包括以下几个模块:参赛选手及主持人用按键模块、选手抢答成功显示模块、抢答倒计时显示模块、报警系统模块。同时系统能够实现:开始抢答后才有效,开始抢答前无效;抢答限定时间和回答问题的时间设定为15s;抢答成功会显示选手号并有发光二极管提示。该抢答器除具有基本的抢答功能外,还具有计时和报警功能。在规定的时间内无人抢答,则系统中的蜂鸣器将发响,提示主持人本轮抢答无效,实现报警功能。 本设计的系统实用性强、判断精确、操作简单、扩展功能强。我们采用了数字显示器直接指示的设计思想,它能根据不同的抢答输入信号,经过单片机的控制处理并产生不同的与输入信号相对应的输出信号,最后通过LED数码管显示相应的路数,即使两组的抢答时间相差几微秒,也可分辨出是哪组优先按下的按键,它充分利用了单片机系统具有结构简单、功能强大、可靠性好、实用性强的特点。 关键词:STC89C52单片机,定时器/计数器,数码管,发光二极管,蜂鸣器等 Abstract This paper?designs four?way responder?based on STC89C52 microcontroller. Includes the following modules:?contestants?and?the host?with the key?module, the contestant vies to answer first?successful?answer in the countdown?display module,?display module,?alarm?module.?The?system can realize?effective :began responder, Qiangda before the start?time and?answer?answer?invalid;the time limit?set for 15s;?successful answer?will show?contestant number?and?a light emitting diode?tips.?The?responder addition to a basic?function outside, still have time and alarm function.?Nobody answer the question on time,?the system will send the buzzer?rang,?suggesting that?host this contest null and void,?realize alarm function. The design of the system?is practical,?accurate judgment,?simple operation, strong function expansion.?Design?we adopted digital display direct instructions,?it can according to?answer?different input signals,?the?control processor?and produce?different output signal?corresponding to the input signal,?and?display the corresponding?number?through the LED digital tube, even if the?time difference between the two groups answer?a few microseconds,?which?can also be?distinguished?group?priority?press?button,?it makes full use of the?single chip microcomputer system?has the characteristics of simple structure,?powerful function,?good reliability,?and strong practicability. Key words:?STC89C52 microcontroller, timer / counter,?digital tube,?light emitting diode,?a buzzer 目 录 摘 要 I 1 绪论 1 1.1单片机抢答器的背景 1 1.2数字抢答器的概述 1 1.

文档评论(0)

w447750 + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档