CN109855677A - A kind of green house of vegetables humiture observation system and method based on ZigBee - Google Patents

A kind of green house of vegetables humiture observation system and method based on ZigBee Download PDF

Info

Publication number
CN109855677A
CN109855677A CN201811546074.XA CN201811546074A CN109855677A CN 109855677 A CN109855677 A CN 109855677A CN 201811546074 A CN201811546074 A CN 201811546074A CN 109855677 A CN109855677 A CN 109855677A
Authority
CN
China
Prior art keywords
master controller
zigbee
host computer
green house
observation system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811546074.XA
Other languages
Chinese (zh)
Inventor
刘增力
任贵粉
王国庆
马含
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kunming University of Science and Technology
Original Assignee
Kunming University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kunming University of Science and Technology filed Critical Kunming University of Science and Technology
Priority to CN201811546074.XA priority Critical patent/CN109855677A/en
Publication of CN109855677A publication Critical patent/CN109855677A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of green house of vegetables humiture observation system and method based on ZigBee, belongs to field of agricultural production technologies.The present invention includes Temperature Humidity Sensor, light intensity sensor, soil humidity sensor, ZigBee wireless communication module, host computer, master controller, water pump, draft fan;The established standards range first in host computer, then each sensor is acquired monitoring to environmental parameter in greenhouse, data are sent to host computer by ZigBee wireless transport module by master controller, host computer issues feedback command to master controller after being compared to currently received data with established standards range, master controller drives water pump, draft fan operation.The present invention can carry out real-time monitoring to temperature and humidity, illumination and soil moisture environmental parameter in greenhouse by sensor, and water pump, draft fan can be driven to adjust temperature and humidity, illumination and soil moisture in greenhouse by master controller according to monitoring data and reach established standards range.

Description

