Using a plugin USB Keyboard with an Arduino Giga R1 Wifi

Hi Guys,

I reciently recieved my Arduino Giga R1 Wifi board. I have been trying to find an example of one that uses a keyboard connected to the USB - A. Do any of you have any pojects?

Hi @williamnumismatics. There is a library here:

The library is in the alpha development phase, so maybe not very polished or well supported. For this reason, it is not available for installation from the Arduino IDE Library Manager. I'll provide instructions for installing it with Arduino IDE in case you would like to try it:

  1. Click the following link to open the library's GitHub repository homepage in your web browser:
    https://github.com/arduino-libraries/USBHostGiga
  2. Click the "Code ▾" button you see on that page.
  3. Select Download ZIP from the menu.
    A download of the ZIP file of the library will start.
  4. Wait for the download to finish.
  5. Select Sketch > Include library > Add .ZIP Library from the Arduino IDE menus.
    The "Select the zip file containing the library you'd like to add" dialog will open.
  6. Select the downloaded file from the dialog.
  7. Click the "Open" button.
    The dialog will close.
  8. Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:

    ⓘ Successfully installed library from ...

You will now find a sketch demonstrating the library usage under the IDE's File > Examples > USBHostGiga-master > KeyboardGiga menu.


There is another more well-polished library for the GIGA R1 WiFi USB host functionality named "Arduino_USBHostMbed5". There is some information about the usability of that library with keyboards in the "USBHostGiga" library's readme:

https://github.com/arduino-libraries/USBHostGiga#readme

This library has been created to overcome the limitations of GitHub - arduino-libraries/Arduino_USBHostMbed5 when it's time to talk with USB Low Speed devices like keyboards and mice.

In case you are interested in using the "Arduino_USBHostMbed5" library instead of the "USBHostGiga" library, there is some discussion about that here:

and more here:

3 posts were split to a new topic: How to get past "Invalid DFU suffix signature"?