Pinterest Stumbleupon Whatsapp
Ads by Google

Want to get your Raspberry Pi out of the house and involved in some mobile projects (like, for instance, a budget space program Raspberry Pi Projects: A Car With Night Vision, Google Glass-like Translation, And More Raspberry Pi Projects: A Car With Night Vision, Google Glass-like Translation, And More We’ve previously looked at some excellent uses for this British minicomputer, but the fact is that it is just so versatile that there is always something amazing to talk about. Who would have thought that... Read More )? You’ll need a battery, and there are several choices available, including a DIY option.

Portable Power Requirements for the Raspberry Pi

Just like static Raspberry Projects (things like a media centre The Easiest Raspberry Pi Media Centre, With RasPlex The Easiest Raspberry Pi Media Centre, With RasPlex Read More or retro gaming station Retro Gaming on the Raspberry Pi: Everything You Need to Know Retro Gaming on the Raspberry Pi: Everything You Need to Know Indeed, who in their right mind would have guessed that the little Raspberry Pi could prove so vital as a platform for so-called retro gaming, offering support for a vast array of emulators and different... Read More ), portable uses for the Raspberry Pi need to be powered by a good quality 5V micro USB mains adaptor with a 1.2A (1200mA) current (although 1000mA should suffice for most projects on the first generation Pis). However, the four USB ports of the Raspberry Pi B+ The Raspberry Pi B+ Is Here. What's Changed? The Raspberry Pi B+ Is Here. What's Changed? Read More  benefits from a supply of 2.5A (2500mA) if you plan to connect devices without a powered hub.

Raspberry Pi

Which power supply you need depends on the final application of your Pi. The GPIO pins have a total requirement of 50mA, the HDMI port 250mA and keyboards as little as 100mA (dependent on model, of course). The Raspberry Pi camera requires 250mA.

Checking the power rating of devices you plan to connect will give you an idea of the likely minimum requirements. It should also help you determine the best portable power option.

The Powered-Up Option

Any portable battery designed to charge a smartphone over USB can be used with the Raspberry Pi.

Ads by Google

muo-diy-rpi-battery-powercastle

One such option is the Intocircuit Power Castle, for less than $100 on Amazon. With a huge 26,000mAh charge, this device supplies a maximum 2.1A over USB, which makes it ideal for a Raspberry Pi with USB devices connected. The Power Castle impressed in our review Intocircuit Power Castle 26,000mAh Portable Charger Review and Giveaway Intocircuit Power Castle 26,000mAh Portable Charger Review and Giveaway Read More , and can also higher voltages required for a laptop – so you can be sure that the device can keep your Pi running. Note that it weighs around 1.47 lbs, which is roughly the same as half a bag of flour, but contains enough juice to charge a smartphone 6 Of The Best Backup Battery Packs To Extend Your Phone's Uptime 6 Of The Best Backup Battery Packs To Extend Your Phone's Uptime A battery pack is one of the best ways to charge your phone in an emergency. Here are a few portable power banks that might be just what you need. Read More  12 times over!

muo-diy-rpi-battery-zilo

Also worth considering is the Zilo Smart Power Basic. Again intended for smartphones, it can push a maximum 2A through the USB cable, which makes it ideal for powering portable Raspberry Pi projects. Crucially, this charger weighs just 2.88 oz, so while the Power Castle might be an absolute power house, it is this little fella that is more suited to travelling into near-Earth orbit. And of course, it will also charge your smartphone pretty quickly.

MoPi: Mobile Pi Power

Looking for a solution that’s a bit more home-spun? The MoPi: Mobile Pi is a good solution, and has its roots in a successful Kickstarter campaign. Designed to connect to the GPIO pins, it comes in two flavors, one low profile and another with its own GPIO for stacking other boards onto your Pi.

muo-diy-rpi-battery-mopi

The MoPi is a power regulator, offering multiple inputs – anything from standard batteries and car power sockets to solar cells can be connected – and it has a hot-swap facility, meaning you can add and remove power supplies without interrupting work. This means that the MoPi can be used as the key component of a UPS system, and when power begins to run out, the MoPi can instruct the Raspberry Pi to shutdown cleanly 3 Reasons Why Your Raspberry Pi Doesn't Work Properly 3 Reasons Why Your Raspberry Pi Doesn't Work Properly I've been living with the Raspberry Pi for several months now, and have found this astonishing little computer to be even more amazing than expected. Despite its diminutive dimensions, the Raspberry Pi is as fruity... Read More , preventing data loss to the SD card.

Although the MoPi doesn’t provide power itself, it provides the means for you to add various supplies, and given its wide functionality the $40 price seems more than reasonable.

Go Totally DIY: Build Your Own Portable Raspberry Pi Power Supply

