3

I am building a rover and would like to power the Raspberry Pi and the Motor HAT with the same power source.

I want to use a 2500 mAh LiPo battery for a long play time. My DC motors work at 6V-9V.

How can I do this?

ChrisM
  • 139
  • 1
  • 9

2 Answers2

4

You will quickly face 2 problems : voltage and current.

Voltage You battery produce 3.7V, the Raspberry use 5V, your motor 6-9V. You will basically needs two DC-DC step-up voltage converter to produce 5V and 9V from 3.7V.

Current Now let's look if your supply provide enough current : The raspberry pi3 needs 2.5A at 5V and the converter is said to have a 95% efficiency.

0.95*(Ubat*Ibat)=Upi*Ipi
0.95*(3.7*2.5)=5*Ipi
Ipi=1.7575 A

We can see that one battery is already not powerful enough for the raspberry (1.75A instead of 2.5A), so powering a motor on the same battery won't just work.

I don't know how other people solve this case, but you can look for lighter hardware that would limit the need of power (arduino ? rpi zero w?), or for bigger batteries.

Technico.top
  • 1,426
  • 13
  • 20
-1

Personally I would just use a UBEC and drive the Pi and the motors from the same 5V supply. A UBEC converts a voltage in the range 6V to 26V to typically 5V and is what a lot of model airplane and quadcopter enthusiasts use. Your motors should work from 5V.

joan
  • 71,852
  • 5
  • 76
  • 108