E
E
ElMaxo2017-05-10 09:28:56
Electronics
ElMaxo, 2017-05-10 09:28:56

How to power a Raspberry Pi and two motors from the same source?

Good time
I am designing a tank based on the Raspberry Pi with my son. It remains to solve the problem of autonomous power supply. As a source, I decided to take two 18650 batteries connected in series. To lower the voltage, I use the LM2596 circuit, 5V is supplied to the board. The essence of the question is this: how to correctly apply voltage to the motor driver (L298), while providing it with the necessary current and without damaging the Raspberry Pi? The current in the motor circuit can significantly exceed the allowable for raspberries. If I understand correctly - if the motor driver is connected in parallel to the outputs of the voltage stabilizer and the raspberry power circuit - the current in the circuit will be much greater than the raspberry can withstand? Or I'm wrong? Thank you in advance for your help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Max, 2017-05-10
@ElMaxo

when connected in parallel, you will have different currents on Raspberry and on the motor driver. Now, if you try to power the engines through the RPi, then the current will go through the RPi, which is not good.
Another question is whether there is enough current from the batteries so as not to drain the RPi while driving.

D
Dreambox, 2017-05-11
@IoT

Raspberry will take exactly as much as she needs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question