Iot-Based Early Fire Detection System Uses MQ-2 Smoke Sensor And DS18B20 Temperature Sensor
DOI:
https://doi.org/10.61179/infact.v10i01.763Keywords:
Early Warning System, IoT Fire Detection, NodeMCU ESP8266, Sensor MQ2 Smoke, Sensor DS18B20 TemperatureAbstract
Fire disasters remain a major threat in Indonesia, especially in dense housing, offices, and industrial zones. Delayed detection leads to heavy property losses and fatalities, since blazes are often noticed only after flames grow and smoke spreads. This study introduces an IoT early warning system combining an MQ-2 smoke sensor and a DS18B20 temperature sensor on a NodeMCU ESP8266. Using the ADDIE model—analysis, design, development, implementation, evaluation—the prototype was built and tested in laboratory simulations. Tests show the MQ-2 detects smoke at ?400 ppm, while the DS18B20 measures temperatures ?60 °C with ±0.5 °C precision. The dual-sensor setup delivers over 95 % accuracy, alerts within two minutes, and keeps false alarms below 5 %, providing an effective and economical tool for urban fire mitigation. Its low-cost components and Wi-Fi connectivity enable real-time alerts to smartphones or control rooms, facilitating response and scalable deployment in communities.
References
J. M. S. Waworundeng, "Design of Sensor-Based Smoke and Fire Detection Systems, Microcontrollers and IoT," CogITo Smart Journal, vol. 6, no. 1, pp. 117–127, Jul. 2020, doi: 10.31154/cogito.v6i1.239.117-127.
M. B. R. Huda, "ANALYSIS OF TEMPERATURE CONTROL SYSTEM USING ARDUINO MICROCONTROLLER-BASED DS18B20 SENSOR," vol. 07, 2022.
T. Juwariyah, S. Prayitno, and A. Mardhiyya, "Design of an IoT-Based Home Fire Prevention Early Detection System (Internet of Things)," 2018.
R. A. Nuryadin, A. R. Yusuf, M. Reza, N. F. A. H, and P. S. D. A.K, "Prototype of Fire Detection System Using Mq-2 Sensor and IoT-Based Flame Sensor," JRAMI, vol. 5, no. 4, pp. 877–885, Oct. 2024, doi: 10.30998/jrami.v5i4.11149.
I. A. Rombang, L. B. Setyawan, and G. Dewantoro, "Prototype Design of Cigarette Smoke Detection Device with Purifier System Using MQ-135 and MQ-2 Sensors," tech, vol. 21, no. 1, pp. 131-144, Apr. 2022, doi: 10.31358/techne.v21i1.312.
N. V. Tri, L. H. Manh, and H. D. Trung, “Design and Implementation of an IoT System for Indoor Measurement and Monitoring Fire and Gas Warning,” Scientific Bulletin of Electrical Engineering Bachelor, vol. 6, no. 2, pp. 190–202, Aug. 2024, doi: 10.12928/biste.v6i2.11254.
J. Wang, T. Ke, M. Hou, and G. Hu, “The Design of Home Fire Monitoring System based on NB-IoT,” IJACSA, vol. 13, no. 5, 2022, doi: 10.14569/IJACSA.2022.0130506.
R. S. Kumar, G. Prakash, P. Pravin, and T. Ragul, “DESIGN AND IMPLEMENTATION OF IOT-BASED FIRE DETECTION SYSTEM,” vol. 21, no. 10, 2022.
Department of Mechanical and Manufacturing Engineering, Faculty of Engineering & Built Environment, Universiti Kebangsaan Malaysia,43600 UKM Bangi, Malaysia, N. D. Ismail, R. Ramli, Department of Mechanical and Manufacturing Engineering, Faculty of Engineering & Built Environment, Universiti Kebangsaan Malaysia,43600 UKM Bangi, Malaysia, M. N. Ab Rahman, and Department of Mechanical and Manufacturing Engineering, Faculty of Engineering & Built Environment, Universiti Kebangsaan Malaysia,43600 UKM Bangi, Malaysia, “A Systematic Literature Review of Vision-Based Fire Detection, Prediction and Forecasting,” jkukm, vol. 37, no. 1, pp. 191–218, Jan. 2025, doi: 10.17576/jkukm-2025-37(1)-13.
R. S. Rizki, I. D. Sara, and M. Gapy, "Fire Detection System in Buildings Based on Programmable Logic Controller (PLC)," 2017.
A. S. Sumaedi, F. R. R. Ramdhani Rosman, and F. F. Fiqri, "Design of an Indoor Gas Detection Security System using an Mq-2 Gas Sensor Based on the Arduino Uno R3 Microcontroller," Siskom-KB, vol. 7, no. 3, pp. 198–207, Jul. 2024, doi: 10.47970/siskom-kb.v7i3.675.
T. Sutikno, W. S. Aji, and R. Susilo, "DESIGN OF FIRE DETECTION DEVICES BASED ON TEMPERATURE AND SMOKE BASED ON AT89S52 MICROCONTROLLER," TELEKOMNIKA, vol. 4, no. 1, p. 49, Apr. 2006, doi: 10.12928/telkomnika.v4i1.1244.
N. Dilshad, “Efficient Deep Learning Framework for Fire Detection in Complex Surveillance Environment,” CSSE, vol. 46, no. 1, pp. 749–764, 2023, doi: 10.32604/csse.2023.034475.
D. By, "INTERNET OF THINGS (IoT)-BASED FIRE DETECTION SYSTEM WITH ARDUINO DEVICE," INTERNET OF THINGS.
T. Tanjung and S. Waluyo, "TEMPERATURE AND SMOKE DETECTION SYSTEM FOR ARDUINO UNO-BASED FIRE PREVENTION IN CV FABRICATION ROOM. READY TECHNIC," vol. 3, no. 4, 2020.
N. F. Rosyid, V. E. Kristianti, and A. Situmeang, "PROTOTYPE OF OMRON CP1EN20DR-A-BASED PLC-BASED AUTOMATIC FIRE EXTINGUISHING SYSTEM," Infokom, vol. 25, no. 3, pp. 239–248, 2020, doi: 10.35760/ik.2020.v25i3.3136.
N. Lubis, "Implementation of Accounting Information System (Sia) in Improving the Transparency of Financial Management of Village-Owned Enterprises (Bumdes) (Case Study of Village-Owned Enterprises, Lumban Dolok, Kec.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Aulyah Zakilah Ifani, Muhammad Iqra Nur Fajar, Athaillah Aufa Badila

This work is licensed under a Creative Commons Attribution 4.0 International License.
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Lisensi Creative Commons" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />Ciptaan disebarluaskan di bawah <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Lisensi Creative Commons Atribusi 4.0 Internasional</a>.







