20

Is there a 5 V rechargeable battery and cables compatible and comparative in size with Raspberry Pi Zero?

I don't want to have to plug my Raspberry Pi in every time and nonrechargables get expensive. Power banks seem so much bigger than the Zero and aren't viably wearable.

Update: I plan to put a bounty on this question soon, so I would like to clarify a bit more so as to fit the rules. I am not trying to ask for shopping advice, although an adafruit link would be nice. I am just wondering compatibility and what is out there. If you would like me to target a specific battery, I could reword the question as "How can I power my Raspberry Pi Zero with a Samsung Galaxy battery", but I thought there would be a better source. Please let me know how I can fit the rules even more. The answers given are good except many do not include the cables/connectors needed to use them.

Seth Kitchen
  • 269
  • 1
  • 2
  • 11
  • 2
    Battery for recharging phones work https://raspberrypi.stackexchange.com/questions/11721/battery-power-requirments . You can get small batteries (https://www.modmypi.com/raspberry-pi/breakout-boards/pi-modules/pico-lipo-battery-3000mah/?search=battery), but the capacity may be too small to be useful, and some may not be powerful enough. – Wilf Dec 29 '15 at 20:48
  • @Wilf The modmypi link gives a small source that lasts "up to 8 hours." That would be perfect, but the connector doesn't look like it goes in a Pi. How would you connect it? – Seth Kitchen Dec 29 '15 at 21:06
  • You need to apply a little logic here. The cellphone battery and powerbank market are worth billions and billions of dollars, and of course people want to buy things that are as small and light as possible. Conversely, the "5V dev board market" is totally irrelevant. No one is going to make a special R&D effort there. They could never even re-coup the costs. – goldilocks Jan 04 '16 at 14:59
  • 2
    @SethKitchen Any power bank with a standard USB output should work. Just use the same cable that you would use to change an android phone (USB A to Micro USB). I am using such a power bank and cord in a project right now, so I can verify that it works. – Patrick Cook Jan 05 '16 at 01:18

10 Answers10

15

I took a quick look at some light and powerful lithium polymer batteries, and it looks to me like a battery similar in scale to the Zero is not going to provide much capacity. Let's keep in mind that the computer only weighs 9 g. A LiPo of similar size [1] contains a about 1.3 W*h of energy, which won't power the Pi Zero for a full 3 hours, even idle. [2] To use that battery (or any LiPo single cell) you'd need a wee boost converter as well, such as the PowerBoost 500 Basic. [3] (It weighs another 3 g.)

Frankly, I think our expectations have been knocked askew by the tiny computer -- what would our "comparable in size" battery have looked like a year ago? What about 5 years ago? Right, now ask yourself whether you expect batteries to somehow follow Moore's Law (or whatever outrageous improvement trend you see in silicon [4] in the last 10 years.)

TL;DR: Batteries can't and don't get better as fast as computers do. :)

[1] https://www.adafruit.com/products/2750

[2] http://raspi.tv/2015/raspberry-pi-zero-power-measurements

[3] https://www.adafruit.com/products/1903

[4] https://en.wikipedia.org/wiki/Dennard_scaling

Tai Viinikka
  • 1,549
  • 1
  • 10
  • 8
  • Thank you all of this is very good information. I love the [1] link you posted because it not only gives a great solution, but links to an entire spread of batteries. The only thing missing from this answer is how to attach it to a Pi Zero. If you can elaborate on that I will accept your answer. Thanks! – Seth Kitchen Jan 05 '16 at 03:19
  • I also like how you brought size in context. This is a great answer. – Seth Kitchen Jan 05 '16 at 03:32
  • I'd like to apologize for the fact you got downvoted here, Tai. I know it is a superficial thing but it is still not appropriate -- for an explanation of what happened see here. – goldilocks Jan 05 '16 at 16:09
  • Tai, I propose you make an edit, format the answer a bit and I can undo my down vote. I wanted to apologise personally for this, you did not deserve that. – Piotr Kula Jan 06 '16 at 16:30
  • No hard feelings. I see the issues now but they hadn't occurred to me; my concept of the answer specifically had to do with a size comparison between the Pi Zero and a gumstick-sized LiPo, so the redundancy concern didn't appear on my radar. So it goes. – Tai Viinikka Jan 15 '16 at 03:30
7

You can use:

  1. A USB battery pack like this one from Adafruit.
  2. Others have used powerbanks like this one these allow charging the battery and powering the Pi simultaneously (more info on using these can be found here).
  3. You could use 6 AA rechargeables (this may require additional components).
  4. A desktop UPS (this will be significantly bigger than the other options - and hence a not ideal solution).
Steve Robillard
  • 34,687
  • 17
  • 103
  • 109
  • @SlySven Yes this looks like a good solution if anyone can find a Pi0 solution – Seth Kitchen Jan 05 '16 at 03:26
  • The RPi0 does have space for the 40-Pin GPIO (even if it isn't populated by default) does it not? It would just be a bit of an ugly arrangement with the slim RPi0 with the full size UPS on top but it would work... – SlySven Jan 05 '16 at 11:35
  • it does come unpopolated but that is not necessarily a bad thing you could mount female, male or right angle headers and do some interesting things like mounting a circuit board without a ribbon cable adafruit has some thoughts in their pi0 post https://learn.adafruit.com/introducing-the-raspberry-pi-zero/a-tour-of-the-pi-zero just remember if you add 40 male headers you will need a special cable to use a 26 pin board that uses a 26 pin female header – Steve Robillard Jan 05 '16 at 11:38