Intermediate · Project 4
Rain Alarm
Make an alarm that buzzes when raindrops land on a sensor made of two bare wires.
Build this only with an adult present. Before you start, read our safety notice and disclaimer.
🧰 What you need
- 1×Half-size breadboardA board full of little holes with metal clips inside, so you can build circuits without soldering.
- 1×3×AA battery holder with wire leadsHolds three AA batteries in a row and gives you a red (+) and black (−) wire.
- 3×AA batteryA regular household battery. Each one gives 1.5 volts.
- 2×2N3904 transistor (NPN)A tiny electronic switch: a small current into its middle leg (base) controls a bigger current.
- 1×1 kΩ resistor — brown, black, red, goldColors: brown, black, red, gold.
- 1×Active buzzer, 5 VBeeps all by itself when you connect it to a battery. Long leg is +. (A "passive" buzzer only clicks.)
- 1×Stiff bare wire — two pieces, about 30 cm eachUncoated craft wire (or a straightened paper clip) you can bend into shapes.
- 7×Jumper wire — two long ones for the sensorA short wire with stiff ends that push into the breadboard.
- 1×Paper towelHolds water between the rain sensor wires.
✨ The finished project
Pure water barely conducts electricity, but rainwater, tap water and puddles always have a little salt and dirt dissolved in them, and that water conducts. When a raindrop lands between two bare wires, it makes a tiny bridge for current. That’s all we need to sound an alarm!
This is the Touch Switch circuit again, with the touch pads swapped for a rain sensor and the LED swapped for a buzzer.
Make the rain sensor
Lay a paper towel flat on a plate or tray.
Bend two pieces of bare wire into matching zig-zags and lay them on the towel side by side, about 5 mm apart. They must not touch each other.
Tape the ends down, and attach one long jumper wire to each zig-zag (twist tightly, or use alligator clips).
Build it
Transistors: Q1 with E e13, B e14, C e15; Q2 with E e8, B e9, C e10. Flat sides facing you.
Red wires: a15 to T+15 (top red + rail, column 15), and a10 to T+10 (top red + rail, column 10).
1 kΩ resistor: b14 to b19.
Blue wire: b8 (Q2’s emitter) to b6.
Buzzer: long (+) leg in e6, short leg in e3. Then a black wire from a3 to T-3 (top blue − rail, column 3).
Sensor wires: one into a19, the other into T+21 (top red + rail, column 21).
Power: battery red into T+1, black into T-2. All quiet. Now drip some water onto the sensor: BZZZ! 🌧️
Not working?
- No buzz when wet? Add a pinch of salt to the water, which makes it conduct much better. Check the zig-zag wires are bare metal and close together.
- Buzzing when dry? The two zig-zags are touching somewhere. Spread them apart.
- Quiet even with salt water? Touch the two sensor wire ends directly together. If it buzzes, the board’s fine. Also check the buzzer is active and its long leg is in e6.