基于ZigBee技术的室内环境监测系统设计
来源:wenku163.com 资料编号:WK16313908 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK16313908
资料介绍
基于ZigBee技术的室内环境监测系统设计(论文14000字)
摘要:针对目前很多家庭自动化程度低,舒适度欠缺和存在安全隐患的问题,本文设计了基于ZigBee无线局域网技术的室内环境监测系统,此系统可作为智能家居系统的子系统。在该系统中,两个终端节点携带传感器,分别采集室内的温湿度信息和气体浓度信息,并通过无线网络发送到协调器节点,协调器收到后将数据送上位机监测软件。硬件平台使用的主控芯片CC2530为TI公司开发的ZigBee SoC,基于Z-Stack协议栈进行了用户应用程序、设备组网、传感器采集程序的开发,并研究了终端节点的省电方案。最后,对系统进行了简单的测试,结果表明系统达到了最初的设计目的。
关键词:环境监测,ZigBee,无线网络
A Design Of Indoor Environment Monitoring System Based On ZigBee Technology
Abstract:Aiming at the issue that many families have low level of automation, lack of comfort and exist safety hazards, this paper designs an indoor environmental monitoring system based on ZigBee wireless technology, which can be seen as subsystem of smart home. In this system, two terminal nodes carry sensors, so that temperature, humidity and the gas chamber information are collected and transmitted by radio to the coordinator node, coordinator sends data to upper computer using serial port. The hardware platform uses CC2530, a TI ZigBee SoC. Based on Z-Stack, I also designed user application, device network forming, sensor collecting programs, I also studied power-saving solution for terminal nodes. At last, the system is simply tested, the results show that the system has achieved the original design goal.
Key words:Indoor environment monitoring,ZigBee,Wireless network
目 录
1 绪论………………………………………………………………1
1.1 研究目的……………………………………………………………………………1
1.2 国内外研究状况……………………………………………………………………1
1.3 本文内容……………………………………………………………………………2
2 设计方案…………………………………………………………3
2.1 无线方案选择………………………………………………………………………3
2.2 系统方案……………………………………………………………………………3
2.3 ZigBee技术…………………………………………………………………………4
3 硬件平台…………………………………………………………8
3.1 ZigBee开发板………………………………………………………………………8
3.2 传感器模块…………………………………………………………………………10
4 软件程序设计……………………………………………………12
4.1 Z-Stack协议栈使用…………………………………………………………………12
4.2 用户应用程序设计…………………………………………………………………15
4.3 设备组网……………………………………………………………………………18
4.4 传感器采集程序设计………………………………………………………………21
4.5 省电方案研究………………………………………………………………………22
4.6 上位机软件…………………………………………………………………………24
5 系统测试…………………………………………………………25
6 总结………………………………………………………………26
参考文献………………………………………………………………27
致谢……………………………………………………………………28 |