Waveshare RP2040-Matrix Pinout

Waveshare RP2040-Matrix pinout. 18 × 23.5 mm castelated module with a RP2040 and a directional 25 LED RGB matrix.

Jump to pin index ↓

Main pinout

18 × 23.5 mm castelated module with a RP2040 and a directional 25 LED RGB matrix. The main view shows the 23 border contacts with the USB-C above.

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 Alternative Functions

Pin index

Pin index

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

23 visible
PinMCU pinTypesNotes
PowerRed VSYS de 5 V nominales. Share direct connection with VBUS and feed the regulator and matrix.
GNDCommon ground of power, logic and USB.
PowerRated 3.3 V of U1. It feeds logic, flash and ADC.
GPIOADCGPIO29 digital input / output from 3.3 V. Includes ADC3 analogue input of 12 bits.
GPIOADCGPIO28 digital input / output from 3.3 V. Includes ADC2 analogue input of 12 bits.
GPIOADCGPIO27 digital input / output from 3.3 V. Includes ADC1 analogue input of 12 bits.
GPIOADCGPIO26 digital input / output from 3.3 V. Includes ADC0 analogue input of 12 bits.
GPIOGPIO15 digital input / output from 3.3 V.
GPIOGPIO14 digital input / output from 3.3 V.
GPIOGPIO0 digital input / output from 3.3 V.
GPIOGPIO1 digital input / output from 3.3 V.
GPIOGPIO2 digital input / output from 3.3 V.
GPIOGPIO3 digital input / output from 3.3 V.
GPIOGPIO4 digital input / output from 3.3 V.
GPIOGPIO5 digital input / output from 3.3 V.
GPIOGPIO6 digital input / output from 3.3 V.
GPIOGPIO7 digital input / output from 3.3 V.
GPIOGPIO8 digital input / output from 3.3 V.
GPIOGPIO13 digital input / output from 3.3 V.
GPIOGPIO12 digital input / output from 3.3 V.
GPIOGPIO11 digital input / output from 3.3 V.
GPIOGPIO10 digital input / output from 3.3 V.
GPIOGPIO9 digital input / output from 3.3 V.

Specifications

Model
RP2040-Matrix · SKU 24594
PCB revision
The official photographs and schematic match the 24594 model. They don't show a revision number.
Microcontroller
Raspberry Pi RP2040 · two Arm Cortex-M0+ cores up to 133 MHz
Memory
264 KiB de SRAM · 2 MiB de flash QSPI
Dimensions
18 × 23,5 mm de PCB · paso nominal de 2,54 mm
Power supply
USB-C to 5 V or 5V contact with the disconnected USB · E/S a 3,3 V
Expansion
23 contacts P1 · 20 GPIO, four of them with 12 bit ADC
Matriz
5 × 5 LED RGB WS2812B cascade · datos desde GPIO16 · order in serpentine
USB
Full-Speed de 12 Mbit/s · carga de firmware por USB mediante BOOTSEL

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
RP2040-MatrixGuide and pinoutWaveshareDocumentation of the board, food warnings and examples.Datasheet
RP2040-MatrixScreen and screen printingWaveshareCircuits on the 1 and both-sided planes on the 2 and 3 leaves.Datasheet
RP2040MicrocontrollerRaspberry PiSection 1.4.3, table 2 of the GPIO multiplexer. The ADC is in section 4.9.Datasheet
W25Q16JVFlash QSPIWinbondU2, 16 Mbit. The schematic identifies W25Q16JVUXIQ.Datasheet
RT9013Regulador linealRichtekU1, fixed variant of 3.3 V.Datasheet
WS2812BFamilia de LED RGBWorldsemiThe schematic identifies the family. Waveshare does not specify the encapsulate variant.Datasheet
USB Type-CReceptacle mapUSB-IFFigure 2-1 to identify both sides of the tongue.Datasheet

Board notes

Matriz RGB
GPIO16 is dedicated to the LED_DIN input through Q1. The order of the chain, with the front photograph as a reference, starts up to the left and runs the rows in serpentine down to the right. The matrix takes VSYS feed. Waveshare indicates some 350 mA with all LED on and recommends a source of at least 500 mA.
Parts of the reverse
U3 is the RP2040. U2 is the QSPI flash, U1 the 3.3 V regulator, X1 the 12 MHz crystal and Q1 the transistor that adapts the level of GPIO16 to LED_DIN. The BOOT button (Key1) activates BOOTSEL. The EN (Key2, RST in the plane) screen button carries RUN to ground and restarts the RP2040. Keep BOOT pressed while connecting the USB or EN press to load a UF2 file.
P1 contacts
The 23 contacts are repeated on both sides of the PCB. The grey blocks of the schematic do not appear as headers in the photographs. GPIO17-GPIO25 and SWD lack user contacts identified on this board.
Alternative signs
The GPIO work on 3.3 V. SPI, UART, I²C, PWM, PIO and USB auxiliary signals share the RP2040 multiplexor. The USB function of these GPIO controls power or detection by external circular. USB D+ and D− use dedicated terminals.
USB-C
USB Full-Speed (12 Mbit / s) power and data receiver. A4/A9/B4/B9 join VSYS and 5V contact. A6/B6 (D+) and A7/B7 (D−) reach RP2040 by R8/R9 of 27 Ω. A5 (CC1) and B5 (CC2) have each 5.1 kΩ ground. A1/A12/B1/B12 and the housing go to GND. A8 (SBU1) and B8 (SBU2) are not connected. The two details of the library show the contacts of each side of the tongue.