基于ZigBee的多点温湿度采集系统设计
基于ZigBee的多点温湿度采集系统设计(论文12000字)
摘要:无线传感器网络是指利用无线传感器节点之间的无线通信,形成网络和传输数据,因为其布局自由,通信快捷等特点,已经越来越多的取代了传统的有有线网络。ZigBee技术便是新兴的一种无线传感器网络技术。在本文中,基于ZigBee网络的结构分析及其协议栈功能,完成多点温湿度采集系统的设计。首先,无线网络以ZigBee协议为基础。网络中有A、B两个终端节点和一个协调器节点,终端节点加入网络之后,通过传感器采集温湿度数据,进行一定的整合并发送给协调器,协调器负责把数据上传给单片机,单片机收到数据之后驱动显示屏显示两个终端节点所测得的数据。论文首先介绍了无线传感器网络技术的特点和应用现状,分析了ZigBee技术用于无线传感器网络时的优点和缺点。接着介绍了系统的整体设计方案,先介绍了系统的硬件设计,主要对DHT11温湿度传感器,CC2530芯片,STC89C52单片机,LCD1602显示屏的硬件功能和电路连接进行说明;然后,结合Z-Stack协议栈分析了系统的软件设计。最后,对整体设计进行了总结和展望。
关键词:无线传感器网络,ZigBee技术,多点温湿度采集,Z-Stac协议栈
Design and Realization of Multi-Node Temperature Acquisition System Based on ZigBee
[资料来源:www.doc163.com]
Abstract:Wireless sensor network is between each sensor node using wireless communication network and data transmission, because the distribution of free, convenient communication and other characteristics, has increasingly replaced the traditional wired network. ZigBee technology is a new wireless sensor network technology.
In this paper, based on the analysis of ZigBee network architecture and its protocol stack function, a multi-point temperature and humidity acquisition system is designed. First based on ZigBee protocol wireless network consisting of, the network has a, B two terminal nodes and a coordinator node and terminal node to join the network after, through the sensor collected data of temperature and humidity, a certain degree of integration and sent to the coordinator, the coordinator is responsible for the upload data to the microcontroller, microcontroller receives the data drive the display displays the data measured by the two terminal nodes. Then it introduces the general design scheme of the system, first introduced the system hardware design, mainly on temperature and humidity sensor DHT11, chip CC2530, STC89C52 single chip, the LCD1602 display function of the hardware and circuit connection is described; then, based on the Z-stack protocol stack and analyzes the design of system software. At last, the overall design is summarized and prospected.
Key words: Wireless sensor networks, ZigBee technology, multi-point temperature and humidity acquisition, Z-Stack protocol stack
[资料来源:www.doc163.com]
目录
1. 引言 1
1.1国内外现状 1
1.2无线传感器网络特点 1
1.3无线传感器网络应用领域 2
1.4 ZigBee技术与无线传感器网络的优缺点 2
2.系统设计方案 3
2.1模块构成 3
2.1.1 ZigBee核心板 3
2.1.2 温湿度传感器 5
2.1.3 显示模块 9
3.软件设计方案 11
3.1 ZigBee网络结构 11
3.1.1 ZigBee网络拓扑结构 12
3.1.2 ZigBee协议栈 13
3.2系统开发环境 17
3.3 主程序段 19
3.3.1 DHT11驱动程序 20
[来源:http://Doc163.com]
3.3.2 LCD驱动程序 22
4.实物及调试结果 23
5. 总结与展望 25
致谢 26
参考文献 26 [来源:http://www.doc163.com]