Kids OK with adultArduino NanoLevel 2/3
Water Tank That Refills Itself
An ultrasonic sensor on the lid watches the water level. Below 30% the pump starts, at 60% it stops, and the OLED shows it all.
Sign in to save
Kids OK, with an adult
DIY project. Children must build this only with an adult (16+ years) beside them at all times. Not suitable for children under 8 years.
Keep the electronics above and away from the water, and use a 12 V adapter, never mains, for the pump. Put a diode across the pump and join the 12 V ground to the Nano ground.
Strictly follow the description given with this video.
Video
How it works
- The ultrasonic sensor looks down and measures the gap to the water surface.
- The Nano turns that gap into a level from 0 to 100%.
- Below 30% the MOSFET driver switches the 12 V pump on; at 60% it switches it off. The gap between the two stops it clicking on and off.
- The OLED shows the level and whether the pump is running. With no reading, the pump stays off.
Parts you need
Wiring
PowerGroundSignal
| # | From | Connect to |
|---|---|---|
| 1 Power | Sensor VCC | Nano 5V |
| 2 Signal | Sensor TRIG | Nano D12 |
| 3 Signal | Sensor ECHO | Nano D13 |
| 4 Signal | OLED SDA / SCL | Nano A4 / A5 |
| 5 Power | OLED VCC | Nano 3.3V |
| 6 Signal | Driver SIG | Nano D6 |
| 7 Power | 12 V adapter | Driver input |
| 8 Power | Driver output | Pump (diode across it) |
| 9 Ground | All grounds | Common GND |
3D print files
This project has no 3D-printed parts.