Sabertooth 2x12 not working in simple serial

hello,
I have a sabertooth 2x12 connected to my arduino duemilanove like this.
GND ----> 0v
5v -------> 5v
TX(pin 1)-> S1

and my sabertooth dip switches are configured like so.

1–>up
2–>down
3–>up
4–>down
5–>up
6–>up

and i am trying to run the sample code that came with the SabertoothSimplified library shown below.

// Copyright (c) 2012 Dimension Engineering LLC
// See license.txt for license details.

#include <SabertoothSimplified.h>

SabertoothSimplified ST; // We'll name the Sabertooth object ST.
                         // For how to configure the Sabertooth, see the DIP Switch Wizard for
                         //   http://www.dimensionengineering.com/datasheets/SabertoothDIPWizard/start.htm
                         // Be sure to select Simplified Serial Mode for use with this library.
                         // This sample uses a baud rate of 9600.
                         //
                         // Connections to make:
                         //   Arduino TX->1  ->  Sabertooth S1
                         //   Arduino GND    ->  Sabertooth 0V
                         //   Arduino VIN    ->  Sabertooth 5V (OPTIONAL, if you want the Sabertooth to power the Arduino)
                         //
                         // If you want to use a pin other tzhan TX->1, see the SoftwareSerial example.

void setup()
{
  SabertoothTXPinSerial.begin(9600); // This is the baud rate you chose with the DIP switches.
}

void loop()
{
  int power;
  
  // Ramp motor 1 and motor 2 from -127 to 127 (full reverse to full forward),
  // waiting 20 ms (1/50th of a second) per value.
  for (power = -127; power <= 127; power ++)
  {
    ST.motor(1, power);
    ST.motor(2, power);
    delay(20);
  }
  
  // Now go back the way we came.
  for (power = 127; power >= -127; power --)
  {
    ST.motor(1, power);
    ST.motor(2, power);
    delay(20);
  }
}

My problem is that the only reaction i get from the motors is one little turn at start up then nothing else. i can see the tx light flickering on the arduino so i know its trying to send something but the sabertooth isn’t listening.

any feedback would be great.
thanks, Logan

I think the Sabertooth library may be written for the Arduino IDE prior to version 1.0. I just had a similar problem with my Sabertooth 2x25.
If I am correct what is going on is the library writes to the Sabertooth using the command
Serial.print (value,BYTE);
This is from an older version of Arduino IDE
With Arduino IDE 1.0 Serial.print actually prints the ASCI letter corresponding to that number. To send the correct 8 bit byte corresponding to a motor speed which the Sabertooth understands the command to print a 8 bit byte is now
Serial.write(value);
I think you can junk the library.
Try this as a test of your Sabertooth motor controller:

#include <SoftwareSerial.h>
SoftwareSerial motorSerial(2, 3); // RX, TX  Connect pin 3 to the Sabertooth S1 connection

void setup(){
    motorSerial.begin(9600);
}

void loop (){
  delay (2000);
  
  motorSerial.write (256); //Note 256 pushes a 8 bit 0, 255 roles over to 0, I had an compiling error writing 0? but 256 works?
  delay (2000);
  
  motorSerial.write (2);  //Motor 1 fast one direction 
  delay (2000);

  motorSerial.write (64);  //Motor 1 stop
  delay (2000);
 
  motorSerial.write (126);  //Motor 1 fast other direction 
  delay (2000);

  motorSerial.write (256);   // All Motors stop
  delay (2000);
  
  motorSerial.write (128); //Motor 2 fast one direction 
  delay (2000);
  
    motorSerial.write (192);  Motor 2 fast other direction 
  delay (2000);
  
  motorSerial.write (254);    // All Motors stop
  
  }

Hi l5o5g5a5n5, Did it work, I'm looking into running a bot like this too, Thanks, Jack

I was able to get it to run, bu both of my motors were doing the same thing. It was not switching between motors as I think it should. Also it ran both motors with no changes in speed or direction for a long time...several minutes until I unplugged it.