基于单片机应用的多路无线抢答器的设计
2012-10-23孙军辉
孙军辉
德州职业技术学院 山东德州 253034
基于单片机应用的多路无线抢答器的设计
孙军辉
德州职业技术学院 山东德州 253034
鉴于传统电路设计的抢答器电路复杂、成本高、稳定性差等缺点设计基于单片机应用的无线抢答器,采用了硬件和软件相结合的设计思想,应用程序设计提升了抢答器的性能,无线模块由三极管控制,使其动作迅速、运行可靠。基于单片机的无线抢答器克服了传统抢答器的不足,又能较好实现其功能。
单片机;无线抢答;硬件电路;系统程序
Abstract: Because of complex circuit, high cost, poor stability of responder that was designed by traditional circuit, the wireless responder is designed by single chip microcomputer, uses design concept of the combination of hardware and software, promotes the performance of responder which uses program design. Wireless module that is controlled by triodes acts quickly and operates reliably. Wireless responder which is designed by single chip microcomputer overcomes the inadequacy of traditional responder and is better able to realize its function.
Key words: single chip microcomputer; wireless responder; hardware circuit; system program
单片机的使用领域已十分广泛,如智能仪表、实时工控、通讯设备、导航系统、家用电器等“智能型”工业产品。在知识竞赛抢答中,简单电路设计的抢答器,只靠人的能力很难判断出哪一组先抢答,且故障率高、体积大应用不方便。利用单片机编程设计抢答器,能轻松地分辨出抢答的次序,且具有体积小、故障率低的优点。
1 单片机的选择及无线抢答器的设计
1.1 单片机的选择
单片机选用的是STC89C52,它是一种低功效、高性能CMOS8位微控制器,具有8k在系统可编程Flash存储器。
1.2 无线抢答器的设计思路
采用STC89C52单片机作为整个控制核心。控制系统的4个模块为:显示模块、控制模块、声音模块、无线抢答模块。按键通过开关电路输入各路的抢答信号,经单片机处理, 输出控制信号,在数码管上显示答题组,从而实现整个抢答过程。
1.3 无线抢答器的设计
模块部分主要分为STC89C52芯片、独立式键盘、LED数码管显示、无线接收以及信号的放大部分。……
