- #Arduino usb host shield 2.0 library how to#
- #Arduino usb host shield 2.0 library install#
- #Arduino usb host shield 2.0 library serial#
GPIO16 is NOT usable, as it will be used for some other purposes.Note it uses pin 15 and 5 for SS and INT respectively.ESP8266 is supported using the ESP8266 Arduino core.Take a look at the following example code. Currently the NUCLEO-F446RE is supported featuring the STM32F446.Note if you are using the Teensy 3.x you should download this SPI library as well.Teensy (Teensy++ 1.0, Teensy 2.0, Teensy++ 2.0, Teensy 3.x, Teensy LC and Teensy 4.x).Note native USB host is not supported on any of these platforms.See the "Interface modifications" section in the hardware manual for more information. Note that the Intel Galileo uses pin 2 and 3 as INT and SS pin respectively by default, so some modifications to the shield are needed.Arduino Due, Intel Galileo, Intel Galileo 2, and Intel Edison.All official Arduino AVR boards (Uno, Duemilanove, Mega, Mega 2560, Mega ADK, Leonardo etc.).To turn it on simply change ENABLE_UHS_DEBUGGING to 1 in settings.h like so:Ĭurrently the following boards are supported by the library:
#Arduino usb host shield 2.0 library serial#
Enable debuggingīy default serial debugging is disabled.
#Arduino usb host shield 2.0 library how to#
How to use the library Documentationĭocumentation for the library can be found at the following link. Now you should be able to go open all the examples codes by navigating to "File>Examples>USB_Host_Shield_20" and then select the example you will like to open.įor more information visit the following sites: and. The final structure should look like this: Now move the "USB_Host_Shield_20" directory to the "libraries" directory. Open that directory and create a directory called "libraries" inside that directory. There you will see the location of your sketchbook. Now open up the Arduino IDE and open "File>Preferences". Then uncompress the zip folder and rename the directory to "USB_Host_Shield_20", as any special characters are not supported by the Arduino IDE. Manual installationįirst download the library by clicking on the following link. Please see the following page for instructions.
#Arduino usb host shield 2.0 library install#
How to include the library Arduino Library Managerįirst install Arduino IDE version 1.6.2 or newer, then simply use the Arduino Library Manager to install the library. Aran Vink - Developer of the amBX library.Yuuichi Akagawa - Developer of the MIDI library.Andrew Kroll - Major contributor to mass storage code.Kristian Sloth Lauszus - Developer of the BTD, BTHID, SPP, PS5, PS4, PS3, Wii, Switch Pro, Xbox, and PSBuzz libraries.Oleg Mazurov - Alexei Glushchenko - Developers of the USB Core, HID, FTDI, ADK, ACM, and PL2303 libraries.įor more information about the hardware see the Hardware Manual. The shield can be purchased from TKJ Electronics. This is Revision 2.0 of MAX3421E-based USB Host Shield Library for AVR's. The code is released under the GNU General Public License.