A kind of green house of vegetables humiture observation system and method based on ZigBee
Technical field
The present invention relates to a kind of green house of vegetables humiture observation system and method based on ZigBee, belongs to agricultural production skill Art field.
Background technique
In the prior art, traditional green house of vegetables be if it will detect temperature and humidity and light conditions, just must be according to Detection is manually gone to check, the working strength for not only increasing agriculture personnel in this way there is also measurement accuracy and measurement not in time The problem of, environmental index in green house of vegetables can not be accomplished timely and effectively to control.
Summary of the invention
The invention reside in a kind of green house of vegetables humiture observation system and method based on ZigBee is provided, to realize to vegetable Temperature and humidity, illumination and soil moisture environmental parameter carry out real-time monitoring and adjustment in dish greenhouse.
The technical scheme is that a kind of green house of vegetables humiture observation system based on ZigBee, including temperature and humidity Sensor, light intensity sensor, soil humidity sensor, ZigBee wireless communication module, host computer, master controller, water pump, ventilation Fan;
Temperature Humidity Sensor output end, light intensity sensor output end, soil humidity sensor output end are defeated with master controller respectively Enter end connection, master controller is connect by ZigBee wireless communication module with host computer, master controller output end respectively with water pump, Draft fan connection.
The model DHT11 Temperature Humidity Sensor of the Temperature Humidity Sensor.
The model GY-30 light intensity sensor of the light intensity sensor, built-in BH1750FVI chip.
The model YL-69 soil humidity sensor of the soil humidity sensor, built-in LM393 comparator.
The master controller uses ATmega328p processor.
The ZigBee wireless communication module uses ZigBee wireless serial communication module, interior to be equipped with chip, the type of chip It number is TI CC2530, one piece of ZigBee wireless communication module connect with master controller, and another piece of ZigBee wireless communication module leads to It crosses serial ports and turns Transistor-Transistor Logic level module CH340 and be connected with host computer USB port, pass through IEEE between ZigBee wireless communication module 802.15.4 agreement carries out wireless communication.
The model DC3W water pump of the water pump.
The model 4010S draft fan of the draft fan.
A kind of monitoring method of the green house of vegetables humiture observation system based on ZigBee, the specific steps are as follows: exist first The critical field of temperature and humidity, light intensity and soil moisture environmental parameter is set in host computer, then by each sensor in greenhouse Temperature and humidity, light intensity and soil moisture environmental parameter are acquired monitoring, and data are transmitted to master controller, in master controller Data are analyzed and processed by ATmega328p processor, are sent to host computer, host computer by ZigBee wireless transport module Classified and show and currently received data are compared with established standards range, if current data is in critical field Interior, host computer issues feedback command to master controller, and master controller abandons data according to feedback command, and waiting receives number next time According to;If current data, not in critical field, host computer issues feedback command to master controller, and master controller is according to feedback command Water pump, draft fan operation are driven, temperature and humidity, illumination and soil moisture in greenhouse is adjusted and reaches established standards range.
The beneficial effects of the present invention are: can be by sensor to temperature and humidity, illumination and soil moisture environmental parameter in greenhouse Real-time monitoring is carried out, and water pump, draft fan can be driven to adjust temperature and humidity, illumination in greenhouse by master controller according to monitoring data And soil moisture reaches established standards range.
Detailed description of the invention
Fig. 1 is present system device connection figure;
Fig. 2 is ATmega328P processor package drawing;
Fig. 3 is ZigBee module A node external circuit catenation principle figure;
Fig. 4 is ZigBee module B node external circuit catenation principle figure;
Fig. 5 is DHT11 sensor circuit catenation principle figure;
Fig. 6 is GY-30 sensor circuit catenation principle figure;
Fig. 7 is YL-69 sensor circuit catenation principle figure;
Fig. 8 is DC3W pump circuit catenation principle figure;
Fig. 9 is 4010S draft fan circuit connection schematic diagram;
Figure 10 is that present system handles data flowchart;
Figure 11 is that host computer handles data flowchart;
Figure 12 is that master controller handles data flowchart.
Specific embodiment
With reference to the accompanying drawings and examples, the invention will be further described, but the contents of the present invention be not limited to it is described Range.
Embodiment 1: as shown in figs. 1-12, a kind of green house of vegetables humiture observation system based on ZigBee, including it is warm and humid It spends sensor, light intensity sensor, soil humidity sensor, ZigBee wireless communication module, host computer, master controller, water pump, lead to Fan;
Temperature Humidity Sensor output end, light intensity sensor output end, soil humidity sensor output end are defeated with master controller respectively Enter end connection, master controller is connect by ZigBee wireless communication module with host computer, master controller output end respectively with water pump, Draft fan connection.Host computer is PC man-machine interactive system and completes monitoring system design, settable automatic adjustment using MSComm control With manually adjust two different shaping modes.
It is possible to further which the model DHT11 Temperature Humidity Sensor of the Temperature Humidity Sensor is arranged.DHT11 is warm and humid Degree sensor can make detection to temperature and humidity index, and will test result and be transmitted to master controller processing, DHT11 Temperature Humidity Sensor Three pins used have VCC, GND and DOUT, the power supply of the external 5V of VCC pin, the GND pin of GND pin external power supply, number According to output pin, that is, DOUT pin, using the PD2 pin connection communication of single bus data mode and Atmega328p processor.
It is possible to further which the model GY-30 light intensity sensor of the light intensity sensor, built-in BH1750FVI is arranged Chip.GY-30 light intensity sensor makes detection to light intensity index, and will test result and be transmitted to master controller processing, GY-30 light intensity Between sensors A tmega328p processor use I2C communication protocol, the pin that GY-30 light intensity sensor is used have SCL, SDA, GND, VDD, the wherein power supply of the external 5V of VDD pin, the GND pin of GND pin external power supply, SDA pin and Atmega328p The PC4 pin of processor connects, and SCL pin is connect with the PC5 pin of Atmega328p processor.
It is built-in it is possible to further which the model YL-69 soil humidity sensor of the soil humidity sensor is arranged LM393 comparator.Soil humidity sensor makes detection to soil moisture index, and will test result and be transmitted at master controller Reason, the pin that YL-69 soil humidity sensor is used has OUTB, VCC, GND, INA+, wherein by the electricity of the external 5V of VCC pin Source, the GND pin of GND pin external power supply, OUTB pin are connect with the PC0 pin of Atmega328p processor, INA+ pin It is connected with soil probe interface.
It is possible to further which the master controller is arranged using ATmega328p processor, ATmega328p processor is A high-performance, low-power consumption 8 bit processor of AVR, with advanced risc architecture and there are non-volatile program and data to deposit Reservoir, main controller controls sensors towards ambient parameter are acquired monitoring, and drive water pump, draft fan to temperature and humidity, illumination, Soil moisture is adjusted.
ZigBee wireless serial communication module is used it is possible to further which the ZigBee wireless communication module is arranged, it is interior Equipped with chip, model TI CC2530, ZigBee the wireless serial communication module of chip is a full duplex 2.4G wireless transmission Module is powered using direct current 3.3V, and settable three kinds of operating modes are point-to-point mode A, point-to-point B-mode and broadcast mould respectively Formula, in ad hoc mode, mode A and B-mode can connect pairing when channel selection is identical automatically, and ZigBee wireless module is total There are four pins, are positive pin VCC respectively, cathode pin GND, serial data receives pin RXD, serial data sends pin TXD.ZigBee ad hoc mode is taken to communicate in the present invention, it is therefore desirable to use two pieces of ZigBee modules, one piece ZigBee wireless communication module is connect with master controller, and another piece of ZigBee wireless communication module turns Transistor-Transistor Logic level mould by serial ports Block CH340 is connected with host computer USB port, carries out nothing by IEEE 802.15.4 agreement between ZigBee wireless communication module Line communication.The GND pin of ZigBee node A and the GND pin of power supply connect, and VCC pin is connect with power supply 3.3V, RXD pin It is connect with the PD1 pin of Atmega328p processor, TXD pin is connect with the PD0 pin of Atmega328p processor, 3.3V electricity Source is connect with the OUT+ pin of AMS1117-33 voltage-stablizer again, and power supply GND is connect with the OUT- pin of AMS1117-33 voltage-stablizer, IN- the and IN+ pin of AMS1117-33 voltage-stablizer is connect with the GND of 5V power supply and VCC pin respectively.ZigBee node B's GND, RXD, TXD, VCC pin are connect with GND, TXD of CH340 module, RXD, power supply 3.3V pin respectively.
It is possible to further which the model DC3W water pump of the water pump is arranged.The VCC of DC3W water pump and power supply, GND pin Connection, switch K2 are connect with the PB2 of Atmega328p processor.
It is possible to further which the model 4010S draft fan of the draft fan is arranged.4010S draft fan and power supply VCC, GND pin connection, switch K2 are connect with the PB3 of Atmega328p processor.
A kind of monitoring method of the green house of vegetables humiture observation system based on ZigBee, the specific steps are as follows: exist first The critical field of temperature and humidity, light intensity and soil moisture environmental parameter is set in host computer, then by each sensor in greenhouse Temperature and humidity, light intensity and soil moisture environmental parameter are acquired monitoring, and data are transmitted to master controller, in master controller Data are analyzed and processed by ATmega328p processor, are sent to host computer, host computer by ZigBee wireless transport module Classified and show and currently received data are compared with established standards range, if current data is in critical field Interior, host computer issues feedback command to master controller, and master controller abandons data according to feedback command, and waiting receives number next time According to;If current data, not in critical field, host computer issues feedback command to master controller, and master controller is according to feedback command Water pump, draft fan operation are driven, temperature and humidity, illumination and soil moisture in greenhouse is adjusted and reaches established standards range.In addition, may be used also Command adapted thereto is issued taking human as the control end PC, to meet the purpose for adjusting varying environment parameter.
Host computer includes following sub-step at runtime:
S1: first initialize, and to PC application function using permission, setting baud rate identifies data port;
S2: setting starts to receive data, and whether the essence according to data character string is lx, s, rh and tem whether to determine data For intensity of illumination data, soil moisture data, humidity data and temperature data.If data are not belonging to one of these fourth types, data It abandons, system waiting receives data next time;If data belong to one of these fourth types, host computer displays it to the man-machine friendship in the end PC Mutual interface, and data are compared with established standards value.If data, within the scope of established standards, return system etc. is to be received Data mode next time;If data not within the scope of established standards, carry out next step S3;
S3: host computer makes feedback command according to the difference for receiving data and established standards range and is sent to ZigBee node B, And master controller is radioed to by ZigBee and carries out instruction execution.
Master controller includes following sub-step at runtime:
S11: the data that transmit of sensor are read by Atmega328p processor and carry out classifying packing;
S21: packed data are sent to ZigBee node A by serial communication protocol, transfer to host computer to show data And processing;
S31: master controller receives the control instruction that host computer is sent by ZigBee-network, Atmega328p processor according to Order-driven water pump, draft fan operation adjust temperature and humidity, illumination and soil moisture in greenhouse and reach standard value.
Above in conjunction with attached drawing, the embodiment of the present invention is explained in detail, but the present invention is not limited to above-mentioned Embodiment within the knowledge of a person skilled in the art can also be before not departing from present inventive concept Put that various changes can be made.

