Hey all!
I've been spending three whole days now trying to figure out how the get my USB host shield to work. It's starting to drive me a bit crazy Any help or suggestions are welcome.
Ultimate goal:
To get input from a ps3 controller though the BT dongle connected to the usb host shield.
But since I read that not all BT dongles are supported I want to check if the shield itself works. So I started with a simple optical usb mouse and try to get input.
Current setup:
- Arduino R3 Uno
- Sparkfun USB Host Shield (new version) (no adjustments made,stacked on top)
- USB Host Shield library Version 2.0 (1.2.1)
- simple optical usb mouse
- external power, 12V 2A
- connected uno though usb to macbook
Results so far:
Started with basics: tried example sketch USB_desc.
- Every now and than: While uploading avrdude stk500_getsync(): not in sync. Resolves after a few tries or instantly after removing all but the usb to mac.
- Every now and than: Serial monitor displays: “start”, nothing more.
- Every now and than: Serial monitor displays: “Start, OSC did not start.”
- Very rarely it returns the actual information of the usb device
Now, this all happens when the whole setup is laying still on a solid surface.
Other observations:
- mouse only lids up when powering external (logical)
- Every now and than: mouse shuts off after starting the sketch (when it did work before)
- Every now and than: mouse blinks on briefly after using the reset button, then goes and stays off.
- Every now and than: when the serial monitor does return the correct information the mouse stays on. Sometimes 5 sec, sometimes 10 sec and sometimes until reset.
- Optically (by looking checked for dry / badly soldered headers.
Now, I can’t wrap my head around it what my next step or solution could be.
Any help is welcome