[solved] Sparkfun USB Host Shield - R3 UNO - not getting input or results back

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 :stuck_out_tongue: 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 :slight_smile: 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 :slight_smile:

hmmm, mkay...

I've shorted D7 to RST and now it all works fine. Even though I kept reading that wasn't necessary for the new Sparkfun usb host shield.

Phew, back to the project :stuck_out_tongue:

TimmR:
hmmm, mkay...

I've shorted D7 to RST and now it all works fine. Even though I kept reading that wasn't necessary for the new Sparkfun usb host shield.

Phew, back to the project :stuck_out_tongue:

For anyone strangling with the Sparkfun USB Host Shield, older or newer, including DEV-09947 (SparkFun USB-C Host Shield - DEV-21247 - SparkFun Electronics), what TimmR wrote 3 years ago is still relevant, you have to connect D7 to RST on the shield otherwise the board will not work.

Thanks TimmR, you saved my day!