IoT-Based LPG Gas Leak Detection System Using an MQ-2 Sensor and ESP32
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.
Authors
- Moch Yasin (ORCID: https://orcid.org/0000-0003-2485-5372)
- Andhy Permadi
- Nadifah Meidina Margo Setyo
- Rini Fatmawati
- Ilham
Institutions
- UIN Sunan Ampel Surabaya (ID)
Publication Details
- Journal
- Jurnal Ilmiah Informatika dan Komputer
- Published
- 2026-11-18
- DOI
- https://doi.org/10.69533/informatech.volume3number2.648
- Primary Topic
- Arduino and IoT Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00