Connecting PS2 to Arduino UNO to use with Sabertooth

Hello there!

I’m working on the basics components of my new robot: Tri-Track mechanical frame, Lynx PS2 wireless PS2 controller, Sabertooth 2x5 and a few sensor here and there.
I have never worked with those specialized MCU (arduino/BasicAtom).

I have seen that the Arduino uses the C language which is better for me since I don’t know much about Basic and don’t want to bother learning it now :stuck_out_tongue:

Is there some guidelines on how to wire the Lynxmotion wireless PS2 controller to the arduino and how to uses some of its basic functions?

thank you ! :slight_smile:

Additionnaly, if someone worked with the Arduino’s boards, they say maximum 12V input to prevent overheat, is a 12V battery still okay since it goes around 13ish volts when full?

The users guide for the Botboarduino (lynxmotion.com/images/html/build185.htm), heading 8 along with where the internal link for shorting bar, shows how to connect up the PS2 to the BotBoarduino. You can pretty much follow these type of recomendations for connecting up to the UNO with the following caveats.

  1. Uno has female pins where the BBDuino has male pin, which the cables easily plug into. In the past I have used the Male/Male connectors that come with Servo extension wires to connect it to the UNO.
  2. Pins 6-9 used by default by BBDuino may not be as easy to use on UNO as this splits connectors which depending on your cables may or may not be an issue. You can try to use these or simply change the init call to which ever pins you use
  3. the BBDuino has a Pull-up(PU) resistor on the Data line, where the UNO does not. However internal to both boards the ATmega328 has weak PU on all IO pins and the library does enable these. On at least 75% of the cases I have tried this has been sufficient. If not on yours, can easily add an external one… Can cross that bridge when we have to.

The thread: viewtopic.php?f=22&t=8266 has lots of details about where to download the library from as well as talking about where to install libraries, etc.

As for 12V battery, I will let the experts fully answer, but my take on it is it depends on what you do with the board. If it simply is running the board and not trying to provide a lot of power it may be fine, however if it needs to drive a lot of stuff, then heat may be an issue…

Kurt

Thank you very much I will take a look! Thanks for the links!

i would highly recommend to get the bot board as to a uno. The bot board is made for robots and they have made it best for using it on a robot. As with the uno it has the same idea behind it but u have to use a bread board to share 5v to everything. The bot board has the headers for you with 5v, Gnd and signal in one, Meaning that u can use servo wires and make it alot nicer as to uno.Were you have to use 3 jumpers to hook up one servo or led or sensor. Jest some things to think about when choosing.