Yes, my project has come to this. I need to waterproof a water sensor.
I have the following sensor. Do you think I can cover / spray / tape the bottom section in the photo including the jumper connections and the small LED so that the top section where the parallel wires are just exposed to water, and then submerse this sensor into a deep bucket?
I'm hoping I can use silicone , hot glue, epoxy or conformal coating but how reliable would this be?
this is not a soil moisture device.
you can use pretty much any metals to test for moisture, you do not need to buy a board
and you can put the electronics in an enclosure.
it would be better to provide the details of what you want and we can offer solutions, not band-aid fixes.
He said he wants to put it in a bucket. I'm guessing this is to sense the presence or absence of water in a deep bucket.
Well, the thing is, you don't see sensors like this in commercial products. They aren't reliable because they are always subject to corrosion. It might only work for a day or a week. If that's all you need, then glob lots of silicone sealant onto it and have fun with your experiment.
For long term use, you need a way to get the sensor out of the water. The best level sensor is an ultrasonic distance sensor looking down on the water surface. This will have difficulty differentiating between almost-empty and empty. A capacitive sensor is completely insulated from the water and may work. A float type sensor is probably best. There are a lot of float switches available as commercial products.
I read somewhere that float Arduino type switches from china arent much reliable because of their mechanical nature. However these rainsensors are awful. You are right.
I used Epoxy to cover the wires and the led on the sensor however the sensor part started corroding after only a day immersed in water.
So the original question was waterproofing the component section of the board.
Try thinning clear silicone with acetone or paint thinner and paint it on with a disposable brush. It'll act like a flexible conformal coat that can be scraped off if needed.
There are many products on the market for waterproofing electronics. Conformal coating is usually the best. I have used a clear rubberized spray, liquid tape, and liquid tape in a spray can and I also have several types of conformal coating in spray cans. All of them make it a pain when it comes to service. Some more than others.
Any time you have probes in water there will be electrolysis taking place and small amounts of the metal will be removed. Some metals will be less prone to electrolysis.