| People spend two-thirds of their lives indoors,and modern people spend 80%of their lives and work indoors,Indoor air is the main source of air for people to breathe.Compared with outdoor air pollution,indoor air pollution is the main source of exposure.In order to protect the number of people’s health and life safety,based on the Internet of Things technology,the subject combines single chip computer,sensor,wireless transmission network and application layer to monitor indoor methane,alcohol gas,carbon monoxide,hydrogen,ammonia,formaldehyde gas,odor,PM2.5/PM10 dust particle concentration in real time,and to purify air quality,designs a set of object-based.The indoor air quality monitoring system based on Internet of Things(IOT)technology builds a monitoring system model with three layers:perception layer,network layer and application layer.The information communication scheme combining GPRS and cloud server is determined.The perception layer of indoor air quality monitoring system mainly realizes the functions of information collection and air purification.The important circuit and program of MCU are designed.The hardware driving circuit of each sensor and the driver using median average filter algorithm are designed.The alarm circuit of system is designed by me.The driving circuit and program of indoor fan,negative ion generator and sterilization ultraviolet lamp of air purification equipment are designed.The embedded real-time operating system FreeRTOS is transplanted to the MCU to improve the real-time performance and reliability of the system.The network layer of indoor air quality monitoring system mainly realizes the wireless communication function.A network communication system based on GPRS module and smart cloud server is designed.The transmission distance is not limited.The function of data information and smart cloud interconnection is realized.The remote monitoring function can be realized by combining mobile phone client.The MCU is connected with air purification equipment by NRF24L01 chip,which realizes the short-range wireless transmission function of MCU sending control information to air purification equipment.The application layer of indoor air quality monitoring system is mainly used for human-computer interaction.This paper uses Android Studio software to complete the development of APP.By operating UI interface,indoor gas and particulate matter concentration parameters can be viewed in real time,indoor ventilator,negative ion generator,sterile ultraviolet lamp switch state can be controlled remotely,indoor air can be purified.The function of indoor gas analysis enables users to understand indoor gas more objectively,scientifically and concretely.APP also includes functions of checking and updating,user registration,password retrieving,software sharing,message center and indoor gas quality rating.Indoor air quality monitoring system based on Internet of Things technology can monitor and purify indoor gas and air quality conveniently and effectively,To create a safe and clean working and living environment provides an effective guarantee for people’s quality of life and work completion. |