Kids OK with adultArduino NanoLevel 1/3
Touchless Soap Dispenser
Put your hand under it and the pump runs for half a second: exactly one dose, no touching.

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.
Thin the liquid hand wash with a little water so the mini pump can move it.
Strictly follow the description given with this video.
Video
The video link will be added here soon.
How it works
- The IR sensor's output goes LOW when a hand is under it.
- The Nano switches the MOSFET on for 0.5 s: one dose.
- It waits until the hand moves away before the next dose.
- The MOSFET module handles the pump current the pin can't.
Parts you need
- Arduino Nano× 1Buy
- IR obstacle sensor module× 1Buy
- MOSFET module× 1Buy
- 5V mini pump + silicone tube× 1Buy
- Breadboard, jumper wires, USB 5V adapter× 1Buy
Kit for this projectPrice on request
Get the kitWiring

PowerGroundSignal
| # | From | Connect to |
|---|---|---|
| 1 Signal | IR OUT | Nano D2 |
| 2 Power | IR VCC | Nano 5V |
| 3 Ground | IR GND | Nano GND |
| 4 Signal | MOSFET SIG | Nano D9 |
| 5 Ground | MOSFET GND | Nano GND |
| 6 Power | MOSFET IN+ | 5V |
| 7 Ground | MOSFET IN− | GND |
| 8 Power | MOSFET OUT+ / OUT− | Pump + / − |
3D print files
This project has no 3D-printed parts.
Code
The tested Arduino / ESP32 code for this project will be posted here, ready to copy.