The recommended setup for this would be to leave the battery pack connected to the mini driver with the power switch 'on' and then power the Pi using a wall adapter (1.2A to 2A is best).
In this setup the power adapter will power the Pi, and the battery will power the motors. Because the battery pack is no longer powering the Pi, and also because the motors won't be running continuously, you should find the battery pack lasts much longer (I would hope at least 2 to 3 times longer) giving you much more time for debugging.
If you needed to debug and run the motors for really long times then you could power the motors from a benchtop power supply, but I'd try the battery pack apporach to begin with.
Hope that helps.
Regards
AlanStatistics: Posted by Alan — Tue Dec 09, 2014 11:17 am
]]>