With the Zero only having the one micro USB port, I'm wondering if it's possible to power the Zero via the GPIO port? Set the ground, and 5v pins and it should be able to boot and leave the USB port available correct?
My reference for the pinout is from these docs
https://ms-iot.github.io/content/en-US/ ... gsRPi2.htm
And since the Zero has the same 40 pin GPIO port, I'm assuming this is possible? It's be a while since I've dusted off my Pi but I do recall reading the ability to power the Pi from the GPIO port, maybe?
Re: Power Pi Zero from GPIO?
Yes, you can power the Zero from the GPIO pins. What you cannot do is to use the power USB port for anything but powering the Zero.
- mahjongg
- Forum Moderator
- Posts: 13549
- Joined: Sun Mar 11, 2012 12:19 am
- Location: South Holland, The Netherlands
Re: Power Pi Zero from GPIO?
The zero has no polyfuse, so there is no downside to powering from the GPIO's (except you can reverse, or over-volt the power), so be careful!
Re: Power Pi Zero from GPIO?
Hi,
Sorry for dragging up an older post, but it is relevant to my question.
I have a Pi Zero & would like to power it from a 2A 5v transformer, via the GPIO - my question is what fuse should I put between the transformer and the Pi?
The Pi is to run OSMC or Kodi, with the HDMI out to TV and a Wifi adapter on the USB port.
Thanks in advance
Zed
Sorry for dragging up an older post, but it is relevant to my question.
I have a Pi Zero & would like to power it from a 2A 5v transformer, via the GPIO - my question is what fuse should I put between the transformer and the Pi?
The Pi is to run OSMC or Kodi, with the HDMI out to TV and a Wifi adapter on the USB port.
Thanks in advance

Zed
- FTrevorGowen
- Forum Moderator
- Posts: 6001
- Joined: Mon Mar 04, 2013 6:12 pm
- Location: Bristol, U.K.
- Contact: Website
Re: Power Pi Zero from GPIO?
Do you really mean a 2A 5V transformer (ie. an A.C. device - I hope not)? I would suggest that a 5V 2A DC PSU needs a fuse rated at <=2A (to protect the PSU) but a fuse rated <=1.5A might be better (protection) for the Pi Zero. What type of fuse were you thinking of?redorzed wrote:Hi,
Sorry for dragging up an older post, but it is relevant to my question.
I have a Pi Zero & would like to power it from a 2A 5v transformer, via the GPIO - my question is what fuse should I put between the transformer and the Pi?
The Pi is to run OSMC or Kodi, with the HDMI out to TV and a Wifi adapter on the USB port.
Thanks in advance
Zed
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's & P400. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm
Re: Power Pi Zero from GPIO?
Hi,FTrevorGowen wrote:Do you really mean a 2A 5V transformer (ie. an A.C. device - I hope not)? I would suggest that a 5V 2A DC PSU needs a fuse rated at <=2A (to protect the PSU) but a fuse rated <=1.5A might be better (protection) for the Pi Zero. What type of fuse were you thinking of?
Trev.
Looking at this sort of thing AC > DC 5V 2A
Hadn't really thought through the fuse yet, s'why I was asking on here for advice

