A custom 4-key macropad built with the Seed XIAO RP2040, designed to control media like Spotify (even running in the backgorund). It can play/pause, skip track, go back and mute the volume.
Here are some pictures of the PCB:
| Schematic | PCB |
|---|---|
![]() |
![]() |
This is what each key does:
| Key | Function |
|---|---|
| Key 1 | Previous Track |
| Key 2 | Next Track |
| Key 3 | Play / Pause |
| Key 4 | Mute Volume |
| Part | Quantity | Notes |
|---|---|---|
| Seeed XIAO RP2040 | 1 | microcontroller |
| MX-Style Switches | 4 | keys |
| SK6812 MINI-E LEDs | 2 | not contolled via firmware |
| Diodes (1N4148) | 4 | Required for each switch |
| Blank DSA keycaps (White) | 4 | One per key |
| 3D printed case | 1 | Case |
| M3x16mm screws | 4 | For case assembly |



