Hello,
I hope your are still around about this topic.
I very very oft read that we need to take twice the measure by inversing the polarity. As say the doc
A special circuit is needed to measure the electrical resistance of the Watermark sensor. DC currents
must not be allowed to flow through the wet part of the circuit, or else irreversible reactions
will occur and spoil the readings. AC excitation avoids these problems, by reversing the polarity
of the current many times per second, so that no net reaction takes place at either electrode
In your above sketch, you do not inverse the polarity and it's look like you read 10 time with the same polarity.
However, in the above schema, it look like you power (3.3 at the sensor) once the WATERMAK, and then 3.3 at the resistance.
Could you explian me your sketch code? And what does the capacitor?
Thank a lot..