Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: BANE on February 05, 2011, 11:37:46 AM

Title: connecting PS2 controller to Axon II
Post by: BANE on February 05, 2011, 11:37:46 AM
Hello all,
i have a regular ps2 controller (no mad cat crap) and this connector from lynxmotion.  I have some questions about the colors of the wires since this diagram (the connector that i have) http://www.lynxmotion.com/images/html/build034.htm (http://www.lynxmotion.com/images/html/build034.htm)does not match this document http://webbot.org.uk/WebbotLibDocs/39767.html (http://webbot.org.uk/WebbotLibDocs/39767.html)

Here is what i have so far:
yellow-----------+5VDC
red&shield-------ground
white------------SCK          ??
blue-------------select        ??
orange----------MOSI          ??
brown-----------MISO          ??

any thoughts?

thanks in advance
Title: Re: connecting PS2 controller to Axon II
Post by: BANE on February 05, 2011, 05:28:58 PM
hurray for trail and error :P  it turns out i was right the first time

just for the records, anyone else who has this ps2 connector from lyxnmotion and want to connect it to the Axon II, here is the color diagram.
 
yellow-----------+5VDC
red&shield-------ground
white------------SCK        aka Clock
blue-------------select      aka attention
orange----------MOSI        aka Command
brown-----------MISO        aka Data
Title: Re: connecting PS2 controller to Axon II
Post by: KurtEck on February 06, 2011, 08:57:00 AM
Glad you got it working.  There have actually been several versions of these cables.  Lynxmotion does have it documented in several places.  The place I usually look is on their Bot Board 2 documentation: http://www.lynxmotion.com/images/html/build151.htm#aglance (http://www.lynxmotion.com/images/html/build151.htm#aglance)

Kurt

P.S - I personally prefer working with the Lynxmotion wireless controller or the Madcatz over the original Sony wired as the original one was not consistent on the values returned from the joysticks.  That is when you move a joystick and release it, such that it should go back to center, one time it might return to 123 and the next to 130... Where most of the other controllers returned back to a a reasonably consistent middle...