Perbandingan Sensitivitas Serta Stabilitas MQ-4 dan MQ-5 Berbasis Arduino Untuk Deteksi Kebocoran Gas LPG
Abstract
LPG gas leakage is a serious household safety threat in Indonesia, where 88.59% of households use LPG as their primary cooking fuel. Although colorless and faintly odorous at low concentrations, its flammable nature can cause explosions or fires if undetected. This research aims to compare MQ-4 and MQ-5 sensor performance in a single Arduino Uno-based gas leakage detection system. A quantitative experiment with direct comparison was conducted under identical conditions inside a sealed acrylic chamber measuring 16 × 12 × 10 cm, using LPG gas from a refillable lighter to simulate household leakage. Parameters measured include sensitivity, defined as the slope of the log(Rs/R₀) versus log(relative ppm) curve, and reading stability from the standard deviation of repeated measurements, where Rs is sensor resistance when exposed to gas and R₀ is resistance in clean air. All ppm values are relative estimates based on official sensor datasheets. Results show MQ-5 has higher sensitivity with a slope of 0.7914 compared to MQ-4 (0.6505), while MQ-4 is more stable with a log₁₀(Rs/R₀) standard deviation of 0.656 compared to MQ-5 (0.669). The system successfully detected all 30 leakage scenarios (100%) without false alarms, with a classification success rate of 99.0% per session. This research recommends MQ-5 for rapid early detection and MQ-4 for long-term monitoring requiring data consistency, thus both contribute as empirical evidence for a simple, accurate, and economical gas leakage detection solution.
Downloads
References
Az Zahro, F. N., & Rahmadewi, R. (2023). Prototype pendeteksi asap kebakaran dan kebocoran gas berbasis Arduino Uno dengan menggunakan sensor gas MQ-5. Jurnal Ilmiah Wahana Pendidikan, 9(10), 161–171. https://doi.org/10.5281/zenodo.7983528
Baskoro, G. R., Khair, U., & Mardiana, M. (2023). Perancangan alat pendeteksi kebocoran tabung gas elpiji berbasis Arduino Uno. Algoritma: Jurnal Ilmu Komputer Dan Informatika, 7(2), 42–52. https://doi.org/10.30829/algoritma.v7i2.20223
Badan Pusat Statistik (2024). Statistik kesejahteraan rakyat 2024 (Vol. 39). BPS-Statistics Indonesia. https://www.bps.go.id/id/publication/2024/10/25/30e924add700e5a928c0b26b/statistik-kesejahteraan-rakyat-2024.html
Cipta Lismana, G., A’an Auliq, M., & Rintyarna, B. S. (2025). Perancangan dan implementasi sensor MQ-4 gas metana (ch4) pada sistem biogas berbasis mikrokontroler Arduino Uno. Jurnal Teknik Elektro Dan Komputasi (ELKOM), 7(1), 99–108. https://doi.org/10.32528/elkom.v7i1.11458
Ekah, U. J., Ozuomba, S., & Ekott, E. (2024). Evaluating mq sensors in gas leakage detection systems. Journal of Scientific and Engineering Research, 11(9), 12–16. https://doi.org/10.5281/zenodo.13837242
Eviolina, P. V., Yudi, K., & Prihartono, E. (2025). Sistem deteksi kebocoran gas LPG berbasis Arduino di universitas dr. Soetomo surabaya. Router : Jurnal Teknik Informatika Dan Terapan, 3(2), 184–196. https://doi.org/10.62951/router.v3i2.620
Fauzi, M. A., & Sukarno, S. A. (2025). Pengembangan sistem pendeteksi kebocoran gas LPG berbasis IoT: integrasi sensor MQ-02 dan DHT11 untuk pemantauan real-time. Jurnal Informatika Dan Teknik Elektro Terapan, 13(1), 1467–1474. https://doi.org/10.23960/jitet.v13i1.5980
Galceran, S. D., John Villarico, F. H., Jeffrey Omao, J. C., Carla Estaniel, L. P., Jay Saldo, I. P., Roy Calo, J. D., & Jade Dandoy, M. P. (2023). Development and comparison of Arduino based MQ-2 and MQ-6 LPG leak sensors. American Journal of Sensor Technology, 7(1), 1–9. https://doi.org/10.12691/ajst-7-1-1
Khakim, L., Afriliana, I., Nurohim, N., & Rakhman, A. (2022). Proteksi kebocoran gas LPG rumah tangga berbasis mikrokontroler. Komputika : Jurnal Sistem Komputer, 11(1), 40–47. https://doi.org/10.34010/komputika.v11i1.4977
Kiran, R., Vibha, M. B., Amith, N. G., Rashmi, M., Sahana, M. T., Patil, A., & Kori, A. (2024). Integration of MQ-5 gas sensors with Arduino board. J. Electrical Systems, 20(10), 2154–2165. https://doi.org/10.52783/jes.5540
Laitera, S., Dewa, W. A., & Arifin, S. (2022). Penerapan sistem alarm berbasis Arduino Uno untuk mendeteksi kebocoran gas LPG. Jurnal Janitra Informatika Dan Sistem Informasi, 2(2), 96–106. https://doi.org/10.25008/janitra.v2i2.159
Mukhtarov, F., Jo‘rayev, N., Zokirov, S., Sadikova, M., Muhammadjonov, A., & Iskandarova, N. (2024). Analysis of automation through sensors through gas sensors in different directions. E3S Web of Conferences, 508, 1–6. https://doi.org/10.1051/e3sconf/202450806004
Prasetyo, M. A., & Paramytha, N. (2023). Pengembangan sistem pendeteksi kebocoran gas LPG dengan teknologi IoT dan sensor MQ-5. Jurnal Ampere, 8(2), 103–115. https://doi.org/10.31851/ampere.v8i2.9240
Pravda, M. D. I., & Kurniawan, R. (2025). Prototype sistem pemantauan kebocoran gas LPG menggunakan sensor MQ-5 dan DHT11 dengan metode fuzzy mamdani. CESS (Journal of Computer Engineering, System and Science), 10(2), 550–562. https://doi.org/10.24114/cess.v10i2.67148
Ramadhani, I. G. A. I. F., Indrasari, W., Suhendar, H., & Marpaung, M. A. (2024). Karakterisasi dan pengujian sensor MQ-4 dan mg-811 untuk pengembangan sistem monitoring konsentrasi gas metana dan karbon dioksida di udara. Joint Prosiding IPS Dan Seminar Nasional Fisika, 12, FA-81-86. https://doi.org/10.21009/03.1201.FA12
Sumaedi, A., Rosman, F. R., & Fiqri, F. (2024). Perancangan sistem keamanan pendeteksi gas dalam ruangan menggunakan sensor gas MQ-2 berbasis mikrokontroler Arduino Uno R3. Jurnal SISKOM-KB (Sistem Komputer Dan Kecerdasan Buatan), 7(3), 198–207. https://doi.org/10.47970/siskom-kb.v7i3.675
Zhengzhou Winsen Electronics Technology Co., Ltd. (2021). Flammable Gas Sensor (MQ-5) Manual. https://www.winsen-sensor.com/d/files/manual/mq-5.pdf
Zhengzhou Winsen Electronics Technology Co., Ltd. (2024). Flammable Gas Sensor (MQ-4) Manual. https://www.winsen-sensor.com/d/files/manual/mq-4.pdf
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Perbandingan Sensitivitas Serta Stabilitas MQ-4 dan MQ-5 Berbasis Arduino Untuk Deteksi Kebocoran Gas LPG
Copyright (c) 2026 Yaaman Nazara, Gogor Christmass Setyawan, Agustinus Rudatyo Himamunanto

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).













