| With wide application of the Internet of Things technology,the information acquisition system based on the Internet of Things technology is gradually applied to the construction of intelligent agriculture,and the remote monitoring system applied in greenhouse environment is a typical example.At present,Zigbee,Bluetooth and other technologies which are widely used have the disadvantages of short communication distance,complex networking,low network reliability,and they cannot cover an application scenarios with large area.Aiming at the application demand of greenhouse,an information acquisition system based on LoRa is designed and implemented combined with the advantages of LoRa technology in long distance and low-power consumption.The main research work can be summarized as follows:(1)To meet the application requirements of greenhouse environment information acquisition system,the overall scheme of the system is designed combining with the advantages of LoRa technology.The system is mainly composed of terminal nodes,gateway node and TLink IoT cloud platform.The terminal nodes and gateway node constitute the LoRa network,and the gateway node is connected to the TLink cloud platform through WiFi.(2)The modular design concept is used to complete the hardware design of the system.Both terminal nodes and gateway node include processing module which take STM32 series microcontroller as the core and LoRa communication module.Besides,terminal nodes include sensor module and output module,and gateway node includes WiFi communication module.The LoRa communication module has a built-in chip SX1278 for LoRa modulation,and the WiFi communication module has a built-in chip ESP8266 for network connection.(3)The software design of the system is completed,including the initialization and the program design for sending and receiving data of LoRa communication module,the communication design of the LoRa network,the software design of the terminal nodes and the gateway node,and the usage setting of TLink cloud platform.(4)A test system is built,the basic function tests and joint tests are completed.The test results show that LoRa technology can achieve long-distance transmission,and has strong anti-interference ability.The system has advantages of wide coverage and simple networking,and it run stably.It can realize the functions of data query,remote control,and abnormal alarm.The system can meet design requirements and achieve the desired design goals.In summary,the information acquisition system based on LoRa technology designed in this paper solves the shortcomings of short communication distance and complex network in existing system,realizes remote monitoring and scientific management,simplifies the agricultural production mode,and has a good application prospect. |