Dear Radical DIY Forum
since a few days i’m trying to get my GPIO Pin as a Input for the Water Level Sensor working.
Unfortunately all the time the value of the pin is “1”.
I tried three different water level sensors but the value is on everything the same. I measured the sensors with a multimeter and everything seems okay.
My Breadboard is exactly build up like on Kyles tutorial:
Can you explain me, why I have to use this specific GPIO and why the others won’t work?
Also why do i need to change the pinmode to pull-down? Is the external 10k Resistor not already enough?
It is my understanding that an RPi needs a pull up or pull down resistor when connecting a switch as the circuit will be susceptible to electrical noise. You need to state which configuration you are using.
Thanks to you all!
I don’t know what I was doing wrong at all the previous attempts. Maybe the port numbering was incorrect (GPIO numbering vs “global” pin numbering).