Something like These jobs?
The smallest car-type blade fuse is 2A.
- FTrevorGowen
- Forum Moderator
- Posts: 6001
- Joined: Mon Mar 04, 2013 6:12 pm
- Location: Bristol, U.K.
- Contact: Website
Re: Power Pi Zero from GPIO?
I suspect that that "sort of thing" will not be well enough regulated - why not use a standard uUSB connected PSU (remove the uUSB connector and wire directly to the appropriate GPIO pins) + inline fuse? (The O.P.'s reference to "freeing up" a uUSB connector may be a "red herring" as that's "power only" and cannot thus be used for anything else)redorzed wrote:Hi,FTrevorGowen wrote:Do you really mean a 2A 5V transformer (ie. an A.C. device - I hope not)? I would suggest that a 5V 2A DC PSU needs a fuse rated at <=2A (to protect the PSU) but a fuse rated <=1.5A might be better (protection) for the Pi Zero. What type of fuse were you thinking of?
Trev.
Looking at this sort of thing AC > DC 5V 2A
Hadn't really thought through the fuse yet, s'why I was asking on here for advice![]()
Something like These jobs?
The smallest car-type blade fuse is 2A.
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's & P400. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm
- davidcoton
- Posts: 5655
- Joined: Mon Sep 01, 2014 2:37 pm
- Location: Cambridge, UK
- Contact: Website
Re: Power Pi Zero from GPIO?
Difficult to tell from the ebay photo, but I don't see any active regulator -- it wouldn't be necessary for powering LEDs. So probably not good enough for a Pi.
Also:
Proceed with caution. Your Pi is at risk with that PSU. Better to get a standard 5V 2A (or 4A) USB PSU and use the intended power socket. Add a fuse (preferably a polyfuse, as used on the other Pis) if the PSU can supply more than 2A. If the total design load does exceed 2A, don't let it all go through the Pi, the tracks probably won't take it.
Also:
5V2A = 10W, so 4A is not compatible with 10W. Someone who wrote that spec doesn't understand what they are writing.Output voltage: DC5V 2 - 4A(max)
power :10W MAX
Proceed with caution. Your Pi is at risk with that PSU. Better to get a standard 5V 2A (or 4A) USB PSU and use the intended power socket. Add a fuse (preferably a polyfuse, as used on the other Pis) if the PSU can supply more than 2A. If the total design load does exceed 2A, don't let it all go through the Pi, the tracks probably won't take it.
Location: 345th cell on the right of the 210th row of L2 cache
Re: Power Pi Zero from GPIO?
That's really the crux of it - are the standard uUSB PSUs any better regulated? If they are significantly better and worth the extra cost, then it's not worth cutting the plug off.FTrevorGowen wrote:I suspect that that "sort of thing" will not be well enough regulated - why not use a standard uUSB connected PSU (remove the uUSB connector and wire directly to the appropriate GPIO pins) + inline fuse? (The O.P.'s reference to "freeing up" a uUSB connector may be a "red herring" as that's "power only" and cannot thus be used for anything else)
Trev.
If these cheaper PSUs can be easily regulated to the required level, it seems worth a go to make a nice little enclosed box, rather than a "wall wart" sticking out of a socket.
Re: Power Pi Zero from GPIO?
Sorry David, I'm not understanding what you meant by the bit in bold?davidcoton wrote:Difficult to tell from the ebay photo, but I don't see any active regulator -- it wouldn't be necessary for powering LEDs. So probably not good enough for a Pi.
Also:5V2A = 10W, so 4A is not compatible with 10W. Someone who wrote that spec doesn't understand what they are writing.Output voltage: DC5V 2 - 4A(max)
power :10W MAX
Proceed with caution. Your Pi is at risk with that PSU. Better to get a standard 5V 2A (or 4A) USB PSU and use the intended power socket. Add a fuse (preferably a polyfuse, as used on the other Pis) if the PSU can supply more than 2A. If the total design load does exceed 2A, don't let it all go through the Pi, the tracks probably won't take it.
I am understanding the bit about risking my Pi though!

- FTrevorGowen
- Forum Moderator
- Posts: 6001
- Joined: Mon Mar 04, 2013 6:12 pm
- Location: Bristol, U.K.
- Contact: Website
Re: Power Pi Zero from GPIO?
I've measured the "loading behaviour" of quite a few uUSB (and other) PSU's so you might find that of interest:redorzed wrote:That's really the crux of it - are the standard uUSB PSUs any better regulated? If they are significantly better and worth the extra cost, then it's not worth cutting the plug off.FTrevorGowen wrote:I suspect that that "sort of thing" will not be well enough regulated - why not use a standard uUSB connected PSU (remove the uUSB connector and wire directly to the appropriate GPIO pins) + inline fuse? (The O.P.'s reference to "freeing up" a uUSB connector may be a "red herring" as that's "power only" and cannot thus be used for anything else)
Trev.
If these cheaper PSUs can be easily regulated to the required level, it seems worth a go to make a nice little enclosed box, rather than a "wall wart" sticking out of a socket.
http://www.cpmspectrepi.webspace.virgin ... plies.html
However, w.r.t. the Pi Zero, given that it is most likely to be used only with a small number of USB peripherals (w/o the addition of a powered USB hub), I would use a powerbank** for its power (and charge that from a "wall-wart" instead).
Trev.
** links to some suitable examples of such can be found in this section of my webpages:
http://www.cpmspectrepi.webspace.virgin ... pecific.22
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's & P400. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm
Re: Power Pi Zero from GPIO?
Interesting reads there, thank youFTrevorGowen wrote: I've measured the "loading behaviour" of quite a few uUSB (and other) PSU's so you might find that of interest:
http://www.cpmspectrepi.webspace.virgin ... plies.html
However, w.r.t. the Pi Zero, given that it is most likely to be used only with a small number of USB peripherals (w/o the addition of a powered USB hub), I would use a powerbank** for its power (and charge that from a "wall-wart" instead).
Trev.
** links to some suitable examples of such can be found in this section of my webpages:
http://www.cpmspectrepi.webspace.virgin ... pecific.22

