Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’§ Water Level Detector using Arduino

This project is a simple and effective Water Level Detection System using an Arduino Uno, a water level sensor module, an LED, and a buzzer. It monitors water levels and provides visual and audible alerts, making it useful for water tank monitoring, overflow prevention, and smart water management.


πŸ› οΈ Components Used

  • πŸ”Ή Arduino Uno – Microcontroller that processes sensor data and controls outputs.
  • πŸ”Ή Water Level Sensor Module – Detects water level and sends an analog signal to the Arduino.
  • πŸ”Ή LED (+ ~220–330 Ξ© resistor) – Visual indication when water reaches a set level.
  • πŸ”Ή Buzzer – Audible alert when water is about to overflow.

πŸ”Œ Wiring

Arduino Pin Connects to
A0 Water sensor signal (sensor VCC β†’ 5V, GND β†’ GND)
D7 LED + via a ~220–330 Ξ© resistor (LED βˆ’ β†’ GND)
D8 Buzzer + (buzzer βˆ’ β†’ GND)

The thresholds (LED β‰ˆ 500, buzzer β‰ˆ 800, each with a small hysteresis band to stop flicker) are uncalibrated β€” tune LED_ON/LED_OFF and BUZZER_ON/BUZZER_OFF in the sketch for your sensor.

πŸ’‘ Resistive water sensors corrode when powered continuously. For long-term use, drive the sensor's VCC from a spare digital pin and energise it only while taking a reading.


βš™οΈ How It Works

1️⃣ The water level sensor sends an analog signal that rises with the water level.
2️⃣ When the level passes the LED threshold, the Arduino turns ON the LED.
3️⃣ At the higher overflow threshold, the buzzer activates to alert the user.
4️⃣ Hysteresis keeps the outputs steady, and the system resets automatically as the level drops back down.


πŸ“ Features

βœ… Monitors water levels using a sensor module
βœ… Turns ON an LED when water reaches a set level
βœ… Activates a buzzer to alert overflow risk
βœ… Hysteresis prevents output flicker near a threshold
βœ… Helps prevent water wastage and overflow


🌍 Applications

πŸ”Ή Water Tank Monitoring – Notifies when water reaches a set level.
πŸ”Ή Overflow Prevention System – Alerts users before water overflows.
πŸ”Ή Smart Irrigation Systems – Controls water usage efficiently.
πŸ”Ή Rainwater Harvesting Automation – Helps in managing stored rainwater.
πŸ”Ή Industrial Water Level Monitoring – Ensures optimal water levels in tanks.
πŸ”Ή Aquarium Water Level Alert – Prevents overflow or low water conditions.

About

An Arduino-based Water Level Detector that monitors water levels and triggers an LED and buzzer alert. Perfect for smart water management and overflow prevention! πŸ’§πŸš¨

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages