IoT-Based Smoke & Harmful Gas Monitoring System Using ESP32, MQ-2/MQ-135 and Buzzer
Internet of Things

IoT-Based Smoke & Harmful Gas Monitoring System Using ESP32, MQ-2/MQ-135 and Buzzer

Abstract: The IoT-Based Smoke & Harmful Gas Monitoring System is designed to detect smoke and changes in the concentration of selected gases in the surrounding environment. Using an ESP32 microcontroller and MQ-series gas sensors, the system monitors sensor readings and provides immediate alerts through a buzzer and display. Wi-Fi connectivity enables optional cloud-based monitoring and notification features. Project Description: This project develops an IoT-based safety monitoring prototype using ESP32, MQ-2 or MQ-135 gas sensors, and a buzzer. The MQ-2 is commonly used for detecting smoke and combustible gases, while the MQ-135 responds to several gases and air contaminants. The ESP32 reads the sensor output, compares it with configured thresholds, and activates an audible alert when the readings exceed those limits. An optional OLED display shows sensor status, while cloud integration enables remote monitoring through a dashboard. Working Principle: 1. The MQ-2 or MQ-135 sensor responds to smoke or selected gases in the surrounding air. 2. The ESP32 reads the sensor's analog output through its ADC. 3. The system processes the readings and compares them with configured threshold values. 4. The OLED display optionally shows sensor readings and monitoring status. 5. If a reading crosses the configured threshold, the buzzer and optional LED activate. 6. The ESP32 sends sensor readings and alert events to a cloud platform using MQTT or HTTP. 7. A web dashboard displays current readings, alert history, and monitoring trends. Notes: - ESP32 acts as the central processing and wireless communication unit. - MQ-2 is commonly used for smoke and combustible-gas sensing, including LPG-related applications. - MQ-135 responds to multiple gases and is commonly used in experimental air-quality monitoring. - These sensors are broad-response devices, not selective detectors for individual gases. - Proper warm-up, calibration, sensor placement, and threshold configuration are necessary. - PPM values should not be presented as accurate gas concentrations without suitable calibration and validated conversion methods. - Check the sensor module's operating voltage and analog output before connecting it to the ESP32 ADC. Use appropriate voltage conditioning to protect the ESP32. - MQTT or HTTP can be used for cloud communication. - This is an educational prototype, not a certified fire alarm, gas detector, or life-safety system. It must not replace certified detectors or required safety equipment. Expected Outcome: A functional IoT-based smoke and gas monitoring prototype that detects changes in sensor readings, provides local buzzer alerts, displays monitoring status, and optionally sends data to a cloud dashboard. The system demonstrates remote environmental monitoring, configurable warning thresholds, and alert-event tracking.
All Projects

Recommended Projects

Health Monitoring & Emergency Alert System Using ESP32, AD8232 ECG, Pulse Sensor, LM35D and GSM Module

View Project

IoT-Based IV Fluid Level Monitoring System Using ESP32, Load Cell, HX711 and Buzzer

View Project

IoT-Based Patient Health Monitoring System Using ESP32, MAX30102, Temperature Sensor and Dashboard

View Project

IoT-Based Medicine Reminder System Using ESP32, RTC, Buzzer and OLED

View Project

256 | IoT - Smart Home Automation Using ESP32, Relays, IR and Ultrasonic Sensors, and Web App

View Project
WhatsApp Contact
👋 Hi! I'm Divyika
How can I help you today?