Arucarn
Posts: 6
Joined: Sat Apr 06, 2013 7:54 pm

GPIO and Breadboard

Sun Nov 17, 2013 3:52 pm

Hey guys :-) I've had this really cool idea to create a games controller for my Raspberry Pi using the Adafruit Pi Cobbler so that I can use it for when I write games. I've created a project in a program called Fritzing which allows you to create virtual breadboards. Please can you take a look at this picture (https://www.dropbox.com/s/xdc2q71m0ab0w2y/fritzing.png) and tell me if there are any flaws and how to fix them. Thanks :-)

User avatar
Burngate
Posts: 6302
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: GPIO and Breadboard

Sun Nov 17, 2013 5:16 pm

I'm sure you didn't mean it, but it seems three of the switches at the right connect the power rails to ground!
I've taken the liberty of cutting the important bit:
fritzing-cut.png
fritzing-cut.png (36.73 KiB) Viewed 837 times

Arucarn
Posts: 6
Joined: Sat Apr 06, 2013 7:54 pm

Re: GPIO and Breadboard

Sun Nov 17, 2013 6:04 pm

Burngate wrote:I'm sure you didn't mean it, but it seems three of the switches at the right connect the power rails to ground!
I've taken the liberty of cutting the important bit:
fritzing-cut.png
Thanks :-) I'm new to electronics. So which pins on the switch are positive and negative and where should each pin go? :-)

User avatar
Burngate
Posts: 6302
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: GPIO and Breadboard

Mon Nov 18, 2013 12:18 pm

Switches in general don't have dedicated positive and negative ends - they're just bits of bent metal that touch when you press it, so either way round is good.

As for the rest, I've just written a 50-page document explaining in detail the whys and wherefores about connecting a switch to the Pi.
But since it's been done before, better than I can do, I've deleted it.
So go to http://www.themagpi.com/ and read all about it.

Arucarn
Posts: 6
Joined: Sat Apr 06, 2013 7:54 pm

Re: GPIO and Breadboard

Mon Nov 18, 2013 4:20 pm

Burngate wrote:Switches in general don't have dedicated positive and negative ends - they're just bits of bent metal that touch when you press it, so either way round is good.

As for the rest, I've just written a 50-page document explaining in detail the whys and wherefores about connecting a switch to the Pi.
But since it's been done before, better than I can do, I've deleted it.
So go to http://www.themagpi.com/ and read all about it.
Thanks :-)

Return to “General discussion”