Labhelp
Posts: 1
Joined: Fri Jun 21, 2019 3:23 pm

How to make the GPIO connections more robust

Fri Jun 21, 2019 3:39 pm

Hey,
So I am currently working a relatively large machine and I have burnt the raspberry pi a 2 times too. It's my first time working with a pi but in the past month I think I understand it okayish. According to some forums and blogs I read, I think if I can get a more robust structure for all my electronic components, I will be able to save the pi and have it all connected to the machine so it runs smoothly and space efficiently.
So I have 2 stepper motors, 1 DC motor, a few buttons, a tachometer and 2 leds connected through the GPIO pins of the motor.

So is there a way I can make the GPIO pins more strongly secured by the pi?
And is there any way I can prevent the pi from getting burnt or fused?
Also, I was reading about the polyfuse, and wanted to know at what resistance should I know that it wont work again?

I appreciate any help
Thanks,
Dhruvi

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

Re: How to make the GPIO connections more robust

Fri Jun 21, 2019 4:26 pm

The most secure method would be soldering the connections, but this might limit any future uses. The next would be a good quality 40pin socket and soldered wires.

This type of connector https://www.amazon.co.uk/2-54mm-40-Pin- ... B00R1LLM1M or maybe one with longer pins to solder to.

What is burning?
Last edited by gordon77 on Fri Jun 21, 2019 5:57 pm, edited 1 time in total.

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

Re: How to make the GPIO connections more robust

Fri Jun 21, 2019 4:36 pm

First you must understand the Raspberry Pi
Is not Plug & Play, So more information is
Needed of how you are interfacing with
The Pi GPIO connections, a circuit drawing
Will be very helpful to give you some
Advice, Do not work on mains voltage
Unless you know what you are doing.
Regards BoyOh
BoyOh ( Selby, North Yorkshire.UK)
Some Times Right Some Times Wrong

drgeoff
Posts: 9901
Joined: Wed Jan 25, 2012 6:39 pm

Re: How to make the GPIO connections more robust

Fri Jun 21, 2019 5:38 pm

Solder wires to the underside of the board. It is easier than soldering to the long pins on the top side and doesn't "limit any future uses".

The GPIOs are electrically fragile and if abused can lead to fatal damage to the whole RPi. You must understand what the restrictions are and abide by them.

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

Re: How to make the GPIO connections more robust

Fri Jun 21, 2019 6:34 pm

drgeoff wrote:
Fri Jun 21, 2019 5:38 pm
Solder wires to the underside of the board. It is easier than soldering to the long pins on the top side and doesn't "limit any future uses".

The GPIOs are electrically fragile and if abused can lead to fatal damage to the whole RPi. You must understand what the restrictions are and abide by them.
One solution might be the pizero with no pins attached, then you can use the holes to solder the wires into.

LTolledo
Posts: 2045
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: How to make the GPIO connections more robust

Fri Jun 21, 2019 9:23 pm

My take on this is:

1. Make your own breakout-board that plugs into the RPi's GPIO header. On that breakout board you can have your connections soldered.
Also, you may want to incorporate some protection/isolation circuits on the breakout board....

2. If you dont like soldering, there are breakout boards that exposes the GPIO as screw-in terminals. You can connect your devices to those terminals.
something like:
GPIO breakout.jpg
GPIO breakout.jpg (8.19 KiB) Viewed 1056 times
Using either way you preserve RPi for possible "future use".
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

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

Re: How to make the GPIO connections more robust

Sat Jun 22, 2019 8:14 am

You could make your own interface board
Using Vero board, as I have don, also fitted
Opto Isolators for signal isolating and
Voltage levelling, Just a Idea for you
Regards BoyOh,
Pi Board  IF 010.jpg
Pi Board IF 010.jpg (59.8 KiB) Viewed 1025 times
BoyOh ( Selby, North Yorkshire.UK)
Some Times Right Some Times Wrong

JohnsUPS
Posts: 125
Joined: Fri Jul 06, 2018 2:13 am
Location: USA

Re: How to make the GPIO connections more robust

Sat Jun 22, 2019 12:47 pm

As a general rule when I'm interfacing to the GPIO pins, I follow the pin with some sort of buffer, such as a transistor or inverter. The choice of buffer mainly depends on what is ultimately being driven. The buffer circuitry helps to protect the Pi in the case of an "oops" or line transient and can also serve to provide additional current if necessary.

hippy
Posts: 6107
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: How to make the GPIO connections more robust

Sat Jun 22, 2019 6:49 pm

I would recommend never soldering to a Pi directly if that can be avoided, especially if a number of connections are being made. It just makes it a royal pain if one needs to swap that Pi out for another.

I imagine Sod's Law has a special clause for that; do it any you will have to unsolder the lot, probably as soon as it's powered-up, do it with plug-in connectors and it will work forever.

I am not sure what the OP's issue with "robustness" is, mechanical, electrical, or both.

dl324
Posts: 122
Joined: Mon May 06, 2019 7:33 pm
Location: Pacific Northwest, USA

Re: How to make the GPIO connections more robust

Sat Jun 22, 2019 7:08 pm

Labhelp wrote:
Fri Jun 21, 2019 3:39 pm
So is there a way I can make the GPIO pins more strongly secured by the pi?
More secure than what? What are you currently doing?
And is there any way I can prevent the pi from getting burnt or fused?
Don't overload any outputs, operate inputs within specifications, don't short things.
Also, I was reading about the polyfuse, and wanted to know at what resistance should I know that it wont work again?
You don't need a fuse if you don't make wiring mistakes.

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

Re: How to make the GPIO connections more robust

Sat Jun 22, 2019 10:06 pm

dl324 wrote:
Sat Jun 22, 2019 7:08 pm
Labhelp wrote:
Fri Jun 21, 2019 3:39 pm
So is there a way I can make the GPIO pins more strongly secured by the pi?
More secure than what? What are you currently doing?
And is there any way I can prevent the pi from getting burnt or fused?
Don't overload any outputs, operate inputs within specifications, don't short things.
Also, I was reading about the polyfuse, and wanted to know at what resistance should I know that it wont work again?
You don't need a fuse if you don't make wiring mistakes.
The polyfuse not only protects against wiring
Faults, will also protect against over current,
There is no man on this forum with a few years behind him who has never made a wiring mistake. I’ve made plenty in my time
Regards BoyOh
BoyOh ( Selby, North Yorkshire.UK)
Some Times Right Some Times Wrong

Return to “Beginners”