Skip to main content
added 7 characters in body
Source Link

I have no problem turning on and off pins on my rpi4 (using both gpio on the terminal and Gpiozero with python3) however when I connect a wire (which is connected to a switch) to the pin... it turns the pin output to 0. When I disconnect, it goes back to 1.

What is the deal here? When I take the connection and attach it to an always on 5V pin - the switch turns on!

Any thoughts?

I have no problem turning on and off pins on my rpi4 (using both gpio on the terminal and Gpiozero with python3) however when I connect a wire (which is connected to a switch) to the pin... it turns the pin output to 0. When I disconnect, it goes back to 1.

What is the deal here? When I take the connection and attach it to an always on 5V pin - the turns on!

Any thoughts?

I have no problem turning on and off pins on my rpi4 (using both gpio on the terminal and Gpiozero with python3) however when I connect a wire (which is connected to a switch) to the pin... it turns the pin output to 0. When I disconnect, it goes back to 1.

What is the deal here? When I take the connection and attach it to an always on 5V pin - the switch turns on!

Any thoughts?

Source Link

GPIO pin turns off immediately when switch is connected, turns back on when disconnected

I have no problem turning on and off pins on my rpi4 (using both gpio on the terminal and Gpiozero with python3) however when I connect a wire (which is connected to a switch) to the pin... it turns the pin output to 0. When I disconnect, it goes back to 1.

What is the deal here? When I take the connection and attach it to an always on 5V pin - the turns on!

Any thoughts?