Arduino leonardo and USB Host Shield 2.0

I use Arduino Leonardo and USB Host Shield, similar to the image below. When I run the Example -> USB Host Shield 2.0 -> HID -> USB HID Boot mouse and try moving the mouse, the result in the Serial monitor is 'Start' and nothing happens.

  1. I have successfully installed the USB Host Shield Library 2.0.
  2. I have tried it with 3 mice and 2 PCs, and obtained the same result. It is clear that all of them can function normally.
  3. I have used the SparkFun USB Host Shield with the Arduino Lambda following the steps I previously mentioned, and it worked fine.
  4. I tried printing the value of Usb.init(), and it showed 0, indicating that this step has no issues. (if (Usb.Init() == -1) Serial.println("OSC did not start.")
  5. My Arduino board and USB Host Shield are genuine.
  6. The USB Host Shield in the image does not require soldering.

"Please speak politely. I am just a beginner when it comes to hardware."

image


Worthless information.
Please read and use this link: How to get the best out of this forum - Using Arduino / Project Guidance - Arduino Forum

1 Like
  1. I am still new to hardware.
  2. I'm sure I read the thread you sent before posting.
  3. I provided all the information according to the thread you sent, such as my problem, hardware type, and code.
  4. If you need any additional information, please let me know. If you don't tell me, I won't know.
  5. This is the most important point: please speak politely (as mentioned in the thread you sent).

Where are the links to the datasheets?
Where is the schematics?
Where did it tell You to provide code using not readable (blurred) screen shots?

Thanks for the lesson. I'll change to other activities. Help Yourself.

2 Likes

If you need additional Datasheets, schematics, and illustrative images for the code example that anyone can easily access through the Usb host shield 2.0 library, I think I should seek advice from others. Thank you for taking the time to respond to my thread.

You have completely misunderstood the standards here.
If You provide the requested information almost any helper can contribute.
The alternative is that You wait, wait and wait until some helper recognises the stuff and steps in.
If You think helpers will search for such information You're terribly wrong. That kind of work falls on You. Helpers have private interests, private lives and work here for free.

2 Likes

Did you try the manufacturer - sparkfun ?
Every product of theirs has a Q&A tab.

Don't anybody let this turn into "work".

1 Like

Thank you for the advice. I will try posting and asking for more information.

Regarding additional information, I have used the SparkFun USB Host Shield with the Arduino Lambda following the steps I previously mentioned, and it worked fine. I'm not exactly sure why when I switched to the Leonardo board, it started having issues.

Now my problem has been resolved. I have obtained additional information and made the necessary corrections. Thank you to everyone who provided me with helpful and constructive advice.

"Let's continue to communicate respectfully."

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.