{"product_id":"adafruit-feather-rp2040-with-usb-type-a-host","title":"Adafruit Feather RP2040 with USB Type A Host","description":"\u003cp\u003eYou're probably really used to microcontroller boards with USB, but what about a dev board with two?\u003c\/p\u003e\n\u003cp\u003eTwo is more than one, so that makes it twice as good! And the \u003cstrong\u003eAdafruit Feather RP2040 with USB Host\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003eis\u003cb\u003e \u003c\/b\u003edefinitely double-the-fun of Adafruit's other Feather RP2040 boards, with a USB Type A port on the end for connecting USB devices to.\u003c\/p\u003e\n\u003cp\u003eNow you might be thinking \"hey waitaminute, the RP2040 \u003cem\u003edoesn't have two USB port peripherals???\" \u003c\/em\u003eand you'd be correct! But what it does have is a nifty PIO peripheral that can be (ab)used to emulate a USB host peripheral. You get to keep the main USB port for uploading, debugging, and data communication, while at the same time sending and receiving data to just-about-any USB device.\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/github.com\/sekigon-gonnoc\/Pico-PIO-USB\"\u003eThis work is originally by sekigon on GitHub\u003c\/a\u003e, and if you're using Pico SDK that's still the recommended library to use.\u003c\/p\u003e\n\u003cp\u003eCurrently, support for the USB Host peripheral is only in Arduino. So check out the\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_TinyUSB_Arduino\/tree\/master\/examples\/DualRole\"\u003eTinyUSB 'dual role' examples\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003efor some things you can do! For example,\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_TinyUSB_Arduino\/tree\/master\/examples\/DualRole\/MassStorage\/msc_data_logger\"\u003edatalogging to a USB Key\u003c\/a\u003e. Or\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_TinyUSB_Arduino\/tree\/master\/examples\/DualRole\/CDC\/serial_host_bridge\"\u003ereading from another device\/microcontroller that has USB CDC serial interface\u003c\/a\u003e. Or\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_TinyUSB_Arduino\/tree\/master\/examples\/DualRole\/HID\/hid_remapper\"\u003ecreating an HID re-mapper\u003c\/a\u003e. Or\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_IntelliKeys\"\u003econnecting to weird devices that require firmware-updates like the Cypress EZ-USB based Intellikeys\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003ecommunications board.\u003c\/p\u003e\n\u003cp\u003eNote that this is definitely a firmware hack: you will need to dedicate the second ARM core and both PIO peripherals to just handling the USB messages, but Adafruit find that it does work fairly well, or at least as well as most microcontroller's USB Host peripherals!\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"\/en-eu\/products\/adafruit-miniboost-5v-1a-tps61023\" target=\"_blank\"\u003eAdafruit also include a 1 Amp boost converter based on the TPS61023\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003eso you can run from Lipo battery and get a nice clean 5V output for the USB devices. The booster has the enable pin tied to one of the extra GPIO on the RP2040 so power can be manually turned on and off to hard-reset whatever is connected.\u003c\/p\u003e\n\u003cp\u003eAt the Feather's heart is an RP2040 chip, clocked at 133 MHz and at 3.3V logic, the same one used in the \u003ca href=\"\/en-eu\/products\/raspberry-pi-pico\" target=\"_blank\"\u003eRaspberry Pi Pico\u003c\/a\u003e. This chip has a whopping 8MB of onboard QSPI FLASH and 264K of RAM!  There's even room left over for a STEMMA QT connector for plug-and-play of I2C devices!\u003c\/p\u003e\n\u003cp\u003eTo make it easy to use for portable projects, Adafruit added a connector for any of our 3.7V Lithium polymer batteries and built-in battery charging. You don't need a battery, it will run just fine straight from the USB Type C connector. But, if you do have a battery, you can take it on the go, then plug in the USB to recharge. The Feather will automatically switch over to USB power when it's available.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eHere're some handy specs! You get:\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eMeasures 2.0\" x 0.9\" x 0.28\" (50.8mm x 22.8mm x 7mm) without headers soldered in\u003c\/li\u003e\n\u003cli\u003eLight as a (large?) feather - 6.3 grams\u003c\/li\u003e\n\u003cli\u003eRP2040 32-bit Cortex M0+ dual core running at ~133 MHz @ 3.3V logic and power\u003c\/li\u003e\n\u003cli\u003e264 KB RAM\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e8 MB SPI FLASH\u003c\/strong\u003e chip for storing files and CircuitPython\/MicroPython code storage. No EEPROM\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eTons of GPIO! 21 x GPIO pins with following capabilities:\u003c\/strong\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eFour \u003c\/strong\u003e12-bit ADCs (one more than Pico)\u003c\/li\u003e\n\u003cli\u003eTwo I2C, Two SPI, and two UART peripherals, we label one for the 'main' interface in standard Feather locations\u003c\/li\u003e\n\u003cli\u003e16 x PWM outputs - for servos, LEDs, etc\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eBuilt-in 200mA+ lipoly charger\u003c\/strong\u003e with charging status indicator LED\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin #13 red LED \u003c\/strong\u003efor general purpose blinking\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eRGB NeoPixel\u003c\/strong\u003e for full-color indication.\u003c\/li\u003e\n\u003cli\u003eOn-board \u003cstrong\u003eSTEMMA QT connector\u003c\/strong\u003e that lets you quickly connect any Qwiic, STEMMA QT or Grove I2C devices with no soldering!\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eBoth Reset button and Bootloader select button for quick restarts \u003c\/strong\u003e(no unplugging-replugging to relaunch code)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eUSB Type C connector \u003c\/strong\u003elets you access built-in ROM USB bootloader and serial port debugging\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eUSB Type A connector\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003efor USB host capability. D+ on GPIO 16, D- on GPIO 17\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e5V Boost converter\u003c\/strong\u003e, up to 1 Amp peak output for USB peripheral power, with 500mA resettable fuse. Enable on GPIO 18. \u003c\/li\u003e\n\u003cli\u003e3.3V Power\/enable pin\u003c\/li\u003e\n\u003cli\u003e4 mounting holes\u003c\/li\u003e\n\u003cli\u003e12 MHz crystal for perfect timing.\u003c\/li\u003e\n\u003cli\u003e3.3V regulator with 500mA peak current output\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":40703553830995,"sku":"ADA5723","price":17.95,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/5723-00.jpg?v=1681919022","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/adafruit-feather-rp2040-with-usb-type-a-host","provider":"Pimoroni Ltd","version":"1.0","type":"link"}