Sabertooth 2x10 R\C problem

Hi.
I’m trying to control a 12V DC motor through a Sabertooth 2x10 R/C connected to an ATOM Bot Board II with an ATOM Pro 28 controller.
does anyone know how to program the ATOM in order to activate the DC motor? i’m using the pbasic language but haven’t been able to find the duration of the pwm cycle for the Sabertooth. I’m quite new to this so simple explantions would be appreciated.
Thx… :wink:

There are many ways you might try.

For example earlier on my Rover, I used the HSERVO command to control the sabertooth, as it appears to have the same durations for signals (1ms, 1.5 center, 2ms). It worked fine on my rover. I currently have it offloaded to an SSC-32 as my bot was busy processing all of the inputs…

As for what durations to send out for both channels. You may need to experiment and it will depend on dip switch settings, such as mixing mode.

Good Luck

Kurt

The biggest problem people encounter with writing code for servos (the motor controller is controlled like a servo) is they forget to make the outputs used low before trying to generate pulses.

[code]low 0
low 1

leftmotor=3000
rightmotor=3000

start:
pulsout 0,leftmotor
pulsout 1,rightmotor
pause 20
goto start[/code]

Note the pulsout values fro the pro are .5uS resolution so 3000 = 1.5mS. The range for the motor controller is 1.0mS to 2.0mS. Go get um… :wink: