So I've had a look around for water level sensors and I'm a bit stuck on which to use. I was going to use a float switch to just tell me when the level is too low but I want to use a vertical float instead of one of the horizontal ones but I'm not sure if I can submerge the whole thing, and the small moving bit isn't large enough to reach the 'low level' that I want. A capacitive one using multiple cables to give a more accurate level would be nice but my water is for growing plants and it would just hydrolyse my nutrients and leave corroded metal in my water. I was thinking about an ultrasonic sensor to bounce the sound up off the water and give an indication of level, but I heard that doesnt work well in small containers? and also I will have plant roots in the water so I guess that will interfere with it.
Well I wasn't sure if I can have the top of the float submerged. It looks like it had a thread on it and then the wire comes out of the top and run off to the connector. I was unsure if water can pass above this thread and over the external wire incase it corroded the inside of the float. This is ok?
Carlo060:
A capacitive one using multiple cables to give a more accurate level would be nice but my water is for growing plants and it would just hydrolyse my nutrients and leave corroded metal in my water.
Why not use insulated wires so the metal does not contact the water?
You may even be able to put a capacitive sensor on the outside of the tank so it never contacts the water.
Insulated wires still wouldn't work as for a circuit to be made the current has to flow through the water and by doing so can interact with my salts. The reed switch would work, I have bought one but it only shows on and off so cant give me a level reading but can tell me if its below or above a set point. I've seen pressure sensors which would be perfect but they are pretty expensive.
For a capacitive sensor to sense water level it has to transmit a current through the water to create the circuit ... by doing so the current can hydrolyse the salts in the solution.
If the current doesn't travel through the water the water level is not sensed.
Carlo060:
For a capacitive sensor to sense water level it has to transmit a current through the water to create the circuit
...
If the current doesn't travel through the water the water level is not sensed.
I don't think so. My smartphone has a capacitive touch screen: the glass is not conductive so no current travels through my finger's skin, yet it's able to sense my finger anyway. And my finger is made of mostly water.
That page actually recommends that you insulate your capacitive sensor.
It even says it can work though up to 1/4" of insulator, so you may be able to put your sensor on the outside of your tank so it doesn't contact the liquid at all.
Why not use some form of float switch similar to what you find in toilets? Just Add 2 rigid mechanical arms with a hinge at a relatively right angle and as it floats up, it will move the arms until it actuates a mechanical switch completely outside of the water. This assumes the float switch cannot move significantly within the container.
mirith:
Why not use some form of float switch similar to what you find in toilets? Just Add 2 rigid mechanical arms with a hinge at a relatively right angle and as it floats up, it will move the arms until it actuates a mechanical switch completely outside of the water. This assumes the float switch cannot move significantly within the container.
I think the OP wants to measure the level in small increments over a large range. But, the idea is still valid -- a float on an arm, with a potentiometer at the pivot point above the waterline. That's basically the way gas gauges in automobiles work.
Usually a phone screen has a capacitive layer and another layer separated. When you press they touch and it works out your position.
But for it to sense water level the current has to travel through the water .. how else do you think it works?
I have a float at the moment but that will just give low level or high level ... it would be nice if I could get a rough reading of level no matter how inaccurate.
I'm a chemical engineer and we use pressure and ultra sonic sensors in fluids where capacitive sensors etc are dangerous (eg flammable liquids) and these would be great but expensive.
Carlo060:
Usually a phone screen has a capacitive layer and another layer separated. When you press they touch
No.
Many types of sensors use capacitive sensing, including sensors to detect and measure proximity, position or displacement, humidity, fluid level,
... There are two types of capacitive sensing system: mutual capacitance,[3] where the object (finger, conductive stylus) alters the mutual coupling between row and column electrodes, which are scanned sequentially;[4] and self- or absolute capacitance where the object (such as a finger) loads the sensor or increases the parasitic capacitance to ground.
... The greater resolution of PCT allows operation with no direct contact, such that the conducting layers can be coated with further protective insulating layers, and operate even under screen protectors, or behind weather and vandal-proof glass. Because the top layer of a PCT is glass, PCT is a more robust solution versus resistive touch technology. Depending on the implementation, an active or passive stylus can be used instead of or in addition to a finger. ... Gloved fingers may or may not be sensed, depending on the implementation and gain settings
Contact with a conductive medium is not necessary for capacitive sensing.
The electrical current from your hand must either alter the sensor in someway in order to be detected .... or you press together two plates and it works out your position that way ...
Carlo060:
The electrical current from your hand must either alter the sensor in someway in order to be detected .... or you press together two plates and it works out your position that way ...
Did you read the Wikipedia article I posted?
Yes, your hand or liquid must be conductive, but it need not have any voltage potential itself, and direct contact is not necessary. It will work though an insulator.
If you're trying to sense deionized or distilled water or other nonconductive fluid, then yeah, it won't work. But regular water has minerals like magnesium that makes it conductive. In fact TDS (Total Dissolved Solids) sensors work by measuring the conductivity of water. If your water has hydrolyzable nutrients in it, it's a good bet it's conductive enough for non-contact capacitive sensing.
Surely if it cant be used to sense deionized water ie it cant be used to sense things that arent capacitive ei things that wont conduct electricity then it still indicates the current MUST PASS THROUGH THE LIQUID! ... If the current need not pass through the liquid then it wouldn't matter if the liquid could or could not conduct. No I didn't read the wiki you posted as I won't read things that other people can't phrase themselves.
Of course current does flow, but it is alternating directions. And it does require insulation to be a capacitive sensor. If it is pure water, the water is just a dielectric. I'm not a chemist, so I can't say how those alternating currents may affect the minerals dissolved in water beyond just jiggling them.
With a very high driving resistor, the currents should be very low. I am unsure if this allows partly conductive water, such as tap water, to act more as a dielectric than a conductor, but it certainly works. I have used this method for sensing water levels several times. And it will work for deionized or steam distilled water (without adding metals to the water), if the wires are not too far apart, as the water now acts purely as dielectric.
When I've used capacitive level sensing, it has been in situations where the composition of the fluid is constant. Inkjet ink tanks, gasoline, etc. and it must be calibrated for that fluid, and have some kind of temperature compensation if it isn't going to be in a temperature controlled location.
I phrased my position myself, several times. You weren't listening to me, so I thought maybe you would appreciate a second opinion.
as I won't read things that other people can't phrase themselves.
Well aren't you just full of yourself. If you're so smart, why are you here asking for help instead of solving your own problem?
I have used this method for sensing water levels several times. And it will work for deionized or steam distilled water (without adding metals to the water), if the wires are not too far apart, as the water now acts purely as dielectric.
Interesting! Because presumably pure H2O has a slightly different dielectric than air, so perhaps you could say we're sensing the absence of air rather than the presence of liquid? That's cool.