Playstation Controller Interface
Hey everyone I'm having some troubles with getting my PS2 controller to work with my boe bot. I have tried codes that are known to work so I don't think it's the coding. I am using the lynmotion adapter cable to connect and am thinking my problem is with the connections. Anyone out there have pics or some suggestions on the matter for me? I have to have this done by monday for school and I would appreciate all the help!
Comments
Jax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If a robot has a screw then it must be romoved and hacked into..
Take a look at the N&V article and code that I have attached below. It may help.
Also do a web search for "Mr Roboto".
Regards,
TCIII
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you are going to send·a Robot·to save the world, you·better make sure it likes it the way it is!
Post Edited (Tom C) : 12/6/2008 6:29:26 AM GMT
Jax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If a robot has a screw then it must be romoved and hacked into..
The Lynxmotion adapter is really designed for the Lynxmotion BBII.
I have successfully used the Lynxmotion adapter with the Lynxmotion BBII.
I am attaching·a link to several articles from Servo Magazine that provide you with the circuitry necessary to interface the Lynxmotion adapter to the BOE/BS2.· http://www.servomagazine.com/media-files/549/July06%20MrRoboto.zip
If you cannot interpret the schematic in the articles in order to build the circuit, then you will not be able to interface the BOE·with the Lynxmotion adapter.
Regards,
TCIII
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you are going to send·a Robot·to save the world, you·better make sure it likes it the way it is!
Post Edited (Tom C) : 12/6/2008 6:25:37 PM GMT
·······
You will notice that the #1 pin on the Lynxmotion adapter is DAT and so is the #1 pin in the Jon Williams tutorial.
Now that we have a reference, the #1 pin, you should be able to see a one for one correspondence between the Lynxmotion adapter pins and the pins in the Jon Williams tutorial.
You will have to build the Jon Williams BOE to PS2 interface circuit to allow the BOE/BS2 to communicate with the PS2 Lynxmotion connector.
This means you will have to add a pull-up resistor to the DATA (PSx dat) line and invert the PSx clock going to the Lynxmotion adapter from the BOE.
The pin definitions are one to one on both the Lynxmotion adapter and the Jon Williams tutorial circuit.
Hope this helps.
Regards,
TCIII
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you are going to send·a Robot·to save the world, you·better make sure it likes it the way it is!
Jax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If a robot has a screw then it must be romoved and hacked into..
Brown / Brown / Pin 1 / PsxDat
Orange / Orange / Pin 2 / PsxCmd
Green / Gray / Pin 3 / Switched +9V
Shield / Black / Pin 4 / Ground
Yellow / Red / Pin 5 / +5V Supply
Blue / Yellow / Pin 6 / PsxAttn
Black / Blue / Pin 7 / PsxClock (transistor collector)
/ White / Pin 8 / Not Connected
Violet / Green / Pin 9 / Not Connected
Mike you beet me to the wire layout, lol good job!
Jax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If a robot has a screw then it must be romoved and hacked into..