I have 2 electrodes placed in a water bucket for electrolysis, electrode[A], and electrode[B]. I am supplying a positive DC voltage to electrode[A] and connecting electrode[B] to the ground and this polarity changes after half an hour and so on. What I am trying to do is create another small piece of an electrode which I am calling water sensor here.
Whenever the water level in the water bucket touches the water sensor or whenever the water sensor is submerged inside the water, only then electrolysis happens otherwise there will not take place any electrolysis.
I have found many DC power supplied water sensors but there seems to be a problem of corroding. I am trying to avoid corrosion.