tdenson
Posts: 153
Joined: Tue May 13, 2014 1:51 pm

Connecting to the GPIO pins

Wed Apr 19, 2017 11:11 pm

I want to use only some of the GPIO pins and would like to use a ribbon cable that only has 12 connections in 2 rows of 6. However, is it possible to find ribbon cables that allow plugging in to only part of the GPIO pin header. The only ones I have will not plug in because of solid plastic at the end of the connector.

klricks
Posts: 6706
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Connecting to the GPIO pins

Wed Apr 19, 2017 11:42 pm

Maybe use 'Dupont' connectors. They come grouped in 40 but can be 'peeled' or pulled apart in groups of 6 or whatever or one by one.
Also the ends come in M-M or M-F or F-F configuration. Ebay has them: http://www.ebay.com/itm/T1-3X-40pcs-20c ... Sw0HVWDsfW
I bought a set like that so I would have all 3 types.
Unless specified otherwise my response is based on the latest and fully updated Raspbian Buster w/ Desktop OS.

User avatar
rpdom
Posts: 15897
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Connecting to the GPIO pins

Thu Apr 20, 2017 5:41 am

Further to the above answer, if you want to make the cable have 2x6 connectors on each end, you can remove the plastic shells from the ends by lifting the tab with a sharp object, buy some "dupont shells 12P" and push the connectors into those. I found packs of 20 of those shells on ebay for under £2 (from China).

tdenson
Posts: 153
Joined: Tue May 13, 2014 1:51 pm

Re: Connecting to the GPIO pins

Thu Apr 20, 2017 9:17 am

Actually, I've come up with a novel but rather radical solution. The GPIO pins that are blocking the end of the plug are not needed so I have cut them off and now I can use standard IDC connectors.

Return to “Interfacing (DSI, CSI, I2C, etc.)”