I'm new to Arduino and still learning the basics. I tried reading water level by using this sensor I left it in the water for about 5 minutes then I noticed it changing color (some parts darker than other)like the water is still over it . So my question is do Water sensors really rust ? or is it my own imagination?
3 Answers
The color change you observed is probably caused a galvanic reaction between metals in the sensor and other metals that are present, such as the tank, piping, or dissolved metals in the water. Do not modify the parallel strips of metal on the sensor. This will render the sensor useless. To reduce the effects of galvanic corrosion, you can: 1) Reduce the current passing through the sensor. To do this, sample the sensor less frequently. For, example, sample it once every second. 2) If possible, remove sources of metal from the water. For example, replace metal pipes with PVC, and replace screws with plastic zip-ties. 3) Move the sensor further away from sources of metal. 4) Place a grounded sacrificial zinc in the water, close any other metal sources. If the water is circulating, place the zinc near the inflow opening. 5) Remove stray or electrical currents from the water. Connect the "-" pin (GND) and the water to the same ground.
-
I agree with every statement in this response but the one about the strips on the sensor. From experience, This sensor is not effected or changed from tining the strips. That is not to say that other sensors would not be more sensitive to this. Wonderful insight!– ButtersMar 1, 2015 at 21:57
Most metals will tarnish, rust, or corrode when left in water, especially in the presence of an electric current. To be safe, a water sensor should either be gold-plated or made of a conductive, insoluble, non-metallic substance.
-
3& running AC through it helps as well - reverses the electrolysis process every cycle. Mar 1, 2015 at 8:48
I have that same sensor, and found a couple things to help with this issue. The first thing that I did with min was tin the contacts with solder (All 10 'sensor contacts' all the way down) and also, using the GPIO, only power it on about 1 second before I read it, and turn it off immediately after. By reducing the amount of time current is running through it, you reduce the tarnish, and the solder i tined everything with is less likely to corrode than the raw contacts.
-
I'll use GPIO only at the moment until I get a soldering iron. Thanks !– ArwaShMar 1, 2015 at 20:53