Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
LinkBack Thread Tools Display Modes
Old 22nd April 2005, 02:19 AM   (permalink)
Default Sony Playstation 2 controller to PIC

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.
Roboticinfo is offline  
Old 22nd April 2005, 05:34 AM   (permalink)
Default

This should be fairly easy. The PS2 controller protocol is well known.

http://www.gamesx.com/controldata/psxcont/psxcont.htm
crust is offline  
Old 22nd April 2005, 06:27 AM   (permalink)
Default reply

Thanks, but still open for other idea's
__________________
Robotics is heaven in my book.
Roboticinfo is offline  
Old 22nd April 2005, 11:09 PM   (permalink)
Default

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
Kingpin094 is offline  
Old 23rd April 2005, 03:27 AM   (permalink)
Default

I have a basic schematic for an AVR version here (for PSX). If you figure out how to request data from these PS2 types please let me know because no one seems to have data on them.
__________________
The most-hated young engineer in America.
* AVR Projects
* Robot War: TI
* About
DigiTan is offline  
Old 23rd April 2005, 07:39 AM   (permalink)
Default reply

Hey kingpin094 you think you can send me a e-mail of the code?
__________________
Robotics is heaven in my book.
Roboticinfo is offline  
Old 23rd April 2005, 03:35 PM   (permalink)
Default

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
Attached Files
File Type: txt psxjoy.txt (8.5 KB, 222 views)
Kingpin094 is offline  
Old 24th April 2005, 02:30 AM   (permalink)
Default reply

Thanks
__________________
Robotics is heaven in my book.
Roboticinfo is offline  
Old 25th April 2005, 05:19 AM   (permalink)
Default

Tell us know if you make any progress. This is very interesting. 8)
__________________
The most-hated young engineer in America.
* AVR Projects
* Robot War: TI
* About
DigiTan is offline  
Old 25th April 2005, 07:24 AM   (permalink)
Default reply

No problem.

I am in the process of choosing the PIC.
__________________
Robotics is heaven in my book.
Roboticinfo is offline  
Old 27th April 2005, 05:11 AM   (permalink)
Default reply

That sounds like a cool project GTAman
Gadget is offline  
Old 27th April 2005, 05:15 AM   (permalink)
Default reply

It is, and I am using it to control one of many robot's.
__________________
Robotics is heaven in my book.
Roboticinfo is offline  
Old 27th April 2005, 05:18 AM   (permalink)
Default reply

So you must build alot?
Gadget is offline  
Old 27th April 2005, 05:20 AM   (permalink)
Default reply

I like to build robot's?
Gadget is offline  
Old 27th April 2005, 05:40 AM   (permalink)
Default reply

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.
Roboticinfo is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 04:31 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker