0% found this document useful (0 votes)
235 views

Iot Based Flood Alert System Using Node Mcu

This document describes an IoT-based flood alert system using NodeMCU that senses water levels in rivers. It uses an ultrasonic sensor to detect water levels, processes the data with NodeMCU, and sends it to ThingSpeak for graphical monitoring and alerts. When the water level exceeds a limit, it triggers a red LED and buzzer to alert people. A green LED indicates normal water levels. The document explains the components, working, interfacing the sensors with NodeMCU, and setting up the Arduino IDE to program NodeMCU.

Uploaded by

Milan Baidya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
235 views

Iot Based Flood Alert System Using Node Mcu

This document describes an IoT-based flood alert system using NodeMCU that senses water levels in rivers. It uses an ultrasonic sensor to detect water levels, processes the data with NodeMCU, and sends it to ThingSpeak for graphical monitoring and alerts. When the water level exceeds a limit, it triggers a red LED and buzzer to alert people. A green LED indicates normal water levels. The document explains the components, working, interfacing the sensors with NodeMCU, and setting up the Arduino IDE to program NodeMCU.

Uploaded by

Milan Baidya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

IOT BASED FLOOD ALERT SYSTEM

USING NODE MCU

PRESENTED BY
ANIK KUMAR BAIDYA
NITESH JAISWAL
SUDHANSHU KUMAR
BAL KUMAR MAHATO
INTRODUCTI
ON
The purpose of this project is to sense the water level in river beds and check if they
are in normal condition. If they reach beyond the limit, then it alerts people through
LED signals with buzzer sound as well as internet applications. Here we are using
the Ultrasonic HC-SR04 sensor to sense the river level and NodeMCU ESP8266
Microcontroller for data processing. The processed data will be uploaded to
the ThingSpeak IoT Cloud Platform. Using which river levels can be monitored
graphically from anywhere in the world.
Required Components of Flood
Monitoring System
These are the components required to make IoT Based Flood
Monitoring System Using NodeMCU & ThingSpeak.

NodeMCU ESP8266 Development Board


Ultrasonic HC-SR04 Sensor
Red and Green LEDs
Buzzer
Jumper wire
Breadboard
Power Supply
How this Flood Monitoring
System Works?

We have used ESP8266 NodeMCU to build many IoT projects before. The


block diagram above shows the working of this IoT based flood monitoring
system using the NodeMCU and IoT Platform. Here, the Ultrasonic sensor is
used to detect river water levels. The raw data from the ultrasonic sensor is fed
to the NodeMCU, where it is processed and sent to ThingSpeack for graphical
monitoring and critical alerts. Here, the red LED and Buzzer is used to send an
alert in a flooded condition. While Green LED is used for indicating Normal
condition. are used to be alert in severe flood conditions, and green LEDs are
used to indicate normal conditions.
Ultrasonic HC-SR04 Sensor

Ultrasonic sensors work on the principle of ultrasound waves which are


used to determine the distance for an object. An Ultrasonic sensor
generates high-frequency sound waves. When this ultrasound hits the
object, it reflects as the echo that the receiver sense. We can calculate the
distance to the target object using the time required to reach the receiver
for Echo.
Schematic of IoT Based Flood
Monitoring System
Interfacing NodeMCU ESP8266, Ultrasonic HC-SR04 Sensor,
Buzzer, and LEDs (Red and Green) as shown in the following
circuit diagram:
Setting up Arduino IDE for
NodeMCU Board
After the successful completion of the hardware setup. Now its time to program ESP8266
NodeMCU.
To upload the code to NodeMCU using the Arduino IDE, follow the steps below:
Open the Ardino IDE, then go to File> Preferences> Settings.

Paste the
URL: https://arduino.esp8266.com/stable/package_esp8266com_index.json in
the ‘Additional Board Manager URL‘ field and click ‘Ok’.
Now. Now go to Tools> Board> Board Manager. In the Boards Manager window,
type ESP8266 in the search box, select the new version of the board and click
Install.

After successful installation, go to Tools -> Board -> and select NodeMCU 1.0
(ESP-12E Module). Now you can program NodeMCU with Ardino IDE.
After the above setup for programming NodeMCU. You can upload the complete
code to ESP8266 NodeMCU. The step-by-step explanation of the full code is
provided below.
Wrapping up

This is just a basic model for an IoT Based Flood Monitoring System
Using NodeMCU & ThingSpeak. We can improve this project for
better performance. Hence, there is a lot of scope for improvising it. I
hope you enjoyed the project and learned something new.
THANK YOU

You might also like