You are on page 1of 7

D. Y.

Patil International University


B.Tech CSE Second Year, Semister –
III
A.Y. 2023-24

Embedded system design: - End Term Practical Exam, Nov 23

ESP 32 Water Level Detection

Onkar Yaglewad -20220802065-A32

 INTRODUCTION

Innovating beyond conventional weather monitoring, this project centers on


an ESP32 microcontroller-based water level detection system. Emphasizing
practical applications, the system integrates sensors for temperature, motion
detection, and a key focus on ultrasonic technology to precisely measure
water levels in tanks or bottles. This endeavor aims to offer a versatile and
efficient solution for real-time water level monitoring in diverse settings.

 OBJECTIVE OF MODULE

The aim of this project is to develop a water level detection system using an
ESP32 microcontroller. Instead of a traditional weather station, the focus is
on monitoring the water level in a tank or bottle. The system employs sensors
to measure temperature, detect motion, and most importantly, determine the
water level using an ultrasonic sensor.
 CIRCUIT DIAGRAM AND WORKING

CIRCUIT DIAGRAM :

WORKING :

1. Sensor Initialization:

 Upon startup, the ESP32 initializes the connected sensors: the DHT22
temperature sensor, ultrasonic sensor for water level detection, and the
motion sensor.

2. Temperature Monitoring:

 The DHT22 sensor continuously monitors the ambient temperature, providing


real-time temperature data.

3. Ultrasonic Sensor for Water Level Detection:

 The ultrasonic sensor, strategically positioned on top of a water container


(bottle), emits ultrasonic waves.
 By measuring the time taken for the waves to bounce back, the system
calculates the distance from the sensor to the water surface

4. Water Level Calculation:

 The water level is calculated using the formula: Water Level = 25 -


Distance from Ultrasonic.
 This calculated water level represents the remaining water in the container

5. Motion Detection:

 The motion sensor monitors the surroundings for any movement or activity.
 LIST OF HARDWARE COMPONENTS

1. ESP32
2. DHT22 Temperature and Humidity Sensor
3. Ultrasonic Sensor (HC-SR04)
4. PIR (Passive Infrared) Sensor
5. Breadboard
6. Jump Wires
7. Data Cable
8. I2C LCD Display

 DATASHEET OF COMPONENTS USED

1. DHT22 Temperature and Humidity Sensor

2. Ultrasonic Sensor (HC-SR04)


3. PIR (Passive Infrared) Sensor

 PHOTO OF HARDWAERE MODULE WITH GROUP


 APPLICATIONS OF THE MODULE

 Home water management : Efficiently manage water resources in


households by monitoring water levels in storage tanks or containers,
ensuring optimal usage and preventing unexpected shortages.

 Agricultural Irrigation: Optimize irrigation practices in agriculture


by monitoring water levels in irrigation systems, ensuring crops receive
an adequate water supply and improving agricultural yield.

 Rainwater Harvesting: Gauge collected water levels in rainwater


harvesting systems for efficient utilization, preventing overflow,
maximizing rainwater usage, and contributing to sustainable water
conservation.

DATE : ESD
FACULTY

You might also like