User avatar
Gomez
Posts: 40
Joined: Mon Dec 15, 2014 3:42 am
Location: Porto, Portugal

basic doubt about gpio with tact switches

Tue Dec 30, 2014 7:14 am

I would like to connect 12 tact buttons on the gpio but there is only 8 gnd, can I connect more than one button to the same ground or is there any other workaround to this issue?

This is basic stuff that I can't just simply try out instead of asking cuz my pi didn't arrive yet so I am gathering the most information that I can to make my project easier later on.

oh and by the way, I read on google that a teensy can solve this using the USB port instead but I am on a budget..
Thanks ;)
Last edited by Gomez on Tue Dec 30, 2014 7:19 am, edited 1 time in total.

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: basic doubt about gpio with tact switches

Tue Dec 30, 2014 7:19 am

No worries. All grounds are the same. You can connect all your switches to the same ground, or some to one, and some to another.

Have fun!

User avatar
Gomez
Posts: 40
Joined: Mon Dec 15, 2014 3:42 am
Location: Porto, Portugal

Re: basic doubt about gpio with tact switches

Tue Dec 30, 2014 7:23 am

ame wrote:No worries. All grounds are the same. You can connect all your switches to the same ground, or some to one, and some to another.

Have fun!
That was fast answering, thank you very much :)

Return to “Beginners”