In keeping with the nature of the Raspberry Pi, you might opt to build your own portable power supply. You can do this relatively cheaply, employing a battery box suitable for six or more AA batteries (four is enough to boot the Pi on, but you won’t be able to do much) and a Universal Battery Elimination Circuit. This UBEC is a power regulator which prevents the batteries from damaging the Pi, so should be considered a vital component.

muo-diy-rpi-battery-diy

Both of these components can be purchased for a total price of less than $15 including postage, and once you have them the construction of your DIY portable battery pack is reasonably simple. Begin by connecting the red wire on the battery box to the red wire on the UBEC, and repeat this for the black wire. You might do this using a terminal strip, or simply by twisting and soldering the wires together.

Depending on which type of UBEC you purchase, you may need to perform some customization here. Many ship with a micro USB connector for your Raspberry Pi, but if you receive the three pin GPIO connector, then you will need to move the red wire to the outermost pin slot. Do this by releasing the catch on the connector; you can then pull the red wire from the middle slot and insert it in the outermost slot. This wire can then be connected to the GPIO on pins 2 (the +5V red wire) and 6.

To power up your Raspberry Pi, insert all but one of the batteries into the box and connect everything. When you’re ready, add the final battery and watch the status lights as the Pi boots. Success!

How Long Will Batteries Last?

Your chosen power cell’s duration will depend on use. If you built a handheld gaming system then it is likely the charge will be depleted more quickly than with a simpler use such as monitoring your garden.

To get an idea of the maximum duration, connect your Wi-Fi dongle to the Pi and SSH to the device after it boots. Here, enter the command

watch -n 60 uptime

This will keep the Wi-Fi connection alive, enabling you to get an idea of how long the Pi is running. On the lower powered 256 MB Model A you can expect as much as 16 hours of charge from six AA batteries, and this is a good point of reference for all portable power solutions.

Which portable Raspberry Pi power solution suits you? Have you tried an alternative, or do you have any questions? Let us know in the comments.

Image Credits: nuclear energy Via Shutterstock

  1. Mike Schinkel
    October 25, 2016 at 5:49 pm

    The MoPi is cool but being in the USA I went looking for an alternate which I found in this PowerHAT which comes with a 2000mAh battery:

    http://redoakcanyon.com/powerhat-battery-power-for-raspberry-pi

    I got one and it seems to work well.

  2. ItalianJack
    April 8, 2016 at 2:20 pm

    I have a circuit hooked up with 2 4-aa packs hooked up in parallel. Why doesn't this work instead of 6 AAs?

    • Christian Cawley
      April 8, 2016 at 7:12 pm

      Not sure. Are you using an UBEC? Does it the arrangement work with other devices (lamps/buzzers etc)?

    • krbundy
      June 26, 2016 at 6:36 pm

      Here's the breakdown:
      Eash AA is 1.5V, 1.8-2.6A (assuming they are Alkaline batteries)

      Now, if you hook up batteries in parallel, the amperages add, and in sequence voltages add. So two batteries provide 1.5V at 3.6+ A. If you hook them up in series you get 3V 1.8A. The power is constant either way at 5.4W

      Assuming the battery packs are wired internally to be in sequence:
      2x4 AA: 4*1.5=6V, and 2x1.8 is 3.6A, which is close to what you need. You need to get this to 5V and a little less amperage. You might be able to just use a voltage limiter if the pi's max amperage is high enough. I honestly don't know, it should be on the spec sheet.

      1x6=1.5*6=9V, 1.8A. Here the UBEC is necessary to convert this to 5V. The power supply gives 16.2W of power, so dividing gives you 3.24A. You won't get this through the power converter, though, since they are inefficient and you'll lose about 25% to internal resistance and heat loss. Figuring that it's 75% efficient, you'll get 2.43A, just what you need. I would probably go with this option, but the other can work.

      So you can do either and it should work, you just need different stuff in the in-between.

  3. Flash4824
    April 6, 2016 at 4:43 am

    How do I use a ps vita battery for the purpose and screen and is it possible to charge the battery using the pi?

  4. Jake
    March 14, 2016 at 4:30 pm

    I have used the "Pineapple Juice" battery pack for the raspberry pi. Unfortunately it last only 2 hrs but it's directly rechargeable and small for more portability and it outputs exactly 5v. So I suggest using this

    • Christian Cawley
      March 14, 2016 at 5:15 pm

      Good recommendation, thanks!

    • Terran
      May 22, 2016 at 9:50 pm

      do you know where i can buy the Pineapple juice battery pack that you are talking about?

      • Jake
        May 23, 2016 at 2:06 am

        I did... it was in the HakShop but they removed it for some reason. So I have no idea where you can get it now. Sorry.

      • nick
        August 29, 2016 at 5:38 am

        dx.com

Leave a Reply

Your email address will not be published. Required fields are marked *