bkenobi
Posts: 65
Joined: Sat Jun 21, 2014 4:55 pm

Low profile GPIO jumpers

Fri Jan 02, 2015 12:24 am

I have a Raspi B installed in a basic case. I am not currently using the GPIO's, so I didn't realize when selecting a case that they were basically blocked since the case is too close to the pins to allow a standard 1P Dupont jumper to be installed. I tried to connect a couple jumper wires and found the case did not quite close and the jumper wires we basically pinched at a 90 degree angle. I took a couple jumpers and sanded off as much plastic as I could which looks like it might mostly work, but I'm not very happy with the result since it only saves maybe 1/8".

Does anyone make low profile jumpers? If not, the only real options I see are cutting a slot in the case for the GPIO's, grinding the connectors down even more, or finding a different case.

This is my case:
http://www.vetco.net/catalog/product_in ... s_id=15176

As you can see, the case has a slot for installing a side mount GPIO connector, but I don't need a fully populated header.

DirkS
Posts: 10362
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 12:32 am

You could use something like: https://www.modmypi.com/gpio-accessorie ... -male-pins
Or make your own using https://www.modmypi.com/gpio-accessorie ... ctor-black and a ribbon cable.
Then cut out the parts of the ribbon cable you don't need.

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

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 12:41 am

DirkS wrote:Or make your own using https://www.modmypi.com/gpio-accessorie ... ctor-black and a ribbon cable.
Then cut out the parts of the ribbon cable you don't need.
Or use that same connector and insert wires only at the positions you need. It's a bit fiddly to hold them in place while you crimp it down but it works.

bkenobi
Posts: 65
Joined: Sat Jun 21, 2014 4:55 pm

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 1:41 am

I thought about using something like this:
http://store.acmeun.com/products/26-pin ... angle.html

But, I'm not sure if that would fit (no dimensions provided).

I thought about using a standard ribbon cable and cutting off the extra wires. The only issue I see with that is that right now I'm only planning on using 2 pins (1 GPIO, 1 ground) but if I decide to add another device I'd have to start from scratch to add the other GPIO pins.

I have never seen someone use a vice to attach header connectors to ribbon cable. I tried to do that by hand with a pair of pliers and failed pretty quickly.

DirkS
Posts: 10362
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 10:35 am

ame wrote:
DirkS wrote:Or make your own using https://www.modmypi.com/gpio-accessorie ... ctor-black and a ribbon cable.
Then cut out the parts of the ribbon cable you don't need.
Or use that same connector and insert wires only at the positions you need. It's a bit fiddly to hold them in place while you crimp it down but it works.
That was my first idea, but I thought it would be very hard to keep them in place while crimping it down...

gordon77
Posts: 5036
Joined: Sun Aug 05, 2012 3:12 pm

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 10:38 am

bkenobi wrote:I thought about using something like this:
http://store.acmeun.com/products/26-pin ... angle.html

But, I'm not sure if that would fit (no dimensions provided).

I thought about using a standard ribbon cable and cutting off the extra wires. The only issue I see with that is that right now I'm only planning on using 2 pins (1 GPIO, 1 ground) but if I decide to add another device I'd have to start from scratch to add the other GPIO pins.

I have never seen someone use a vice to attach header connectors to ribbon cable. I tried to do that by hand with a pair of pliers and failed pretty quickly.
Dimensions shown in features list below it on web page !! - (L x W x H) 33.0 x 12.5 x 8.2 mm

DirkS
Posts: 10362
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 10:46 am

bkenobi wrote:I have never seen someone use a vice to attach header connectors to ribbon cable.
There's a video of Gert van Loo demonstrating it: http://www.raspberrypi.org/make-your-ow ... with-gert/

Another idea: make a short ribbon cable with a female connector on one end and a male (box) header on the other.
That way you have all the pins available outside the case

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

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 10:52 am