Claims (9)

1. a kind of green house of vegetables humiture observation system based on ZigBee, it is characterised in that: including Temperature Humidity Sensor, light intensity Sensor, soil humidity sensor, ZigBee wireless communication module, host computer, master controller, water pump, draft fan;
Temperature Humidity Sensor output end, light intensity sensor output end, soil humidity sensor output end are defeated with master controller respectively Enter end connection, master controller is connect by ZigBee wireless communication module with host computer, master controller output end respectively with water pump, Draft fan connection.
2. the green house of vegetables humiture observation system according to claim 1 based on ZigBee, it is characterised in that: the temperature The model DHT11 Temperature Humidity Sensor of humidity sensor.
3. the green house of vegetables humiture observation system according to claim 1 based on ZigBee, it is characterised in that: the light The model GY-30 light intensity sensor of strong sensor, built-in BH1750FVI chip.
4. the green house of vegetables humiture observation system according to claim 1 based on ZigBee, it is characterised in that: the soil The model YL-69 soil humidity sensor of earth humidity sensor, built-in LM393 comparator.
5. the green house of vegetables humiture observation system according to claim 1 based on ZigBee, it is characterised in that: the master Controller uses ATmega328p processor.
6. the green house of vegetables humiture observation system according to claim 1 based on ZigBee, it is characterised in that: described ZigBee wireless communication module uses ZigBee wireless serial communication module, interior to be equipped with chip, the model TI of chip CC2530, one piece of ZigBee wireless communication module are connect with master controller, and another piece of ZigBee wireless communication module passes through serial ports Turn Transistor-Transistor Logic level module CH340 to be connected with host computer USB port, passes through IEEE 802.15.4 between ZigBee wireless communication module Agreement carries out wireless communication.
7. the green house of vegetables humiture observation system according to claim 1 based on ZigBee, it is characterised in that: the water The model DC3W water pump of pump.
8. the green house of vegetables humiture observation system according to claim 1 based on ZigBee, it is characterised in that: described logical The model 4010S draft fan of fan.
9. a kind of monitoring method of the green house of vegetables humiture observation system based on ZigBee, it is characterised in that: specific steps are such as Under: the critical field of temperature and humidity, light intensity and soil moisture environmental parameter is set first in host computer, then passes through each sensor Monitoring is acquired to temperature and humidity, light intensity and soil moisture environmental parameter in greenhouse, and data are transmitted to master controller, main control Data are analyzed and processed by ATmega328p processor in device, are sent to host computer by ZigBee wireless transport module, on Position machine, which is classified, to be shown and is compared to currently received data with established standards range, if current data is in standard model In enclosing, host computer issues feedback command to master controller, and master controller abandons data according to feedback command, and waiting receives next time Data;If current data, not in critical field, host computer issues feedback command to master controller, and master controller refers to according to feedback Driving water pump, draft fan operation are enabled, temperature and humidity, illumination and soil moisture in greenhouse is adjusted and reaches established standards range.
CN201811546074.XA 2018-12-18 2018-12-18 A kind of green house of vegetables humiture observation system and method based on ZigBee Pending CN109855677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811546074.XA CN109855677A (en) 2018-12-18 2018-12-18 A kind of green house of vegetables humiture observation system and method based on ZigBee

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811546074.XA CN109855677A (en) 2018-12-18 2018-12-18 A kind of green house of vegetables humiture observation system and method based on ZigBee

