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

Understanding Liquid Sensors



Understanding Liquid Sensors

Learn more about liquid sensors and their limitations compared to float switches

water | electronics
Printer Friendly Version Print Article     

In our article Float Switch Water Level Measurement we looked at how float switches can be used to detect when water in a vessel reaches a certain height. In that same article we introduced liquid sensors, with further information available in our REUK Shop product description for the Liquid Sensors we sell.

Liquid Sensor


The Difference Between a Liquid Sensor and a Float Switch

A float switch is a mechanical switch which is either ON or OFF - i.e. current is can flow through it or not. A liquid sensor on the other hand contains components which attempt to recreate the functionality of a mechanical switch but with certain limitations.

If, for example, you have a 12VDC source you want to pass through a liquid sensor when the sensor is submerged in water, 12V will flow through it as desired. However, if you place a slightly moist finger across the sensor contacts a limited current at up to 6 or 7 Volts will be able to flow through the liquid sensor. If you are connecting the sensor directly to a 12V rated relay or light bulb, then this will not be a problem since the relay/light will require more current than is available at a higher voltage than is available.

Liquid Sensor Memory

Inside a liquid sensor is a small capacitor. If you connect a liquid sensor to a voltage source (say 12V), and then dip the sensor in water for a second - 12V will flow through the sensor. If you then disconnect the liquid sensor from the voltage source, dry it thoroughly, and wait for a few minutes, that capacitor will still have approximately 12V across it. Therefore, if you then connect the dry water sensor back up to the voltage source and measure the voltage coming through it using a voltmeter, you will find that 12V will still pass through it despite the fact that the water sensor is now bone dry.

If you now connect a load (for example a 12V light bulb) to the dry liquid sensor output, the bulb will flash on for a split second and then turn off as the liquid sensor capacitor quickly discharges (and is not recharged since it is dry). Therefore, if you intend to use a liquid sensor to switch a light bulb, relay, or other similar load directly, everything will operate as you would expect: when the liquid sensor is submerged the light/relay will turn ON, and then the sensor is removed from the liquid the light/relay will turn OFF.

Liquid Sensors and Transistors

Problems will arise however if you attempt to connect the output of the liquid sensor directly to small loads such as a transistor or integrated circuit since they will draw just a tiny current. If the internal liquid sensor capacitor has 12V across is (from being recently submerged) it could take a long time for a transistor to draw sufficient current through the (now dry) sensor to bring its voltage down to the level at which the transistor will turn off the device it is controlling.

As an example, we put together the following circuit:

Using a liquid sensor with a transistor

The circuit is designed to turn ON an LED bulb whenever the liquid sensor is submerged in liquid, and turn OFF when it is taken out of the liquid. However, in reality the circuit does not work. When the sensor is first submerged the LED bulb lights up as required; but when the sensor is lifted out of the water the LED stays on brightly for the first five seconds and then slowly dims. Measuring the voltage coming through the liquid sensor, it can be seen to go down, rapidly at first (due to the current draw of the bright LED) falling to 5V in around 5 seconds, and then much more slowly (as the LED dims and eventually turns off) so that after 1 minute it is still at 1.85V and dropping by just 0.01V each second.

In addition, if the liquid sensor is submerged in water, but with the LED disconnected, and the liquid sensor then dried off and left for 10 minutes, when the LED is reconnected it lights up (before dimming as before) since the liquid sensor capacitor has not had any load on it to discharge it. In effect the liquid sensor has remembered detecting water.

Therefore, in order to connect the liquid sensor directly to a transistor (or other low current device) and still generate accurate results, a way has to be found to short circuit the liquid sensor capacitor when it is dry and not under load. This is easily achieved by adding a load - a simple resistor will do the job - as shown in the modified circuit below:

Using a liquid sensor with a transistor, and adding a resistor to short out the internal capacitor

Now when the liquid sensor is removed from liquid the LED dims from full brightness to off in half a second, and the measured voltage coming through the sensor falls from 12V to <0.20V in just under one second.

The lower the value of the resistor, the faster the liquid sensor voltage will fall, but the more power will be wasted (as heat in the resistor) when the liquid sensor is in water. Also, using a low value of resistor (< 10K) will make it take longer for the liquid sensor output to get up to the supply voltage (or prevent it getting there at all). For example, when we used a 1K resistor in the circuit above, the voltage output from the liquid sensor never got over 10.2V (supply was 12.0V) even when the sensor was submerged.

