Font Size: a A A

Research On Greenhouse Internet Of Things Information Acquisition System Based On ESP8266

Posted on:2021-06-16Degree:MasterType:Thesis
Country:ChinaCandidate:F Y WangFull Text:PDF
GTID:2493306545968439Subject:Agricultural mechanization project
Abstract/Summary:PDF Full Text Request
With the development of agricultural modernization,the demand for automated management of agricultural production and real-time remote monitoring is growing.As a common technology for managing multiple devices and users,the Internet of things(Io T)is increasingly applied in agricultural environmental monitoring.In this paper,a low-cost greenhouse information monitoring system composed of sensor nodes,cloud platform and user software is developed for the real-time view of greenhouse environmental parameters.ESP8266is adopted as the controller and Wi-Fi module to get data from the sensor and transfer the data to the cloud platform,PC software interface and We Chat mini program are designed as user software to adapt to different needs.The specific research contents and results are as follows:(1)For the overall design of the hardware system,the sensor node was designed based on the low-cost ESP8266 module.Temperature and humidity,light,CO2 sensors were selected to collect greenhouse environmental information and directly connected to GPIO port of ESP8266 Wi-Fi module to realize information transmission.A voltage stabilizing circuit was arranged to provide stable 5V and 3.3V voltage for the sensor and controller.The sensor node can support power adapter or lithium battery for power consumption.(2)For the embedded programming of the system,Arduino platform was used to compile the ESP8266 source code.The library consisting of many integrated functions provided by the official give an approach for developers to quickly realize the basic configuration of the controller.Smartconfig technology was utilized to configure the ESP8266 to access the target Wi-Fi network.When the esp8266 module is in the AP mode,the user can set the module parameters through the Wi Fi network,while in the STA mode,the esp8266 will send the data to the specified remote server.In addition,spiffs file system was adopted to help the user store the collected data more easily in the on-chip memory.The collected temperature,humidity,light and carbon dioxide concentration information would be stored in the on-chip storage unit of ESP8266 for users to download and view.(3)As for the arrangement of application layer,One NET is chosen as the cloud platform to realize the comprehensive management of data.The user interface of remote monitoring system for intelligent agricultural greenhouse was designed and deployed on One NET server.The interface can not only be accessed on PC,but also mobile app client for remote mobile monitoring management servic.The test results showed that the system can collect and record the changes of greenhouse environmental parameters completely without abnormality or data loss.When ESP8266 is disconnected from Wi-Fi network and remote server,it can be reconnected within 3 seconds to ensure the integrity of data collection.The functions of real-time data monitoring,historical data display,local file output and data flow management are integrated on the visual interface.(4)Furthermore,a simple solution based on ESP8266,Tencent cloud server and We Chat mini Program is proposed,which focuses on low-cost hardware,rapid development,user-friendly design for user applications.It helps developers quickly build DIY monitoring system.Based on the user interface of We Chat Mini Program,users are allowed to manage devices and access data only by "click" operation.Users are allowed to log in to the system with We Chat account and bind devices by scanning QR code which involving device ID number.
Keywords/Search Tags:Internet of Things, Information monitoring, OneNET, ESP8266
PDF Full Text Request
Related items