单片机控制的八路抢答器的设计与制作

2014-09-15 18:31:23吕红娟
现代电子技术 2014年18期

吕红娟

摘 要: 抢答器是学校常用的智力竞赛优先判决电路。采用STC89C52单片机为核心设计出具有限时抢答、限时答题、报警显示等功能的八路抢答器。硬件电路中采用继电器把按键信号和单片机信号隔离,提高电路抗干扰能力。结合数据锁存及数码驱动芯片,提高电路带负载能力。利用电路板设计软件Protel,结合元器件实际尺寸设计出易于制作的单面印制板图。最后经过实际制作、使用验证,印制板设计合理、元件插装方便、操作简单、价格低廉,且能及时准确地判断抢答者,效果良好。

关键词: 抢答器; 硬件系统; 软件系统; 印制板

中图分类号: TN910?34; TP368.1 文献标识码: A 文章编号: 1004?373X(2014)18?0124?03

Design and manufacture of eight?way responder controlled by single chip microcomputer

L? Hong?juan1, 2

(1. College of Communication and Information Engineering, Xian University of Science and Technology, Xian 710054, China;

2. Department of Electronic Information ,Xian Railway Vocational & Technological Institute, Xian 710014, China)

Abstract:Responder is a priority decision circuit commonly used in quiz game of schools. An eight?way responder with time limit answer, answer in time and alarm display functions was designed on the basis of STC89C52 microcontroller. A relay is

adopted in the hardware circuit to isolate the key signal and SCM signal, and improve noise immunity of the circuit. The data latches and digital driver chip are combined to improve load capacity of the circuit. According to the actual size of components, the single?sided PCB was designed with software PROTEL. The actual production and verification result show the PCBs design is reasonable, the element insert is convenient, its operation is simple, its cost is low, and the responder can timely and accurately determine who is the first vier.

Keywords: responder; hardware system; software system; PCB

0 引 言

抢答器是学校、企事业单位为各种智力竞赛而设计的一种抢答优先判决电路。抢答器可采用多种电路结构来实现,如电子器件、单片机、PLC等,但比较来说,用单片机设计实现的抢答器电路结构简单、成本低、可靠性与准确性高,是抢答器设计的首选方案。通过市场调查,八路抢答器的需求量最大。本文以STC89C52单片机为核心器件,设计了八路抢答器的电路及单面印制板电路图,可以制作出具有报警和限时抢答功能、三位数码管显示的结构简单、可靠性高、实用性强的抢答器。

1 硬件系统设计

八路抢答器系统组成框图如图1所示,主要由按键输入模块、单片机控制模块、锁存及驱动模块、数码显示模块及报警模块组成。

图1 系统组成框图

(1) 按键模块:该模块主要由两部分组成,一部分是主持人及选手按键,其中,按键采用拍压式按键,能够烘托出比赛的激烈程度。……

登录APP查看全文