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.
Highlighted on the SolderHub Simulator Adafruit Feather RP2040. Explore every pin on the Adafruit Feather RP2040 board page.
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.
Labels vs GPIO
| Label | GPIO | Label | GPIO | |
|---|---|---|---|---|
| A0 | GP26 | D13 | GP13 | |
| A1 | GP27 | D12 | GP12 | |
| A2 | GP28 | D11 | GP11 | |
| A3 | GP29 | D10 | GP10 | |
| D24 | GP24 | D9 | GP9 | |
| D25 | GP25 | D6 | GP8 | |
| SCK | GP18 | D5 | GP7 | |
| MO | GP19 | SCL | GP3 | |
| MI | GP20 | SDA | GP2 | |
| RX | GP1 | D4 | GP6 | |
| TX | GP0 |
In CircuitPython use the board names (board.D5); in C/C++ and MicroPython use the GPIO numbers.
28 of 28 pins match
Hover or tap any pin on the board
LONG SIDE header · pin 5
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
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).
Highlighted on the SolderHub Simulator Adafruit Feather RP2040. Explore every pin on the Adafruit Feather RP2040 board page.
Highlighted on the SolderHub Simulator Adafruit Feather RP2040. Explore every pin on the Adafruit Feather RP2040 board page.
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).
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.
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.
