With the speeding up of urbanization,rural living standard gradually improves,meanwhile,the discharge of rural living sewage is also increasing year by year.In order to build a beautiful countryside and strengthen environmental governance and protection,rural areas began to build new sewage plants,but due to the lack of professional personnel,resulting in the lack of reasonable and reliable system monitoring of rural domestic sewage plants.Therefore,a variety of water quality sensors are selected in this thesis to realize real-time monitoring and prediction of sewage water quality parameters through the combination of Internet of Things technology and Internet technology,and to set thresholds for monitoring and prediction data.When the system exceeds the monitoring threshold,it will give an alarm;when it exceeds the prediction threshold,it will give an early warning.The monitoring of the water quality parameters of the sewage plant provides a good data reference for the sewage treatment of the sewage plant.The details are as follows:First of all,consult the literature,describe the relevant background and research significance of sewage monitoring system,and explore the status quo of sewage monitoring system by studying domestic and foreign research.On this basis to determine the research content of the subject,the key is to design a water quality monitoring system which is suitable for rural domestic sewage and has early warning function.Secondly,the main characteristics of sewage are analyzed,and after understanding the types of sewage,the rural sewage plant is selected as the monitoring site of the system.Through the understanding of the three stages of the process of sewage treatment,master the purpose of the design of each sewage treatment tank in the sewage plant.Then,according to the characteristics of rural domestic sewage,the main influencing parameters of the water quality are analyzed,and specific explanations are given for the influencing parameters,providing the basis for hardware selection in the system.Thirdly,the system hardware of the rural domestic sewage monitoring system is designed,the working principle of the sensor is analyzed,and the sensor type suitable for water quality monitoring is selected.The connection between the sensor and the STM32 microprocessor is realized through the RS-485 bus,and the data collection and transmission is realized by combining the ESP8266 WIFI module.Finally,Idea and Wet Storm development tools are used to develop the monitoring system,and Vue and Element UI technologies are used to beautify the layout of the interface.My SQL implements the storage of data information,and LSTM algorithm builds a model to predict the monitored water quality data.Finally,the real-time monitoring of water quality data,water quality alarm,sensor node control,water quality prediction and early warning and other functions are realized,providing reliable water quality data and stable operation guarantee for the operation of rural sewage plants.In practical application,the rural domestic sewage monitoring system has good practicability and reusability,can automatically realize the data monitoring,transmission and storage,provides the data basis for sewage treatment,promotes the design of rural domestic sewage monitoring system,and plays a reference value for similar projects. |