IDEAS home Printed from https://ideas.repec.org/a/bcp/journl/v9y2025issue-6p3633-3638.html
   My bibliography  Save this article

IoT-Based Real-Time Smoke and Gas Leak Detection System Using ESP8266 And MQ2 Sensor

Author

Listed:
  • Jeffrey M. Lopez

    (College of Technology, Davao City Philippines, University of Southeastern Philippines)

  • Nikko D. Paña

    (College of Technology, Davao City Philippines, University of Southeastern Philippines)

  • Joseph L. Lunod

    (College of Technology, Davao City Philippines, University of Southeastern Philippines)

  • Jan Smith D. Hermitaño

    (College of Technology, Davao City Philippines, University of Southeastern Philippines)

  • Philip B. Despares

    (College of Technology, Davao City Philippines, University of Southeastern Philippines)

Abstract

These days, it is crucial to protect yourself against indoor hazards like smoke and dangerous gasses, particularly in small, enclosed spaces like homes or even workplaces. This study demonstrates how a basic system was developed to monitor for gas and smoke in real time. Most people don’t consider it, but one malfunctioning appliance or undetected leak can already put everyone at risk. Thus, it monitors the air quality using an ESP8266 NodeMCU and a MQ2 sensor. In order to identify any hazard, the system compares the analog values sent by the sensor to predetermined limits, which are 450 for smoke and 300 for gas. When gas or smoke levels exceed the defined thresholds, the system triggers a buzzer for local alerts and simultaneously sends notifications to a mobile device through the Blynk mobile application. Real-time sensor data and system status are displayed in the Blynk mobile app, and a virtual reset button is included to allow users to clear alerts and deactivate the buzzer remotely. The firmware uses conditional flags to prevent repeated alerts for the same hazard event, ensuring efficient performance and avoiding notification spamming. This implementation demonstrates the integration of low-cost, off-the-shelf components with cloud-based mobile platforms to provide a reliable and responsive safety system. System testing shows that the device can effectively detect changes in gas and smoke concentration, respond within one second, and update the user interface accordingly. In conclusion, the proposed system meets its objectives by delivering a functional, cost-effective, and user-friendly air monitoring device that enhances safety through early warning alerts and real-time control, making it suitable for residential and small-scale applications.

Suggested Citation

  • Jeffrey M. Lopez & Nikko D. Paña & Joseph L. Lunod & Jan Smith D. Hermitaño & Philip B. Despares, 2025. "IoT-Based Real-Time Smoke and Gas Leak Detection System Using ESP8266 And MQ2 Sensor," International Journal of Research and Innovation in Social Science, International Journal of Research and Innovation in Social Science (IJRISS), vol. 9(6), pages 3633-3638, June.
  • Handle: RePEc:bcp:journl:v:9:y:2025:issue-6:p:3633-3638
    as

    Download full text from publisher

    File URL: https://www.rsisinternational.org/journals/ijriss/Digital-Library/volume-9-issue-6/3633-3638.pdf
    Download Restriction: no

    File URL: https://rsisinternational.org/journals/ijriss/articles/iot-based-real-time-smoke-and-gas-leak-detection-system-using-esp8266-and-mq2-sensor/
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:bcp:journl:v:9:y:2025:issue-6:p:3633-3638. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Dr. Pawan Verma (email available below). General contact details of provider: https://rsisinternational.org/journals/ijriss/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.