I want to power a Raspberry Pi off a LiPo battery. In an attempt to be as littleinvasive as possible I figured I might just route the power through the micro USB port.
There is a pin on the GPIO that is connected to the +5V rail, but it bypasses the fuse and I’d like to stick to recommended usage scnearios unless I have good reason not to. The Pi is meant to get power through USB, so let’s do that.
This is first and foremost an experiment to get a feel for the voltage drop on the way into the
The Pi doesn’t use all of the USB pins. It only takes the +5V on pin 1 and connects to ground on pin 5.
So I bought some male USB connectors.
The pins are quite close together and since I only need the two on the outside, I took off the other three. I found the easiest way to do this was by bending the pins left and right with tweezers until it broke off. That way there’s enough room to solder - it’s still a bit tricky.
To not have to remember which wire is which it makes sense to stick with convention and put the red wire onto pin 1, and the black wire to pin 5. This is a power connector after all. Stick heat shrinks over the solder joints after soldering.
Finally, I stuck on a glob of hot glue as a crude strain relief.
That’s it! Now I can run the Pi off any power source I like.
This article is one part of a series named "Battery Pi". If you found this interesting, have a look at the other ones as well!