Abstract:Aiming at the difficulties of traditional wired control methods in greenhouses, and low control efficiency of various crops. A greenhouse automatic irrigation system based on ZigBee wireless technology was designed. The system consist of terminal node, coordinator node, Wifi module and upper computer. The CC2530 chip was used as the main control chip, multiple terminal nodes and coordinator node were wireless communicated through the ZigBee network, and the data was uploaded to the WiFi communication chip by the RTL8710. The data and image curve was displayed by upper computer in real time. A composite switching control algorithm based on fuzzy control and PID controller was designed, the demand for irrigation was calculated based on the collected temperature and humidity and light intensity, the better control of irrigation effect for crops with different growth conditions was achieved. Through the test, the communication was stable within a distance of 80 meters, the steady-state error of the composite control method did not exceed 0.6 percent. The entire system ran normally and the control performance was excellent, which had practical application value.