Fire Detection and Distance Measurement Based on Infrared Sensors and Internet of Things (IoT)

Authors

  • Decky Ari Irwanto Akademi Metrologi dan Instrumentasi Badan Pengembangan Sumber Daya Manusia Perdagangan Kementerian Perdagangan
  • Jaine Faleri Nona Akademi Metrologi dan Instrumentasi Badan Pengembangan Sumber Daya Manusia Perdagangan Kementerian Perdagangan
  • Irawati Dewi Syahwir Akademi Metrologi dan Instrumentasi Badan Pengembangan Sumber Daya Manusia Perdagangan Kementerian Perdagangan
  • Dewi Setiawati Akademi Metrologi dan Instrumentasi Badan Pengembangan Sumber Daya Manusia Perdagangan Kementerian Perdagangan

DOI:

https://doi.org/10.55537/cosie.v5i2.1657

Keywords:

fire detection, fire distance, infrared sensor, Internet of Things (IoT), ESP32

Abstract

This research was motivated by the need for a fire detection system capable of detecting the presence of fire while providing real-time fire distance information that has the potential to be applied in automatic fire extinguishing systems. The result of this study is a prototype of a fire detection and distance measurement system based on the YG1006 infrared sensor integrated with the Internet of Things (IoT). The method used was an experimental approach through hardware and software design using ESP32, the HX711 module as a 24-bit Analog-to-Digital Converter (ADC), and transistor-based signal amplification. The results showed that the system was able to distinguish between the presence and absence of fire with an ADC threshold value of 1000 and measure fire distance up to 250 cm. The logarithmic regression model used had a coefficient of determination of 0.9949 with a maximum absolute error of 9% within the range of 60–250 cm. The system was also capable of real-time monitoring through Google Spreadsheet. The accuracy of fire distance measurement decreased when the fire was positioned very close to the sensor, specifically at distances less than 60 cm, due to sensor saturation.

Downloads

Download data is not yet available.

References

[1] X. Ren, K. Qu, J. Guo, H. Yin, dan B. Huang, “Research on accurate fire source localization and seconds-level autonomous fire extinguishing technology,” Scientific Reports, vol. 15, no. 1, hlm. 17135, 2025.

[2] L. Kong, J. Li, S. Guo, X. Zhou, dan D. Wu, “Computer vision based early fire-detection and firefighting mobile robots oriented for onsite construction,” Journal of Civil Engineering and Management, vol. 30, no. 8, hlm. 720–737, 2024.

[3] H. Zheng, Y. Li, S. Deng, Y. Wang, H. Chen, dan Q. Zhao, “A lightweight two-step small-scale fire detection method based on FireYOLO and Real-ESRGAN,” Frontiers in Forests and Global Change, vol. 6, hlm. 1134942, 2023.

[4] M. A. Khan, M. A. Khan, S. Ahmed, M. A. Alqarni, M. A. Khan, dan S. Kadry, “An enhanced YOLOv7 deep learning model for forest fire smoke detection using unmanned aerial vehicle images,” Sensors, vol. 23, no. 13, hlm. 5702, 2023.

[5] B. Özel, M. S. Alam, dan M. U. Khan, “Review of modern forest fire detection techniques: Innovations in image processing and deep learning,” Information, vol. 15, no. 9, 2024.

[6] W. Dang, Z. Li, dan Y. Yuan, "Research on High Precision Fire Detection and Location Method in Traffic Tunnel," Proceedings of the 4th International Conference on Computer, Internet of Things and Control Engineering (CITCE 2024), hlm. 107-113, 2024.

[7] M. Mugnai, M. Teppati Losè, M. Satler, dan C. A. Avizzano, “Towards autonomous firefighting UAVs: Online planners for obstacle avoidance and payload delivery,” Journal of Intelligent & Robotic Systems, vol. 110, no. 10, 2024.

[8] I. El-Madafri, M. Peña, and N. Olmedo-Torre, “Dual-Dataset Deep Learning for Improved Forest Fire Detection: A Novel Hierarchical Domain-Adaptive Learning Approach,” Mathematics, vol. 12, no. 4, hlm. 534, 2024.

[9] Z. Yan, L. Wang, K. Qin, F. Zhou, J. Ouyang, T. Wang, X. Hou, and L. Bu, “Unsupervised Domain Adaptation for Forest Fire Recognition Using Transferable Knowledge from Public Datasets,” Forests, vol. 14, no. 1, hlm. 52, 2023.

[10] G. G. Salindeho and T. Wellem, “Perancangan dan Implementasi Sistem Pendeteksi dan Peringatan Kebakaran Berbasis IoT Menggunakan NodeMCU ESP8266 dan Sensor Api,” IT-EXPLORE: Jurnal Penerapan Teknologi Informasi dan Komunikasi, vol. 2, no. 3, hlm. 179–191, 2023.

[11] M. Chairman, S. Priyatharsini, M. Bhuvaneswari, C. Nandhakumar, dan S. Gopinath, “Autonomous Firefighting Robot for Detection and Prevention,” International Research Journal of Multidisciplinary Scope (IRJMS), vol. 5, no. 3, hlm. 969–976, 2024.

[12] R. Nandika, A. Pudin, and P. Gunoto, “Perancangan Robot Beroda Pemadam Api dengan Sensor Ultrasonik HC-SR04 dan Flame Sensor 5 Channel Berbasis Arduino Uno,” Sigma Teknika, vol. 6, no. 2, hlm. 389–398, Nov. 2023.

[13] R. Watiasih and P. D. Pradana, “Penerapan Metode Fuzzy Q-Learning Pada Robot Berkaki Enam Pemadam Api Dalam Pencarian Jalur Tercepat Menuju Titik Api,” Seminar Nasional Rekayasa, Sains dan Teknologi, vol. 3, no. 1, hlm. 192–200, 2023.

[14] M. M. Alenesta, D. P. N. Wendhi, W. Yuniarto, E. Mardianto, M. R. Sufandi, and A. Riyanto, “Design and Development of Directional Fire Extinguisher Prototype Using Thermal Camera MLX90640 based ESP32,” in Proceedings of the International Conference on Applied Electrical, Electronics, and Informatics, 2025.

[15] R. K. Sharma, P. Singh, dan A. Verma, “Enhancing fire detection technology: A UV-based system,” International Journal of Advanced Research in Science and Engineering, vol. 12, no. 4, hlm. 245–252, 2023.

[16] C. M. Chairman, S. Priyatharsini, M. Bhuvaneswari, C. Nandhakumar, and S. Gopinath, “Autonomous Firefighting Robot for Detection and Prevention,” International Research Journal of Multidisciplinary Scope, vol. 5, no. 3, hlm. 969–976, 2024.

[17] B. Bharadwaj, A. M. S. Anagha, K. B. M. Kiran, P. M. Nuchchi, dan S. P. Sahana, “Earlier detection of forest fire using IoT,” International Research Journal of Engineering and Technology (IRJET), vol. 10, no. 4, hlm. 1708–1711, 2023.

Downloads

Published

30-04-2026

How to Cite

Ari Irwanto, D., Nona, J. F., Syahwir, I. D., & Setiawati, D. (2026). Fire Detection and Distance Measurement Based on Infrared Sensors and Internet of Things (IoT). Journal of Computer Science and Informatics Engineering , 5(2), 255–268. https://doi.org/10.55537/cosie.v5i2.1657

Issue

Section

Articles