| REUK Shop | REUK Blog | Directory | About Us  |  | RSS Web Feed for Renewable Energy UK 

Float Switch Water Level Measurement



Float Switch Water Level Measurement

Find out how to use float switches in renewable energy applications

water | electric circuit
  Printer Friendly Version Print Article     

A Float Switch is a device which is typically used to measure the depth/level of liquid in a container. As the water rises and reaches the level of the float switch, it begins to float going from the vertical to the horizontal. This closes an internal switch which can then be used to turn on/off a pump, alarm, relay.

Submersible water pump with integrated float switch auto shut off

Pictured above is a submersible water pump with an integrated float switch (the red part). If a pump is run dry, it will quickly burn out - therefore, all good quality pumps are sold with a built-in float switch to automatically switch off pumping when there is no more water to pump.

Float Switches

A float switch can be as simple as a mercury tilt switch fitted into watertight floatable case. Since mercury is very toxic, a far more common alternative is to use a reed switch which is triggered by a small float-mounted magnet.
Float switch for automotive usage
Pictured above is a typical automotive-grade float switch (available from the REUK Shop). This unit is supplied with a baffle which greatly reduces rapid multiswitching* caused by surface turbulence without the need for complicated electronics. This particular float switch can manage a switching current of up to 1.5 Amps - plenty to trigger a relay or a light/alarm. Typically float switch switching currents range from 0.5 to 2 Amps.

Click here to search eBay for Float Switch - there is usually a good selection available mostly marketed for use with bilge pumps, but which can be used in many other applications.

* See paragraph below on hysteresis.

Uses for Float Switches

Float switches can be set up to sense either rising or falling water levels - rising water to measure when a container is full or water has reached a certain maximum level, falling water to measure when a container is empty or has reached a certain minimum level. Therefore, float switches have many uses - particularly in renewable energy applications

Small centrifugal water pump

One example is rainwater toilet flushing. If a pump is required to get collected rainwater up to the toilet cistern from the main rainwater store, the pump can be automatically switched on when cistern is not full. This ensures there is always water ready in the cistern to flush the toilet when required.
This same technique can be used to safely fill a water tank in the loft so that there is decent (gravity-fed) water pressure for a shower, or the washing machine.

Another example is in garden irrigation. Water from a main rainwater/greywater storage tank can be pumped up to a smaller tank located near to a greenhouse or vegetable beds as and when it is required without the risk of overfilling.

Alternative to a Float Switch - A Liquid Sensor

Float switches contain moving parts and are therefore prone to breakage - quite often failing before the pump they are designed to protect. One alternative is to use a liquid sensor such as the example pictured below.

Liquid Sensor for measuring the level of a liquid in a container

Two gold-plated metal probes can be seen fitted into the body of the liquid sensor. When both are submerged, the change in resistance activates an internal reed switch closing the contact and making the circuit. The only moving part in such a device is the reed switch reducing its chance of mechanical failure. This particulary (typical) example can handle a switching current of 0.5 Amps. More information about liquid sensors, their use and their limitations, is available in our new article Understanding Liquid Sensors

NEW This Liquid Sensor is now available from the REUK Shop.

Simple Float Switch Circuit with Relay

6 Volt 10 Amp relay
In most cases when using a float switch, the current required by the device to be switched on is in excess of the switching current rating of the switch. Therefore, a relay* is used such as the 6 Volt example pictured above (and sold in the REUK Shop).
* Click here to find out more about the use of relays.

Since a relay is being used, a low power source such as a PV solar panel with battery back up can be used for the water level sensing circuit. This can then be used to connect a high power source such as mains electricity or a battery bank to drive the pump.

Circuit for a float switch regulated water pump

The circuit diagram schematic above shows such a relay-based solution to switching a pump off automatically when the tank to which it is pumping is full. A 6 or 12 Volt DC source (value chosen to match rating of the relay) powers the sensing circuit, and the pump has its own power source (typically 12VDC, 24VDC, or 240VAC).
When the (normally open) float switch is hanging in the air above the level of the water in the tank being filled, electricity flows through the float switch, and therefore through the LED (lighting up that PUMP ON indicator) and the relay coil. That closes the relay contact connecting power to the water pump.

When the float switch starts to float on top of the rising water, electricity stops flowing through the float switch, the LED turns off, and the pump stops.

NEW Click here to view full details of the implementation of a simple DIY Automatic Pump Shut Off Circuit.

Hysteresis with Float Switches

