![]() | ![]() | ![]() |
| | |||||||
| Robotics Chat Specific to discussions about robots and the making of. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| I want to interface a sony playstation 2 controller to a PIC for robot controller. Also I would use a wireless PS2 controler so I could control the robot wirelessly. Any Idea's
__________________ Robotics is heaven in my book. | |
| |
| | (permalink) |
| This should be fairly easy. The PS2 controller protocol is well known. http://www.gamesx.com/controldata/psxcont/psxcont.htm | |
| |
| | (permalink) |
| Thanks, but still open for other idea's
__________________ Robotics is heaven in my book. | |
| |
| | (permalink) |
| I have code for the 16F877 that interfaces with a PS1 controller. I wouldn't think that it would be to difficult to get it to talk to a PS2 controller. I havn't looked into the differences so I could not say for sure. As for the wireless portion I would expect that it would be transparent to the PS2. I used a PS1 controller and a set of wireless trancievers to control a robot. Worked like a charm. Good luck, kingpin094 | |
| |
| | (permalink) |
| Hey kingpin094 you think you can send me a e-mail of the code?
__________________ Robotics is heaven in my book. | |
| |
| | (permalink) |
| Here is the code for the PS1 controller. I didn't origonally write it but when I got the code I had to modify it a lot to get it to work. This program will read the controller and dump the data out the hardware UART. Crystal is 4MHz. Hope this gets you started. kingpin094 | |
| |
| | (permalink) |
| Thanks
__________________ Robotics is heaven in my book. | |
| |
| | (permalink) |
| Tell us know if you make any progress. This is very interesting. 8) | |
| |
| | (permalink) |
| No problem. I am in the process of choosing the PIC.
__________________ Robotics is heaven in my book. | |
| |
| | (permalink) |
| That sounds like a cool project GTAman | |
| |
| | (permalink) |
| It is, and I am using it to control one of many robot's.
__________________ Robotics is heaven in my book. | |
| |
| | (permalink) |
| So you must build alot? | |
| |
| | (permalink) |
| I like to build robot's? | |
| |
| | (permalink) |
| I build about 2 robot's every 2 week's? But can't do any this month do to building my hi-tech shed.
__________________ Robotics is heaven in my book. | |
| |