# Powering 12v and a Pi from the same battery

I'm building a game that contains:

• rpi (5v)
• 2x 9g micro servos (5-6v)
• 5m RGB led strip (12v)

Right now I use 3 different sources:

• 4xAA battery packs (6v) for the servos
• 8xAA battery pack (12v) for the LEDs
• 1x power bank (5v) for the raspi

This is totally wasteful. My plan is to buy a rechargeable battery (something like this :link to aliexpress) and power the LED's straight from there.

Then add a voltage step down like this one (link to aliexpress) and hang the servos and the Pi from there.

Do anyone foresee any problems in the setup? Will the servos draw too much current from the voltage regulator and therefore reboot the Pi? Will the sum of all tree components just be too much for the base 12v battery?

Output current:1-2.4A

So, you will need to check out current consumption of all devices.

I've found online that the servos consumption is between 0.25 to 0.75 A. Led consumption depends on the led itself. The current needs will be modified by how much resistance it will face.

Raspberry pi depend on what are you using. Assuming Typical bare-board active current consumption will be 400mA.

So, you'll be drawing, at minimal power consumption 250x2 + 400 + led_number*led_drawing. = 900 + LED mA which gives you only 1.5A for the leds, which I assume is too low for powering the 5 meters of the led strip.

Then add a voltage step down like this one (link to aliexpress) and hang the servos and the pi from there.

Regarding this, the output is 3A. So, it must be ok.

Personal approach to this:

I do recommend get some 3S (11.1V) or 4s (14.8V) lipo battery, which will give you much room (in terms of current) for powering the leds, but you'll need to get a lipo charger (can be found for about 10€ some times at chinese websites)

If the game is permanent and doesn't matter how much it weights (ie: not a handheld device) I'll recommend get a car-like battery. There are some with a small footprint than can provide lot of current, but I'll go with the lipo

• the game is a 30cm side cube of box so there is room inside, but needs to be portable (cannot weight 2kg and cannot be plugged) additionally the 4s you mention cost around 30€ with no circuitry for protection.. a bit overpriced, isnt it ? – javirs Sep 14 '17 at 14:22
• Yes, usually this kind of batteries are used for RC. Maybe you'll find a lead-acid battery that you can fit in there. Those are so much current capables than lipos. Downside, there is Pb on there. I think a powerbank it's not going to push enough current to power 5 meters of LEDs. I got a couple of 5m leds strips at home (30 leds/m). I'll measure how much does it take to power those up and tell you. – Luis Diaz Sep 14 '17 at 14:27