摘要投票表决一直是人们用来进行选举、重大问题难以解决时常用的方式。随着 社会的高速发展,人为的表决已经不能满足人们的需求了。于是,有线表决器便 应运而生了。它在很大程度上减轻了人们的负担,加快了办事效率。可是,有线 表决器不能随时随地的进行表决。因此,无线表决器逐渐代替了有线表决器,被 人们广泛的使用,极大地满足了社会各层的需要。
我们本次的所有计划都是围绕 ZigBee 模块进行的,除此以外还添加了单片 机、键盘、拨码开关这些元件。有两项可以实现串行通信功能并且通过它去传递 数据的元器件,一个是 Zigbee 模块,另一个是飞思卡尔 MC9S08QG8 单片机。我 们这次的设计大体上讲解了几个元器件的原理和工作情况,一切被传输出去的数 据都会在上位机里全部表现出来。该表决器设计简单,制作精良,结果看得很直 接,可以被很好地利用。73932
毕业论文关键词:Zigbee 模块 单片机 表决器
People based on Zigbee wireless voter
Abstract Votes have been used for election, major problems difficult to solve in the way。 With the rapid development of society, human's vote already can't satisfy people's needs。 Therefore, the cable voter arises at the historic moment。 It largely reduce the burden of people, to speed up the efficiency。 However, the cable voter can't vote of anytime and anywhere。 Therefore, wireless voter gradually replacing the cable voter, widely used by people, greatly satisfy the needs of the social layers。
This design mainly by the Zigbee module as the core, on the basis of the joined MC9S08QG8 MCU, keyboard module, dial the code switch module components。 The re are two can realize serial communication function and through which to transfer dat a, respectively is MC9S08QG8 Zigbee module and freescale microcontroller。 This des ign is mainly the Zigbee module, MC9S08QG8 working principle of single chip micr ocomputer and the PC software of c # programming complete carefully introduced ag ain。 Pass a selected dial the code switch the contestant's serial number, then press the keyboard, in order to produce the keyboard interrupt, we need the code will automatic ally in the single chip microcomputer keyboard interrupt。 Then, player's vote by singl e chip microcomputer。 Finally, PANID formed by the Zigbee network transmission da ta and through the TTL - USB sent to the PC, all the results displayed in the upper ma chine。 The voter design is simple and the results look very directly, has the very high use value。
Key Words:Zigbee microcomputer voter
目录
1 绪论 IV
1。1 课题设计目的 1
1。2 系统功能说明 1
2 方案论证 2
2。1 系统方案论证 2
2。2 无线设备方案论证 2
2。3 系统总体方案设计 3
3 系统硬件电路设计 3
3。1QG8 单片机介绍 3
3。1。1 特点 3
3。1。2 芯片引脚分配 4
3。2 MCU 最小系统 5
3。2。1 MC9S08QG8 电源电路 6
3。2。2 MC9S08QG8 时钟电路 7
3。3 独立键盘模块 MC9S08QG8单片机+Zigbee多人无线表决器设计:http://www.youerw.com/zidonghua/lunwen_84362.html