{"product_id":"adafruit-usb-host-featherwing-with-max3421e","title":"Adafruit USB Host FeatherWing with MAX3421E","description":"\u003cp\u003eLots of microcontrollers these days have USB ports on them, to program or debug, act like a keyboard or disk drive, or simply send data between a computer and your firmware. But did you know that you can also add a USB Host port?\u003c\/p\u003e\n\u003cp\u003eThat means that your microcontroller project can have a keyboard or mouse or disk drive plugged into it - which opens up a huge ecosystem of common off-the-shelf devices that you can now integrate. The\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eAdafruit USB Host FeatherWing\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003emakes it easy to add USB Host support, especially now that\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_TinyUSB_Arduino\"\u003eTinyUSB supports it in the Arduino library\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003eas a 'native' interface for host support. \u003c\/p\u003e\n\u003cp\u003eThis Wing uses the MAX3421E - a tried and true USB Host chip. It uses SPI plus an IRQ pin to send data to just about any USB device. Note that because the chip is older, and you're limited to the SPI port speed, you're not going to get blazing 480Mbps high speed data transfer. But for basic HID interfacing, or even reading\/writing to a Mass Storage device, it does work quite well. There's a famous\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/github.com\/felis\/USB_Host_Shield_2.0\"\u003eUSB Host Library that can be used\u003c\/a\u003e, and it's specialty is\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eAVR\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003esupport, but also seems to support nRF52 and ESP32. We personally recommend using the \u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_TinyUSB_Arduino\"\u003eTinyUSB Arduino library\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003e- however the trade-off is that the chip must have TinyUSB support already which means it's great for\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eRP2040, ESP32-S2 or S3, nRF52840, SAMD21\/51 \u003c\/strong\u003echips. Between the two libraries, just make sure your desired Feather mainboard is supported before purchasing! \u003c\/p\u003e\n\u003cp\u003eNext to the MAX3421E we have a 5V 1A booster with 500mA fuse, which can provide a nice clean 5V from the USB or Battery power supply. An enable pin is available to power cycle when desired.\u003c\/p\u003e\n\u003cp\u003eComes as an assembled Wing with some header. Solder on the header and plug into a Feather Mainboard to expand it's capabilities! Don't forget, you need driver support for the MAX3421E (see above for chips that are known working) \u003cem\u003eand\u003c\/em\u003e unless you're using a generic mouse, keyboard, CDC serial or USB mass storage device you will also need a USB driver that knows how to talk to the device - and writing a driver is non-trivial.\u003c\/p\u003e\n\u003ch2\u003eTechnical Details\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eProduct Dimensions: 52.0mm x 22.8mm x 8.8mm \/ 2.0\" x 0.9\" x 0.3\"\u003c\/li\u003e\n\u003cli\u003eProduct Weight: 6.3g \/ 0.2oz\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eLearn\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-usb-host-featherwing-with-max3421e\"\u003ePrimary Guide: Adafruit USB Host FeatherWing with MAX3421E\u003c\/a\u003e\u003cbr\u003eLet your 'wing host your USB\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":41365472116819,"sku":"ADA5858","price":14.95,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/5858-00.jpg?v=1707236453","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/adafruit-usb-host-featherwing-with-max3421e","provider":"Pimoroni Ltd","version":"1.0","type":"link"}