Jurnal Ilmiah Informatika dan Komputer
Vol. 3 No. 2 (2026): December 2026 (In Progress)

IoT-Based LPG Gas Leak Detection System Using an MQ-2 Sensor and ESP32

Nadifah Meidina Margo Setyo (UIN Sunan Ampel Surabaya)
Rini Fatmawati (UIN Sunan Ampel Surabaya)
Moch Yasin (UIN Sunan Ampel Surabaya)
Andhy Permadi (UIN Sunan Ampel Surabaya)
Ilham (UIN Sunan Ampel Surabaya)



Article Info

Publish Date
11 Dec 2026

Abstract

Liquefied Petroleum Gas (LPG) is widely used in household and industrial sectors because it is efficient and relatively affordable. However, LPG use poses fire risks, one of which is caused by gas leaks that go unnoticed by users. This study aims to develop an Internet of Things (IoT) system for detecting LPG gas leaks using an MQ-2 sensor and an ESP32 microcontroller. The system is equipped with LED indicators, a buzzer, an LCD, and a notification feature through a Telegram bot to provide warnings to users. The research methods include system design, circuit block analysis, workflow diagram development, testing using the Wokwi simulator, and Telegram message delivery testing. The results show that the MQ-2 sensor can detect three levels of gas concentration: safe (<200 ppm), caution (200–1000 ppm), and dangerous (>1000 ppm). The system can automatically activate the LED indicators, display gas concentration and category on the LCD, and send immediate alerts to users through the Telegram bot. Therefore, the developed system can be used as a monitoring and early warning device for LPG gas leaks.

Copyrights © 2026






Journal Info

Abbrev

informatech

Publisher

Subject

Computer Science & IT

Description

INFORMATECH : Jurnal Ilmiah Informatika dan Komputer (E-ISSN : 3047-4752) merupakan Jurnal nasional dengan akses terbuka yang menerbitkan artikel hasil penelitian di bidang Teknik Informatika dan Ilmu Komputer. Ruang Lingkup Jurnal meliputi Kecerdasan Buatan (Artificial Intellegence), Sistem ...