| With the research and extensive application of the “Internet of Things” network,our lives have undergone great changes.People have used sensor technology,RFID,communication technology,Internet technology and other key technologies of the Internet of Things to combine applications in various fields,which makes our lifestyle more intelligent.Driven by China's Made 2025,Internet+,etc.,the development of China's Internet of Things industry has made significant progress.The 19 th National Congress report raised the construction of ecological civilization to an unprecedented height.The “13th Five-Year Plan” clearly states that “environmental quality is at the core of improvement.” China's environmental monitoring industry is receiving increasing attention,and air environment monitoring is a One of the main body of the environmental monitoring framework.With the implementation of the environmental tax law,the demand for environmental monitoring equipment is huge.The conventional air station monitoring system has its own absolute advantages,but it also has inherent defects such as high construction costs,high operating costs,and limited deployment points.Therefore,the micro air monitoring system has great promotion prospects.At the same time,as people's living standards improve,people are paying more and more attention to environmental issues.Campus environmental issues have always been the focus of attention,and campus life services are an important area of application of the Internet of Things.The school is a highly populated place.The health and safety of students and teachers are very important.Dust in the air can cause respiratory diseases.Formaldehyde and other harmful gases in newly-renovated classrooms are seriously endangering human health,and schools are prone to fires.Based on the above issues,this project designed a campus environment monitoring system based on the Internet of Things.The main work of this article is as follows:First,the design of this system integrates 4G wireless communication technology,sensor technology,image acquisition technology,Web development,MySQL database design,WeChat public number development and other key technologies to develop a campus environment monitoring system based on the Internet of Things.The system design includes hardware and software in two parts:the hardware part adopts the modular design concept,including the main control module integrated control temperature and humidity module,light intensity module,formaldehyde module,dust module,smoke module,image acquisition module to complete the collection of sensor data and picture information,through The 4G wireless communication module uploads the collected sensor data and picture information to the cloud server.When the sensor data exceeds a preset threshold,the system may send a short message alarm to the preset phone number through the 4G module.Second,the design of the software part includes MySQL database design,dynamic web design,development of WeChat public platform,TCP control program design of 4G module and cloud server.The system can transfer and store the information collected by each module of the hardware platform to the MySQL database of the cloud server.The user can access the webpage to inquire the data information,and can also query the data through the WeChat public number.Thirdly,in this article,a system optimization scheme is proposed for the problem that the sensor has errors in the measurement process and the images captured by the image acquisition module are not clear.Use the method of selecting the mode in statistics to preprocess sensor data,filter out abnormal data and improve the accuracy of the acquisition.An image enhancement method combining shearlet transform and gamma correction is used to process the collected image information.The experimental results show that this method can eliminate image noise well and improve the clarity of the image. |