Water Level Prediction Based on Internet of Things and Machine Learning

Authors

  • Muhammad Fauzi Ariyo Politeknik Negeri Samarinda
  • Irwansyah Politeknik Negeri Samarinda
  • Agus Triyono Politeknik Negeri Samarinda

DOI:

https://doi.org/10.59934/jaiea.v5i3.2557

Keywords:

ESP32, Internet of Things, Samarinda, Simple Linear Regression, Water Level Prediction

Abstract

This study develops an Internet of Things and machine learning based water-level prediction system for Jalan Embun Suryana, Samarinda. The device uses an ESP32, a JSN-SR04T ultrasonic sensor to measure water-surface distance, and a tipping-bucket ombrometer for rainfall. Data are synchronized to Firebase and transformed into a simple accumulated-rainfall feature to train a simple linear regression model. The research stages comprised Requirements Analysis, System Design, Sensor Data Collection, Model Training, Model Testing, Device Testing, and Integration. An Android application provides real-time visualization and early-warning notifications. Experiments indicate good sensor accuracy (JSN-SR04T; tipping-bucket 0.7 mm/tip) and model performance (MSE = 0.562 cm², RMSE = 0.749 cm, R2 = 0.992). In sum, data acquisition, prediction, and notifications operated as designed, and the simple linear regression produced water-level forecasts. At the study site, the association between increasing rainfall and rising water level was corroborated by repeated manual field measurements.

Downloads

Download data is not yet available.

Author Biographies

Irwansyah, Politeknik Negeri Samarinda

Lecturer at Department of Information Technology, Politeknik Negeri Samarinda

Agus Triyono, Politeknik Negeri Samarinda

Lecturer at Department of Information Technology, Politeknik Negeri Samarinda

References

H. Setiawan et al., “Analisis penyebab banjir di Kota Samarinda,” 2020. [Online]. Available: https://ejournal.upi.edu/index.php/gea

U. Dirgantara, M. Suryadarma, and H. Mantik, “Revolusi industri 4.0: Internet of Things, implementasi pada berbagai sektor berbasis teknologi informasi (Bagian 1),” Jurnal Telekomunikasi, 2020.

G. Al-Rawas, M. R. Nikoo, M. Al-Wardy, and T. Etri, “A Critical Review of Emerging Technologies for Flash Flood Prediction: Examining Artificial Intelligence, Machine Learning, Internet of Things, Cloud Computing, and Robotics Techniques,” Jul. 01, 2024, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/w16142069.

M. Motta, M. de Castro Neto, and P. Sarmento, “A mixed approach for urban flood prediction using Machine Learning and GIS,” International Journal of Disaster Risk Reduction, vol. 56, Apr. 2021, doi: 10.1016/j.ijdrr.2021.102154.

A. Mosavi, P. Ozturk, and K. W. Chau, “Flood prediction using machine learning models: Literature review,” Oct. 27, 2018, MDPI AG. doi: 10.3390/w10111536.

A. Kurniawan, “Sejarah, cara kerja dan manfaat Internet of Things,” 2022.

A. Andang, N. Hiron, A. Chobir, and N. Busaeri, “Investigation of ultrasonic sensor type JSN-SRT04 performance as flood elevation detection,” in IOP Conference Series: Materials Science and Engineering, Institute of Physics Publishing, Aug. 2019. doi: 10.1088/1757-899X/550/1/012018.

K. Kunverji, K. Shah, and N. Banu Shah, “A Flood Prediction System Developed Using Various Machine Learning Algorithms,” 2021. [Online]. Available: https://ssrn.com/abstract=3866524

M. Herath, T. Jayathilaka, Y. Hoshino, and U. Rathnayake, “Deep Machine Learning-Based Water Level Prediction Model for Colombo Flood Detention Area,” Applied Sciences (Switzerland), vol. 13, no. 4, Feb. 2023, doi: 10.3390/app13042194.

H. Jamaludin, P. Sultan, and I. Shah, “Designing ESP32 Base Shield Board for IoT Application,” 2020.

Downloads

Published

2026-06-28

How to Cite

Fauzi Ariyo, M., Irwansyah, & Agus Triyono. (2026). Water Level Prediction Based on Internet of Things and Machine Learning . Journal of Artificial Intelligence and Engineering Applications (JAIEA), 5(3), 4852–4857. https://doi.org/10.59934/jaiea.v5i3.2557

Issue

Section

Articles