Botboarduino, PS2 and Sabortooth

I’m in need of some major help. I’ve got a BotBoarduino robot controller, PS2 controller V3, Sabortooth 2x5 RC, two servos and two motors. I’ve constructed a skid steerer for my son and i haven’t the foggiest idea how to program. Does anyone know of a code source or am i going to have to find someone who can code?

I would suggest that you follow the tutorial: lynxmotion.com/images/html/A4WD1U-guide.html
Hardware wise it may not match your rover, but does show you how to wire things up and also points you to a sample program that they have up on github.

Kurt

Thanks Kurte, I’ve hooked everything up as instructed and have uploaded the program and the PS2 control doesn’t seem to be having an affect on the robot. Do you have any more suggestions?

WARNING: the sample program in the tutorial is wrong! It is trying to do servo commands to IO pins 3 and 4, which does not match the wiring in the tutorial. Note: the RC input to the Sabertooth act like servos, but only if you are outputting to the right IO pins!

Options:
a) Change the program to match the tutorial: I think it might work like:

// Attaches servos to digital pins 3 and 4 on the BotBoarduino servoleft.attach(3); servoright.attach(4);
Change the 3 and 4, to 10 and 11.

b) Try moving the wires from 10 and 11 to 3 and 4

c) Use a different program. Example, I have one that was extracted from the Rover with Arm project. It has a few more features. But may require some changes to the sabertooth settings. In particular this program uses independent mode instead of mixed mode.

If none of these help, please try to describe exactly how everything is wired up. Better yet, post pictures of boards showing the wiring and any jumper settings.

Also show/describe the power going to each of these boards. Example a 12 battery is hooked up to Sabertooth a 6v Battery is hooked up Botboarduino in VS and the VS=VL jumper is set.
You have the two wires connecting up the Sabertooth to the BBD with the power wires disconnected like it showed in the tutorial…

Again if non of the suggestions above help, my next step would be to check to make sure the PS2 is communicating properly. Questions, like do both lights come on? …

Kurt
Arduino_Rover-140302a.zip (8.66 KB)