Skip to content

Adafruit Metro RP2040

paradajz edited this page Apr 21, 2026 · 1 revision

Quick overview

  • OpenDeck target name: metro_rp2040
  • Power: USB C
  • MCU: RP2040
  • MIDI: USB, DIN
  • OSC: No
  • Traffic indicators: 2
  • Digital inputs: 9
  • Outputs: 5 (PWM / level control)
  • Analog inputs: 3
  • Board docs: Adafruit Metro RP2040
  • Buy links:

Connections

Pinout to use as an reference to pins in later sections:

Switches

Switch # Pin 1 Pin 2
0 GP2 GND
1 GP3 GND
2 GP4 GND
3 GP5 GND
4 GP6 GND
5 GP7 GND
6 GP24 GND
7 GP25 GND
8 GP29 GND

Analog inputs

Switch # Pin 1 Pin 1 Pin 2
9 GP26 GND with 10k resistor 3V
10 GP27 GND with 10k resistor 3V
11 GP28 GND with 10k resistor 3V

Rotary encoders

Encoder # Pin 1 Pin 2 Pin 3
0 GP2 GND GP3
1 GP4 GND GP5
2 GP6 GND GP7
3 GP24 GND GP25

Potentiometers

Potentiometer # Pin 1 Pin 2 Pin 3
0 3V GP26 GND
1 3V GP27 GND
2 3V GP28 GND

FSRs

FSR # Pin 1 Pin 2 Pin 2
0 3V GP26 GND with 1k resistor
1 3V GP27 GND with 1k resistor
2 3V GP28 GND with 1k resistor

PWM outputs

Note: current-limiting resistors for LEDs are required in order to avoid damage to the board.

Output # Anode Cathode
0 GP8 GND
1 GP9 GND
2 GP10 GND
3 GP11 GND
4 GP12 GND

Traffic indicators

Indicator LED
USB input GP13
USB output GP13
DIN input GP13
DIN output GP13

I2C

Use the STEMMA QT connector for I2C.

Signal Pin
Vcc 3V
GND GND
SDA SDA
SCL SCL

DIN MIDI

This board doesn't have DIN MIDI connectors, so they have to be added to the board with the corresponding circuitry. Use this schematic:

MIDI In MIDI out
GP1 GP0

Touchscreen

Screen Pin
Vcc 5V
GND GND
Rx GP0
Tx GP1

Bootloader switch

Hold OpenDeck switch 0 / GP2 low while resetting or powering the board to enter the OpenDeck bootloader.

Flashing

To flash this board with the OpenDeck firmware, go to the OpenDeck configurator and follow the instructions.

Notes

When UART is used, make sure to set the RX/TX switch near the Boot button to the right position.

DIN MIDI and touchscreen use the same UART pins on this board, so only one of them can be enabled at a time.

Clone this wiki locally