Hi,
I recently purchased a sparkfun USB Host Shield to allow an Arduino Uno to interface with a PS3 Dualshock 3 controller. My objective is to hardwire it to the shield in order to control two DC motors.
After installing the USB Host Shield 2.0 library and running the PS3USB example code I was able to get the PS3 controller to work for a couple of minutes. After some time of playing around and having the print outs appear over the serial monitor, the PS3 controller disconnected. Since then I have been having disconnection issues all the time.
The three cases I am getting are:
- The USB shield does not initialize and the "OSC did not start" error appears
- The "PS3 USB library started" message appears and then the controller disconnects
- The print outs work for a number of seconds and then hangs up.
At first I thought it was a power issue after reading a comment about Sparkfun boards but I have tried connecting my Uno to a 12V wall wart supply and then I switched to a DC bench supply and set it to 9V and it has not had an effect.
I also decided to buy an Xbox 360 wired controller and use the XBOXUSB example code. This worked for some time (10-15 mins) and with multiple trials but also eventually stopped working with similar issues with connectivity. Also, my supply showed me that I only used a maximum of 200mA while using the controller.
I have a feeling that this problem may go away if I buy the Official USB Host Shield but I would like to know has anyone has experienced/solved this problem?
Thanks,