d1str0
Posts: 4
Joined: Mon Feb 03, 2020 4:09 pm

Powering a RPi 3B+ through GPIO vs USB

Mon Feb 03, 2020 4:21 pm

Hello,

Searching the internet, I have been unable to find an answer for this:
Which way of powering a RPi could source more current for the RPi itself and attached peripherals? Through the GPIO pins or the micro USB connector?

Is there any official documentation on this?
Thanks.

User avatar
Imperf3kt
Posts: 3577
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: Powering a RPi 3B+ through GPIO vs USB

Mon Feb 03, 2020 7:17 pm

the GPIO will give you a tiny, tiny amount less resistance.
This is because you are avoiding some of the protection circuitry.
55:55:44:44:4C
52:4C:52:42:41

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

Re: Powering a RPi 3B+ through GPIO vs USB

Mon Feb 03, 2020 10:40 pm

The Pi will draw what current it wants. Using microUSB or GPIO will not make any noticeable difference. The power used by the Pi itself is almost all converted through switching regulators, so the odd few millivolts are seldom significant, the regulator will compensate -- but see below.

Power for USB peripherals is limited by the USB supply circuit on board. You cannot easily change that (and should not).

It is important that your power supply (however it is connected) maintains the Pi's specified voltage (4V75-5V25) at the current you are using.

What is significant is that the microUSB feeds through a polyfuse, which together with a TVS diode protects the Pi from power mistakes. Using the GPIO bypasses this and means that faults that draw too much power are more likely to cause permanent damage.
Signature retired

d1str0
Posts: 4
Joined: Mon Feb 03, 2020 4:09 pm

Re: Powering a RPi 3B+ through GPIO vs USB

Tue Feb 04, 2020 1:31 pm

Thanks,
So far I 've had bad experience with low quality micro usb cables, they simply can't deliver enough current. Would anyone recommend a high quality micro usb supplier/brand to buy a lot of cables from?

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

Re: Powering a RPi 3B+ through GPIO vs USB

Tue Feb 04, 2020 2:56 pm

I don't know specific manufacturers, but you need to specify 18AWG copper conductors for the power.

Good ready-made cables may have a marking like "28AWG/1P+18AWG/2C" where the first part indicates the size of the data pair (1P) and the second part the power conductors (2C).
Signature retired

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

Re: Powering a RPi 3B+ through GPIO vs USB

Tue Feb 04, 2020 3:57 pm

The Pi is not designed to be used as a power house. If you want to run power hungry
projects ,you must use buffer stages , and let the Pi control them with low power signals
The USB connection is the one to use . Using GPIO to feed the power to the Pi is asking
for problems ,and also bypassing the safety circuits

I suggest you do a course in basic electronics and Ohms Law, that then will answerer
all your future questions

Regards BoyOh
BoyOh ( Selby, North Yorkshire.UK)
Some Times Right Some Times Wrong

d1str0
Posts: 4
Joined: Mon Feb 03, 2020 4:09 pm

Re: Powering a RPi 3B+ through GPIO vs USB

Tue Feb 04, 2020 5:38 pm

davidcoton wrote: I don't know specific manufacturers, but you need to specify 18AWG copper conductors for the power.

Good ready-made cables may have a marking like "28AWG/1P+18AWG/2C" where the first part indicates the size of the data pair (1P) and the second part the power conductors (2C).
Thanks, that's helpful. I'll look for those.
boyoh wrote: I suggest you do a course in basic electronics and Ohms Law, that then will answerer
all your future questions
Hahah
Relax mate, I'm a Certified Ohm's Law Lawyer @ Coursera

User avatar
HawaiianPi
Posts: 5711
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Powering a RPi 3B+ through GPIO vs USB

Tue Feb 04, 2020 5:57 pm

