IOT-based solution for detection of air quality using ESP32
Authors:   Ivan Franko National University of Lviv, Ukraine, V Hura , L Monastyrskii ,   Ivan Franko National University of Lviv, Ukraine
Published: December 2023

Air pollution, a growing public health crisis worldwide, has become one of the most imperative concerns challenging human health, the environment, and the economy. The detrimental effects of air pollution on individuals' well-being and the ecological system necessitate implementing advanced solutions to accurately monitor and manage air quality. In response to this global challenge, a comprehensive, real-time IoT-based air quality monitoring system is proposed using ESP32 and multiple pollutant sensors. This versatile system endeavors to measure and report various air quality parameters and pollutants, such as temperature, humidity, carbon dioxide (CO2), particulate matter (PM2.5 and PM10), volatile organic compounds (VOCs), and other noxious gases, including nitrogen dioxide (NO2), ozone (O3), and sulfur dioxide (SO2). The innovative solution showcased in this proposal combines the functionalities of an ESP32 microcontroller, a highly integrated and low-power device, with diverse pollutant sensors chosen for their high sensitivity and ability to offer precise and reliable readings. The various sensors integrated into the system include the MQ135, CCS811, PMS5003, and BME280, each responsible for detecting specific pollutants and air quality parameters. As a leading component of the air quality monitoring system, the ESP32 microcontroller warrants seamless wireless data transmission to cloud servers for real-time monitoring, allowing for remote access and analysis of the air quality data through secure networks. The modular design and ease of deployment of the IoT-based air quality monitoring systems make them installable in various scenarios, including residential, commercial, and industrial settings. Users can make informed decisions about their environment by analyzing extensive real-time data, promoting timely exposure warnings, proactive pollution management, and environmental sustainability. This portability and versatility of deployment ensure substantial coverage of areas that would benefit from real-time air quality monitoring. The air quality monitoring system is further enhanced by incorporating a user-friendly mobile application or web interface, empowering users to access real-time sensor data directly, configure threshold-based alerts and notifications, and visualize trends in air quality parameters over time. This hands-on approach to accessing real-time air quality data encourages individuals to adopt environmentally conscious habits and fosters a better understanding of the impact of pollution on their health and surroundings. To ensure the optimum performance and efficacy of the air quality monitoring system, regular maintenance and calibration services are advocated. By undertaking timely sensor calibration, replacing worn-out components, and updating software when required, the life span, accuracy, and reliability of the system are enhanced, promising continued effectiveness in the real-time monitoring and management of air quality