摘要:随着经济条件的发展,人们对于口常生活的衣、食、住、行的要求越来越高。食品方面,市场对各种各样的反季蔬菜水果、绿色无公害产品、转基因产品的需求日益增大,温室技术对于解决日益增长的市场需求和传统技术无法满足这种需求两者之间的矛盾有非常重大的意义。本文通过对国内外温室系统的分析和研究,设计出一种智能温室无线监控系统。93855
本文设计的系统由五个独立的控制节点组成,分布于大棚中的五个区域,将区域内的温度、上壤湿度、光照、二氧化碳等参数通过CC2530芯片传送到协调器内,协调器与上位机实时通信,一方面将处理后的信息及时显示,另一方面可对节点进行控制有效控制。
无线传感器网络由三种节点组成:协调器节点、路由节点、终端节点。协调器节点负责与嵌入Web服务器通信,协调自己所在的星型网络的运行。路由节点负责传递信息。终端节点根据所接受到的调节命令控制终端调节器,调节环境参数。各类传感器节点的设计均遵从了低功耗的设计思想。
本文利用温湿度传感器DHT22、光照传感器、CC2530芯片等主要硬件设备,搭建了模拟智能农业温室大棚正常运行时的数据采集系统。主要对工EEE802。 15。 4标准协议及ZigBee组网进行了分析和阐述。特别是针对点对点无线通信以及点对多点的无线通信的流程,代码的编写以及运行调试进行了详细的分析。对终端节点和协调器节点的硬件配置,通信过程及关键代码编写进行了设计,成功的实
现了协议栈的移植,重点测试了终端节点的数据采集以及传输,为今后实际工作中的网络扩展、应用、软件的移植和设计打下了基础。
关键词:智能温室,ZigBee,CC2530,无线传感器网络
Abstract:With the development of economic conditions, people's demand of everyday clothing,food, shelter become increasing too。 As foods, the market of off-season fruits and vegetables,green pollution-free products, and GMO products are biger day after day,however,greenhouse technology just solve the conflict between the growing market demandand the reality that traditional technologies can not meet this demand 。Based on analysis andresearch the domestic and international greenhouse system, subjects design a intelligent greenhouse wireless monitoring system。
The system is composed of five independent control node,distributed in five regions of the greenhouse,in the region of tempera-ture,soil moisture,light,carbon dioxide and other parameters by CC2530 chip to transmit to the coordinator,coordinator and host computer in real time communication,on the one hand,the processed information timely display,on the other hand can control and effective control of nodes。
Wireless sensor network consists of three nodes: the coordination node, routing node,terminal node。 Coordinator node is responsible for communication with the embedded Web server, and coordinate the star network where they operations。 Routing node transmission the information。 Terminal node may adjust the terminal regulator according to the command and control to regulate the environmental parameters。 Design of various types of sensor nodes follow a low-power design。
In this paper, using temperature and humidity sensor DHT22 and light sensor,CC2530 chip and other hardware equipment, data acquisition system was established tosimulate the intelligent agricultural greenhouses during normal operation。Mainly on the IEEE802。15。4 protocol and ZigBee network are analyzed and expounded,Especially for the point to point wireless communication and wireless communication point to multipoint process,code writing and debugging are analyzed in detail。The terminal nodes and coordinator nodes hardware configuration。Communication process and the key code of the preparation of the design, the successful implementation of the protocol stack。Key test of terminal node data acquisition and transmission, and lay the foundation for future expansion, transplantation and design in the practical work of network application andsoftware。