Font Size: a A A

Development Of A Pest Forecasing System Based On Internet Of Things

Posted on:2021-04-12Degree:MasterType:Thesis
Country:ChinaCandidate:D H YangFull Text:PDF
GTID:2393330602981624Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
Agricultural diseases and insect pests often cause serious damage to crops,leading to a significant reduction in yield and causing huge losses to the agricultural economy.Therefore,preventing plant diseases and insect pests is a prerequisite for ensuring crop yield.With the development of information technology,computer-based pest monitoring and reporting systems have appeared one after another,making traditional agriculture develop towards smart agriculture.Insect pest monitoring is an essential and integral part of smart agriculture,the pest detection and reporting system based on the Internet of Things studied in this paper is composed of a data collection terminal,a cloud platform and a client.Among them,the data collection terminal built by the Raspberry Pi completes the collection of field pest images and environmental parameters;The cloud platform completes image and data processing and storage;Client achieves acquisition of pest monitoring data,the system supports display on both the Web and Android sides.The reported data include:temperature,humidity,light intensity,pest pictures,short pest videos,pest numbers.In addition,you can refer to the data collection terminal on the map and export the historical data of the corresponding collection point.The research contents of this article are as follows:(1)Based on the Raspberry Pi data acquisition terminal,the Raspberry Pi terminal is used as the core of data acquisition,combined with various sensor devices and wireless transmission modules,plus pest sticky plates and pest attractants,to complete the Acquisition of environmental data,pest pictures and videos.Finally,the data is passed to the cloud for storage.(2)The cloud server(CVM)launched by Tencent is used as the core of the cloud platform.The cloud server is responsible for running the program that communicates with the terminal,the background service program of the Web site,and the background service program of the Android mobile terminal.Among them,the background service program is completed by Spring,SpringMVC,Mybatis enterprise-level open source framework(SSM).Use relational database MySQL development to complete the storage of terminal uploaded data.Use VSFTPD technology and Nginx reverse proxy technology to complete the construction of the image server.The terminal and the cloud platform establish a network connection through the TCP protocol,and use the Socket network programming to develop a program for the terminal to interact with the cloud platform data.The terminal uploads environmental data pest pictures,and pest numbers to the cloud platform.The cloud platform can be responsible for receiving and storing data,and can also send instructions such as taking pictures and uploading to the terminal.(3)Use HTML,CSS,and JS nested JSP dynamic page technology to complete the writing of Web pages.The Android mobile phone is used to complete the development of the mobile terminal of the pest monitoring system.The mobile terminal can also complete various operations on the Raspberry Pi:take photos,shoot videos,obtain environmental data,and at the same time view the monitoring data,the original pest pictures and videos.Finally,test the two sets of code on the web and mobile ends,and the results show that the synchronization of the data display on both ends can be guaranteed.Eventually,the functions of monitoring pest data,the reporting,querying,and exporting of historical data are achieved,which greatly meets the staff's requirements for PC and mobile multi-terminal reporting.
Keywords/Search Tags:Android, Web client, Cloud Server, IoT, Raspberry Pi
PDF Full Text Request
Related items