1、 毕 业 设 计毕 业 设 计 题题 目目 基于 Zigbee 的无线通讯装置设计 学学 院院 自动化与电气工程学院 专专 业业 电气工程及其自动化 二一三年六月八日 - - I 摘 要 生活中常常需要对环境的温湿度有所要求, 如何对环境温湿度进行调控则是本文 的重点。着眼于目前较为流行的智能家居办公系统设计。本文是基于公司的 CC2530 实现了 IEEE802.15.4(Zigbee)的无线传感器网络协议,并采用 PIC16LF887 为微控制器,集成温湿度信号采集器及其他外设实现远程的温湿度模拟调控。在系统 设计上,始终坚持低功耗、小体积、节约成本的原则,并在组建的 Zigbee 星形网
2、络 中实现多点温湿度调控。详细讨论了系统各个部分所实现的作用和特性。 关键字:智能家居;Zigbee;IEEE802.15.4;无线通信;温湿度 - - II ABSTRACT In this paper we will introduce a system ,we know Life often need to temperature and humidity of the environment requirements, how to control the temperature and humidity of the environment is the focus of this
3、paper. Focus on the design of intelligent home furnishing office system more popular. This is the TI companys CC2530 implementation based on IEEE802.15.4 (Zigbee) protocol for wireless sensor networks, and using PIC16LF887 as micro controller, integrated temperature and humidity signal collector and
4、 other peripherals to realize remote simulation of temperature and humidity control. In the system design, always adhere to the low power consumption, small volume, saves the cost principle, and realize the multipoint temperature and humidity control in the formation of the Zigbee star network. The
5、role and characteristics of the system are discussed in detail. Key words:Intelligent home furnishing; Zigbee; IEEE802.15.4; wireless communication; temperature and humidity - - III 目 录 摘 要 - 1 - ABSTRACTII 目 录 . III 1.前言 1 1.1 选题的背景和意义 . 1 1.2 国内外研究状况 . 2 1.3 zigbee 简介 . 3 1.3.1 zigbee 的由来及特点 3 1.3
6、.2 IEEE 802.15.4 3 1.3.3 zigbee 与其他无线技术的比较 . 4 1.3.4 zigbee 的通讯方式 5 本章小结 6 2.硬件电路设计 7 2.1 微控制器的选择 . 7 2.2 无线射频收发电路的设计 . 8 2.2.1 射频收发器功能介绍 8 2.2.2 UART 模式 . 9 2.2.3 射频收发电路的 IEEE802.15.4 无线数据收发 10 2.3 温湿度信号采集电路设计 . 11 2.3.1 温湿度信号采集电路与微控制器的连接 11 2.3.2 温湿度信号采集电路的测量时序 12 2.4 温湿度控制调节电路设计 . 13 2.5 显示电路的设计 . 14 2.6 按键电路设计 . 15 2.7 双电源供电模块设计 . 15 本章小结 16 3.软件部分设计 17 3.1 软件设计总体方案 . 17 3.2 基于 ZIGBEE 无线通讯的组网 . 17 3.2.1 协调器初始化网络 17 3.2.2 节点加入网络 . 18 3.3 系统的软件设计 . 19 3.3.1 主机设备软件设计