- davidcoton
- Posts: 5655
- Joined: Mon Sep 01, 2014 2:37 pm
- Location: Cambridge, UK
- Contact: Website
Re: Power Pi Zero from GPIO?
I looked at the photo of the product on ebay. I cannot see a regulator chip -- meaning that the PSU in question is likely to give out different voltages depending on the load. It will almost certainly not stay within the +/- 0.25V needed for a Pi. Yes, it claims to be "regulated" -- either the chip to do that is hidden, or the regulation relies on transformer design (not really regulated in terms of supplies for electronic devices), or someone is telling untruths, if not deliberate lies. As explained , for other reasons I do not trust the author and I think the third explanation is likely. LEDs (for which this supply is designed) are more tolerant of varying voltage supplies.redorzed wrote:Sorry David, I'm not understanding what you meant by the bit in bold?davidcoton wrote:Difficult to tell from the ebay photo, but I don't see any active regulator -- it wouldn't be necessary for powering LEDs. So probably not good enough for a Pi.
Also:5V2A = 10W, so 4A is not compatible with 10W. Someone who wrote that spec doesn't understand what they are writing.Output voltage: DC5V 2 - 4A(max)
power :10W MAX
Proceed with caution. Your Pi is at risk with that PSU. Better to get a standard 5V 2A (or 4A) USB PSU and use the intended power socket. Add a fuse (preferably a polyfuse, as used on the other Pis) if the PSU can supply more than 2A. If the total design load does exceed 2A, don't let it all go through the Pi, the tracks probably won't take it.
I am understanding the bit about risking my Pi though!
Location: 345th cell on the right of the 210th row of L2 cache
Re: Power Pi Zero from GPIO?
There's a little 6-pin chip on the underside in the pictures. Could that be the regulator?davidcoton wrote:I looked at the photo of the product on ebay. I cannot see a regulator chip -- meaning that the PSU in question is likely to give out different voltages depending on the load. It will almost certainly not stay within the +/- 0.25V needed for a Pi. Yes, it claims to be "regulated" -- either the chip to do that is hidden, or the regulation relies on transformer design (not really regulated in terms of supplies for electronic devices), or someone is telling untruths, if not deliberate lies. As explained , for other reasons I do not trust the author and I think the third explanation is likely. LEDs (for which this supply is designed) are more tolerant of varying voltage supplies.
- davidcoton
- Posts: 5655
- Joined: Mon Sep 01, 2014 2:37 pm
- Location: Cambridge, UK
- Contact: Website
Re: Power Pi Zero from GPIO?
Doh, it probably is. In which case regulation shouldn't be an issue. For some reason I only saw the top side photo
In my book that reduces the risk to acceptable levels.

In my book that reduces the risk to acceptable levels.
Location: 345th cell on the right of the 210th row of L2 cache
Re: Power Pi Zero from GPIO?
I'm looking at this as,
Output voltage: DC5V2 @ 4A(max). Power :10W MAX
5V2 is shorthand for 5.2V, so it look correct, IMO.
Output voltage: DC5V2 @ 4A(max). Power :10W MAX
5V2 is shorthand for 5.2V, so it look correct, IMO.