Hey,
Is there a special way of interfacing the basic atom pro with the sabertooth 2x5 using simplified serial? I’ve tried using the serial data from my PS2 controller and using the SEROUT command to send that data to the sabertooth (from the y-axis of one of the joysticks to test it out). I made sure that the data was within the range of values for the sabertooth (I think it was 1-127, with 64 being stopped) by first outputting to my computer, which it did successfully. However, when I changed the SEROUT to output through a pin to the sabertooth…the motor did respond to different joystick positions, but it only spun in one direction and the different speeds were very random.
I was using a BR of 38400, if that helps any. I also used a lower BR with the same results. In fact, different serial data values didn’t really effect the results (like if I divided the values vs. not doing anything), though if I used a different BR on the ST than on the atom, it wouldn’t work, which is expected. I attached a couple of ceramic capacitors to each of the terminals because I heard you need to do that too, or else the speeds aren’t as precise as they should be, because you get interference…?
Any suggestions? I’m hoping the problem is rather simple and there’s something I’m overlooking again.
-Thanks!