Adafruit Trinkey QT2040 Pinout

A USB-A plug-in RP2040 board with 8 MB QSPI flash. Its four-pin STEMMA QT connector provides regulated 3.3 V and I2C0 for sensors. The same signal contacts can be configured as UART0.

Main pinout

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show advanced functions

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

8 visible
PinMCU pinTypesNotes
PowerUSB-A pin 1. Nominal 5 V input from the USB host.
USBUSB-A pin 2. Negative line of the native USB differential pair.
USBUSB-A pin 3. Positive line of the native USB differential pair.
GNDUSB-A pin 4. Ground return shared with STEMMA QT.
GNDSTEMMA QT pin 1. Ground reference and accessory return.
PowerSTEMMA QT pin 2. Regulated 3.3 V output for accessories.
I2CSTEMMA QT pin 3. I2C0 data on RP2040 GPIO16.
I2CSTEMMA QT pin 4. I2C0 clock on RP2040 GPIO17.

Specifications

Microcontroller
Raspberry Pi RP2040 · dual Arm Cortex-M0+ · 264 KB SRAM
Flash
8 MB external QSPI
Power input
5 V nominal, USB-A edge plug
Accessory power and logic
3.3 V · AP2112K-3.3 regulator
STEMMA QT
JST-SH, 4 contacts, 1.0 mm pitch · I2C0 · 10 kΩ pull-ups
USB
Native USB 2.0 full-speed device (12 Mbit/s)
Dimensions
38.2 × 17.7 × 5.5 mm · four M2.5 mounting holes

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
RP2040DatasheetRaspberry PiQFN56 pin assignments and the GPIO Bank 0 function table.Datasheet
Adafruit Trinkey QT2040Pinout guideAdafruitSTEMMA QT, reset, boot and the on-board NeoPixel.Datasheet
Adafruit Trinkey QT2040Schematic and PCBAdafruitRev A EAGLE design, official pinout and physical contacts.Datasheet
CircuitPythonBoard aliasesAdafruitSDA / TX, SCL / RX, BUTTON and NEOPIXEL.Datasheet

Board notes

USB and QT orientation
With the component side facing you and USB-A at the top, both rows read left to right. USB-A: VBUS, D−, D+, GND. STEMMA QT: GND, 3V3, SDA, SCL. The QT labels point to the soldered terminals behind the socket.
I2C or UART on STEMMA QT
In CircuitPython use board.STEMMA_I2C() for the I2C bus, or select board.TX and board.RX for 3.3 V UART. The same two contacts carry either interface and retain their 10 kΩ pull-ups.
Boot and reset
Hold BOOT, press and release RST, then release BOOT to enter the RP2040 ROM USB bootloader. The rear gold pads near RST and BOOT carry RUN and USBBOOT respectively.