1、 I 无线表决系统的设计 学生:XXX 指导教师:XXX 内容摘要:内容摘要:目前,在机关、学校和企事业单位会议中,经常要对某些议案进 行表决以及对集体或者个人进行不记名民主测评。为此,需要研制一种无线会 议表决系统,该系统要具有无需安装布线,使用于任何会场而不改变会场原始 装修风格,并具有功耗低、功能强、可靠性高和使用方便等优点。为此,设计 了一种基于 NRF905 的投票、表决系统。 该系统主要通过上位机将表决的人数和开始表决的状态传递给主控器,主 控器与表决器之间通过无线模块传递表决信息, 最后将处理的信息传输给 PC 机 显示出来。 关键词:关键词:无线表决系统 表决器 主控器 射频收
2、发模块 II Design of wireless voting system Design of wireless voting system Abstract:Abstract: at present, in government departments, schools and enterprises and institutions in the meeting, often for some vote and the collective or individual bearer democratic evaluation. For this, need to develop a w
3、ireless conference voting system, the system should be installed without wiring, for use in any venue without altering the original style of decoration, and has the advantages of low power consumption, strong function, high reliability and easy to use. Therefore, based on the design of a NRF905 voti
4、ng, a voting system. This system mainly through the PC will be a quorum and began voting state passed to the main controller, the main controller and the voting device through a wireless module transmits the voting information, then the information is transmitted to the PC machine display. KeywordsK
5、eywords: : wireless voting system for voting device controller RF transceiver module III 目 录 前言 1 1 方案论证 1 1.1 控制器部分设计方案 2 1.2 无线射频收发器件的选择 3 1.3 表决信息处理的方案选择 3 2 系统总体框图 3 3 硬件电路中各单元电路的选取及电路设计 5 3.1 电源电路 5 3.2 掉电存储模块 5 3.3 主控芯片 AT89C52 及其外围基本电路 6 3.3.1 AT89C52 的主要性能 6 3.3.2 AT89C52 的功能概述 7 3.3.3 AT89C
6、52 的外围基本电路 7 3.4 NRF905 无线收发模块电路 8 3.4.1 NRF905 模块简介 . 8 3.4.2 NRF905 模块的工作方式 . 9 3.4.3 配置 NRF905 模块 10 3.4.4 SPI 指令设置 . 11 3.4.5 SPI 时序 . 11 3.5 显示模块 12864 12 3.5.1 显示模块 12864 的概述. 12 3.5.2 显示模块 12864 的指令描述. 12 3.5.1 显示模块 12864 的读写时序. 14 3.6 MAX232 电平转换电路. 15 3.7 蜂鸣器提示电路 . 17 4 软件设计. 17 4.1 表决系统总体流程图 . 17 IV 4.2 PC 机软件设计. 18 5 总结. 18 致 谢. 18 附录 1 表决器电路图 20 附录 2 主控器电路图 21 附录 3 表决器 PCB. 22 附录 4 主控器 PCB. 23 附录 5 . 24 参考文献. 33 1 1 无线表决系统的设计 前言 在传统的表决方式中,通常会以书面方式进行投票表决,最后汇总表决的 结果