Flooding in Tangerang requires real-time and reliable water level monitoring and automatic floodgate control. This research designs an IoT-based intelligent system using Arduino Mega 2560 for data acquisition, HC-SR04 ultrasonic sensor for non-contact measurement, SIM800L for SMS gateway redundancy, ESP8266 for ThingSpeak cloud connectivity, and Omron CPM1A PLC for floodgate motor actuation. The system adopts four-layer architecture: perception, control, network, and application. Threshold logic refers to Indonesian flood alert standards: Siaga 3 (40-60 cm), Siaga 2 (60-80 cm, gate 50%), and Siaga 1 (>80 cm, gate 100%). Validation was conducted in laboratory tank and UMT drainage channel for 30 days. Results show sensor accuracy 98.2% with R²=0.9987, average response time 2.3 seconds from threshold detection to full actuation, SMS delivery success 97.5% within 5 seconds (average 4.2 s), ThingSpeak uplink success 98.9% with 1.8 s latency, and uptime 99.1% for 72 hours. Power consumption is 8.5 W suitable for solar. Hybrid Arduino-PLC architecture provides cost-effectiveness Rp 4.5M vs commercial Rp 25-40M and industrial reliability with fail-safe interlock. The system contributes to smart city infrastructure and urban flood mitigation.
Copyrights © 2026