INTERNATIONAL JOURNAL OF LATEST TECHNOLOGY IN ENGINEERING,
MANAGEMENT & APPLIED SCIENCE (IJLTEMAS)
ISSN 2278-2540 | DOI: 10.51583/IJLTEMAS | Volume XIV, Issue III, March 2025
www.ijltemas.in Page 151
IOT-Based Real-Time Air Quality Monitoring System Using
ESP8266
Manjit Kumar Nath., Debopoma Nath., Rupshikha Saikia., Nelson R Varte.,
Bornali Gogoi
Department of Computer, Application Assam Engineering College Guwahati, India
DOI : https://doi.org/10.51583/IJLTEMAS.2025.140300019
Received: 17 March 2025; Accepted: 24 March 2025; Published: 03 April 2025
Abstract: In today’s world, one of the growing concerns is
Air Pollution, due to its adverse impact on human health and
environmental quality. This research paper presents the design and implementation of a Real-Time Air Quality Monitoring
System measuring the Air Quality Index (AQI) using sensors such as MQ135, PM2.5, and DHT11. The ESP8266
microcontroller is used to collect and analyze data. The system is built to provide local display via LCD and remote display
through a web dashboard interface. The system has buzzer alerts for local alert generation when AQI thresholds are crossed, and
alert messages are generated simultaneously in the web interface. The system uses the HTTP protocol for communication and let
the users download CSV files to access the previous air quality data history. The proposed model aims to develop a low-cost, real-
time sensing Air Quality Monitor using widely available microcontrollers and sensors to bring awareness to every individual
about the harmful living environment.
Index Terms—Air Pollution, Air Quality Index (AQI), Sensors, Microcontroller, HTTP, CSV, ESP32
I. Introduction
When harmful substances including particulates and bio- logical molecules are introduced into the Earth’s atmosphere, it leads to
Air Pollution. It may cause diseases and allergies which adversely affect human health, leading to respiratory diseases such as
cardio-vascular problems and other long-term complications. It is harmful to other living organisms as well and it also affects
food crops and damages the environment. Human activities such as smoking, and the use of cleaning agents in the home
containing harmful chemicals and dust leads to air pollution. Therefore, monitoring air quality is not just a necessity for
regulatory compliance, but a vital measure to protect health and promote sustainable living.
Traditional air quality monitoring is mainly large, expensive and stationary systems that are used by governments or specialized
institutions. However, these systems are not easily accessible to the public, and they often lack real-time feedback
*All authors have equal contribution. for localized environments such as homes, offices, or small communities. To address these
limitations, this report focuses on developing a low-cost, compact and real-time air quality monitoring system using IoT
technology (Internet of Things). This proposed system uses a wireless network of low-cost sensors and hardware components
along with the necessary software to effectively monitor the quality of air in a confined close space.
The quality of air is captured using various sensors that are integrated into the system. The MQ135 sensor detects harmful gases
such as ammonia, nitrogen oxide, alcohol, and smoke that contribute to poor air quality. Particulate matter, which is among
the most dangerous pollutants due to its ability to penetrate the lungs, is measured using PM2.5 sensors. In addition,
temperature and humidity levels are monitored using DHT11 sensors. These sensors provide crucial data about the components of
air which significantly influence the dispersion and impact of pollutants. The ESP8266 microcontroller is used as the heart of the
system. It processes the sensor data and hosts the web server for the dashboard interface. The outcome of the processed data is the
Air Quality Index (AQI) value, which is a standard metric to measure air quality levels.
When air quality reaches dangerous levels, the buzzer provides an immediate auditory alert for users when AQI thresholds are
crossed, while a JHD 162A LCDs real-time data locally. The system includes a web dashboard built with HTML, CSS, and
JavaScript to extend usability and accessibil- ity. This dashboard fetches real-time data from the ESP8266 over HTTP and
displays it. When air quality thresholds are crossed, users can view live AQI, temperature, and humidity readings and receive
alerts.
The system is designed to provide actionable information on air quality for localized environments such as homes, offices, or
small communities. In addition, it seeks to cre- ate an efficient and user-friendly solution by leveraging IoT technology to
deliver real-time feedback, empowering users
to make informed decisions about their environment. It also highlights the potential of IoT technology in solving real-world
problems, paving the way for more advanced and personalized environmental monitoring solutions in the future.
Related Work
Several studies have explored IoT-based air quality monitor- ing. Hossain et al. [1] developed a low-cost IoT device using
ESP8266 and Atmega328 for real-time air quality monitoring, providing local alerts but lacking advanced web-based visu-
alization. Sahoo et al. [2] proposed an industrial air quality monitoring system using IoT, integrating multiple sensors but