| It is generally known that the current China is confronted with serious environmental problems. For example, the vexed haze problem has made negative effects to all aspects of society, including public travel, social security and industrial production,whose influence is multifaceted and cannot be solved in a short time. Therefore,environmental governance has become a priority of the government work of China. On the Third Plenary Session of the eighteenth CPC Central Committee, it is proposed to speed up the construction of ecological civilization system, to reform the management mechanism of ecological environment protection, and to revise environmental protection laws in order to strengthen the control and protection of the environment. Real-time monitoring of the environment is not only the basis of environmental governance, but also the premise of environmental management, which can provide reliable data to environmental governance. Simultaneously, it provides a proof of environmental protection and guarantee of healthy production to the enterprises.This paper mainly designed a system that based on embedded Linux to realize real-time monitoring of environmental parameters. The major system is composed of acquisition subsystem, data processing subsystem and data transmission subsystem. The acquisition subsystem collects the temperature and humidity sensor and the PM2.5 concentration data from the temperature and humidity sensor and the dust concentration sensor, obtaining the video image acquisition from the USB camera. Data processing subsystem uses SQLite database to storage temperature and humidity and PM2.5 concentration data, while furthering processing the collected images and encoding package the video images. Data transmission subsystem adopts the embedded Boa server,which can real-time display the collected data through the client browser, while transferring video data to the PC via TCP/IP transmission protocol. The design of the hardware system takes S3C2440 as the system of the master chip, using DHT11 temperature and humidity parameters to achieve the acquisition, GY2Y1051 PM2.5 parameters to achieve the acquisition and EBS-800 auto focus high-definition USB camera module to achieve the collection of video images. In the System, Ethernet module DM9000 is used to data communication for achieving remote transmission, and SD card is used to store the video and images that collected by the camera. The design of the software system has adopted embedded Linux as operating system, meanwhile transporting BOA server, SQLite database to the system. The program realizes the collection of environmental parameter data and video image by multi-thread. Then, the parameter of the data is written to the database. Moreover, the program will encode the video image and then transmit and store it to the PC, Using Web server to display the data and video image in the browser.Finally, make a test for the performance of the system. It proves that the system can collect the current environment parameters and image information timely and accurately.Besides, the system has a function of remoting dynamic display. After all, the system has the advantages of low cost, full-function, simple operation, etc., in line with the expected design function. |