Flood Risk Monitoring Assessment System

An IoT-based flood early warning system using ESP32 and ESP-NOW wireless communication for real-time water level monitoring, intelligent alert generation, and live dashboard visualization.

ESP32 ESP-NOW IoT

Project Overview

This project presents a real-time Flood Early Warning System consisting of distributed sensor nodes and a centralized controller. Water levels are measured using ultrasonic sensors and transmitted wirelessly via ESP-NOW. The controller evaluates flood risk levels, activates visual and audible alerts, and hosts a live web dashboard for remote monitoring.

Problem Statement

Floods often occur without sufficient localized monitoring, preventing communities from receiving timely warnings. Conventional monitoring methods can be expensive and difficult to deploy over large areas. This project addresses these challenges by providing a low-cost, wireless, and scalable IoT-based flood monitoring solution capable of delivering real-time alerts.

Objectives

  • Design a real-time flood monitoring system using ESP32
  • Measure water levels using ultrasonic sensors
  • Transmit sensor data wirelessly with low latency
  • Evaluate flood risk levels centrally
  • Provide real-time alerts and dashboard visualization

System Architecture

System Architecture

Hardware Architecture

Controller Unit

  • ESP32
  • LED indicators
  • Buzzer
  • Battery charging circuit
  • Custom PCB
  • Custom Enclosure

Data Unit

  • ESP32
  • HC-SR04 ultrasonic sensor
  • Battery charging circuit
  • Custom PCB
  • Custom Enclosure

Firmware & Communication

The firmware was developed using the Arduino framework. The Data Unit periodically measures water level using an ultrasonic sensor and transmits measurements via ESP-NOW. The Controller Unit receives the measurements, evaluates predefined threshold levels, activates LEDs and buzzer alerts, and hosts a real-time web server for monitoring.

Libraries Used

  • WiFi.h
  • esp_now.h
  • WebServer.h
  • Arduino.h

Challenges

  • Reliable wireless communication
  • Environmental measurement accuracy
  • Stable real-time monitoring
  • Power management
  • Modular hardware design

Future Improvements

  • Multiple wireless sensor nodes
  • Rainfall monitoring
  • GSM/SMS alerts
  • Cloud database integration
  • Mobile application
  • Solar-powered deployment

Project Gallery

View GitHub Repository