Varick St. 150
Unknown NY
New York, Vereinigte Staaten, 10013
[email protected]
https://eckstein-shop.de/Adafruit-Marken
Am Ostbahnhof 3
Niedersachsen
Clausthal-Zellerfeld, Deutschland, 38678
[email protected]
https://eckstein-shop.de
GTIN: | 4060137097256 |
HAN: | 5956 |
Category: | Miscellaneous |
Storage Tiers: | Maintain |
Shipping weight: | 0,01 kg |
Item weight: | 0,00 kg |
Dimensions ( Length × Width × Height ): | 2,15 × 1,78 × 0,40 cm |
The Adafruit USB Host BFF 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 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, and its specialty is AVR support, but it 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. Make sure your desired QT Py mainboard is supported between the two libraries before purchasing!
To keep the BFF very compact, we 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. Unlike our USB Host 'Wing we 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, we 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.
We 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; 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
Github
Manufacturer according to GPSR
Adafruit Industries LLC, Varick St. 150, 10013 New York, Unknown NY, Vereinigte Staaten, [email protected], https://eckstein-shop.de/Adafruit-Marken
Responsible person according to GPSR
Eckstein GmbH, Am Ostbahnhof 3, 38678 Clausthal-Zellerfeld, Niedersachsen, Deutschland, [email protected], https://eckstein-shop.de