Arduino Pump Tutorial - Aquarium Auto Refill



This Arduino Pump Tutorial shows a simple example of how to use a float switch and RobotGeek Pumping Station to refill a reservoir once the level gets too low. For our example we use a small aquarium, but this same project could be used for pet dishes, water fountains, or any other number of similar applications. The Pumping Station is a RobotGeek kit which packages a small liquid pump and relay. To operate a pump using an Arduino microcontroller you need a relay to switch on and off a separate power supply.

We also recommend checking out these other Arduino Pump Tutorials:
Arduino Sump Pump Project
Arduino ShotBot Project

Project Parts List:


Device Sensor Shield Port
Float Switch Digital Pin 2
One wire to signal / one wire to ground
Pumping Station Digital Pin 4
RobotGeek LED Board Digital Pin 7

Click to enlarge


Project Code:

Feedback Form