| Due to the continuous progress of industry,environmental pollution is becoming more and more serious,it has hindered the country to promote the process of green ecological development and it has affected the national economic infrastructure construction.Especially,water pollution has become increasingly prominent,and has aroused widespread concern.It has evolved into an urgent problem for society,improving water quality is urgent.At present,the quality of water is difficult to meet the needs of mankind,therefore,it is necessary to design the real-time on-line monitoring system for water quality.In this paper,a new real-time water quality online monitoring system based on Internet of things is proposed,the current status of real-time on-line water quality system is analyzed theoretically,the system combines sensor applications,microcontroller development,wireless data communications,C# application software and database theory.In view of the existing problems in current water area detection,the advantages of this scheme are:(1)The base station monitors the water quality data in real time,collects the data with high precision,can stably run online for long time;(2)Through the TCP/IP(Transmission Control Protocol/Internet Protocol)reliable connections uploaded to the server side,the server receives software,accurate data analysis,data processing operations beneficial;(3)The system combines the clean solar power supply mode to get rid of the inconvenience of wired;(4)The system has the characteristics of small size and high cost performance,and can expand the water quality component module at the later stage.The work of this paper is as follows:The whole system is divided into three parts: the lower computer terminal collection system,data transmission and communication system,the host computer management platform.Firstly,the base station is designed,and the sensor data acquisition system based on STM32F103C8T6 microcontroller is designed.The base station is based on STM32 design combined with sensor operating principle,the STM32 could chose by the output signal to facilitate data processing by the computer,as a control system,STM32 assumes sensors to collect data,it built-in rich interfaces and on-chip integrated peripherals,it can respond quickly and data processing,through the liquid crystal display,you can display the current monitoring value,the value is output to GPRS(General Packet Radio Service)module,this realizes the real-time data upload from the base station.Secondly,GPRS wireless communication system working principle.The wireless network transmission system outputs the data to the serial port of the GPRS module,it uses the TCP/IP wireless network transmission protocol to upload data to the data management center in real time,this ensures that the upper computer and the lower computer are connected in real time.Finally,the system designs the central management system based on C# and SQL.The use of C# software programming,combined with database development of a complete management platform system,because SQL Server has powerful data processing ability,it and the form design of C#,Experimental results show that the system has a good design effect,it has practical value and can be used to detect water quality problems early,prevent problems from expanding and improve the efficiency of scientific and efficient monitoring and management.water environment is evaluated by monitoring water quality parameters,it provide decision-making and management measures for relevant departments.it has important guiding significance. |