RANCANG BANGUN SISTEM PERINGATAN DINI KEBAKARAN DAN KEHADIRAN ORANG MENGGUNAKAN ESP32 DAN NOTIFIKASI TELEGRAM
DOI:
https://doi.org/10.31004/joecy.v6i2.10825Keywords:
ESP32, Sensor MQ-2, Sensor PIR, Telegram Bot, Keamanan IoT, ESP32, MQ-2 Sensor, PIR Sensor, Telegram Bot, IoT SecurityAbstract
Computer repair rooms are at high risk of fire due to electrical short circuits and the threat of theft of valuable assets. Conventional systems lacking remote response capabilities are addressed by implementing Internet of Things (IoT) technology using the ESP32 microcontroller. This research designed a security system using an MQ-2 sensor to detect smoke and an HC-SR501 PIR sensor to detect human movement, integrated with the Telegram application. Test results showed the MQ-2 sensor to be highly effective with a threshold setting of 250 Analog-to-Digital Converter (ADC). The PIR sensor can detect presence up to a distance of 300 cm. The security alert integration works in real time with an average notification delivery latency to Telegram of 2 to 5 seconds.
References
Richardo, H., Jufrizel, P. S. M., & Mudia, H. (2022). Home Fire Protection Tool Using Wemos D1 Mini With Alarm and Email Notification from Thinger. IO Alat Proteksi Kebakaran Rumah Menggunakan Wemos D1 Mini dengan Alarm dan Notifikasi Email dari Thinger. IO. Journal Homepage: https://journal. irpi. or. id/index. php/ijeere, 2(1), 47-56.
Hussain, M., Hussain, M., Aamer, N., & Shaikh, F. (2025). Optimized rank-based key management for energy-efficient routing in wireless sensor networks for IoT applications. Discover Internet of Things, 5(1), 127.
Hussain, F., Sahoo, S. K., & Sharma, M. (2025). A survey on IoT security: Challenges and their solutions using machine learning and blockchain technology. Cluster Computing, 28(5), 3–40.
Garcia, E. F. (2020). Integrating Telegram API for real-time sensor data notification and two-way control using ESP32 platforms. International Journal of Robotics and Automation, 15(3), 210–217.
Espressif Systems. (2024). ESP32-WROOM-32 series datasheet (v3.2). Espressif Documentation. https://www.espressif.com/en/support/documents/datasheets.
Agus Alim, Lukmanulhakim, A., & W, C. (2025). Development of a smart air pollution detection system utilizing MQ2 sensor and Node MCU ESP8266 with Telegram integration. Jurnal Ekonomi Manajemen Sistem Informasi, 6(3), 1634–1640.
Jayaweera, H., & Godaliyadda, D. (2023). Design and implementation of a low-cost IoT-based fire and security surveillance system. International Journal of Electrical and Computer Engineering, 13(2), 1735–1744.
Ramadhan, A., & Kusumo, N. (2024). Performance analysis of PIR sensor module HC-SR501 for human detection distance and sensitivity. International Journal of Sensor Networks and Data Communications, 13(1), 123–130.
Smith, A. D., & Jones, B. L. (2021). Evaluation of low-cost gas sensors for environmental monitoring in smart city applications. Journal of Sensor and Actuator Networks, 10(2), 45-58.
Hanwei Electronics. (n.d.). Technical data: MQ-2 gas sensor. Hanwei Electronics Co., Ltd. https://www.winsen-sensor.com/d/files/semiconductor/mq-2.pdf.
Ruuhwan, R., Rizal, S., & Guntara, R. G. (2020). Analisis performa sensor PIR HC-SR501 dan MQ-2 berbasis mikrokontroler Arduino terhadap Telegram sebagai media notifikasi. Jurnal Teknologi dan Sistem Komputer, 8(1), 44-50.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Muhammad Satria Dewangga, Dafa Bayu Aji, Habib Abdulfattah

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







