Arduino + Dualshock2

I’m working on a new project that could use some kind of game controller. I’ve got a few old PS2 controllers lying around so I got really excited when I stumbled on Bill Porter’s PS2X library. It looked pretty straight forward, and I was itching for excuses to practice soldering so I took apart an old PS2 adapter for its female connector and wired it up to an Arduino Uno.

IMG_0822.JPG

For reasons still unknown to me, I just couldn’t get the library to recognize a connected controller. I was powering the device just fine but data wasn’t making it to the Arduino or it wasn’t being interpreted correctly. (If any of you got it to work, I’d love to know how!)

Anyhow, long story short: I ordered a $19 PS2 Shield and you know what? It was worth every penny. It’s really well documented and even supports hot-swapping controllers. I highly recommend it. Here it is in action with my debug sketch:

IMG_0826.JPG

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s