bkenobi wrote:I have never seen someone use a vice to attach header connectors to ribbon cable. I tried to do that by hand with a pair of pliers and failed pretty quickly.
I thought everyone used a vice!
I know you can buy specially made crimping devices for mega-pounds, but the one time I tried one, it all went pear-shaped. At least with a decent vice gravity keeps it in place while my hands shuffle the cable around.

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

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 1:56 pm

Burngate wrote:I thought everyone used a vice!
Vice, pliers, hammer, shoe (with foot in) and on one desperate occasion, teeth :D

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 2:28 pm

bkenobi wrote:I have a Raspi B installed in a basic case. I am not currently using the GPIO's, so I didn't realize when selecting a case that they were basically blocked since the case is too close to the pins to allow a standard 1P Dupont jumper to be installed. I tried to connect a couple jumper wires and found the case did not quite close and the jumper wires we basically pinched at a 90 degree angle. I took a couple jumpers and sanded off as much plastic as I could which looks like it might mostly work, but I'm not very happy with the result since it only saves maybe 1/8".

Does anyone make low profile jumpers? If not, the only real options I see are cutting a slot in the case for the GPIO's, grinding the connectors down even more, or finding a different case.

This is my case:
http://www.vetco.net/catalog/product_in ... s_id=15176

As you can see, the case has a slot for installing a side mount GPIO connector, but I don't need a fully populated header.

you could get some female pin crimps and either shorten them as much as you desire or bend them to a desired angle, then apply heat-shrink to insulate.

you could wrap bare wire around the pin and apply an empty header connector to hold the wrapped wire in place.
Doug.
Building Management Systems Engineer.

boyoh
Posts: 1468
Joined: Fri Nov 23, 2012 3:30 pm
Location: Selby. North Yorkshire .UK

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 3:31 pm

bkenobi wrote:I have a Raspi B installed in a basic case. I am not currently using the GPIO's, so I didn't realize when selecting a case that they were basically blocked since the case is too close to the pins to allow a standard 1P Dupont jumper to be installed. I tried to connect a couple jumper wires and found the case did not quite close and the jumper wires we basically pinched at a 90 degree angle. I took a couple jumpers and sanded off as much plastic as I could which looks like it might mostly work, but I'm not very happy with the result since it only saves maybe 1/8".

Does anyone make low profile jumpers? If not, the only real options I see are cutting a slot in the case for the GPIO's, grinding the connectors down even more, or finding a different case.

This is my case:
http://www.vetco.net/catalog/product_in ... s_id=15176

As you can see, the case has a slot for installing a side mount GPIO connector, but I don't need a fully populated header.
Why is it as soon as some get a Pi
They want to seal it in a box, and
make the connections inaccessible
I don't think the Pi was made to be
sealed up, The object of the GPIO
pins is to interface with external
connection, this is best don using
a ribbon cable. If you don't want to
use the GPIO pins, Why buy a Pi
you can play games & watch videos
on your home computer.
BoyOh ( Selby, North Yorkshire.UK)
Some Times Right Some Times Wrong

bkenobi
Posts: 65
Joined: Sat Jun 21, 2014 4:55 pm

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 4:32 pm

BMS Doug wrote:you could get some female pin crimps and either shorten them as much as you desire or bend them to a desired angle, then apply heat-shrink to insulate.

you could wrap bare wire around the pin and apply an empty header connector to hold the wrapped wire in place.
this! I sorta considered this originally but thought it would be poor form for some reason. I actually stopped sanding the plastic to make sure the crimped part of the connector wasn't vivisible.

bkenobi
Posts: 65
Joined: Sat Jun 21, 2014 4:55 pm

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 4:36 pm

boyoh wrote:Why is it as soon as some get a Pi
They want to seal it in a box, and
make the connections inaccessible
I don't think the Pi was made to be
sealed up, The object of the GPIO
pins is to interface with external
connection, this is best don using
a ribbon cable. If you don't want to
use the GPIO pins, Why buy a Pi
you can play games & watch videos
on your home computer.
I use this as a Home automation system. I didn't need the GPIO's before since I was using other tech exclusively. GPIO solves one problem for me now, so I want to try it. the case makes it wall mountable, more neat, and less appealing for someone to mess with. I see that many cases have a knock-out for the GPIO's, but mine does not.

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 4:48 pm