I doubt you'll find micro USB cables with 18 AWG power wires. Most I've seen is 19 AWG, and that was only from one brand (which I don't believe is still made). However, 20-22 AWG is pretty common, and in shorter lengths that should be fine.

The Official Raspberry Pi power supply does have 18 AWG conductors in its non-removable power cable. It also outputs 5.1V (instead of 5V) and up to 2.5A, so if you don't have one already, consider getting one. It's a proven performer.

What are you using for a PSU now?


EDIT
The ployfuse limits micro USB input current to 2.6A.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

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

Re: Powering a RPi 3B+ through GPIO vs USB

Wed Feb 05, 2020 2:43 pm

some HATs that require higher input voltage (like some DAC amps) power the connected RPi board thru the GPIO header, so its most likely pin2 and pin4 for the 5v and the GND on all ground pins.

so its better (and good practice) to power the RPi thru the GPIO headers.

am actually making one to power the RPi4B-2G using DC12v (and up to 36v) input so it can share the same power brick as the RAID box am planning to use it with.
I'll post pictures when am finished and tested it.
"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!"

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

Re: Powering a RPi 3B+ through GPIO vs USB

Wed Feb 05, 2020 4:11 pm

LTolledo wrote:
Wed Feb 05, 2020 2:43 pm
some HATs that require higher input voltage (like some DAC amps) power the connected RPi board thru the GPIO header, so its most likely pin2 and pin4 for the 5v and the GND on all ground pins.

so its better (and good practice) to power the RPi thru the GPIO headers.
That is not a logical conclusion. It is more convenient to use the GPIO header when the power source is a HAT. In the general case for Pi1,2,3 it is safer to use the microUSB. Providing a polyfuse for GPIO header power input overcomes the safety deficit; and for Pi0,4 there is no onboard polyfuse, so you should provide one anyway if the PSU limit is over 3A. (Note the Pi0 doesn't have a TVS diode either, so don't get the connections wrong.) Once that issue is dealt with, it is purely a matter of convenience as to where the power is applied (assuming the points chosen are the correct +5V and GND rails :o ).
Signature retired

d1str0
Posts: 4
Joined: Mon Feb 03, 2020 4:09 pm

Re: Powering a RPi 3B+ through GPIO vs USB

Wed Feb 05, 2020 4:19 pm

HawaiianPi wrote: What are you using for a PSU now?
These step down switching regulators:
serveimage.jpg
serveimage.jpg (35.82 KiB) Viewed 1251 times
Input Voltage: 3 to 40 V
Output Voltage Range: 1.23 to 37 V
Output Current: 3A

Through the GPIO port
These work ok most of the time, but I would rather be on the safe side and use the micro usb port.
I can't use a wall socket PSU because of reasons. All I have is a stable 12V supply with almost no noise and plenty of power (10A)

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

Re: Powering a RPi 3B+ through GPIO vs USB

Wed Feb 05, 2020 6:44 pm

d1str0 wrote:
Wed Feb 05, 2020 4:19 pm
These step down switching regulators:
serveimage.jpg

Input Voltage: 3 to 40 V
Output Voltage Range: 1.23 to 37 V
Output Current: 3A
Make sure that the output voltage is not more than 5 volts before connecting to a RPi. Else the magic smoke is given an opportunity to escape.

User avatar
Imperf3kt
Posts: 3577
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: Powering a RPi 3B+ through GPIO vs USB

Wed Feb 05, 2020 9:27 pm

d1str0 wrote:
Wed Feb 05, 2020 4:19 pm
HawaiianPi wrote: What are you using for a PSU now?
These step down switching regulators:
serveimage.jpg

Input Voltage: 3 to 40 V
Output Voltage Range: 1.23 to 37 V
Output Current: 3A
I have several of these.
their rated output current is not quite as cut and dry as it looks.
according to their datasheet, they output up to 3A yes, but it depends on the input voltage and output voltage.
the datasheet I have, also states that they are only good for 2A continuous current without additional cooling. They will thermally shutdown if you try to draw 3A from them without some form of cooling.
55:55:44:44:4C
52:4C:52:42:41

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

Re: Powering a RPi 3B+ through GPIO vs USB

Wed Feb 05, 2020 9:53 pm

am using the same one to provide power to my RPi4B-2G NAS build, also on my Rock64-1G NAS build.
RPi4B-2GNAS-topOpen.jpg
RPi4B-2GNAS-topOpen.jpg (201.03 KiB) Viewed 1200 times

but am powering the RPi4B via connection to TP1 and TP7 pads.
a heatsink is attached to the regulator IC though....
never failed me yet..... just lucky I guess... :D
"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!"

emma1997
Posts: 774
Joined: Sun Nov 08, 2015 7:00 pm
Location: New England (not that old one)

Re: Powering a RPi 3B+ through GPIO vs USB

Fri Feb 07, 2020 11:16 pm

d1str0 wrote:
Wed Feb 05, 2020 4:19 pm
These step down switching regulators:
serveimage.jpg

Input Voltage: 3 to 40 V
Output Voltage Range: 1.23 to 37 V
Output Current: 3A
I am fond of those cheap chinese converters myself but realize are not capable of rated current. 60%-70% at best depending on in/out differential and air flow. Cutting corners with small inductor and heat sink severely limits. The one you posted will not sustain even 2 amps. Here's a pic of the ones that were tested and only the last on the right would be technically capable of supplying a Pi4 with drives or anything else attached. More expensive. They run about a dollar each as apposed to middle one like yours at 2 for a buck or the little ones 5/$1.

Image

Return to “Beginners”