I have this setup for an obstacle avoiding robot. When I run the sketch with the usb cable connected to the Arduino, it seems to run fine. But when I move over to the 9V battery pack, it seems to run slower and not at all as expected.
Shouldnt it have more power to run on from a 9V battery pack? I guess it depends more on the mA than on the V, but I was wondering if this is a common issue and is solved in some other way?
Thanks
Here is a video of it. The first half has the engine working with the usb cable and the second half is off the 9v. You must let the whole video load before playing it or else both halves look just as slow
Alas neither power sources are appropriate - with USB you risk damaging your Arduino or computer,
with the motor powered direct from a battery it has to be a battery capable of high current, and small
9V batteries just can't provide anything like enough current.
Separate high current battery pack for the motor driver is the safe and reliable approach.
Ok great, thanks for the help...ill charge up a LiPo. I also have a wall connector that outputs 5v. Im just not sure how to get the power from it without cutting up the cables which I wouldnt want to do.
Single cell LiPo chargers are so inexpensive, I've been really wondering about using a single cell LiPo in some of my projects. I have a bunch of those 5V step up regulators and single cell LiPo chargers but I haven't used them with robotic projects yet. I hope they work well.