Smoke & Gas Leakage Detector
Embedded Systems

Smoke & Gas Leakage Detector

Abstract: The Smoke & Gas Leakage Detector is designed to identify the presence of smoke and certain combustible gases using an Arduino microcontroller and MQ-2 gas sensor. The sensor monitors changes in gas concentration and provides an analog signal to the Arduino. The controller processes the sensor readings and compares them with configured detection thresholds. When a potential smoke or gas leakage condition is detected, the system activates a buzzer and visual LED alerts. An optional LCD displays the sensor readings and system status. The project aims to demonstrate an affordable gas and smoke detection prototype for educational, residential, and industrial safety-monitoring applications. Project Description: This project develops a smoke and combustible-gas detection prototype using an Arduino Uno or Nano, MQ-2 gas sensor module, buzzer, LEDs, and optional 16×2 LCD display. The MQ-2 sensor responds to smoke and several combustible gases, including LPG, propane, methane, and hydrogen. It monitors changes in gas concentration through changes in the sensing element's electrical resistance. The sensor module provides an analog output that can be read by the Arduino. The controller processes the sensor readings and compares them with calibrated reference values and configured warning thresholds. When the readings indicate a potential smoke or gas detection condition, Arduino activates the buzzer and red LED. The optional LCD displays the sensor reading and an alert message. When readings return below the configured threshold, the system can return to its normal monitoring state. Working Principle: 1. Gas and Smoke Detection: The MQ-2 sensor responds to smoke and certain combustible gases in the surrounding environment. 2. Signal Generation: Changes in gas concentration affect the sensor resistance and produce a corresponding electrical output. 3. Data Acquisition: Arduino reads the sensor module's analog output through an ADC input. 4. Signal Processing: The controller processes the readings and compares them with calibrated reference values and configured thresholds. 5. Warning Identification: If readings cross the warning threshold, the system identifies a possible abnormal gas or smoke condition. 6. Audible Alert: The buzzer activates when the configured alarm threshold is reached. 7. Visual Indication: The red LED indicates an alert condition, while the green LED indicates normal readings. 8. LCD Display: The optional LCD displays the sensor reading and current system status. 9. Continuous Monitoring: Arduino repeatedly checks the sensor output and updates the alert status as readings change. Notes: - The MQ-2 is a broad-response gas sensor that detects smoke and several combustible gases; it cannot reliably identify which specific gas is present. - The MQ-2 requires a warm-up period and stabilization before measurements are meaningful. Follow the sensor manufacturer's datasheet. - Calibrate the sensor in a suitable controlled environment and establish thresholds through testing. - Raw analog readings should not be directly treated as accurate gas concentrations in ppm. - Accurate ppm measurements require appropriate calibration, gas-specific reference equipment, and suitable measurement conditions. - Temperature, humidity, airflow, sensor ageing, and other gases can affect sensor readings. - Ensure the MQ-2 module's analog output does not exceed the Arduino's permitted input voltage range. - Use a suitable driver circuit if the buzzer requires more current than an Arduino GPIO can provide. - Provide a stable power supply capable of supporting the MQ-2 heater and other connected components. - Install the sensor according to the target gas, expected airflow, and applicable safety guidance. Different gases have different densities and may accumulate in different locations. - Do not place the sensor directly in flames, exposed to extreme heat, or where it may be damaged by moisture or dust. - The MQ-2 is not a certified life-safety gas detector and must not replace approved smoke alarms or certified combustible-gas detectors. - For real LPG or industrial gas safety applications, use certified equipment installed according to applicable standards and manufacturer instructions. - In a suspected gas leak, avoid operating electrical switches or creating sparks, leave the affected area, and contact the appropriate emergency service or gas supplier. - This prototype is intended for educational demonstrations and preliminary monitoring, not as a guarantee against fire or explosion. Expected Outcome: The expected outcome is a functional Arduino-based smoke and gas detection prototype that monitors changes in smoke and combustible-gas concentration using an MQ-2 sensor. It can activate a buzzer and red LED when configured alert conditions are detected, display sensor readings and system status on an optional LCD, and indicate normal conditions using a green LED.
All Projects

Recommended Projects

IoT-Based Refrigerator Temperature Alert System

View Project

IoT-Based Compost Temperature Monitoring System

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