boyoh wrote: Why is it as soon as some get a Pi
They want to seal it in a box, and
make the connections inaccessible
I don't think the Pi was made to be
sealed up, The object of the GPIO
pins is to interface with external
connection, this is best don using
a ribbon cable. If you don't want to
use the GPIO pins, Why buy a Pi
you can play games & watch videos
on your home computer.
I had one of my Raspberry Pi model Bs in a home-made case once. It was made by cutting & folding a sheet of A4 card. I took it out to play with the GPIO pins and it's never been cased since. http://www.raspberrypi.org/the-punnet-a ... -for-free/
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

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

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 4:50 pm

boyoh wrote:Why buy a Pi
you can play games & watch videos
on your home computer.
Because my home computer uses a few hundred watts of power and is noisy, while my Pi uses less than a handful of watts and is silent :-)
(Some of my Raspis are in boxes)

User avatar
Mandrewpi
Posts: 339
Joined: Sat Dec 06, 2014 2:58 am

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 5:28 pm

I use a cobbler made for the pi and I can use a breakout board or the connectors
A computer is only as smart as its programmer. ;)

I own:
Pi B rev.2, Pi 2 B, Two Pi 3 B, Two Pi 3 b+, Pi 4 2Gb, Pi Zero 1.2, Pi Zero 1.3, Two Pi Zero Ws.
I'm known elsewhere as mandrew1444

User avatar
aTao
Posts: 1093
Joined: Wed Dec 12, 2012 10:41 am
Location: Howlin Eigg

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 5:41 pm