If the water in the container is at all turbulent at its surface, the float switch may turn on and off repeatedly (multiswitching), potentially damaging a pump attached to it. Therefore a slightly more complicated electronic circuit can be used which introduces hysteresis - for example, when the pump is switched off it could be made to stay off for at least 10 seconds, or the sensor/switch has to detect water continuously for 10 seconds before the pump is switched on.

NEW Click here to view our new article Water Pump Hysteresis Circuit to find out more about how multiswitching can be prevented using a simple time delay circuit.



Article Last Modified: 12:07, 28th Jul 2008

Comment on this Article

If you have any comments on this article, please email them to neil@reuk.co.uk.


Related REUK Categories

water | electric circuit
© 2006-2013 REUK - All Rights Reserved
Page Last Updated on 19th June 2013 at 12:28:19pm

Recent
Blog Posts


1.Bricking a Beaglebone Black

2.Project of the Day – 12V High Power Regulator with LT1084CP-12

3.Raspberry Pi Temperature Datalogger with DS18B20 Sensor

4.New Raspberry Pi Category on REUK.co.uk Website

5.Special Offer of the Day – 20W PV Solar Panel £25.99

6.Reducing Reflectivity of PV Solar Panels to Increase Efficiency

7.Low Voltage Disconnect with Display and Datalogger

8.Saudi Solar Power Boom About to Begin

9.Compressed Air for Storage of Renewable Energy

10.Offer of the Day – 80W Monocrystalline Solar Panel £71.98


Latest
Articles


Wire 5V Direct to Raspberry Pi
Find out how to connect 5V directly to Raspberry Pi instead of using micro USB
raspberry pi
12:28, 19th Jun 2013

Solar Powered Raspberry Pi
Power your Raspberry Pi permanently from a PV solar panel
raspberry pi
20:42, 17th Jun 2013

Beaglebone Black Credit Card Sized Computer
Find out about the Beaglebone Black - tiny, low cost, low power use computer
raspberry pi
15:46, 14th Jun 2013

Power over Ethernet
Find out how to power your networked microcontroller projects directly via the ethernet cable
electronics
17:04, 13th Jun 2013

Raspberry Pi Temperature Logger with Xively
Make a Raspberry Pi temperature data logger accessible online with Xively
raspberry pi
20:44, 12th Jun 2013

DS18B20 Temperature Sensor with Raspberry Pi
Measure temperatures with a 1-wire DS18B20 sensor and Raspberry Pi
raspberry pi
20:37, 12th Jun 2013

Simple Raspberry Pi Relay Control over the Internet
Take your first steps in Raspberry Pi home automation - controlling a relay
raspberry pi
15:57, 6th Jun 2013

Raspberry Pi Flashing LED with GPIO and Python
Find out how to set up Raspberry Pi to flash an external LED using GPIO
raspberry pi
15:57, 6th Jun 2013



REUK Shop

Popular Items


REUK SUPER LDR DUSK DAWN RELAY CONTROLLER
Multi-function light detector triggered light/dark dawn/dusk relay controller
£19.95 each.
Complete Circuits



KARASOULI SCC 20 CHARGE CONTROLLER
20A rated wind turbine charge controller and dump load controller with blocking diode and heatsink
£43.95 each.
Renewable Energy System Parts



2013 SOLAR PUMP CONTROLLER WITH RELAY
New solar water heating pump controller with fitted 10A relay
£25.99 each.
Complete Circuits



REUK SUPER POULTRY LIGHTING CONTROLLER
Control up to 8 Watts of LED spotlights to stimulate egg production in birds
£29.99 each.
Complete Circuits



REUK SUPER TIMER 2
User programmable 12VDC powered 16A rated repeating relay timer. 1 second to 99 hours ON and OFF times
£23.99 each.
Complete Circuits



300 WATT POWER INVERTER
Convert 12V DC battery power into 230 AC to power portable televisions, computers, video recorders etc. 300 Watt power rating - peak power 600 Watts
£29.99 each.
Renewable Energy System Parts



CONVERTED PROGRAMMABLE DIGITAL TIMER RELAY
Mains powered programmable timer converted to low voltage with relay board
£21.99 each.
Renewable Energy System Parts



12 VOLT REGULATOR
Supply a fixed 12.0 Volt DC to your devices (up to 0.7 Amp output)
£4.79 each.
Complete Circuits



MR16 CERAMIC BULB HOLDER
Bulb holder for 12 Volt LED spotlight bulbs
£1.39 each.
Energy Efficient Lighting