1、目 录 摘 要 1 ABSTRACT. 2 第一章 设计任务 3 1.1 基本设计 . 3 1.2 基本功能 . 3 1.3 扩展功能 . 3 第二章 方案设计 4 第三章 硬件电路设计 4 3.1 八路抢答器的电路框图 . 4 3.2 八路抢答器的硬件电路 . 5 3.2.1 时钟电路 6 3.2.2 复位电路 7 3.2.3 主控制系统模块/最小系统 7 3.2.4 显示电路 9 3.2.5 报警电路 9 3.2.6 电源模块 10 3.2.7 按键输入电路 10 第四章 软件设计错误错误!未定义书签。未定义书签。1 第五章 仿真错误错误!未定义书签。未定义书签。3 第六章 设计总结错误错
2、误!未定义书签。未定义书签。5 致谢 15 参考文献 16 附 录 程序 16 1 摘要 随着生活水平的提高, 人们的娱乐生活也越来越丰富, 各类比赛也随之增多, 对抢答器的要求也就越来越高,抢答器的公平公正就显得特别重要。为了满足各 种竞赛的需要,本次设计制作了一个 8 位竞赛抢答器,该抢答器可以同时供 8 名选手或 8 个代表队比赛。 本次设计的电路可以分成抢答电路、可预置时间的定时电路、时钟产生和时 序控制电路、报警控制电路、电源电路等几个模块。具体的实现过程是:给主持 人设置 3 个控制开关,分别是“开始” , “暂停”和“复位” 。该抢答器具有数据 锁存和显示的功能,即抢答开始后,若
3、有选手按下抢答按钮,编号立即锁存,并 在数码管上显示选手的编号,同时蜂鸣器给出声音提示,并且封锁输入电路,禁 止其他选手强大,优先强大选手的编号一直保持到主持人将系统清零为止。除此 之外,抢答器还具有定时抢答的功能,且一次抢答的时间可以由主持人设定。当 节目主持人启动“开始”键后,要求定时器立即减计时,并用显示器显示;参赛 选手在设定的时间内抢答,抢答有效,定时器停止工作,数码管上显示选手的编 号和抢答时刻的时间,并保持到主持人将系统清零为止。如果定时抢答的时间已 到,却没有选手抢答时,本次抢答无效,系统短暂报警,并封锁输入电路,禁止 选手超时后抢答,数码管上没有显示。 该抢答器具有电路简单、
4、成本较低、操作方便、灵敏可靠等优点,使用效果 良好,具有较高的推广价值。 关键词关键词:八路抢答器, 倒计时, 报警, 2 Abstract With the improvement of living standards, peoples entertainment life has become increasingly rich, the competitions are increasing, the responder requirements are also getting higher and higher, fair responder is particularly imp
5、ortant. In order to meet the needs of various kinds of contests, the design of a 8 bit contest Responder, the responder can simultaneously for 8 players or 8 teams. The circuit design can be divided into answer circuit, can be preset time timing circuit, clock and timing control circuit, the alarm c
6、ontrol circuit, power supply circuit modules. Concrete realization process: 3 control switch is set to host, respectively is “start“, “pause“ and “reset“. The responder has a data latch and display functions, namely the answer after the start, if a player to answer in the button pressed, number immediately latched, and displays the number of players in the digital tube, at the same time, the buzzer gives voice prompts, and blockade of circuit, the prohibition of other players strong strong,