IoT-Based Early Detection of Indoor Gas Hazards Using Tsukamoto Fuzzy Logic
DOI:
https://doi.org/10.32492/jeetech.v7i2.7212Keywords:
Internet of Things and, Tsukamoto Fuzzy Logic, MQ-2, KY-028I, ESP8266Abstract
The accumulation of gas in an enclosed space can pose safety risks; however, relying solely on raw sensor readings is insufficient to accurately determine gas concentrations or confirm the presence of hazardous atmospheric conditions. This study develops an Internet of Things based prototype that integrates an MQ-2 gas sensor, a KY-028 temperature module, an ESP8266 microcontroller, the Tsukamoto fuzzy logic method, a local buzzer, and a web-based monitoring interface. The prototype processes sensor inputs through stages of fuzzification, rule inference, and defuzzification, subsequently displaying the output value alongside a predefined category. Calculations indicate that an MQ-2 sensor reading of 650 analog-to-digital converter (ADC) counts combined with a temperature of 30.00 °C yields a crisp output value of 59.74. Based on established decision thresholds, this value falls into the "Warning" category (covering the range of 30–59), while the "Danger" category begins at a value of 60. These results demonstrate that the prototype is capable of performing classification based on sensor inputs and the implemented fuzzy logic rules
Downloads
References
I. Aulia and Munasir, “Design of an LPG gas leakage detection and fire prevention device using MQ-2 and flame sensors based on the Internet of Things,” Jurnal Fisika Unand, vol. 11, no. 3, pp. 306–312, Jul. 2022.
I. M. Y. Kusumah, D. S. Ramdhani, and E. F. Yusmanyah, “Prototype of an LPG gas leakage detection device using NodeMCU ESP8266,” Jurnal Penelitian dan Pengembangan Teknologi Informasi dan Komunikasi, vol. 11, no. 2, pp. 15–25, Dec. 2022.
I. N. G. Adrama, G. Ramadhan, and I. W. Sukadana, “Design of an LPG gas leakage monitoring and control system using the NodeMCU ESP8266 microcontroller,” Jurnal Ilmiah Telsinas Elektro, Sipil dan Teknik Informasi, vol. 5, no. 1, pp. 80–91, Apr. 2022.
N. M. Hussein, Y. M. Mohialden, and S. A. Salman, “Impact of IoT-Based Environmental Monitoring on Lab Safety and Sustainability,” Babylonian Journal of Internet of Things, 2024,
N. L. A. P. Dewi, R. I. Sudjoko, L. S. Moonlight, and T. Arifianto, “Design of Gas Leakage System and Automatic Fan Using Tsukamoto Fuzzy Logic Based on Arduino in Welding Shop Surabaya Aviation Polytechnic,” Appissode: Application, Information System and Software Development Journal, vol. 2, no. 3, pp. 20–28, 2024,
B. Deepika, S. Sivakami, S. Sneha, and B. Sujitha, “Early Detection System for Gas Leakage and Fire in Smart Home Using IOT,” International Journal of Scientific Research and Computer Science, vol. 10, no. 3, 2024.
Dewi, R. I. Sudjoko, L. S. Moonlight, and T. Arifianto, “Design of Gas Leakage System and Automatic Fan Using Tsukamoto Fuzzy Logic Based on Arduino in Welding Shop Surabaya Aviation Polytechnic,” Appissode: Application, Information System and Software Development Journal, vol. 2, no. 3, pp. 20–28, 2024.
S. N. Asia and M. I. Quraisy, “Implementation of Tsukamoto Fuzzy Logic in IoT Based Dam Water Level Measuring System Using Nodemcu ESP8266,” vol. 7, no. 1, pp. 14–25, 2026.
J. Jasmawati, W. Wahyuddin, and A. Andrian, “Sistem Pendeteksi Kebocoran Gas LPG berbasis Internet of Things,” J. Mosfet, vol. 4, no. 1, pp. 12–19, 2025.
Jusril, Nasruddin, Ridwang, and Adriani, “Pengembangan Sistem Monitoring dan Pengendali Kebocoran Gas Berbasis Internet of Things (IoT) dengan Menggunakan Sensor Gas MQ dan Sensor Api,” Vertex Elektro, vol. 17, no. 1, 2025,
T. Babu, R. R. Nair, S. Kishore, and M. Vineeth, “Enhancing Gas Leak Detection with IoT Technology: An Innovative Approach,” Procedia Computer Science, vol. 235, pp. 961–969, 2024,
M. Sreerama Murty, “Smart Gas Leakage Detector Using IoT Sensors,” International Journal of Intelligent Systems and Applications in Engineering, vol. 12, no. 4, pp. 2613–2619, 2023.
IoT-HGDS: Internet of Things integrated machine learning based hazardous gases detection system for smart kitchen,” Internet of Things, vol. 28, Art. no. 101396, 2025.
D. A. W. Sulistyo Ida; Adipraja, Philip Faster Eka, Tsukamoto Fuzzy Inference System Modeling for Flood Prediction in Malang City,‖ J. Technol. Inf. and Comput. Science, vol. 7, no. Vol 7, No. 1: February 2020, pp. 189–196, 2020,
M. M. Susilo and L. Rakhmawati, “Implementation Internet of Things (IoT) in Fire and LPG Leakage Detection System Based on ESP32 with Multiuser Notification,” Indonesian Journal of Electrical and Electronics Engineering, vol. 8, no. 2, pp. 59–68, 2025,
A. Achmad and S. Syarif, “Design and Build a Room Fire Detection System Using an Arduino Microcontroller Based on the Internet of Things,” J. IT Media Inf. IT STMIK Handayani, vol. 10, no. 1, pp. 59–72, 2019.
S. Cristina, “Prototype Internet of Things-Based Monitoring System for Gas Cylinder Leakage Detection,” RIGGS: Journal of Artificial Intelligence and Digital Business, vol. 4, no. 2, pp. 6267–6276, 2025
A. M. Shojaei, “Interfacing KY-028 Temperature Sensor Module with Arduino,” Electropeak, 2024.
P. O. Ojo, T. O. Adejumo, L. O. A. Oyinkanola, S. O. Adejuwon, I. T. Aderibigbe, and K. O. Akano, “IoT-Based Gas Leakage Detection and Monitoring System,” Journal of Science and Information Technology, vol. 19, no. 1, pp. 284–290, 2025.
M. A. I. Mashuri, B. Kholifah, and F. A. El Hakim, “Designing an Internet of Things-Based Fire and Gas Leak Detection System,” Journal of Applied Informatics Research, vol. 1, no. 1, pp. 1–9, 2025
P. O. Ojo, T. O. Adejumo, L. O. A. Oyinkanola, S. O. Adejuwon, I. T. Aderibigbe, and K. O. Akano, “IoT-Based Gas Leakage Detection and Monitoring System,” Journal of Science and Information Technology, vol. 19, no. 1, pp. 284–290, 2025.
Published
How to Cite
Issue
Section
Copyright (c) 2026 Sofyan, Zulkarnain, Muh Imam Quraisy, Ismaun Rusman

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.














