Prototipe Alat Pendeteksi Banjir Berbasis Mikrokontroler dengan Fuzzy Tsukamoto

  • Alwi Andika Panggabean * Mail Program Studi Ilmu Komputer, Fakultas Sains dan Teknologi, Universitas Islam Negeri Sumatera Utara, Medan, Indonesia
  • M Fakhriza Program Studi Ilmu Komputer, Fakultas Sains dan Teknologi, Universitas Islam Negeri Sumatera Utara, Medan, Indonesia
Keywords: Flood Detection; ESP32; Tsukamoto Fuzzy Logic; Internet of Things; Early Warning System

Abstract

Floods are among the most frequent natural disasters in Indonesia, causing significant material losses and casualties. Therefore, an early warning system capable of detecting flood potential quickly and accurately is required. This study aims to design and implement a flood detection prototype based on the ESP32 microcontroller using the Tsukamoto fuzzy logic method. The system employs an HC-SR04 ultrasonic sensor to measure water levels and an FC-37 rain sensor to detect rainfall intensity. Data collected from both sensors are processed using the Tsukamoto fuzzy logic approach through fuzzification, inference, and defuzzification stages to determine flood risk status categorized as safe, alert, and danger. The decision results are displayed through LED indicators and a buzzer, while real-time notifications are sent via the Telegram application using the ESP32 Wi-Fi connectivity. The testing results demonstrate that the system successfully classifies flood conditions according to the predefined fuzzy rules and automatically delivers notifications to users. The implementation of the Tsukamoto fuzzy logic method enhances decision-making capabilities in handling uncertain environmental conditions. Therefore, the developed prototype can serve as an effective, simple, and practical flood early warning system for flood-prone areas.

References

REFERENSI

W. A. Wicaksono and L. M. Silalahi, “Rancang Bangun Alat Pendeteksi Banjir Menggunakan Arduino Dengan Metode Fuzzy Logic,” Jurnal Teknologi Elektro, vol. 11, no. 2, p. 93, 2020, doi: 10.22441/jte.2020.v11i2.005.

H. Kurnia, “IMPLEMENTASI IOT PADA SISTEM MONITORING SUHU DAN KELEMBABAN MENGGUNAKAN ESP32, FIREBASE DAN KODULAR,” 2025. doi: https://doi.org/10.36040/jati.v9i1.12874.

M. Syahputra and A. I. Santoso, “Rancang Bangun Sistem Absensi Otomatis Berbasis RFID Dan ESP32 Di Kampus AMIK Polibisnis Perdagangan,” Jurnal Minfo Polgan, vol. 14, no. 1, pp. 614–622, May 2025, doi: 10.33395/jmp.v14i1.14816.

S. P. Adjie, M. K. Muzhaffar, S. Adinaufal, N. Lastara, and R. Susanto, “Implementasi Alat Pendeteksi Banjir dengan Arduino Uno dan Sensor Ultrasonic pada Rumah Panggung Tradisional Suku Betawi,” pp. 1129–1138, 2025.

F. Damsi and M. Alzahra, “ANALISIS KOMPARATIF EFEKTIVITAS SENSOR PADA,” vol. 13, no. 3.

M. E. Denata, “Rancang Bangun Alat Pendeteksi Ketinggian Air Dan Pembuangan Air Otomatis Berbasis Arduino Uno,” vol. 17, no. 1, p. 24, 2022.

A. M. Putra, T. Rismawan, and S. Bahri, “Implementasi Metode Fuzzy Tsukamoto Pada Sistem Prediksi Pembelian Barang Toko Abila Collection Berbasis Website,” Coding Jurnal Komputer dan Aplikasi, vol. 9, no. 01, p. 152, 2021, doi: 10.26418/coding.v9i01.45903.

V. Rimba, S. Nur, B. S. Kom, M. Kom, and Z. H. Khinanti, “Implementasi Logika Fuzzy Tsukamoto Dalam Web,” vol. 16, no. 1, pp. 1–5, 2025.

Hidayatullah, J. Eska, and Zulkhairani, “Analisa Sistem Deteksi Kerentanan Rawan Banjir Di Kota Perdagangan Sumatera Utara Menggunakan Logika Fuzzy Mamdani,” Journal of Science and Social Research, vol. 4307, no. 2, pp. 1678–1684, 2025, [Online]. Available: http://jurnal.goretanpena.com/index.php/JSSR

Y. G. Purba and D. Avianto, “Implementasi Logika Fuzzy Tsukamoto untuk Optimasi Jumlah Produksi Es Batu Kemasan,” MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 5, no. 1, pp. 119–129, 2024, doi: 10.57152/malcom.v5i1.1736.

Y. Pransiska, L. Yulianti, and J. Jumadi, “Fuzzy Tsukamoto Method in Service Satisfaction Assessment at the Village OfficeTanjung Aur 1 Penerapan Metode Fuzzy Tsukamoto Dalam Penilaian Kepuasan Pelayanan Pada Kantor Desa Tanjung Aur 1,” vol. 4, no. 2, pp. 129–138, 2025, doi : https://doi.org/10.37676/jmcs.v4i2.8150

