Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3436

Automation, sensing and robotics • gpiozero button increase sensitivity (water level detection)

$
0
0
I have a (mostly) working simple program controlling a pump in my cellar to keep the water level down to a certain level and maximising the 'resting' time of the pump. I am using 3 probes - upper level, lower level and common ground. Using this arrangement as gpiozero buttons, I get signals from upper-to-ground and lower-to-ground but if all three probes are in the water only one probe is detected as being pressed.
I figured the problem to be related to high resistance of clean water and crosstalk between the probes ... and 'fixed it' with the addition of a small amount of salt :-0
Is there a relatively simple way to increase the sensitivity of the edge detection to avoid the chemistry - or is your experience that doing so makes it too unstable? Or any experience of using say copper and zinc probes rather than stainless ones - but that sounds like creating a battery and confusing additional voltages ?
My current control system is more analog - involving plastic tubs with different sized holes - but it has run for 25 years :-)

Statistics: Posted by westdale — Wed Oct 30, 2024 12:38 am — Replies 1 — Views 26



Viewing all articles
Browse latest Browse all 3436

Trending Articles