Adafruit QT Py RP2040 Pinout

Adafruit QT Py RP2040 pinout for the castellated edge pins, USB-C contacts and rear pads.

Jump to pin index ↓

Main pinout

With USB-C at the top, the left column begins at A0 and the right column at 5V. The four STEMMA QT solder terminals are at the bottom. The header and connector use independent I²C buses.

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 alternate functions

Pin index

Pin index

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

18 visible
PinMCU pinTypesNotes
AnalogGPIOA0 · GP29. 12 bit analog ADC3 input. It also supports I/O digital 3.3 V.
AnalogGPIOA1 · GP28. 12 bit analog ADC2 input. It also supports I/O digital 3.3 V.
AnalogGPIOA2 · GP27. 12 bit analog ADC1 input. It also supports I/O digital 3.3 V.
AnalogGPIOA3 · GP26. 12 bit analog ADC0 input. It also supports I/O digital 3.3 V.
I2CGPIOSDA · GP24. SDA head in I²C0. In CircuitPython it opens with board.I2C() and in Arduino with Wire.
I2CGPIOSCL · GP25. SCL head in I²C0. In CircuitPython it opens with board.I2C() and in Arduino with Wire.
UARTGPIOTX · GP20. UART1 output. board.UART() uses TX in GP20 and RX in GP5.
Power5 V header rail downstream of diode D1. JP2 can connect it to VBUS for host mode.
GNDCommon ground for the board, USB-C and the STEMMA QT connector.
PowerRegulated output of 3.3 V, shared with contact 2 of connector STEMMA QT.
SPIGPIOMO · GP3. MOSI of the SPI0 bus head, accessible with board.SPI().
SPIGPIOMI · GP4. MISO of the SPI0 bus head, accessible with board.SPI().
SPIGPIOSCK · GP6. SCK of the SPI0 bus head, accessible with board.SPI().
UARTGPIORX · GP5. UART1 input. board.UART() uses TX in GP20 and RX in GP5.
GNDCommon ground for the board, USB-C and the STEMMA QT connector.
PowerRegulated output of 3.3 V, shared with contact 2 of connector STEMMA QT.
I2CGPIOSDA1 · GP22. SDA connector STEMMA QT in I²C1. In CircuitPython it opens with board.STEMMA_I2C() and in Arduino with Wire1.
I2CGPIOSCL1 · GP23. SCL connector STEMMA QT in I²C1. In CircuitPython it opens with board.STEMMA_I2C() and in Arduino with Wire1.

Specifications

Model
Adafruit QT Py RP2040 · product 4900 · PCB reference Rev C
Processor
Raspberry Pi RP2040 · two Arm Cortex-M0+ · 125 MHz in the Adafruit configuration
Memory
264 KB of SRAM and 8 MB flash QSPI external
Entry and output
11 GPIO in two rows of seven contacts and 2 GPIO in STEMMA QT · logic 3.3 V · four ADC 12 bit inputs
Connectors
USB-C for data and power supply · JST SH 4 track and 1 mm STEMMA QT
Dimensions
21.8 × 17.8 × 5.8 mm · 2.54 mm pitch between head contacts

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
RP2040DatasheetRaspberry PiTable 279 covers SPI, UART, I²C, PWM, clock and PIO functions.Datasheet
QT Py RP2040Pin GuideAdafruitBoard functions and configuration of the two I²C buses.Datasheet
QT Py RP2040Official PinoutAdafruitContact names and multiplexation.Datasheet
QT Py RP2040SchematicAdafruitNets of connectors, bridges and pushbuttons.Datasheet
QT Py RP2040Design of the PCBAdafruitC check, footprints and position of each terminal.Datasheet
CircuitPythonBoard aliasesAdafruitCorrespondence between the board names and the GPIO.Datasheet
CircuitPythonDefinitions of busesAdafruitPairs of GPIO used for I²C0 and I²C1.Datasheet

Board notes

Head I²C
SDA = GP24 and SCL = GP25. Use board.I2C() in CircuitPython or Wire in Arduino.
STEMMA QT · I²C1
With the USB-C above, the terminals are read from left to right: 1 GND, 2 3V3, 3 SDA1 (GP22), 4 SCL1 (GP23). The connector uses board.STEMMA_I2C() or Wire1. The two mechanical lashes of the JST are ground.
SPI y UART
The SPI0 head uses SCK in GP6, MI/MISO in GP4 and MO/MOSI in GP3, UART1 uses TX in GP20 and RX in GP5.
PWM and multiplexation
Each PWM tag identifies a block and a channel. GP4 and GP20 share PWM2A. GP6 and GP22 share PWM3A. The functions of the same GPIO are selected by firmware.
NeoPixel · LED1
LED RGB addressable. GP12 sends the data (board.NEOPIXEL) and GP11 controls its power (board.NEOPIXEL_POWER).
BOOT y RST
BOOT grounds GP21 and requests the USB bootloader at reset through D2 and R16. RST pulls RUN low. On the rear, TP4 exposes BOOT and TP3 exposes RUN.
RP2040 y flash QSPI
IC2 is the RP2040. U5 is the external 8 MB flash together with USB-C. Use the QSPI dedicated microcontroller interface. Y1 is the 12 MHz crystal.
Bridge 5V↔USB · JP2
The two halves are separate in the factory configuration. D1 conducts from VBUS to 5V. Closing JP2 directly connects the two nets so the port can supply power in host mode.
Regulator · U1
The schematic specifies AP2112K-3.3. Adafruit documents supply variants with another regulator of at least 500 mA.
Identification and credits
The PCB file identifies REV=C. The June 2023 photos show the variant with updated tactile pushbuttons. The rear photo has no legible revision letter. Photos and design by Adafruit Industries.