Monthly Archives: March 2015

PiPS2 – Playstation 2 Controller Library for the Raspberry Pi

Hey Everyone!

I have been working on a library to interface with a Playstation 2 controller using my Raspberry Pi. Raspberry Pi is an amazing brain for any robot so having a nice convenient way to interface with a wireless PS2 remote can make an awesome addition to any robot. I will be using it for my Pi controlled hexapod. Currently there is no functionality to enable rumble, I will hopefully be adding that soon. Also, obtaining the game controller state is kind of crude as you just need to access the public PS2data[] uint8_t array from the object. That will probably change soon too; but other than that it is working great.

You can find the most recent version at my github:

https://github.com/c-herring/PiPS2

And here is a video with a quick overview and some fun servo control:

– Chris