Hi there,
I'm using an arduino to detect water level with the analog pins - to detect current though the water.
The problem is that sending 5v through the water causes corrosion on the electrodes, so I want to only turn on the 5v though the water during sensing.
I tried hooking up an NPN transistor, but that didn't work - I think I need a PNP transistor for this. Can someone please describe the circuit I need to do this (i.e. 5v from arduino gets supplied to the analog pin when the transistor is turned on via a digital pin)
Cheers for the help
I'm using an arduino to detect water level with the analog pins - to detect current though the water.
The problem is that sending 5v through the water causes corrosion on the electrodes, so I want to only turn on the 5v though the water during sensing.
I tried hooking up an NPN transistor, but that didn't work - I think I need a PNP transistor for this. Can someone please describe the circuit I need to do this (i.e. 5v from arduino gets supplied to the analog pin when the transistor is turned on via a digital pin)
Cheers for the help