Waveshare RP2040-Keyboard-3 Pinout

Waveshare RP2040-Keyboard-3 pinout. Programmable three-key macropad with hot-swap switches and one RGB LED per key.

Jump to pin index ↓

Main pinout

Programmable three-key macropad with hot-swap switches and one RGB LED per key. The two USB-C give access to the same USB device. Use one port at a time.

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 signals and functions

Pin index

Pin index

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

10 visible
PinMCU pinTypesNotes
Key1 physical contact of the Ctrl key socket. The switch unites GP14 with GND when you press it.
Key2 physical contact of the Ctrl key socket. The switch unites GP14 with GND when you press it.
KeyPhysical contact 1 of the key C socket. The switch unites GP13 with GND when you press it.
KeyPhysical contact 2 of the key C socket. The switch unites GP13 with GND when you press it.
KeyPhysical contact 1 of the V-key socket. The switch unites GP12 with GND when you press it.
KeyPhysical contact 2 of the V-key socket. The switch unites GP12 with GND when you press it.
USBUSB Receptacle 2.0 Full-Speed for data and power supply. VBUS de 5 V en A4/A9/B4/B9. D+ in A6/B6 and D− in A7/B7. CC1 (A5) and CC2 (B5) have each 5.1 kΩ ground. GND in A1/A12/B1/B12 and in the housing. SBU1 (A8) and SBU2 (B8) are not connected.
USBUSB Receptacle 2.0 Full-Speed for data and power supply. VBUS de 5 V en A4/A9/B4/B9. D+ in A6/B6 and D− in A7/B7. CC1 (A5) and CC2 (B5) have each 5.1 kΩ ground. GND in A1/A12/B1/B12 and in the housing. SBU1 (A8) and SBU2 (B8) are not connected.
BootPress connected to BOOT / QSPI_SS of RP2040.
BootPress connected to the RP2040 RUN input.

Specifications

Model
RP2040-Keyboard-3 · basic version with acrylic plates · SKU 26464
PCB
RP2040-Keyboard-A screen. The 2024-02-29 schematic lacks a revision number.
Microcontroller
RP2040 · two Arm Cortex-M0+ cores · hasta 133 MHz
Memory
264 KiB de SRAM · 2 MiB de flash QSPI
Dimensions
73 × 32 × 26 mm with installed keys
Power supply
5 V nominales por USB-C · internal logic of 3.3 V
USB
USB 2.0 Full-Speed (12 Mbit/s) · two receptacles · one port at a time
Teclas
Ctrl en GP14, C en GP13, V en GP12 · low active
Lighting
Three WS2812B cascade · datos desde GP18 · 5 V power supply

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
RP2040-Keyboard-3Official guideWaveshareDescription and examples of the macropad.Datasheet
RP2040-Keyboard-3Electrical schematicWaveshareUSB-C, pushbuttons, RP2040, power supply, flash and RGB.Datasheet
RP2040-Keyboard-3Demonstration FirmwareWaveshareThe example Arduino confirms GPIO14/13/12 for Ctrl / C / V and GPIO18 for LED.Datasheet
RP2040MicrocontrollerRaspberry PiGPIO multiplexation table, USB controller and BOOTSEL mode.Datasheet
FSUSB42UMXSelector USBonsemiComponent specified in the schematic.Datasheet
CAT6219Regulador linealonsemiSpecified reference for the supply of 3.3 V.Datasheet
W25Q16JVFamilia de flash QSPIWinbondThe schematic uses W25Q16JVUXIQ. The code of the photographed component is illegible.Datasheet
WS2812BFamilia de LED RGBWorldsemiDirectionable LED with data input and output. The schematic does not require the variant.Datasheet
USB Type-CConacts of the receptacleUSB-IFA / B numbering and reversible connector functions.Datasheet
RP2040-Keyboard-APhotography of both sidesSpotpearThe component side lets you read the PCB screen.Datasheet

Board notes

USB-C
VBUS de 5 V en A4/A9/B4/B9. D+ in A6/B6 and D− in A7/B7. CC1 (A5) and CC2 (B5) have each 5.1 kΩ ground. GND in A1/A12/B1/B12 and in the housing. SBU1 (A8) and SBU2 (B8) are not connected. For data, the schematic shows the FSUSB42UMX selector. Use one USB cable at a time.
Interruptores hot-swap
The numbers 1 and 2 identify two physical contacts in the photos. The schematic confirms the GPIO and GND pair, and the photo does not allow each network to be assigned to an individual terminal. The activation unites the GPIO of each ground key. The example firmware enables internal pull-up resistances.
Programming and restart
Keep BOOT pressed when connecting the USB, or while pressing RESET, to enter BOOTSEL and load a UF2 file.
RGB lighting
GP18 feeds the first LED data input. Each DOUT output goes to the DIN input of the next LED. The three LED take power from the 5 V network.
Multiplexor del RP2040
GP12 can select SPI1 RX, UART0 TX, I²C0 SDA, or PWM6 A. GP13 can select SPI1 CSn, UART0 RX, I²C0 SCL, or PWM6 B. GP14 can select SPI1 SCK, UART0 CTS, I²C1 SDA, or PWM7 A. GP18 can select SPI0 SCK, UART0 CTS, I²C1 SDA, or PWM1 A. All four support SIO, PIO0, and PIO1.
Expansion and unidentified points
The documentation does not assign networks to the round points without a photo screen, nor does it identify an expansion header or SWD. The drilling for mounting and focusing the keys are mechanical.