Reading switches with no common ground on Raspberry Pi Pico

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

Reading switches with no common ground on Raspberry Pi Pico

Post by /RaspberryPi »

Image I have been trying to use a four-button PCB I had lying around in my house for one of my projects with a Raspberry Pi Pico. The problem is that I have never worked with such a layout that doesn't use a common ground for the buttons.
This is the PCB:
https://preview.redd.it/j4kcr5nxw2j91.j ... p&a982a5f9
And this is a schematic I drew of it:
https://preview.redd.it/ivhh75o1x2j91.p ... p&06716cbd
How can I interface with this PCB and know which button is being pressed in code?

submitted by /u/Mauker_
[link] [comments]

More...
Post Reply

Return to “Raspberry Pi Forum”