Touchless hand sanitiser dispenser
Hold your hand under it and a metal-gear servo presses the pump for you.
Shop by category
Shop all componentsA small air pump pushes air through an air stone so the water picks up oxygen. The 310 pump runs on 5-6 V, so a MOSFET module can control its speed with PWM. An LDR module tells the Nano when the room is dark, and the pump drops to a gentle speed instead of switching off, so the fish still get air.
Keep mains adapters away from water and use a drip loop on the cable.
Tick anything you already have and the total updates.
LDR light sensor module
Follow the colours: red is power, dark grey is ground, blue is a signal.
5 V USB supply of 2 A.
aerator.inoVerify & upload in Electrolarkconst int PUMP = 9;
const int DARK = 700; // higher reading = darker on most modules
const int DAY_SPEED = 255, NIGHT_SPEED = 120;
void setup() { pinMode(PUMP, OUTPUT); Serial.begin(9600); }
void loop() {
int light = analogRead(A0);
Serial.println(light);
analogWrite(PUMP, light > DARK ? NIGHT_SPEED : DAY_SPEED);
delay(2000);
}
NIGHT_SPEED is too low for it to start; raise it.
Fit a check valve and keep the pump above the tank.
Your module reads the other way; flip the > sign.
For a small tank of 20-40 litres, yes.
Fish need oxygen at night too; a gentle flow keeps it safe and quiet.
Yes, it gives a backup during power cuts.
8 parts: 310 Mini Vacuum / Air Pump 6V-12V, MOSFET Switch Module, Relay Replacement (D4184 / LR7843), Generic Photosensitive Resistor Sensor Module for Arduino – Light Dependent Resistor (LDR), 1N4007 Rectifier Diode (Pack of 10), Generic Nano CH340 Development Board (Soldered), Official Raspberry Pi 4 USB-C Power Supply – 15.3W, Solderless Breadboard and Dupont Jumper Wires (40 pcs). On this page you can tick the parts you already have and add only the rest to your cart.
It is a beginner project and takes about 1-2 hours. The build on this page has 6 steps.
No. This page has the complete, tested code (aerator.ino).
About ₹1,202 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
PWM speed control of a DC pump; Reading a light sensor; Designing a fail-safe minimum.
Keep mains adapters away from water and use a drip loop on the cable.
Hold your hand under it and a metal-gear servo presses the pump for you.
Wave your hand and the lid lifts by itself, then closes after three seconds.
Your first motion project: turn the knob and the servo follows.
Dial in an exact servo angle, 2° per click, shown on screen.
Learning project. Check every circuit and the datasheet of each part before you power it up.