| In order to provide real-time data support for the control of solar pasture drying equipment,it is convenient for researchers to study the mechanism of the solar pasture drying process.This thesis designs and implements a LoRa wireless communication-based solar monitoring system for pasture drying equipment.With a TGS-2 solar heat pump drying device as the practical application object to solve the problem of a large amount of data to be collected and monitored during the solar pasture drying process,which is not easy to obtain data.The system has a multi-point multi-parameter data collection function and supports users to access the system using devices with WIFI and browser functions as user terminal devices,and users can view the status of the monitored objects in real-time by browsing the web pages.The main research contents of this thesis are as follows.(1)Combining the characteristics of the TGS-2 solar heat pump drying device and the needs generated by the subject members in the actual forage solar drying experiments,the characteristics of the wireless monitoring system that should be available in the forage solar drying process are analyzed.The mainstream Io T communication technologies were compared and analyzed,and LoRa was determined as the main communication method of the system.The overall architecture design of the monitoring system with multiple data collection nodes and one aggregation node was completed.(2)The circuit design of the system data acquisition node is done by microcontroller plus sensor plus LoRa communication module.The software design of the system data acquisition nodes is implemented by MicroPython,using python language for embedded microcontroller development.The communication between multiple acquisition nodes and a single aggregation node is realized by sending messages sequentially.The function of multiple data acquisition nodes to collect multiple types of data at multiple points simultaneously is implemented.(3)Using Raspberry Pi and LoRa communication module to form the aggregation node circuit of the system,the software design of the aggregation node of the system is completed by python programming under Raspberry Pi Raspbian operating system and using SQLite database.It realizes the reception and storage of the data sent by the data collection node.(4)Using Django architecture,complete the user system design of this system based on the web application.The page design of the user system is realized using HTML and other common front-end design tools.Real-time refreshing of user view data was achieved using Ajax.Implemented dynamic data change trend graph using Ajax and ECharts.Implemented local download of data using Ajax and openpyxl.(5)The overall performance test experiments of the completed system were conducted under the actual application scenario.The analysis test experimental results showed that the overall performance of the system met the design requirements and the functions met the actual usage requirements. |