Hello everyone and I am new here so excuse my low level knowledge on this forum.
I have a BS2 and a sabertooth 2X5, the more expensive version with the screw terminals. I have tried doing serout on the BS2 with the baud rates that the sabertooth manual says I should with the correct dip positions and the motors do not even budge or show ANY type of reaction to the code.
Then I tried doing pulsout copying synren’s bs2 code, but I only have the throttle up and down part working. I have the 0v on the sabertooth attached to vss on the bs2.
Also when doing turns for the first second or 1/2 second the sabertooth gets “lazy”, the bot turns nicely for the 1st second but then it just barely could turn, like very weakly. Now the bot is not heavy at all, the motors are not pulling to much power I presume and sabertooth does not get hot at all. I was thinking that maybe the battery is low or a v-drop of some kind, but the battery is charged and I don’t have a multimeter to check the voltages.
On the pack of the battery it says 9.6V so I think that it’s not the battery’s problem. One thing I also noticed, when the sabertooth gets “lazy” on the turns, the blue light on the tooth turns off, but the error light does not turn on, I also loose power to the bs2 during this part. I have no idea as to why this happens.
Also when doing pulsout my the wheels turn in a weird way. When I press 5 according to my code there should be two puslouts, one for each side, but sometimes oneside starts up slowly and the other not at all. Then if I press 5 again the other slow side speeds up, and the side that did not rotate also speeds up to a speed when they both are at the same rpm.
I have no idea as th why this is happaning, a defective sabertooth? My code? I have no idea, but I also included the code to help get some help.
So help your fellow roboticist here?
' {$STAMP BS2}
' {$PBASIC 2.5}
LOW 0
LOW 1
aa VAR Nib 'start up with lows and variables
DEBUG "the bot",CR
DO 'the actuall robot code
DEBUGIN aa 'sees what user pressed on keyboard
IF aa=2 THEN 'backwards if key #2 is pressed
PULSOUT 0, 1000
PAUSE 10
PULSOUT 1, 1000
PAUSE 10
ENDIF
IF aa=0 THEN ' brakes/coasts to stop if #0 is pressed
PULSOUT 0, 750
PAUSE 10
PULSOUT 1, 750
PAUSE 10
ENDIF
IF aa=5 THEN ' goes forward if key #5 is pressed
PAUSE 10
PULSOUT 1,600
PAUSE 10
PULSOUT 0,600
PAUSE 10
ENDIF
IF aa=1 THEN ' makes left motor go in reverse and right forwards
PAUSE 10
PULSOUT 1,650
PAUSE 10
PULSOUT 0,850
PAUSE 10
ENDIF
IF aa=3 THEN ' makes right motor go in reverse and left forwards
PAUSE 10
PULSOUT 1,850
PAUSE 10
PULSOUT 0,650
PAUSE 10
ENDIF
DEBUG DEC1 aa 'shows what user has pressed
LOOP 'loops back to actuall code