ESP32 Based Air Quality Monitoring System

Published Jun 30, 2026
 170 hours to build
 Beginner

This project uses an ESP32 microcontroller with an MQ135 gas sensor and DHT11 temperature and humidity sensor to monitor air quality in real time. The measured values are displayed on a 16×2 LCD and can also be sent to the cloud for remote monitoring and analysis.

display image

Components Used

DHT11
DHT11 is a single wire digital humidity and temperature sensor, which gives relative humidity in percentage and temperature in degree Celsius.
1
MQ135 Gas Sensor
MQ135 is a gas sensor used for gas detection and air quality control.
1
ESP32 DevKit V1
ual-Core 240MHz, Wi-Fi + Bluetooth, 3.3V Main controller for data acquisition, processing, and communication
1
I2C LCD Display
Local status monitoring and diagnostics
1
Description

     ESP32-Based Air Quality Monitoring System

The ESP32-Based Air Quality Monitoring System is an IoT-based environmental monitoring project designed to measure and display air quality parameters in real time. The system uses an ESP32 microcontroller as the main processing unit due to its built-in Wi-Fi capability, high processing speed, and low power consumption. It continuously collects data from the MQ135 gas sensor, which detects harmful gases and air pollutants, and the DHT11 sensor, which measures the surrounding temperature and humidity.

The sensor data is processed by the ESP32 and displayed on a 16×2 LCD for instant local monitoring. In addition, the ESP32 can transmit the collected data to an IoT cloud platform such as ThingSpeak, allowing users to monitor environmental conditions remotely through graphs and data logs. This enables continuous observation of air quality trends and supports data analysis over time.

The main objective of this project is to create a simple, low-cost, and efficient system for monitoring indoor or outdoor air quality. Poor air quality can negatively affect human health by causing respiratory problems and discomfort. By providing real-time information, the system helps users become aware of pollution levels and take preventive measures when necessary.

This project has applications in homes, classrooms, offices, laboratories, industries, hospitals, and public buildings where maintaining good air quality is important. The modular design allows additional sensors, such as CO₂, PM2.5, or smoke sensors, to be integrated in the future, making the system more versatile.

Overall, the ESP32-Based Air Quality Monitoring System demonstrates the practical application of embedded systems, sensor interfacing, and IoT technology. It provides a reliable and user-friendly solution for environmental monitoring while improving awareness of air pollution and promoting healthier living conditions. The project also serves as an excellent educational prototype for students to learn about embedded systems, wireless communication, and real-time sensor data acquisition.

Codes

Downloads

project Document Download

Institute / Organization

Muthayammal Engineering College , Rasipuram ,Namakkal
Comments
Ad