Asem Ameen QaidElectrical Engineering · UII
Home00Work01Research02Leadership03About04CV05Contact06
Work/AAQ-P04

IoT-Based Flood Early Warning System

A low-cost IoT node that watches rainfall and water level, classifies the risk, and warns both on site and on a remote dashboard.

AAQ-P04Embedded & control
ContextDisaster Mitigation course
Period2026
RoleIndividual project
ControllerESP32
StackMQTT · Mosquitto · Node-RED
Hardware Prototyped

Built on a breadboard with an ESP32, rain sensor and water-level sensor; all three alert states demonstrated.

Data link Prototyped

The ESP32 publishes over MQTT to a Mosquitto broker; Node-RED shows live status and water-level history on the same network.

Not yet shown Not yet shown

No field deployment and no measured accuracy for the warning thresholds.

Problem

Heavy rainfall and rising water can become dangerous quickly if they are not detected early. A low-cost device that warns people nearby and reports to a remote screen can buy time for a response.

System

The ESP32 reads both sensors continuously and compares them with set thresholds. At the same time it publishes the readings to a Mosquitto broker, and a Node-RED dashboard subscribes to show the latest values and flood status.

LevelLocal alert
SAFEGreen LED, no alarm
WARNINGYellow LED, intermittent buzzer
DANGERRed LED, continuous buzzer
Block diagram: sensors, ESP32, local alerts and remote monitoring.
Block diagram: sensors, ESP32, local alerts and remote monitoring.
Risk levels and their local alerts.
Risk levels and their local alerts.
Operating flowchart of the ESP32 firmware.
Operating flowchart of the ESP32 firmware.

Prototype and dashboard

Breadboard prototype with the ESP32, rain and water-level sensors, LEDs and buzzer.
Breadboard prototype with the ESP32, rain and water-level sensors, LEDs and buzzer.
Node-RED dashboard: flood status, rain status and water-level history.
Node-RED dashboard: flood status, rain status and water-level history.

Results and limits

Shown

  • Three-level classification with local and remote alerts working together
  • Live readings and history on Node-RED

Limits and next steps

  • Dashboard works only on the same local network
  • Thresholds not calibrated against real flood data
  • Next: cloud storage, mobile notifications, forecast integration

Resources

  • PDF Project report · 8 pagesAAQ-P04_Flood-Early-Warning_Project-Report.pdf Open PDF