Skip to content

Guide

Adafruit Feather RP2040 Pinout: Labels vs GPIO, I2C, SPI, Battery

A complete Adafruit Feather RP2040 pinout: board labels mapped to RP2040 GPIOs, the analog pins, STEMMA QT, SPI and UART, plus battery, EN and 3.3 V power.

Adafruit Feather RP2040 Pinout: Labels vs GPIO, I2C, SPI, Battery

Adafruit's Feather RP2040 puts the RP2040 into the Feather format: USB-C, a LiPo charger with a JST connector, a STEMMA QT port for plug-in I2C sensors, a NeoPixel and 21 GPIOs. The one thing that trips people up is that Feather labels aren't GPIO numbers.

Quick answer: A0–A3 = GP26–29 (analog). SDA/SCL = GP2/GP3 (I2C1, also on STEMMA QT). SCK/MO/MI = GP18/19/20. TX/RX = GP0/GP1. D4 = GP6, D5 = GP7, D6 = GP8, D9–D13 = GP9–13, D24/D25 = GP24/25. The red LED is D13, the NeoPixel GPIO16. The 3.3 V regulator gives 500 mA peak.

Adafruit Feather RP2040 pinout diagram
RST3.3V3.3VGNDA0A1A2A3D24D25SCKMOMIRXTXD4BATENUSBD13D12D11D10D9D6D5SCLSDA

Highlighted on the SolderHub Simulator Adafruit Feather RP2040. Explore every pin on the Adafruit Feather RP2040 board page.

Every Feather header pin on the SolderHub Simulator Feather RP2040, labelled as on the board. Green is GPIO, red is power, grey is ground, blue is RST and EN.

What's Actually on the Board

At the USB end: the USB-C socket, the CHG LED (amber while charging, green when full), the red D13 LED and the LiPo JST connector. Then the RESET button and the NeoPixel (GPIO16), the RP2040, its QSPI flash, the BOOT (BOOTSEL) button and, at the far end, the STEMMA QT connector.

What’s on a Feather RP2040: CHG LED, red LED on D13, LiPo JST, RESET, NeoPixel, RP2040, QSPI flash, BOOT and STEMMA QT, labelled on the SolderHub Simulator Feather RP2040

Labels vs GPIO

LabelGPIOLabelGPIO
A0GP26D13GP13
A1GP27D12GP12
A2GP28D11GP11
A3GP29D10GP10
D24GP24D9GP9
D25GP25D6GP8
SCKGP18D5GP7
MOGP19SCLGP3
MIGP20SDAGP2
RXGP1D4GP6
TXGP0

In CircuitPython use the board names (board.D5); in C/C++ and MicroPython use the GPIO numbers.

Interactive Feather RP2040 pinout: tap any pin

28 of 28 pins match

RST3.3V3.3VGNDA0A1A2A3D24D25SCKMOMIRXTXD4BATENUSBD13D12D11D10D9D6D5SCLSDA

Hover or tap any pin on the board

LONG SIDE header · pin 5

A0

A0

Safe to use

12-bit analog input ADC0 (0–3.3 V).

Nothing else on the board depends on this pin. A good first choice for sensors, LEDs and buttons.

Can be used as

  • SPI (direct)
  • UART
  • I2C
  • PWM out
  • Analog in

Signals on this pad

  • GPIO26
  • SPI1 SCK
  • UART1 CTS
  • I2C1 SDA
  • PWM5 A
  • ADC0
Tap or hover any pin for its functions and warnings.

I2C, STEMMA QT, SPI and UART

SDA (GP2) and SCL (GP3) are I2C1, and the STEMMA QT connector is wired to the same two pins, so a plug-in sensor and anything on SDA/SCL share one bus. Arduino's Wire1 is D24 (SDA) / D25 (SCL) if you need a second bus. SPI is SCK/MO/MI (GP18/19/20), and the UART is TX/RX (GP0/GP1).

I2C1 on SDA (GP2) / SCL (GP3), shared with STEMMA QT
RST3.3V3.3VGNDA0A1A2A3D24D25SCKMOMIRXTXD4BATENUSBD13D12D11D10D9D6D5SCLSDA

Highlighted on the SolderHub Simulator Adafruit Feather RP2040. Explore every pin on the Adafruit Feather RP2040 board page.

SPI: SCK GP18, MO GP19, MI GP20
RST3.3V3.3VGNDA0A1A2A3D24D25SCKMOMIRXTXD4BATENUSBD13D12D11D10D9D6D5SCLSDA

Highlighted on the SolderHub Simulator Adafruit Feather RP2040. Explore every pin on the Adafruit Feather RP2040 board page.

UART: TX GP0, RX GP1
RST3.3V3.3VGNDA0A1A2A3D24D25SCKMOMIRXTXD4BATENUSBD13D12D11D10D9D6D5SCLSDA

Highlighted on the SolderHub Simulator Adafruit Feather RP2040. Explore every pin on the Adafruit Feather RP2040 board page.

Analog Inputs

A0–A3 are GP26–29, the RP2040's four ADC channels (12-bit, 0–3.3 V).

A0–A3 (GP26–29)
RST3.3V3.3VGNDA0A1A2A3D24D25SCKMOMIRXTXD4BATENUSBD13D12D11D10D9D6D5SCLSDA

Highlighted on the SolderHub Simulator Adafruit Feather RP2040. Explore every pin on the Adafruit Feather RP2040 board page.

Power: USB, BAT, EN and 3.3V

  • USB is the USB 5 V when a cable is connected; it also charges a LiPo plugged into the JST connector.
  • BAT is the battery voltage.
  • EN is the 3.3 V regulator's enable, pulled up. Tie it to GND to switch the whole board off, handy for a power switch.
  • 3.3V pins give up to 500 mA peak.
Power and control: USB, BAT, EN, 3.3V, GND and RST
RST3.3V3.3VGNDA0A1A2A3D24D25SCKMOMIRXTXD4BATENUSBD13D12D11D10D9D6D5SCLSDA

Highlighted on the SolderHub Simulator Adafruit Feather RP2040. Explore every pin on the Adafruit Feather RP2040 board page.

Try your pin plan on a virtual Feather RP2040. The SolderHub Simulator has the same Feather RP2040 you see in these figures, so you can check the wiring before you touch real hardware.

FAQ

Which GPIO is D5 on the Feather RP2040? GP7. D4 is GP6 and D6 is GP8.

Where's the NeoPixel? GPIO16, not on the header.

What does EN do? Pull it to GND to turn off the 3.3 V regulator and the board.

Is STEMMA QT a separate I2C bus? No, it's the same I2C1 as SDA/SCL.

Continue learning

Related articles

All articles

Signal In

Built from what makers search for

The lookups piling up in SolderHub's search bar every day shape what we publish next — new component pages, board guides, and firmware notes, sent out as they go live.

By subscribing you agree to our Privacy Policy. Unsubscribe anytime.