GPIO cable, how to use?


11 posts
by normal » Mon Jul 02, 2012 8:33 pm
I bought one of those GPIO ribbon cables from adafruit but I'm not sure how to use it. I also got a breadboard and solid jumper cables, and looking at the free end of the cable, the pins are mirrored. If I keep that in mind, would it be worthwhile to buy some flexible male-to-male jumper cables to connect them without worrying about anything shifting around? The solid cables work but it makes it hard to work with.
Posts: 61
Joined: Sun May 27, 2012 9:50 pm
by Grumpy Mike » Mon Jul 02, 2012 8:36 pm
Not sure if there was a question in their somewhere.
If you want some C code that flashes lights or want to know how to have a buffered output the see:-
http://www.thebox.myzen.co.uk/Raspberry/Buffer_Board.html
User avatar
Posts: 784
Joined: Sat Sep 10, 2011 7:49 pm
Location: Manchester (England England)
by domesday » Mon Jul 02, 2012 8:42 pm
The holes in the IDC cable are much bigger than the ones in a breadboard, so the male-male jumper wires would not make a good connection. There is an article in the latest MagPi magazine explaining how to solder your own. If you don't fancy soldering then you would probably be better off with some male-female header wires, some links below ..

http://www.sparkfun.com/products/9140

https://www.adafruit.com/products/826

http://www.tandyonline.co.uk/electronic ... -10pk.html
Posts: 258
Joined: Fri Oct 21, 2011 5:53 pm
Location: UK
by normal » Mon Jul 02, 2012 10:03 pm
I assume I can just cut off one of the ends of my cable and solder pin headers onto those. The only thing I'm left wondering is why they're even made that way. I'm fairly sure connecting two Pis together with the cable isn't going to end well, so what does it connect to?
Posts: 61
Joined: Sun May 27, 2012 9:50 pm
by domesday » Mon Jul 02, 2012 10:08 pm
Yes you could cut the end of the cable off and solder your own pins on, but then you will have pins that you will have to make sure are inserted in the breadboard all the time used or not so that the pins do not hang free and touch. The Adafruit ribbon cable might work with the Gertboard when it becomes available but in the mean time it has little use unless you are making your own PCB with 26-way header on it.
Posts: 258
Joined: Fri Oct 21, 2011 5:53 pm
Location: UK
by Grumpy Mike » Tue Jul 03, 2012 1:40 am
You can always use it to make one of these:-
http://www.thebox.myzen.co.uk/Raspberry/Breakout.html
It is made from Veroboard and allows screw access to the Pi's GPIO.
User avatar
Posts: 784
Joined: Sat Sep 10, 2011 7:49 pm
Location: Manchester (England England)
by pjc123 » Tue Jul 03, 2012 2:25 am
That's funny, I just asked the same exact question today on the Community > General Discussion thread titled "GPIO to breadboard .1" wide to .3" wide header converter". The user Lorian came up with this, which is pretty close to what I am looking for:

http://www.ebay.co.uk/itm/Breakout-Head ... m1c27148ef
My Project Website:
http://www.flaminghellmet.com/
Posts: 910
Joined: Thu Mar 29, 2012 3:37 pm
by Gert van Loo » Tue Jul 03, 2012 4:21 pm
User avatar
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2051
Joined: Tue Aug 02, 2011 7:27 am
by normal » Thu Jul 05, 2012 7:31 pm

That's exactly the kind of thing I was expecting for. Wonder why they took so long to make the one thing it actually fits.

No matter tho, I just got this for now http://www.adafruit.com/products/801
Posts: 61
Joined: Sun May 27, 2012 9:50 pm
by cpswan » Fri Aug 03, 2012 1:05 pm
Posts: 47
Joined: Tue May 15, 2012 9:52 am
by TonyD » Sun Aug 05, 2012 2:54 pm

Yeap, pretty easy to make one yourself, heres one I made from Instructables

Image
Tony
User avatar
Posts: 340
Joined: Thu Sep 08, 2011 10:58 am
Location: Newcastle, UK