Adafruit MacroPad RP2040 Rev C Pinout

Adafruit MacroPad RP2040 Rev C pinout. Programmable 3 × 4 macro keypad with twelve individually wired MX-compatible switch sockets, per-key RGB lighting, a push encoder, a monochrome OLED and an onboard speaker.

Jump to pin index ↓

Main pinout

Programmable 3 × 4 macro keypad with twelve individually wired MX-compatible switch sockets, per-key RGB lighting, a push encoder, a monochrome OLED and an onboard speaker. The board uses USB-C for power, programming and USB device functions, with STEMMA QT for I²C expansion. Front operating face, with signal and ground contacts for the left and right switch columns. The companion center-column view labels the remaining four sockets.

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

Pin index

Pin index

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

16 visible
PinMCU pinTypesNotes
GPIOSignal contact of switch KEY1, connected directly to RP2040 GPIO1.
GNDSeparate ground contact for KEY1. Pressing the switch connects this contact to GP1.
GPIOSignal contact of switch KEY3, connected directly to RP2040 GPIO3.
GNDSeparate ground contact for KEY3. Pressing the switch connects this contact to GP3.
GPIOSignal contact of switch KEY4, connected directly to RP2040 GPIO4.
GNDSeparate ground contact for KEY4. Pressing the switch connects this contact to GP4.
GPIOSignal contact of switch KEY6, connected directly to RP2040 GPIO6.
GNDSeparate ground contact for KEY6. Pressing the switch connects this contact to GP6.
GPIOSignal contact of switch KEY7, connected directly to RP2040 GPIO7.
GNDSeparate ground contact for KEY7. Pressing the switch connects this contact to GP7.
GPIOSignal contact of switch KEY9, connected directly to RP2040 GPIO9.
GNDSeparate ground contact for KEY9. Pressing the switch connects this contact to GP9.
GPIOSignal contact of switch KEY10, connected directly to RP2040 GPIO10.
GNDSeparate ground contact for KEY10. Pressing the switch connects this contact to GP10.
GPIOSignal contact of switch KEY12, connected directly to RP2040 GPIO12.
GNDSeparate ground contact for KEY12. Pressing the switch connects this contact to GP12.

Specifications

Board
Adafruit PID 5100 Bare Bones · Rev C · circled C on the rear silkscreen
Microcontroller
Raspberry Pi RP2040 · dual-core Arm Cortex-M0+ · rated up to 133 MHz · 264 KB SRAM
Storage
8 MB external QSPI flash
Keys
12 MX-compatible hot-swap sockets · 19.05 mm pitch · GPIO1–GPIO12 · active low
Display and controls
128 × 64 SH1106 monochrome OLED on SPI1 · 20-detent push encoder · side reset button
Lighting and audio
12 reverse-mount RGB NeoPixels · red GP13 status LED · PAM8301 class-D amp and speaker
Power and expansion
Nominal 5 V from USB-C · AP2112K-3.3 local regulator · 3.3 V STEMMA QT on I²C0
Dimensions
104.0 × 59.5 × 29.0 mm assembled · four M3 bosses

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
RP2040Microcontroller pinout and GPIO multiplexerRaspberry PiMicrocontroller pinout and GPIO multiplexerDatasheet
128 × 64 OLED module16-contact display module and charge-pump wiringZhongjingyuan16-contact display module and charge-pump wiringDatasheet
AP2112K-3.33.3 V LDO regulatorDiodes Incorporated3.3 V LDO regulatorDatasheet
PAM8301Six-terminal mono class-D amplifier fitted on Rev CDiodes IncorporatedSix-terminal mono class-D amplifier fitted on Rev CDatasheet
MacroPad PCB Rev COfficial Eagle PCB, schematic and contact assignmentsAdafruitOfficial Eagle PCB, schematic and contact assignmentsDatasheet
MacroPad hardware guideOnboard features and CircuitPython board namesAdafruitOnboard features and CircuitPython board namesDatasheet

Board notes

All twelve switch signals
Viewed from the operating face, the rows are GP1/GP2/GP3, GP4/GP5/GP6, GP7/GP8/GP9 and GP10/GP11/GP12. Each switch closes its own GPIO to GND. The right-hand opening within each socket, closer to the LED, is GND. The center-column detail shows both contacts on KEY2, KEY5, KEY8 and KEY11.
Encoder, reset and boot
A=GP17, B=GP18, and the active-low push switch is GP0. Hold the encoder switch during reset or while connecting power to enter USB BOOTSEL. The rear reset switch pulls RUN low. TP5 is RUN; TP6 is QSPI chip select and participates in the BOOTSEL circuit.
STEMMA QT / Qwiic
CONN1 carries pin 1 GND, pin 2 regulated 3.3 V, pin 3 SDA (GP20) and pin 4 SCL (GP21). SDA and SCL have onboard 10 kΩ pull-ups to 3.3 V.
Signals used by onboard parts
GP13 drives the red LED, GP14 enables the audio amplifier, GP16 supplies audio PWM and GP19 supplies NeoPixel data through a 74HCT1G125 level shifter. OLED uses GP22/GP23/GP24 for CS/RESET/D-C and GP26/GP27 for SPI1 SCK/TX. GP28 is the CircuitPython SPI MISO alias and has no connection to the OLED ribbon. GP15, GP25, GP28 and GP29 have no board net in the Rev C CAD.
GPIO multiplexing
The advanced boxes list the main RP2040 peripheral selections for these pads. SIO and PIO0/PIO1 are also available in the MCU. The board wiring and pull-ups remain present, and the MCU selects one pin function at a time. Use passive inputs or leave the corresponding switch open when experimenting with driven outputs.
Revision and detail views
Adafruit’s rear photograph shows the circled C and the six-terminal PAM8301, corroborated by the Rev C Eagle board. Rear controls and USB-C/OLED have separate views. The four screw bosses and the three copper fiducials are assembly features. Rev C has no connector or test pad for SWD.