Dicky Wahyudi
Politeknik Negeri Medan

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

IoT-Based Real-Time Flood Detection and Early Warning System Using JSN-SR04T Ultrasonic Sensor for Urban Areas Muhammad Rusdi; M. Sukri Habibi Daulay; Ray Kartha Maha Putra; Dicky Wahyudi
Jurnal Rekayasa Elektrika Vol. 22 No. 1 (2026): Vol. 22, No. 1, March 2026
Publisher : Universitas Syiah Kuala

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.17529/jre.v22i1.784

Abstract

Flooding is among the most frequent natural disasters in Indonesia, particularly in urban areas such as Medan City. Delays in obtaining flood-related information often result in significant material losses and casualties. This study develops a real-time flood detection and early warning system using the JSN-SR04T ultrasonic sensor integrated with Internet of Things (IoT) technology. The system employs an ESP32 microcontroller to process water level data and transmit information via the Message Queuing Telemetry Transport (MQTT) communication protocol. It categorizes water levels into three statuses: safe (0–110 cm), alert (111–145 cm), and danger (≥146 cm), with automatic alarm activation above 135 cm. Field testing was conducted at Deli River, Medan, an urban flood-prone area. The results showed that the system achieved an average measurement error of 0.96% and a system accuracy of 99.04%, indicating high precision and reliability. Data transmission operated in real time with a response time below 5 seconds and no observed communication failures. Moreover, the use of a 40 mm acrylic tube significantly enhanced sensor stability by reducing fluctuations caused by water surface waves. Overall, the system provides a cost-effective, accurate, and reliable IoT-based flood early warning solution suitable for urban areas vulnerable to flooding.