A custom 4-key macro pad designed for productivity and built with the Seeed Studio XIAO RP2040. This project uses KMK Firmware (CircuitPython) to handle custom keymaps and RGB lighting effects.
This layout features optimized trace widths for power delivery to the LEDs.
The circuit design utilizes a direct-pin connection, avoiding the complexity of a diode matrix for a small 4-key setup.
This view was critical for ensuring the USB-C port on the XIAO would be easily accessible through a case cutout.
This is a 3D render generated within KiCad to preview the final manufactured board.
It helped me visualize the spacing between the mechanical switches and the board edge.
This is the master assembly model combining the PCB, switches, and the switch plate.
The firmware is built using KMK. It includes:
- Custom Macros: Configured for KiCad shortcuts and media controls.
- RGB Screensaver:A rainbow animation that activates during idle time.
- CircuitPython: Easy to edit on the fly by just saving the
code.pyfile.
firmware: Thecode.pyand configuration files for KMK.hardware: KiCad schematic and the.step3D model.README-IMAGES: Visuals used in this documentation.
- 4x Cherry MX Switches
- 2x SK6812 MINI Leds
- 1x XIAO RP2040
- 4x Blank DSA Keycaps
- 4x M3x16 Bolt
- 4x M3 Heatset

