🧠Introduction
In many homes, water overflow from tanks is a common issue that leads to wastage of water and electricity. In this project, we will build a Water Level Indicator using Arduino Nano and a buzzer.
This system alerts the user when the water reaches a particular level inside the tank. It is a simple, low-cost, and practical project, perfect for students, beginners, and real-life applications.
🔧 Components Required
- Arduino Nano
- Buzzer
- Connecting Wires (for probes)
- Jumper Wires
- Breadboard (optional)
- 5V Power Supply / Power Bank
⚙️ Working Principle
Water has conductivity, which allows current to pass through it.
- A common wire is connected to 5V
- A level detection wire is placed at the desired height
- When water touches both wires → circuit completes
- Arduino detects signal → buzzer turns ON
👉 This gives a simple water level alert system
🔌 Circuit Diagram
📌 Connections
- Common Probe Wire → 5V
- Water Level Probe → D2 (Arduino Nano)
- Buzzer (+) → D8
- Buzzer (-) → GND
👉 Place the probe wires at the required water level inside the tank
💻 Arduino Code
#define waterSensor 2
#define buzzer 8
void setup() {
pinMode(waterSensor, INPUT);
pinMode(buzzer, OUTPUT);
Serial.begin(9600);
}
void loop() {
int waterState = digitalRead(waterSensor);
if (waterState == HIGH) {
digitalWrite(buzzer, HIGH); // Water detected
} else {
digitalWrite(buzzer, LOW); // No water
}
delay(200);
}
🛠️ Step-by-Step Construction
- Connect one wire to 5V (common probe)
- Connect another wire to Arduino pin D2
- Place both wires inside the water tank
- Connect buzzer to pin D8
- Upload the code using Arduino IDE
- Power the system
- Test by dipping wires in water
🎯 Applications
- Water tank overflow alert system
- Home water monitoring
- Agriculture irrigation monitoring
- School and college mini projects
✅ Advantages
- Very low cost
- Easy to build
- Saves water and electricity
- No complex sensors required
🚀 Future Improvements
- Add multiple level detection (Low, Medium, Full)
- Add relay to control water pump automatically
- Add LCD display for level indication
- Upgrade to IoT monitoring system
📌 Conclusion
The Arduino Nano Water Level Indicator using buzzer is a simple and effective solution to prevent water overflow. It is an ideal beginner project to learn basic sensing and automation using Arduino.