Abstract
With the continuous improvement of people's living standard, people pay more and more attention to the environment. Air quality is an important indicator of the environment. Haze problems cannot be under estimated. It has brought an impact on the survival and development of mankind. However, PM2.5 is the leading cause of haze.PM2.5 has the characteristics of small volume, strong activity and easy to carry viruses and heavy metals, which has been greatly affected by the inhalation of the human body. Aiming at the problems caused by haze, this paper designs a PM2.5 alarm system, which aims to monitor the situation of urban air pollution. This paper uses STM32 MCU control system.PM2.5 sensor DSM501 is used to collect PM2.5 signal.LCD12864 liquid crystal display is used to display the real-time value of PM2.5 concentration and the current time. The speaker and the tricolor lantern are used to realize the function of limiting the sound and light alarm. The system realizes the real-time monitoring of PM2.5 index of urban air pollution. Experimental results show that the system has good real-time performance, convenient operation and stable performance. It realizes the monitoring and alarm function of PM2.5 in urban air, which brings convenience to people's life.