> **Source:** Core Electronics is an Australian maker-electronics retailer and manufacturer based in Newcastle, NSW, run by a team of makers and educators. We design and manufacture our own product lines (PiicoDev, CE originals) and are official retailers for iconic maker and industrial brands including Raspberry Pi, Arduino, Adafruit, SparkFun and DFRobot. Orders ship Australia-wide from our Newcastle warehouse. Prices are in AUD and include GST. Pricing, stock and dispatch on this page are generated from the store's live catalog. Full machine-readable index: https://core-electronics.com.au/llms.txt

# Adafruit USB Host BFF for QT Py or Xiao with MAX3421E

**Type:** Product page · **SKU:** ADA5956 · **Brand:** [Adafruit](https://core-electronics.com.au/brands/adafruit-australia)
**Page:** https://core-electronics.com.au/adafruit-usb-host-bff-for-qt-py-or-xiao-with-max3421e.html ([markdown](https://core-electronics.com.au/adafruit-usb-host-bff-for-qt-py-or-xiao-with-max3421e.html.md))

Is your QT Py all alone, lacking a friend to travel the wide world with? When you were a kid, you may have learned about the "buddy" system....

## Pricing

- **Price:** $25.70 (inc GST) — $23.36 AUD, exc GST
- **Quantity discounts:** 10+ $22.66 (exc GST) · 50+ $22.20 (exc GST)

## Availability & dispatch

- Available with a lead time — expect dispatch between Aug 20 and Aug 24.

## How to buy

- **Build a cart:** compose `https://core-electronics.com.au/cart/link?items=ADA5956:1` (comma-separated SKU:qty pairs) and share the link. Opening it shows a confirmation page with live pricing and stock before anything is added to the cart.
- **Verify the cart first:** fetch `https://core-electronics.com.au/cart/link/ADA5956:1.md` for live line prices (inc & exc GST, quantity discounts applied), stock and dispatch estimates, and totals. Append `/to/{AU-postcode}` (or `/to/{country-code}:{postcode}`) before `.md` for delivery options and prices to that destination. Unknown, retired, or out-of-stock SKUs are flagged. (Query form `cart/link.md?items=...` also works but some robots parsers refuse query strings here.)
- **Checkout** is completed on-site and includes a captcha at the payment step. Share the cart link; checkout takes it from there.
- **Search the catalogue:** `https://core-electronics.com.au/search/{query}.md` (URL-encode the query; pages 2-3 at `search/{query}/{page}.md`; `search.md?q=` also works)
- **Payment methods, purchase orders, policies and contact details:** https://core-electronics.com.au/llms.txt
## Description

[Is your QT Py all alone](https://core-electronics.com.au/search?q=qt+py), lacking a friend to travel the wide world with? When you were a kid, you may have learned about the "buddy" system. Well, this product is kind of like that! It is a board that will watch your QT Py's back and add a USB Host port.

That means that your tiny microcontroller project can have a keyboard, mouse, or disk drive plugged into it, opening up a huge ecosystem of common off-the-shelf devices that you can now integrate. The **Adafruit USB Host BFF** makes it easy to add USB Host support, especially now that [TinyUSB supports it in the Arduino library](https://github.com/adafruit/Adafruit_TinyUSB_Arduino) as a 'native' interface for host support.

This BFF 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 won't 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](https://github.com/felis/USB_Host_Shield_2.0), and its specialty is AVR support, but it also seems to support nRF52 and ESP32.

Adafruit personally recommend using the [TinyUSB Arduino library](https://github.com/adafruit/Adafruit_TinyUSB_Arduino) - 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**. Make sure your desired QT Py mainboard is supported between the two libraries before purchasing!

To keep the BFF very compact, Adafruit use a micro-B USB "OTG" connector - a full sized USB Type A wouldn't fit! You'll need to use [a basic OTG adapter (such as those sold for use with the Pi Zero) to convert to type A](https://core-electronics.com.au/tiny-otg-adapter-usb-micro-to-usb.html). Unlike Adafruit's [USB Host 'Wing](https://core-electronics.com.au/adafruit-usb-host-featherwing-with-max3421e.html) Adafruit don't include a 5V power booster, so you will need to power the QT Py + BFF over USB or in some other way provide 5V on the 5V power line. However, to make it easier to power-cycle the peripheral, Adafruit have wired up a P-FET for switching the 5V host power on and off, you can either short the pin to A0 or you can use the MAX3421E's GPIO pin.

Adafruit include some header that you can solder to your QT Py. [You can also pick up an Itsy Bitsy short female header kit to make it removable but compact](https://core-electronics.com.au/short-female-header-kit-for-itsybitsy.html); you'll need to trim the headers to 7 pins long.

Remember, you need driver support for the MAX3421E (see above for chips that are known to work). 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.

**QT Py or Xiao is not included!**

## Technical Details 

Product Dimensions: 21.5mm x 17.8mm x 4.0mm / 0.8" x 0.7" x 0.2"

Product Weight: 1.5g / 0.1oz

![RoHS 2 2011 65 EU Compliant](https://core-electronics.com.au/attachments/localcontent/RoHS2_2011_65_EU_7356c5574c.svg)![RoHS 2 2015 863 EU Compliant](https://core-electronics.com.au/attachments/localcontent/RoHS2_2015_863_EU_86773f57f9.svg)

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/A/D/ADA5956-1.jpg)
