1 / 54
文档名称:

无线投票器的设计.docx

格式:docx   大小:1,606KB   页数:54页
下载后只包含 1 个 DOCX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

无线投票器的设计.docx

上传人:sssmppp 2020/12/12 文件大小:1.57 MB

下载得到文件列表

无线投票器的设计.docx

文档介绍

文档介绍:无线投票器的设计
摘要:本设计以直流电压源为核心,STC89C52RC增强型单片机为主控制器,单片 机系统是无线投票器的核心。它通过软件的运行来控制整个系统的工作,从而完 成设定的功能。通过三个数字键盘来进行投票,三个按键Z屮任意两个按下系统 便认为投票通过,用24L01无线模块发射出去。在接收端,可由液晶屏LCD 1602 显示实际投票结果,当三个按键小任意两个按下吋,系统在1602液晶上显示Pass, ,本系统实际应用于投票领域。
关键词:无线;投票器;单片机;24L01; STC89C52RC
The design of wireless voting device
Abstract: In this design, the DC voltage source as the core, STC89C52RC enhancedmicrocontroller-based controller, microcontroller system is the core of the wirelessvoting device・ It through the operation of the software to control the instrument, thus completing the set function. Three numeric keypad to vote on any two of three keypress thinks that voted to launch out using 24L01 wireless module. Be LCDLCD1602 displays the actual voting results at the receiving end, when any two of thethree buttons is pressed, the system in the 1602's LCD display Pass, contrary ShowDown. Actual test results show that this system is actually used in the voting field.
Keywords: Wireless; voting machine; microcontroller; 24L01; STC89C52RC
1引言 1
2设计要求及方案论证 2
2
设计方案及论证 2
2
2. 2显示模块方案及论证 2
系统的硬件电路设计
4
NRF24L01无线模块的设计 5
8
8
4. 1 LCD 1602主要管脚介绍 8
LCD1602 控制指令 9
4. 3 液晶显不程序设计 10
4. 4读写控制时序如表6所示 11
4. 5 LCD 1602的一般初始化过程 11
3. 4. 6 LCD 1602与单片机连接图 12
12
6晶振电路与复位电路设计 13
3. 6. 1 晶振电路 13
3. 复位电路 14
15
4系统软件设计 16
16
16
软件编译与调试 17
4 液晶显示程序设计 19
5 NRF24L01模块程序设计 22
5调试结果与分析 24
1测试仪器 24
2 测试方法 24
24
24
参考文献 25
附录 26
谢辞 46
1引言
近年来随着科技的飞速发展,单片机的应用正在不断地走向深入,同吋带动 传统控制检测H新月益更新。
投票器,是投票反馈系统屮的终端设备,是一种代替常规会议举手表决, 会议举手投票,民主举手选举的一种装置。投票器系统主要由:基站,软 件,终端设备三部分组成。可以自由选择实名投票与非实名投票。
使用吋,与会者只需按动手屮投票器上对应的,“赞同” “反对”或者 “弃权”即可,相应的投票结果会在电脑屮记录并实时显示的屏幕上,从 而公平公正的展现岀来。
随着无线技术的发展,以及有线投票器的不方便性,无线投票器逐渐取 代了有线投票器的市场。
基于单片机与无线技术的投票器的设计制作过程,以MCS-51系列单片机为 控制核心设计投票系统的投票发射器与接收器。投票发射器由单片机、三个按键、 ,按下代表同 意。投票器把