Publications (1)

Publication Number Publication Date
CN109855677A true CN109855677A (en) 2019-06-07

Family

ID=66891374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811546074.XA Pending CN109855677A (en) 2018-12-18 2018-12-18 A kind of green house of vegetables humiture observation system and method based on ZigBee

Country Status (1)

Country Link
CN (1) CN109855677A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110149990A (en) * 2019-06-13 2019-08-23 华东师范大学 Greenhouse plants growing environment regulating system based on ZigBee
CN112629581A (en) * 2020-10-29 2021-04-09 西安思源学院 Green house humiture measurement system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202663556U (en) * 2012-03-13 2013-01-09 南开大学 Wireless real-time greenhouse supervision and management system based on Zigbee technology
CN104793670A (en) * 2015-04-12 2015-07-22 吉林大学 System for controlling temperature and humidity in greenhouse
CN105867334A (en) * 2016-05-11 2016-08-17 华中农业大学 Intelligent environment parameter control system for watermelons in greenhouse
CN205827156U (en) * 2016-04-12 2016-12-21 田敏 A kind of greenhouse-environment monitoring system controlled based on microprocessor
CN107450488A (en) * 2017-07-12 2017-12-08 内乡县中以高效农业科技开发有限公司 A kind of intelligent agricultural greenhouse system based on technology of Internet of things
CN207099905U (en) * 2017-06-24 2018-03-16 渭南师范学院 Grape greenhouse indoor environment remote supervision system
US20180247513A1 (en) * 2015-09-08 2018-08-30 Peter CALVERT Apparatus and system for home and commerical systems monitoring
CN208044371U (en) * 2018-04-29 2018-11-02 山东省计算中心(国家超级计算济南中心) Greenhouse information monitoring system based on agriculture technology of Internet of things
CN108733105A (en) * 2017-04-24 2018-11-02 常州机电职业技术学院 A kind of intelligent agricultural greenhouse monitoring system device
CN108919754A (en) * 2018-06-21 2018-11-30 马鞍山中粮生物化学有限公司 A kind of intelligence greenhouse real-time monitoring system and monitoring method
CN209446094U (en) * 2018-12-18 2019-09-27 昆明理工大学 A kind of green house of vegetables humiture observation system based on ZigBee

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202663556U (en) * 2012-03-13 2013-01-09 南开大学 Wireless real-time greenhouse supervision and management system based on Zigbee technology
CN104793670A (en) * 2015-04-12 2015-07-22 吉林大学 System for controlling temperature and humidity in greenhouse
US20180247513A1 (en) * 2015-09-08 2018-08-30 Peter CALVERT Apparatus and system for home and commerical systems monitoring
CN205827156U (en) * 2016-04-12 2016-12-21 田敏 A kind of greenhouse-environment monitoring system controlled based on microprocessor
CN105867334A (en) * 2016-05-11 2016-08-17 华中农业大学 Intelligent environment parameter control system for watermelons in greenhouse
CN108733105A (en) * 2017-04-24 2018-11-02 常州机电职业技术学院 A kind of intelligent agricultural greenhouse monitoring system device
CN207099905U (en) * 2017-06-24 2018-03-16 渭南师范学院 Grape greenhouse indoor environment remote supervision system
CN107450488A (en) * 2017-07-12 2017-12-08 内乡县中以高效农业科技开发有限公司 A kind of intelligent agricultural greenhouse system based on technology of Internet of things
CN208044371U (en) * 2018-04-29 2018-11-02 山东省计算中心(国家超级计算济南中心) Greenhouse information monitoring system based on agriculture technology of Internet of things
CN108919754A (en) * 2018-06-21 2018-11-30 马鞍山中粮生物化学有限公司 A kind of intelligence greenhouse real-time monitoring system and monitoring method
CN209446094U (en) * 2018-12-18 2019-09-27 昆明理工大学 A kind of green house of vegetables humiture observation system based on ZigBee

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110149990A (en) * 2019-06-13 2019-08-23 华东师范大学 Greenhouse plants growing environment regulating system based on ZigBee
CN112629581A (en) * 2020-10-29 2021-04-09 西安思源学院 Green house humiture measurement system

