Obviously in robotics we need a stable fairly light weight mobile power source to mount the Pi on a robot base and do cool things with it.
I looked around the web and found that cell phone charging battery packs/battery extenders were either expensive or didn't have the proper specs to run a Pi for any length of time.(not enough amperage)
So I took it upon myself to see what I could build inexpensively (pronounced "cheap") that would run the Pi for a decent amount of time....and here is what I came up with.
Here is what you need to do it:
A rechargeable battery of at least 6V. I used the tenergy 2000mAH 5AA 6V Nimh found here: http://www.all-battery.com/6v2000mahnim ... 11106.aspx
If weight isn't an issue they also have pretty inexpensive 6V Nimh packs in Sub C cells and D Cells.
A + 5V Voltage regulator. I used this one: http://www.radioshack.com/product/index ... Id=2062599
A short Micro B USB Cable
The total cost of components is around $15 (plus shipping). I had all this stuff laying around.
Simply wire up your battery to the positive and ground of the voltage regulator. Cut the Micro USB cable and strip back the outer casing and shielding and connect the positive (red) lead to the output of the voltage regulator, then tie the ground (black) leads from the voltage regulator, battery and USB Cable together.
Charge up your battery...plug in the USB cable to the Pi and Voila! ...battery powered Pi.
Side Note: I used servo wiring that I had laying around for this whole rig....which allows me to easily disconnect the battery for charging and also allows me to put an RC receiver pack switch inline to completely power down the Pi without disconnecting anything after proper shutdown. You can use a mini breadboard or servo wires or whatever small gauge wires you have laying around for this.
Cautions:
1. Capacitors are recommended in this circuit. I didn't use them as I like to live on the edge
2. Keep an eye on the temperature of the heat sink on your voltage regulator. Even with a 6v Source mine gets fairly warm. The higher voltage source you use...the more heat will be dissipated from the VR heat sink. If you need to...attach a larger heat sink to the VR.
3. I don't recommend Lipo batteries or Nicad batteries for this. Lipos are high output and volatile. You just need a steady 5V at something over 700mAH for this project. Nicads are really sensitive to depletion and charge levels. I find that Nimh is the best option for this particular project...but use your own judgement.