if you are still stuck then there is always wirewrapping.
I did look for some proper wirewrap wire, but its a daft price.
So.. get some enamelled copper wire, strip the enamel from a few cm at one end then wrap that tightly round a GPIO pin. Start with as close to the end of the wire as you can, hold it with pointy pliers then work up the wire, stopping only when at least 1 turn of enamel has wound onto the pin. It is a pretty secure joint and if the GPIO header pins have any kind of edge to them you actually get a weld at the corners.
>)))'><'(((<

boyoh
Posts: 1468
Joined: Fri Nov 23, 2012 3:30 pm
Location: Selby. North Yorkshire .UK

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 6:50 pm

rpdom wrote:
boyoh wrote:Why buy a Pi
you can play games & watch videos
on your home computer.
Because my home computer uses a few hundred watts of power and is noisy, while my Pi uses less than a handful of watts and is silent :-)
(Some of my Raspis are in boxes)

I'm sorry I did not know that the Pi
has a high power gaming
graphics card with a heat sink
and cooling fan just taking a few
watts
BoyOh ( Selby, North Yorkshire.UK)
Some Times Right Some Times Wrong

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: Low profile GPIO jumpers

Fri Jan 02, 2015 7:00 pm

bkenobi wrote:
BMS Doug wrote:you could get some female pin crimps and either shorten them as much as you desire or bend them to a desired angle, then apply heat-shrink to insulate.

you could wrap bare wire around the pin and apply an empty header connector to hold the wrapped wire in place.
this! I sorta considered this originally but thought it would be poor form for some reason. I actually stopped sanding the plastic to make sure the crimped part of the connector wasn't vivisible.
You should be able to pop the crimp out of the individual connector, look for the catch, push it in and slide the crimp up out of the shell. Then you can bend or otherwise modify the crimp to fit the available height and cover with heat shrink afterwards, the heatshrink doesn't look bad at all.
Doug.
Building Management Systems Engineer.

bkenobi
Posts: 65
Joined: Sat Jun 21, 2014 4:55 pm

Re: Low profile GPIO jumpers

Thu Jan 08, 2015 5:38 am

I removed the plastic jumper housing from both connectors, slipped a length of heat shrink on, bent the metal of the connector to 90 degrees, and hit it with a heat gun. The result is perfect. I can now close the case with the wires running through the slot in the case per design.

One other quick question. I want to connect this to a relay and have it control the GPIO logic on/off where the default will be off and the relay on state would be on. I understand that if I connect the relay to GPIO25 and ground with a pull-up resistor, the default will be high/on/true and the relay on state will be low/off/false. To get the logic I want, would I connect the relay to GPIO25 and 3.3v with a pull-down internal resistor?

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: Low profile GPIO jumpers

Thu Jan 08, 2015 8:31 am

bkenobi wrote:I removed the plastic jumper housing from both connectors, slipped a length of heat shrink on, bent the metal of the connector to 90 degrees, and hit it with a heat gun. The result is perfect. I can now close the case with the wires running through the slot in the case per design.
I'm glad that worked for you.
bkenobi wrote:One other quick question. I want to connect this to a relay and have it control the GPIO logic on/off where the default will be off and the relay on state would be on. I understand that if I connect the relay to GPIO25 and ground with a pull-up resistor, the default will be high/on/true and the relay on state will be low/off/false. To get the logic I want, would I connect the relay to GPIO25 and 3.3v with a pull-down internal resistor?
The relay board connections will depend on the exact model of relay board that you have but normally they have a VCC (+5v), Gnd and signal connection. you would keep the +5v and Gnd connections and the signal would come from (in your case) GPIO 25 with the signal either pulled up to 3v3 or pulled down to 0v depending on your requirements.

I would configure your relay for a power failure safe state: if the power to the relay board fails (relay de-energised) then the contacts will be the same as in this configuration: (GPIO On, Relay board Off).
Doug.
Building Management Systems Engineer.

User avatar
davidcoton
Posts: 5026
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK
Contact: Website

Re: Low profile GPIO jumpers

Thu Jan 08, 2015 9:50 am

bkenobi wrote: I understand that if I connect the relay to GPIO25 and ground with a pull-up resistor, the default will be high/on/true and the relay on state will be low/off/false. To get the logic I want, would I connect the relay to GPIO25 and 3.3v with a pull-down internal resistor?
I'm not sure what you are suggesting. You certainly do not want both an internal pull-down and an external pull-up. If you want the relay contact to be OFF when the GPIO is high (and therefore the relay coil is energised), you can use a Normally Closed (NC) contact. Otherwise the relationship between the GPIO pin and the relay contact depends on the driver circuit, which must also convert the GPIO 3V3 output to the voltage needed by the relay coil. You need to think too about the power-off condition and what happens at start-up, to avoid the relay switching briefly to an unwanted state.
Signature retired

bkenobi
Posts: 65
Joined: Sat Jun 21, 2014 4:55 pm

Re: Low profile GPIO jumpers

Thu Jan 08, 2015 1:32 pm

I must have been confusing in my last message based on the feedback, so I'll clarify/reword. Ignore the relay, as it's not being controlled by the raspi, so it doesn't exist.

I have a contact closure (button) input that I want the logic to be low when the contact is open and high when the contact is closed. I only want to use the internal pull-up or internal pull-down resistors. I believe I should connect my wires to GPIO25 and 3.3v with the internal pull-down resistor enabled. Correct?

BMS Doug
Posts: 3824
Joined: Thu Mar 27, 2014 2:42 pm
Location: London, UK

Re: Low profile GPIO jumpers

Thu Jan 08, 2015 1:53 pm

bkenobi wrote:I must have been confusing in my last message based on the feedback, so I'll clarify/reword. Ignore the relay, as it's not being controlled by the raspi, so it doesn't exist.

I have a contact closure (button) input that I want the logic to be low when the contact is open and high when the contact is closed. I only want to use the internal pull-up or internal pull-down resistors. I believe I should connect my wires to GPIO25 and 3.3v with the internal pull-down resistor enabled. Correct?
Oh, you want to use the Pi to monitor the contact state of the relay, sorry I misunderstood.

Yes, the situation you have described should work. current limiting resistors are normally used to ensure that the GPIO won't burn out if it becomes an output for any reason (accidents do happen).
Doug.
Building Management Systems Engineer.

Return to “General discussion”