Similar Documents

Publication Publication Date Title
CN203520208U (en) Planting and breeding environment controller
CN109855677A (en) A kind of green house of vegetables humiture observation system and method based on ZigBee
CN102393697A (en) Wireless remote monitoring and controlling system on environment of culturing farm
CN206002909U (en) Wireless monitor intelligence birds, beasts and eggs hatching system
CN202275314U (en) Wireless remote environment monitor and control system of cultivation farm
CN209446094U (en) A kind of green house of vegetables humiture observation system based on ZigBee
CN106730554A (en) Intelligent early-warning firefighting robot based on built-in Linux
CN205665605U (en) Warmhouse booth control system based on internet of things
CN204595660U (en) A kind of seedling rearing room humiture wireless control system
CN212083939U (en) Remote intelligent agricultural Internet of things system
CN109375678A (en) A kind of henhouse intelligent environment control system
CN206002983U (en) A kind of long distance control system of edible fungus culturing environment
CN204302791U (en) A kind of water quality monitoring system be applied in aquaculture
CN209230672U (en) A kind of ward environment monitoring system based on ZigBee
CN207751141U (en) A kind of damping control
Jun Design of intelligent monitoring and controlling system for greenhouse
CN206564993U (en) A kind of garden intelligent Sprinkling Irrigation dual intensity source device
CN205546741U (en) Remote intelligent warmhouse booth machine that leaks informaton
CN204634059U (en) Greenhouse wisdom regulation and control embedded gateway equipment
CN204242009U (en) Middle-size and small-size pigsty environmental control system
CN208520831U (en) A kind of strawberry cultivating greenhouse environment parameter monitoring system
CN205405312U (en) Little climatic environment controlling means of pig house based on CFD
Ma Design of intelligent monitoring system for greenhouse
CN206330260U (en) Indoor humidity Intelligent Measurement and control system
CN109353515A (en) A kind of plant protection drone liquid level emasuring device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination