Hello,
There are many complex solutions to water detection on the forum including alternating current options to prevent corrosion but a simple voltage divider technique which uses zero addition components apart from 2 pieces of wire and works well on Arduino type boards but does not seem to work on the picaxe.
The circuit is as follows on the Arduino:
GND ------------------------------------> Water
+5v -----1Meg-ohm resistor-----------> Water
|
ADC Pin <----------------------
The solution on the Arduino needs tuning as the value of the ADC pin when water is detected varies depending on cabling thickness and distance, type of electrodes in the water etc. and can drift with time but the technique has proved sufficiently reliable for actual use.
But it would be so much nicer if the Arduino board (even micro ones or cheap clones) could be replaced by one small chip (such as a picaxe 08m2), a capacitor and two resistors and perhaps a simple interface to set the ADC value that corresponds to water detection.
Thank you for any ideas
There are many complex solutions to water detection on the forum including alternating current options to prevent corrosion but a simple voltage divider technique which uses zero addition components apart from 2 pieces of wire and works well on Arduino type boards but does not seem to work on the picaxe.
The circuit is as follows on the Arduino:
GND ------------------------------------> Water
+5v -----1Meg-ohm resistor-----------> Water
|
ADC Pin <----------------------
The solution on the Arduino needs tuning as the value of the ADC pin when water is detected varies depending on cabling thickness and distance, type of electrodes in the water etc. and can drift with time but the technique has proved sufficiently reliable for actual use.
But it would be so much nicer if the Arduino board (even micro ones or cheap clones) could be replaced by one small chip (such as a picaxe 08m2), a capacitor and two resistors and perhaps a simple interface to set the ADC value that corresponds to water detection.
Thank you for any ideas