Wireless Automatic Pump Controller

Hi All,

I need a solution to automatically turn on and off a pump based on a water level on a tank. problem is, the tank and pump has quite a distance, they are pipe connected but running wire between them is kind of impossible.

Is it possible to use Arduino to achieve this. maybe, having two Arduino boards each with a wireless shield, and somehow connect one boards to the sensor and the other to the relay.

Basically trying to achieve what this device do:

But hopefully with much lower cost

Kind of new to Arduino, Thank You

Define "quite a distance"

Looking at the spec in the link it reads

Operation FM GFS in 433MHz license free industrial ISM band

It also says

2 Miles ( 2 km ) line of sight,
• 2000 feet (600m) partially obstructed

These sound very much like theoretical maximums

To replicate the same radio link, I'd take a look at the Jeenode e.g. it uses The JeeLabs Shop - RFM12B 433 MHz

You should also look at the high power XBee modules, they may have the range you require (possibly more than you'd get on 433Mhz)

Hi KenF, rogerClark

Sorry, bad example, distance i m talking about is actually only around 200m.

Actually, I am more concerned about the programming and control feasibility rather than distance.

Thank You

This is a more appropriate example:

It occurs to me that the device that turn on or off the pump, doesn't really have to send any information back. So if you kept that as a fairly dumb device, it could sit and wait for orders to either turn on or turn off the pump. Maybe even with a fail safe that if it hasn't heard anything within a pre-set time frame, it will make sure that the pump is off anyhow.

In the mean time the device at the tank could monitor the tank level and send signals to the pump controller as and when required. Under these conditions you could have just a RF sender (for the tank end) and an RF receiver (for the pump end). This comes in even cheaper.

http://www.ebay.co.uk/itm/433MHz-RF-Transmitter-Receiver-pair-wireless-kit-for-PIC-Arduino-Pi-UK-SELLER-/400784471035?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item5d509db3fb

For measuring the level in the tank there are LOADS of possible solutions. A simple float switch, a wet/dry sensor (basically a piece of PCB with parallel tracks) and I've even seen someone using an ultrasonic transducer (to measure the distance to the water level).

Whichever way you go, the programming should only take a few minutes.

Hi KenF

I don't think those basic / cheap 433Mhz devices are going to have the range that is required

You could probably attach them to a home made yagi antenna, but I'd be a bit concerned about overloading the receiver with other signals, as they are really cheap and only have a very very basic receiver

I suspect that the OP would be better off using a FM transmitter ./ receiver combo or may be forced to use an expensive XBee solution with proprietary antenna to get the sort of range they are looking for

Personally I'd attach whatever transmitter / receiver module used (e.g 433mhz FM ) to a directional antenna like this one

http://www.ebay.co.uk/itm/Yagi-beam-dual-band-antenna-70cm-2-m-4-5-elements-one-feed-open-sleeve-/291250955150?pt=UK_Mobile_Phones_Communication_Radio_Antennas&hash=item43cfe8e38e

They are for the ham radio 70cm band which is basically the same frequency and will give loads of gain and also directionality so that there would be less interference

But hopefully with much lower cost

Shouldn't be difficult - I can't see why the vendor product is so unfeasibly expensive though.

For a setup like that where good comms is a relatively critical need I would use two of the XBee units operating at 900 MHz with a wire antenna on the module. I am assuming the range is line of sight, if not you could use additional XBee units to hop around obstructions. The XBee can be had for less than $40 and with Faludin's book as a design aid this is not a hard problem.