I am trying to program the micro dual motor controller with my Athena chip from kronosrobotics.com. I hooked up the motors, power supply, dual motor controller and the athena correctly. However, I believe I am having problems with the programming itself. Here’s the Program I am using:
output 0 'Set I/O Port 0 to Output Mode
output 1 'Set I/O port 1 to Output Mode
high 0 'Set I/O Port High Serout port
'Reset Pololu
low 1 'Set I/O Port Low
high 1 'Set I/O Port High
pause 100 'pololu startup time
setbaud SBAUD9600 'Sets Baud Mode to 9600
serout 0,128,2,2 '$80 converts to Dec 128, Send data out
Here are my two problems:
-
When I run the program one motor goes on, then it stops, then there’s a buzzing noise in the motors.
-
I seem to only get one motor running. Just one motor and not the other.