how to program with sabertooth motor driver

Hello

I m new at this

i need to control two sabertooth 12A motor drivers through arduino duemilanove

I need help to programming
anyone know where i can get the codes for

1- Ardiuno code to turn on/off one motor through a Sabertooth module.
2- Ardiuno code to change the motor speed.
3- Ardiuno code to control all four motors.
4-Ardiuno code to send and receive data through its UART to/from your PC (xbee )
5- Design a data command structure to send to the Adriuno from the PC the control the Bot.

Thanks for any help

i need to control two sabertooth 12A motor drivers

First thing you need to do is to post a link to the device that you have, so that we can read the data sheet for you.

http://www.dimensionengineering.com/Sabertooth2X12.htm

There is a link on that page to a Word document that describes how to connect the device to the motors, the batteries, and the micro-controller (the Arduino). There are instructions regarding how to select which of 4 control modes to use.

To start with, select analog input mode, and select two PWM pins to connect to.

Programming the Arduino to output the proper PWM value is so simple, I'm going to leave that to you to figure out.

5- Design a data command structure to send to the Adriuno from the PC the control the Bot.

What data do you need to send? There are only two inputs needed by that shield - a byte to control the speed of each motor. The "command structure" simply defines whether the first value is for motor 1 or motor 2. The other value must, then, be for the other motor.

Hi robobuilder did you get the sabertooth working. I am trying to do the same thing i'm have few issues with it can you please let me know asap.