{"product_id":"adafruit-trinkey-qt2040-rp2040-usb-key-with-stemma-qt","title":"Adafruit Trinkey QT2040 - RP2040 USB Key with Stemma QT","description":"\u003cp\u003eIt's half USB Key, half Adafruit QT Py, and a lotta RP2040\u003cem\u003e...\u003c\/em\u003eit's \u003cstrong\u003eTrinkey QT2040\u003c\/strong\u003e, the circuit board with an RP2040 heart and Stemma QT legs. Folks are loving the QT Py 2040 we made, but maybe you want something plug-and-play. So we thought, hey what if we made something like that plugs right into your computer's USB port? And this is what we came up with!\u003c\/p\u003e\n\u003cp\u003eThe PCB is designed to slip into any USB A port on a computer or laptop. There's an RP2040 microcontroller on board with just enough circuitry to keep it happy. There's an RGB NeoPixel, a reset and bootloader or user button and a STEMMA QT Port on the end. That's it!\u003c\/p\u003e\n\u003cp\u003eWith the body of the board being 1.0\" x 0.7\" and four mounting holes, you can attach just about any of our QT boards right on (some are a little larger so just check that has the holes in the same locations). Use M2.5 sized standoffs and screws to do so, you could use 2 diagonal at a minimum. Then use a shorty QT cable and you've got a custom sensor Trinkey for any sensor purpose.\u003c\/p\u003e\n\u003cp\u003eThe board comes with 8 MB of QSPI flash memory so you can put \u003cem\u003eall\u003c\/em\u003e of our CircuitPython drivers on the disk!\u003c\/p\u003e\n\u003ch2\u003ePlug-and-play STEMMA QT\u003c\/h2\u003e\n\u003cp\u003eOne of the stars of this board is our favorite connector - the STEMMA QT, a chainable I2C port that can be used with any of our STEMMA QT sensors and accessories. Having this connector means you don't need to do any soldering to get started.\u003c\/p\u003e\n\u003cp\u003eWhat can you pop into the QT port? How about OLEDs! Inertial Measurment Units! Sensors a-plenty. All plug-and-play thanks to the innovative chainable design: SparkFun Qwiic-compatible STEMMA QT connectors for the I2C bus so you don't even need to solder. Just plug in a compatible cable and attach it to your MCU of choice, and you’re ready to load up some software and measure some light.\u003c\/p\u003e\n\u003cp\u003eUse any SparkFun Qwiic boards! Seeed Grove I2C boards will also work with this adapter cable.\u003c\/p\u003e\n\u003ch2\u003eSoftware Support\u003c\/h2\u003e\n\u003cp\u003e\u003cstrong\u003eAt the time of launch, there is no Arduino core support for the chip on this board. There is great C\/C++ support, an official MicroPython port, and a CircuitPython port!\u003c\/strong\u003e We of course recommend CircuitPython because we think it's the easiest way to get started and it has support with most of our drivers, displays, sensors, and more, supported out of the box so you can follow along with our CircuitPython projects and tutorials.\u003c\/p\u003e\n\u003cp\u003eWhile the RP2040 has lots of onboard RAM (264KB), it does not have built-in FLASH memory. Instead, that is provided by the external QSPI flash chip. On this board there is 8MB, which is shared between the program it's running and any file storage used by MicroPython or CircuitPython. When using C\/C++ you get the whole flash memory, if using Python you will have about 7 MB remaining for code, files, images, fonts, etc.\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eMain body is same size\/mounting holes as most of our Stemma QT boards (1.0\" x 0.7\" with M2.5 holes)\u003c\/li\u003e\n\u003cli\u003e\u003cstrong\u003eUSB Type A connector with extra-thick PCB to fit into a USB host port\u003c\/strong\u003e\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eRP2040 32-bit Cortex M0+\u003c\/strong\u003e dual-core running at ~125 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\u003eNative USB supported by every OS - can be used as USB serial console, MIDI, Keyboard\/Mouse HID, even a little disk drive for storing Python scripts.\u003c\/li\u003e\n\u003cli\u003eCan be used with \u003cstrong\u003eMicroPython\u003c\/strong\u003e or \u003cstrong\u003eCircuitPython\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003e\u003cstrong\u003eBuilt-in RGB NeoPixel LED\u003c\/strong\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cstrong\u003eSTEMMA QT \/ Qwiic port for I2C connectivity\u003c\/strong\u003e\u003c\/li\u003e\n\u003cli\u003e3.3V regulator with \u003cstrong\u003e600mA peak output\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003e12 MHz crystal\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eBoth Reset button and Bootloader select buttons\u003c\/strong\u003e for quick restarts (no unplugging-replugging to relaunch code)\u003c\/li\u003e\n\u003cli\u003e\u003cstrong\u003eBootloader button can also be safely used in 'user' code\u003c\/strong\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eAbout the RP2040\u003c\/h2\u003e\n\u003cp\u003e\u003cstrong\u003eInside the RP2040 is a 'permanent ROM' USB UF2 bootloader\u003c\/strong\u003e. What that means is when you want to program new firmware, you can hold down the BOOT button while plugging it into USB (or pulling down the RUN\/Reset pin to ground) and it will appear as a USB disk drive you can drag the firmware onto. Folks who have been using Adafruit products will find this very familiar - we use the technique on all our native-USB boards. Just note you don't double-click reset, instead hold down the BOOT button during boot to enter the bootloader!\u003c\/p\u003e\n\u003cp\u003eThe RP2040 is a powerful chip, which has the clock speed of our M4 (SAMD51), and two cores that are equivalent to our M0 (SAMD21). Since it is an M0 chip, it does not have a floating point unit or DSP hardware support - so if you're doing something with heavy floating point math, it will be done in software and thus not as fast as an M4. For many other computational tasks, you'll get close-to-M4 speeds!\u003c\/p\u003e\n\u003cul\u003e\u003c\/ul\u003e\n\u003ch2\u003eTechnical Details\u003c\/h2\u003e\n\u003cdiv class=\"panel-collapse collapse in\" id=\"tab-technical-details-content\"\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"\u003e\n\u003cul\u003e\n\u003cli\u003eProduct Dimensions: 38.2mm x 17.7mm x 5.5mm \/ 1.5\" x 0.7\" x 0.2\"\u003c\/li\u003e\n\u003cli\u003eProduct Weight: 3.0g \/ 0.1oz\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cul id=\"product-files\"\u003e\u003c\/ul\u003e\n\u003c\/div\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":46375206289465,"sku":"vde1787258175619","price":5.67,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0795\/9176\/8121\/files\/adafruit-trinkey-qt2040---rp2040-usb-key-with-stemma-qt_1.jpg?v=1787258184","url":"https:\/\/myoutfitstore.shop\/products\/adafruit-trinkey-qt2040-rp2040-usb-key-with-stemma-qt","provider":"My Store","version":"1.0","type":"link"}