Perancangan dan Implementasi Sistem Peringatan Dini Banjir Berbasis IoT dengan ESP32, MQTT, dan Aplikasi Kodular
DOI:
https://doi.org/10.61132/uranus.v3i3.1056Keywords:
Early Warning, ESP32, IoT, Kodular, MQTTAbstract
Floods are the most frequent natural disasters and cause material and non-material losses. One of the problems faced is the lack of early warning when floods occur. This problem can be overcome with a flood early warning system. This paper discusses the solution to this problem, namely by designing and implementing a real-time flood early warning system using IoT-based Internet of Things (IoT) technology ESP32 MQTT and APK Kodular. The objective of this research, compared to previous studies, shows a gap in the methods used. While previous studies used an IoT-based flood warning system that sends data via SMS or an HTTP server, this study applies real-time monitoring with the MQTT protocol, which allows sending water level data with low latency to the Kodular application for faster and more responsive warnings. The method used is to connect hardware with IoT where ESP32 is a client that sends data to MQTT and will display it in the Kodular APK. This flood early warning system consists of: ultrasonic sensors, ESP32, MQTT cloud, OLED, buzzer, LED, and APK on the phone to receive notifications through a mobile application created using Kodular. This IoT-based system is installed in the Kudu Regency river and can monitor water levels in real-time. Based on a predetermined threshold, the system can activate the LED indicator or buzzer and send an early warning message to the user via the APK on the phone. Test results show that this system functions effectively in providing flood warnings with an accuracy of 1-2 cm and in a timely manner, making it suitable for community-based flood monitoring solutions
References
Ainurrosyidah, E. (2024). Dampak dari banjir terhadap ekonomi dan aktivitas masyarakat. Journal of Disaster Studies, 5(2), 45-59.
Atzori, L., Iera, A., & Morabito, G. (2010). The Internet of Things: A survey. Computer Networks, 54(15), 2787-2805. https://doi.org/10.1016/j.comnet.2010.05.010
Badan Nasional Penanggulangan Bencana (BNPB). (2025, Maret 27). Dampak banjir di Jabodetabek: Kerugian ekonomi dan upaya pemulihan. Retrieved from https://www.bnpb.go.id/berita/dampak-banjir-di-jabodetabek-kerugian-ekonomi-dan-upaya-pemulihan
Basir, Y., Pratama, M. R. A., & Aminullah, M. W. (2023). Perancangan sistem pendeteksi dan penanggulangan banjir menggunakan ESP32 berbasis IoT. Journal of Scientific Giga, 26(1), 11. https://doi.org/10.47313/jig.v26i1.2127
Bevilaqua, B., & Spohn, M. A. (2023). Self-managed federation of MQTT brokers with dynamic topology control. Journal of Computational Science, 19(11), 1398-1409. https://doi.org/10.3844/jcssp.2023.1398.1409
Choosumrong, S., Piyathamrongchai, K., Hataitara, R., & Soteyome, U. (2025). Development of an IoT-based flood monitoring system integrated with GIS for lowland agricultural areas. Preprints. https://doi.org/10.20944/preprints202506.1403.v1
Fitriasari, F., Zuhrie, M. S., Rusimamto, P. W., & Kholis, N. (2020). Perancangan sistem monitoring dan controlling kandang ayam berbasis Internet of Things. Indonesian Journal of Engineering and Technology, 3(1), 17-27. https://doi.org/10.26740/inajet.v3n1.p17-27
Forum Warga Sipil Indonesia (FWI). (2024). Risiko banjir dan dampak sosial-ekonomi di Teluk Weda. Indonesian Journal of Environmental Management, 7(1), 32-40. Retrieved from https://fwi.or.id
Kho, D. (2022). Pengertian LCD (Liquid Crystal Display) dan prinsip kerja LCD. Teknik Elektronika. Retrieved from https://teknikelektronika.com/
Mukti, Y. I., Rahmadayanti, F., & Diti, D. T. U. (2021). A smart monitoring berbasis Internet of Things (IoT) suhu dan kelembaban pada kandang ayam broiler. Journal of Computational Science and Informatics Engineering, 5(1), 77-84. https://doi.org/10.29303/jcosine.v5i1.399
Pemerintah Provinsi Jawa Timur. (2023, Oktober 19). Banjir: Pengertian, penyebab, dan dampaknya. Retrieved from https://web.bpbd.jatimprov.go.id
Prudential Indonesia. (2020). 5 dampak banjir bagi masyarakat yang perlu diketahui. Prudential Pulse. Retrieved from https://www.prudential.co.id/id/pulse/article/5-dampak-banjir-bagi-masyarakat-yang-perlu-diketahui
Ramadhiani, D. D., Dinda Ramadhiani, D., & Name, A. (2023). Flood early warning system using ultrasonic and rainfall sensors IoT-assisted with smartphone display. Journal of Experimental and Applied Physics, 1(1), 58-66.
Ridwan, I. F. (2023). Internet of Things development for flood early warning monitoring system: A review. Journal of Computational Physics and Earth Science, 3(1), 29-35. https://doi.org/10.63581/jocpes.v3i1.01
Sari, P. N., & Christanto, F. W. (2023). Early warning system berbasis Internet of Things (IoT) pada daerah rawan bencana banjir di Kota Semarang. Journal of Applied Multimedia and Networks, 7(2), 62-70. https://doi.org/10.30871/jamn.v7i2.6503
Sun, Y. J., Wang, X. M., Jia, F. X., & Yu, J. Y. (2013). Design of a wireless sensor network node based on STM32. Applied Mechanics and Materials, 347-350, 1920-1923. https://doi.org/10.4028/www.scientific.net/AMM.347-350.1920
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Uranus : Jurnal Ilmiah Teknik Elektro, Sains dan Informatika

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



