Audible Water Level Detector
A buzzer warns you when water rises and touches two bare wires. It tells you a bucket or container is about to fill up.
Bill of materials
Everything you need to build it, with the reference you will see on the schematic.
| Qty | Part | Ref. |
|---|---|---|
| 1 | Water probe (two bare copper wires) | PR1 |
| 1 | 1 kΩ resistor (brown-black-red) | R1 |
| 1 | BC547 NPN transistor | Q1 |
| 1 | Active buzzer (3 to 24 V) | BZ1 |
| 1 | 9 V battery with snap clip | BT1 |
| 1 | Glass or container of tap water (tool) | |
| 1 | Breadboard (400 tie-points or more) | |
| 3 | Jumper wires |
Missing parts? The kits recommended by Impeca Tech include almost all of them. See the kits
Schematic & wiring
On the left, the circuit diagram; on the right, the same circuit built on a breadboard. Both connect exactly the same things.
Wire it step by step
-
Place the components
- 1 kΩ resistor R1 (bands: brown, black, red, gold): one leg in 5i and the other in 8i (either way round).
- BC547 transistor Q1 with the flat face (the one with the text) towards you, left to right: collector (C) in 7f, base (B) in 8f, emitter (E) in 9f.
- Active buzzer BZ1: the long leg (marked +) in 3f and the other leg in 6f. Reversed, it will not sound.
-
Add the jumper wires
- Red wire: from 3j to the + (red) rail.
- Orange wire: from 6j to 7j.
- Black wire: from 9j to the − (blue) rail.
-
Connect the probe
- Water probe (PR1): one wire to the + rail and the other wire to 5j.
-
Connect the battery
- Connect the 9 V battery to its clip: the clip’s red lead to the + (red) rail and the black one to the − (blue) rail. Do this last, once everything else is in place.
-
Test the circuit
- With the probes out of the water the buzzer should be quiet. Dip both tips at once in a glass of tap water: it sounds straight away. Lift them out and it stops. Very pure water (distilled or rain) conducts very little; add a pinch of salt to test it. Dry the wires when you finish.
How to read the holes: the letter is the row and the number is the column of the breadboard (for example 7f). The red (+) and blue (−) rails are the two long lines along the edge.
How does it work?
- 1Water rises to the two probes
- 2The water carries a small current between them
- 3R1 feeds it to the base and Q1 conducts
- 4The buzzer sounds
The two probes are two bare copper wires hanging inside the container, at the height where you want the warning. While they are in the air no current flows and transistor Q1 is off: the buzzer stays quiet. When water touches both tips at once it carries a small current (with two close wires, tap water is usually in the tens of kΩ) that R1 (1 kΩ) delivers to the base of Q1. With about 265 µA in the base, Q1 saturates and passes about 28 mA through the active buzzer, which has its own oscillator inside and sounds from the battery’s 9 V. In the simulation it sounds just the same with poorly conducting water (≈ 50 kΩ) or with the tips joined by a drop. R1 protects the transistor if the two tips touch. The voltage is only 9 V DC and harmless, but with direct current the wires slowly corrode: dry them after each use.
Testing & troubleshooting
What you should see
- Dry probes
- Buzzer current≈ 2.8 µA
- Water touching both probes (≈ 30 kΩ)
- Buzzer current≈ 28 mA
- Voltage across the buzzer≈ 8.85 V
- Current into the base≈ 265 µA
- Poorly conducting water (≈ 50 kΩ)
- Buzzer current≈ 28 mA
- Probes joined by a drop or a wire
- Buzzer current≈ 28 mA
Approximate values, calculated with typical parts. With real parts they can vary by 10 % or more.
If something does not work
The buzzer sounds all the time
The two probes touch each other or there are water drops on the breadboard. Move them a few millimetres apart and dry everything. If the buzzer still sounds with the probes unplugged, check that Q1 and R1 are not touching the + rail.
It does not sound although water touches the probes
Check the buzzer polarity: the + (long or marked leg) goes towards the battery. If you only hear a “click” it is a passive buzzer with no oscillator: you need an active one. Also try joining the two tips with a wire; if it sounds, the problem is poorly conducting water (add salt) or tips that are too far apart.
Want to automate this circuit with code?
Learn how to program sensors and custom schedules in our e-book “Arduino from Scratch”.