八路智力抢答器
- 格式:doc
- 大小:1.79 MB
- 文档页数:39
摘 要
抢答器是一种应用非常广泛的设备,在各种竞猜、抢答场合中,它能迅速、客观地分辨出最先获得发言权的选手。早期的抢答器只由几个三极管可控硅、发光管等组成,能通过发光管的指示辨认出选手。现在大多数抢答器均使用单片机和数字集成电路,并增加了许多新的功能,如选手号码显示、抢按器或抢按后的计时、选手得分显示等功能。本文介绍了用8051系列单片机控制的八路智力抢答器。该抢答器除具有基本的抢答功能外,还具有定时、计时和报警功能。
关键字:抢答器 ;单片机;报警
ABSTRACT
Answer is a very wide range of application equipment, in a variety of quizzes, Answer
occasions, it can quickly and objectively identify the first player to obtain the right to speak.
Answer earlier are only a few transistor SCR, LED, etc., through the LED's to identify the
instructions. Answer the majority are now using the single-chip devices and digital
integrated circuits, and to increase the number of new features such as player number
displayed, looting or robbery by the time after by players scoring display functions. This
paper introduces the 8051 Series with single-chip eight-way control devices intellectual
Answer. In addition to the browser Answer Answer basic functions,,but also with time,
time and alarm functions.
Keywords: Single-chip; device ; alarm Answer
目 录
引言 ..................................................................................................................................................................... 1
1 系统设计 ....................................................................................................................................................... 2
1.1 设计任务与要求 ................................................................................................................................. 2
1.2方案比较与论证 ................................................................................................................................. 2
1.3 8051单片机系统说明 ...................................................................................................................... 4
1.3.1 8051单片机简介 ..................................................................................................................... 4
1.3.2 8051的时序图 .......................................................................................................................... 4
1.4 8051引脚及其功能 ........................................................................................................................... 5
1.5 设计抢答器的目的与意义.............................................................................................................. 5
2 主要元器件分析 ....................................................................................................................................... 7
2.1 8051芯片 ............................................................................................................................................ 7
2.2 74LS373 ............................................................................................................................................... 7
2.3 MAX7219 ............................................................................................................................................... 8
2.3.1 引脚说明 .................................................................................................................................... 9
2.3.2 基本工作原理及使用方法 ................................................................................................. 9
2.3.3 应用举例 ................................................................................................................................. 10
2.3.4 初始化 ..................................................................................................................................... 11
2.4 数码管 ................................................................................................................................................ 11
2.5 计分电路 ............................................................................................................................................... 14
3 程序设计.................................................................................................................................................... 17
3.1 定时电路的设计 ............................................................................................................................. 17
3.2 抢答电路的设计 ............................................................................................................................. 17
3.3 加减分程序设计 ............................................................................................................................. 18
3.4 报警电路设计 ................................................................................................................................. 19
3.5 消噪子程序 ...................................................................................................................................... 20