Lots 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? That 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 Adafruit USB Host FeatherWing makes it easy to add USB Host support, especially now that TinyUSB supports it in the Arduino library as a ‘native’ interface for host support.
This 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 USB Host Library that can be used, and it’s specialty is AVR support, but also seems to support nRF52 and ESP32. We personally recommend using the TinyUSB Arduino library – however the trade-off is that the chip must have TinyUSB support already which means it’s great for RP2040, ESP32-S2 or S3, nRF52840, SAMD21/51 chips. Between the two libraries, just make sure your desired Feather mainboard is supported before purchasing!
Next 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.
Comes 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) and 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.
Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!
Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: New Python Releases, an ESP32+MicroPython IDE and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi
EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey