Multi-mode 4wd rover JR-001 (By Scott Beasley) works on USB but not battery

Please forgive me if this is the incorrect place for this post, I am new to the Forum and read the posting directions and this seemed correct.

I have built the JR-001 4wd rover and when I load the sketch everything "seems" to work fine, i.e wheels turn, servo moves, etc. When I remove it from USB power, i.e. after sketch is loaded, I power up the Arduino with 9 volts and the only thing that moves is the servo. Sort of erratic movement I am using 6 1.5 volt AA Nimh batteries fully charged, (I checked them on my meter and it shows 8.76 volts), each one rated at 2000mah.

Scott shows a breadboard mounted on the chassis, but in one picture it is a large breadboard with 2 wires, and in the next it is a smaller, i.e. 25 pin, with multiple wires. His directions are not clear on how to wire it up. I do have VCC and GRND on the motor control board, and as I mentioned, everything runs when on USB power.

Any help would be appreciated.

You need to post a link to wherever you got this project from so we can see what you are referring to.

Also you need to post your program.

...R

Sorry, as I said I am new here and have never posted anything.

Here is the link:

https://create.arduino.cc/projecthub/jscottb/simple-multi-mode-4wd-rover-jr-001-af6e77?ref=tag&ref_id=robot&offset=41

I have attached the program.

multimode.ino (8.72 KB)

I found the solution to my problem. The servo current requirements were too much. I changed out the servo and added a separate battery for it.

Works fine.