I'm running a simple robot involving a Raspberry Pi 3 and 2 JGA25-370 motors.
The system is powered from a single Powerbank (EasyAcc 10000MAh) which has 2 2A ports. DIY USB cable has data pins shortened so the powerbank would give it more power.
When I'm running my robot on smaller speeds everything works fine, but as soon as I increase the speed Raspberry PI restarts when I press "GO" :)
My suspicion is that current draw from the motors when they start causes a power drop.
I can see the red LED going dark on RPi even on lower speeds when I start the movement, but it doesn't really cause the restart, probably because it's so brief.
Could this be solved by putting a capacitor in front of motor controller (TB6612FNG)? If so, what the value of it should be?
Any other ideas? I really don't want to have 2 separate batteries, especially since it's only a problem when the robot starts from a still position.