| In recent years, the increasing population, rapidly developing urbanization and decrease of farmland, makes the food security problem in China is becoming more and more serious. As a modern agricultural production mode, Facility agriculture can get rid of the natural environmental constraints, realize the annual production in artificial environment, greatly improve the land productivity, liberate the workforce, and effectively alleviate the problem of food security. The greenhouse is the unique facilities agriculture type in our country, but it lacks of effective support of modern science and technology, and it’s land productivity and resource utilization rate is low. Therefore, this research devotes itself to combine embedded micro controller with the technology of the Internet of things, improve the greenhouse’s perception and control ability, and realize efficient safe production.The system is divided into the slave machine, wireless transceiver module and upper computer. The slave machine is responsible for the collection, storage, display of environment parameter data, and the driver of actuating equipment. Wireless transceiver module is takes charge of the formation of Zig Bee Mesh network, which acts as the system communication "bridge", and the realization of wireless data transceiver. Upper machine is in charge of receiving, display real-time environment data, at the same time supporting feedback control. The lower position machine regards super low power consumption MCU MPS430F5438 as the core, regards low power consumption and acquisition of universal as the basic idea, designs solar charging circuit, fractionation type power supply circuit, universal acquisition circuit and each function module circuit. Wireless transceiver uses XBee-Pro Zig Bee Mesh2.4 module produced by USA DIGI company, it is a Zig Bee module which cures Zig Bee protocol stack into the interior of FLASH. The wireless transceiver has the advantages of simple operation, long communication distance and automatic composition of Mesh network; Upper machine regards 32 bit microcontroller STM32F103ZET6 as the core, drives 3.2 inch TFT color touch screen and designs friendly man-machine interface for user.After testing, the lower position machine’s current consumption is only 100 u A under the whole dormancy state. A block of 2Ah rechargeable lithium battery can lasts up to 181 days, while it can be full by solar charging in two days. The system supports a variety of digital signal(single bus, IIC, SDI-12, serial port) sensors and analog(standard / weak voltage and current, differential signal) sensor, has single point transmission distance reach up to 800 m, keeps data link unblocked in the case of original network structure has been destructed. Upper machine man-machine interface can display real-time environmental data, remote control perform device connected with the lower position machine.The system has good low power and solar charging performance, has strong acquisition versatility, supports most of the sensor on the market, and it’s network has strong anti-interference and robustness.The whole system consists closed loop from perception to feedback control, effectively raised the greenhouse intelligence control ability, and provides an effective solution in order to achieve high crop yield, quality, efficient, ecological, safety in production. |