I run the following script below and the motor performs the function as written. but then after completing the motor will start jittering and only rotating back and fourth by, say 20 degrees or so. with only the A- and B+ LED light flickering.
Yeah I checked the torque and it is strong. and Hot I mean the drive circuit, particularly the chip thats right next to the DC jack on the arduino uno board , marked RTY 117S. Interestingly enough when I run the components under just USB power it seems to run ok, not too much torque but doesnt glitch out. I'm wondering if 12v 2 amps is too much