Monday, November 18, 2013

Anti Rain flood system - Arduino water pump Automation

Been having some trouble at home due to a poorly designed water drain, heavy rains just put at risk overflowing with the drains capacity, I got some problems after getting some water inside my house so I took matters into my own.

The idea is to have and automated system to drain the water out of the "warning zone" out to another place, another idea is to harvest this water if you have the place to store some big containers.

Target: have a fully automated system that can measure the water level and in case the level is near the "warning" level, it activates a water pump to lower the level. As a secondary target the idea is to see the level in real time through a web page.

Bill Of Materials:

Arduino (using UNO, will port to pro mini)

Network shield ENC28j60

Distance measuring module HC-SR04

5v relay module

Old wireless repeater DLINK

Water pump 1/2 horsepower

Enclosing box

Power cord & extension

Hose & quick connectors connector
Pvc tube
Ping pong ball
General materials: glue, soldering iron, electrical tools

Here are basic schematics for this project:

Tube assembly:
Tube assembly
Block Diagram:
Housing block diagram
Phases for this project:

Phase 1: get the basic software working. Code the basics for the arduino to measure the distance and upon threshold, activate relay.

Phase 2: building the container for outdoors. Using an hermetic plastic container (a big tupperware :) ), fit all the parts in there, water proofing it, build the pvc tube with the sensor container.

Phase 3: initial testing, a data analysis.

Phase 4: attach wireless repeater in client mode, using network module to: monitor system from web, upload measurements information to mysql database.

Stay tuned for how the project evolves.


  1. We are wellknown for manufacturing company specialized in designing and manufacturing of diffrent typs of pumps. If you want to know more about us, please visit us at:-fire fighting pump , fire fighting pumps, centrifugal pump , centrifugal pumps , vertical turbine pumps manufacturers

  2. force 20 pump

    The Force 15 pump is a highly innovative 100% Australian pump that is purposely designed for mining with 1000 volt pumps. Visit us to know more about 1000 volt pumps.