Raspberry Pi powered by batteries

In this instructable I will show you how to properly supply power to a Raspberry Pi or Pi 2 with a battery pack or any voltage between 2.9 -32 volts DC. I will be using a efficient Pololu Step-Up/Step-Down Voltage Regulator and a toggle switch.

This can be done with any Raspberry pi version. Using a DC-DC converter allows us to have around a 90 percent efficiency in converting the power of the battery into power for the pi. You can substitute out for a fixed output DC to DC regulator but its nice to have a adjustable one if you want to use it for other projects. Its a dollar cheaper and available here (Pololu fixed 5v regulator). This will also allow to skip the steps on adjusting the above regulator.

Happy Pi day to you!Raspberry Pi powered by batteries

Step 1: Get the parts together

First a parts list:

  1. A Raspberry pi (with a screen or ability to console into it)
  2. Pololu Adjustable 4-12V Step-Up/Step-Down Voltage Regulator S18V20ALV (Pololu)
  3. A bit of wire or a 3 pin servo extension cable
  4. A battery pack, In this case I’m using a 6 cell AA NIMH pack. (please use rechargeable batteries if possible)
  5. Toggle switch (anything rated over 3 amps should be fine)
  6. Heat shrink tubing

Tools needed:

  1. Soldering iron/station
  2. Solder
  3. Multi-meter
  4. Wire strippers
  5. Small precision Philips head screwdriver
  6. Vise is recommend but not required
  7. A acid brush
  8. 91 percent isopropyl alcohol
  9. A 10 kΞ© to 100 kΞ© resistor

Step 2: Prepare the wire

Separate out the yellow wire from the servo cable and remove it completely from both ends. You will need something to pry up the plastic holding the wire in the header. (be gentle we will need the plastic retainer in a later step)

Step 3: Solder the headers to the output of the regulator

Break the headers into a 4 by 4 pin and solder the headers to the VOUT and GND locations on the regulator. Go ahead and connect the cable we made in the last step to the output header. Red to positive and Black to ground. Note you do not need to hook up the enable line (its internal tied with a 100k pull-up resistor)Raspberry Pi powered by batteries Schematic

Step 4: Clean the connections

Clean the connections well with isopropyl alcohol and acid brush. OH yes clean them well. Don’t be afraid to scrub a little. πŸ™‚

Step 5: Solder the switch

Solder the switch between the battery and the Vin via on the regulator. Take some time and clean the connections. Also remember to use heat-shrink tubing to protect the connections. Solder the grounds up at this time to so the negative of the battery is tied directly to the GND via on the Vin side of the regulator. Then connect the switch lead (The positive wire) to the Vin via on the DC to DC regulator.

 

For more detail: Raspberry Pi powered by batteries

Scroll to Top
Scroll to Top
Read previous post:
Raspberry Pi B & B+ boot SD card for PROTA OS (HTML5 UI)

Follow this instructable to get your PROTA OS up and running on your Raspberry Pi without pulling too much hair....

Close