Using two wires to detect water - making your own water sensor
if want use 2 wires detect water in basement. i wondering if can put 5v voltage regulator down on 1 probe, , 1/2 inch away put in other probe input atmega? what if standing water next pipe? or somehow conducts ground? will need put resistor on 5v line in case don't short out voltage regulator?
i'm wondering happens when water conducts ground - atmega see 5v if it's being pulled down ground?
i attached drawing of thinking.
edit: i see replies missed couple of details: see reply in post #11.
i'm wondering happens when water conducts ground - atmega see 5v if it's being pulled down ground?
i attached drawing of thinking.
edit: i see replies missed couple of details: see reply in post #11.
i think pullup resistor on input pin, gnd wire nearby, better.
signal read high until water allowed contact gnd wire.
experiment digitalread , analogread.
signal read high until water allowed contact gnd wire.
experiment digitalread , analogread.
Arduino Forum > Using Arduino > General Electronics > Using two wires to detect water - making your own water sensor
arduino
Comments
Post a Comment