A certain amount of experimentation can be required to set up a liquid sensor controlled system in the way shown above. Sometimes a better alternative is to use the liquid sensor to directly control a relay, and use current flowing (or not) through the relay switch as the 'water detected' signal which can be sent to an IC or transistor without problems. Or, space permitting, use a float switch.
Article Last Modified: 12:16, 2nd Feb 2008

Comment on this Article

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


Recommended Related Articles

People who read this article also enjoyed the following articles:

Float Switch Water Level Measurement
Find out how to use float switches in renewable energy applications
Article Last Modified: 12:07, 28th Jul 2008
water | electric circuit

Automatic Pump Shut Off Circuit
Put together an automatic system to switch off a pump when there is no more fluid left to pump
Article Last Modified: 14:54, 19th Nov 2007
water | electric circuit

Stepper Motor Basics
Learn more about stepper motors and their use in RE electricity generation
Article Last Modified: 09:54, 4th Apr 2007
wind | education

Examining a Stepper Motor
Read how easy it is to understand the wiring of a stepper motor
Article Last Modified: 08:58, 24th Mar 2007
general | education

Smoothing Capacitors
Find out more about the uses of smoothing capacitors in renewable energy circuits
Article Last Modified: 11:47, 4th Apr 2007
electric circuit | education

Relays and Renewable Energy
Find out more about relays and their uses in renewable energy applications
Article Last Modified: 10:50, 24th Oct 2008
electric circuit | electronics | general

Reed Switches
Find out more about reed switches and their uses in RE
Article Last Modified: 09:54, 4th Apr 2007
electric circuit | electronics | wind

Make a Waterproof Temperature Probe
Find out how to make a waterproof temperature probe
Article Last Modified: 16:37, 1st Jun 2009
electronics | heating | water

Electricity with Stepper Motors
Find out the basics of generating electricity with stepper motors
Article Last Modified: 17:07, 10th Jun 2008
wind

Hard Disk Drive Magnets For Wind Turbines
Obtain super strong magnets from old hard disk drives to use in wind turbine alternators
Article Last Modified: 15:25, 14th Apr 2007
wind

© 2006-2010 REUK - All Rights Reserved
Page Last Updated on 10th March 2010 at 01:48:33pm

Latest
Articles


Review of Wind Power Peter Musgrove
A review of Wind Power by Peter Musgrove - Cambridge University Press
wind
13:48, 10th Mar 2010

Power Predictor from Better Generation
Find out about the new Power Predictor from Better Generation - solar and wind power data logger
wind
17:24, 2nd Mar 2010

Maximising Air Conditioner Efficiency
Find out how to use air conditioning efficiently
energy efficiency
10:36, 2nd Mar 2010

Energenie 30 Minute Rundown Timer
A device to automatically switch off power to a socket after 30 minutes
shopping
11:35, 27th Feb 2010

UK Renewable Energy Degree Courses
Study renewable energy at university in the UK
education
16:53, 17th Feb 2010

Wireless Electricity Monitors
Up to date details of the wireless electricity monitors for sale in the UK
shopping
16:10, 16th Feb 2010

Investing in Renewable Energy Companies
Invest money in the UK renewable energy sector
general
16:53, 15th Feb 2010

See and Save Domestic Electricity Monitor
Product review of the See & Save Domestic Electricity Monitor
shopping
13:47, 13th Feb 2010



REUK Shop

Popular Items


REUK SUPER TIMER
User programmable 12V powered 10A rated repeating relay timer. 1 second to 99 hours ON and OFF times
£19.99 each.
Complete Circuits



SOLAR PUMP CONTROLLER WITH RELAY
Solar water heating system microprocessor controlled circuit with fitted 10A relay
£25.99 each.
Complete Circuits



12 VOLT 5 WATT SOLAR PANEL
Waterproof 12 Volt 5 Watt Solar Panel with aluminium frame - 290mm x 205mm x 17mm with fitted 5m leads
£33.99 each.
Solar Power



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 1 Amp output)
£4.99 each.
Complete Circuits



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