基于ZigBee的室内环境检测系统的设计
来源:wenku163.com 资料编号:WK16313909 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK16313909
资料介绍
基于ZigBee的室内环境检测系统的设计(论文15000字)
摘要:随着人们生活水平的不断提高,人们对室内环境质量的需求也变得越来越高。本文主要是根据国内目前的家居环境监测的发展现况,设计了一个基于CC2530的室内环境检测系统。该系统利用以CC2530为核心的无线传感模块实现点对点通信,通过协调器进行环境参数数据的接受和转发,而传感器节点进行环境参数的测量和转发,上位机软件进行环境参数的显示和检测。本论文主要是讨论了以CC2530芯片为核心的相关ZigBee无线传感网络模块的技术背景、其基于的IEEE802.15.4标准、其协议体系结构、技术特点和实现的基本方式[1],分析了硬件设计实现的可行性。并对本设计采用的温湿度传感模块、烟雾传感模块、人体感应传感模块以及OLED显示模块进行的简要的说明与分析。本文还简单地阐述了有关上位机软件的设计。最后对温湿度、烟雾和人体感应的功能效果进行测试和简单的认证,并总结分析验证结果。实验证明,这种设计结构非常简单,使用与操作相当方便,功能较为齐全,在现实中具有一定的实用价值。
关键词:ZigBee;CC2530;无线传感网络;环境参数检测
Indoor Environment Detection System Based on ZigBee
Abstract:With the continuous improvement of people's living standards, people's demand for indoor environmental quality has become increasingly high. This paper is based on the current domestic home environment monitoring the development of the status of the design of a CC2530 based on the indoor environment testing system. The system uses the wireless sensor module with CC2530 as the core to realize point-to-point communication. The parameters and data of the environmental parameters are accepted and forwarded by the coordinator. The sensor nodes carry out the measurement and forwarding of the environmental parameters. The host computer software displays and detects the environmental parameters. This paper mainly discusses the technical background of the related ZigBee wireless sensor network module with CC2530 chip as its core, which is based on the IEEE802.15.4 standard, its protocol architecture, technical characteristics and the basic way of realization [1]. The hardware The feasibility of the design realization. And the design and use of the temperature and humidity sensor module, smoke sensor module, the human body sensor module and OLED display module for a brief description and analysis. This article also briefly describes the design of the host computer software. Finally, the functional effects of temperature and humidity, smoke and human induction are tested and simply authenticated, and the results are analyzed and summarized. Experiments show that this design structure is very simple, easy to use and operation, the function is more complete, in reality has a certain practical value.
Key words: ZigBee; CC2530; wireless sensor network; environmental parameter detection
目 录
摘要 I
ABSTRACT II
1绪论 1
1.1论文研究背景及意义 1
1.2 ZigBee的国内外发展现状 1
1.3论文的主要内容及结构安排 1
2ZigBee协议简介 2
2.1 ZigBee协议体系结构 2
2.1.1物理层 3
2.1.2媒体介质访问层 3
2.1.3网络层 3
2.1.4应用支持层 4
2.2 ZigeBee网络基本概念 4
2.2.1设备类型 4
2.2.2网络拓扑结构 5
2.2.3信标与非信标模式 5
2.2.4 ZigBee术语 6
2.2.5绑定 6
2.2.6 ZigBee原语 6
3系统设计 7
4硬件设计 8
4.1 ZigBee节点 8
4.1.1 CC2530概述 8
4.1.2 ZigBee节点功能模块拓展底板概述 9
4.2温度传感模块 10
4.2.1 DHT11与功能拓展底板接口 11
4.2.2 DHT11串行通信时序原理 11
4.3烟雾检测模块 13
4.3.1烟雾检测模块与功能拓展底板接口 13
4.3.2 MQ-2技术参数与灵敏度特性 13
4.4人体感应模块 14
4.4.1人体感应模块与功能拓展底板接口 14
4.4.2人体感应模块电气特性及原理 14
4.5 显示模块 15
4.5.1 OLED显示模块与功能拓展底板接口 15
4.5.2 OLED工作时序和原理 15
5软件设计 16
5.1软件开发环境IAR概述 16
5.2 Z-Stack体系机构及工作流程 17
5.3网络通信过程 18
5.4参数测量及传输 19
5.4.1温湿度传感检测数据检测与传输 19
5.4.2烟雾传感模块 20
5.4.3人体红外模块 21
5.5上位机软件设计 22
5.5.1用户界面设计 22
5.5.2开发环境QT Creator简介 22
6系统测试 23
6.1系统测试步骤 23
6.2系统测试结果 24
6.3系统测试结果分析 24
7总结 24
参考文献 25
致谢 26
附录A 27
附录B 28
附录C 29
附录D 30
|