This is a short announcement about a new feature added to USB Host Shield 2.0 Library. Kristian Lauszus from TKJ Electronics developed and contributed code for interfacing to several Sony PS3 game controllers and has been working on refining it for several months. Two days ago he posted a pull request on GitHub with the following comment:
I don’t know if you could post it on your blog too, so people will know that it now also supports the controllers via USB?
Since the beginning, Kristian concentrated on Bluetooth interface for the controllers. This is the preferred way, however, the standard wired USB interface is as good as Bluetooth dongle plus it is 100% compatible. Take a look at this example showing how to initialize PS3 controller and access its buttons, joysticks and accelerometers.
Kudos to Kristian for this nice piece of code!
Oleg.
No related posts.


Is it possible to detect button hold? Thanx
Yes, just use getButtonPress instead of getButtonClick.
Thank you again Lauszus
Can we connect the ps3 controller to arduino wirelessly. If yes how can we do that and what do we need to add
Take a look at this blog post: http://www.circuitsathome.com/mcu/sony-ps3-controller-support-added-to-usb-host-library. All you need is a standard Bluetooth dongle and of course the USB Host Shield.
I am creating an RC spy car. I have the car but no control can I adapt an arduino microcontroller to the ps3 dual shock 3 and use it to control the rc car? Do I need to take the original board from the car and replace it with the arduino or do i still have to use the orignal board?
Check out this post at my blog: http://blog.tkjelectronics.dk/2011/02/wifi-controlled-rc-car-with-the-arduino/.