N. Kasim, P. Angraini Aziz, and A. Hari Wibowo, “Prediksi Tingkat Kerawanan Banjir Di Kendari Menggunakan Metode Fuzzy Tsukamoto,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 9, no. 3, pp. 3784–3790, 2025, doi: 10.36040/jati.v9i3.13374.

T. Tsuchiya, H. Yu, T. Marjanov, A. Hutchings, N. Christin, and A. Cuevas, “A Large-Scale Study of Telegram Bots,” Apr. 2026, [Online]. Available: http://arxiv.org/abs/2603.24302

R. Ramadani Ritonga, “Sistem Kontrol LED IoT Menggunakan Wi-Fi melalui Bot Telegram IoT LED Control System Implementation and Optimization Using Wi-Fi Through a Telegram Bot,” JOURNAL OF COMPUTER SCIENCE AND INFORMATICS ENGINEERING | COSIE, vol. 04, no. 1, pp. 10–20, 2025, [Online]. Available: http://creativecommons.org/licenses/by-sa/4.0/

Rahmi Hidayati and Teodora Fenny Aliansih, “Sistem Pemantauan Infus Berbasis IoT dengan Notifikasi Real-Time Melalui Telegram,” Jurnal PROCESSOR, vol. 19, no. 2, Oct. 2024, doi: 10.33998/processor.2024.19.2.1843.

G. Ali, M. M. Mijwil, I. Adamopoulos, and J. Ayad, “Leveraging the Internet of Things, Remote Sensing, and Artificial Intelligence for Sustainable Forest Management,” Babylonian Journal of Internet of Things, vol. 2025, pp. 1–65, Jan. 2025, doi: 10.58496/bjiot/2025/001.

V. Barral Vales, O. C. Fernandez, T. Dominguez-Bolano, C. J. Escudero, and J. A. Garcia-Naya, “Fine Time Measurement for the Internet of Things: A Practical Approach Using ESP32,” IEEE Internet Things J., vol. 9, no. 19, pp. 18305–18318, Oct. 2022, doi: 10.1109/JIOT.2022.3158701.

T. D. Hendrawati, “Sistem Peringatan Dini Banjir Berbasis Internet of Things (IoT) dengan Integrasi Multi-Sensor dan Logika Fuzzy,” JTERA (Jurnal Teknologi Rekayasa), vol. 10, no. 2, p. 131, Jan. 2026, doi: 10.31544/jtera.v10.i2.2025.131-140.

andi roy Subagia and inggit Marodiyah, “ESP32 CAM Flood Warning System with Fuzzy Logic: Sistem Peringatan Banjir ESP32 CAM dengan Logika Fuzzy,” vol. 26 No. 3, no. ESP32 CAM Flood Warning System with Fuzzy Logic: Sistem Peringatan Banjir ESP32 CAM dengan Logika Fuzzy, Jul. 2025.

S. Correia, “The Internet of Things-Current Trends, Applications and Future Challenges.”

S. Gunasekar, G. Pius Agbulu, and G. Joselin Retna Kumar, “A power-efficient IoT mechanism with adaptive recurrent temporal optimized convolutional learning (ARTOCL) scheme for real-time urban air quality monitoring,” Discover Internet of Things, vol. 5, no. 1, Dec. 2025, doi: 10.1007/s43926-025-00173-x.

S. Sujono and M. Rusli M, “Implementasi Sistem Peringatan Banjir Dini dengan Sensor HC-SR04 Berbasis ESP32 Internet of Things,” Computer Journal, vol. 4, no. 1, pp. 41–51, Feb. 2026, doi: 10.58477/cj.v4i1.385.

J. K. S. D. T. P. A. D. B. Berbasis, E. Tinyml, and D. Notifikasi, “Prototipe Alat Deteksi Banjir Berbasis ESP32, TinyML, dan Notifikasi Telegram,” 2026.

R. Khofifatuzzahro Didik Hariyanto Ariesta Wulandari Ciptaningtyas Sekolah Tinggi Teknik Multimedia Internasional Malang, “DESAIN DAN IMPLEMENTASI ALARM HUJAN SEDERHANA MENGGUNAKAN RAINDROP SENSOR FC-37 BERBASIS ARDUINO UNO,” vol. 12, no. 2, pp. 33–38.

Zahirulhaq, S. Nurcahyo, and I. Saukani, “Rancang Bangun Sistem Peringatan Dini dan Pencegahan Banjir pada Bendungan Menggunakan Metode Fuzzy,” vol. Vol. 4 No. 1, Jan. 2025.

S. Sofyan, S. Nur Asia, M. Imam Quraisy, and I. Irfan, “Implementation of Tsukamoto Fuzzy Logic in IoT Based Dam Water Level Measuring System Using Nodemcu ESP8266,” Jurnal JEETech, vol. 7, no. 1, pp. 14–25, Mar. 2026, doi: 10.32492/jeetech.v7i1.71002.

D. R. Setiadi, E. R. Dalimunthe, N. U. Putri, and A. Zain, “Implementasi Metode Fuzzy Sugeno Pada Prototipe Pendeteksi Banjir,” 2024. doi : https://doi.org/10.23960/elc.v18n3.2721

Dimensions Badge
Published
2026-07-27
Section
Articles