Macro
Mahinpatelin·Macro·PCB/Macro Pad.kicad_pcb
About the Macro PCB
Macro is an open source RP2040/RP2350 PCB design by Mahinpatelin, published on GitHub under the MIT license. It is a 2-layer board measuring 64.6 × 41.9 mm, with 20 components from 5 distinct parts.
Its main chip is the Seeed Studio XIAO RP2040, from the RP2040/RP2350 family. By type, the board carries 9 switches, 9 diodes, 1 IC and 1 connector.
It belongs with the keyboards designs in this gallery.
From the project
This is for my hack club project for the macro pad which will help me with my everyday tasks
An end-to-end mechatronics build combining PCB design, embedded firmware, human-machine-interface design, and a 3D-printed enclosure. The device uses eight mechanical keys, an EC11 rotary encoder with push switch, an OLED header, and a Seeed Studio XIAO RP2040.
- Designed a custom 2 × 5 electrical key matrix in KiCad with one intentionally unpopulated matrix position. - Added per-switch diodes to prevent ghosting during multi-key input. - Integrated an RP2040 microcontroller, incremental encoder, encoder push switch, and I²C OLED connector. - Implemented QMK firmware for key scanning, volume…
Main components on the Macro
Macro bill of materials (BOM)
20 components, 5 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | Seeed Studio XIAO RP2040 | XIAO-Generic-Hybrid-14P-2.54-21X17.8MM | U1 |
| 1 | OLED_DISPLAY | PinHeader_1x04_P2.54mm_Vertical | J1 |
| 1 | RotaryEncoder_Switch | RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm | SW1 |
| 8 | SW_Push_45deg | SW_Cherry_MX_1.00u_PCB | SW2, SW3, SW4, SW5, SW6, SW7, SW8, SW9 |
| 9 | D | D_DO-35_SOD27_P7.62mm_Horizontal | D1, D2, D3, D4, D5, D6, D7, D8 +1 |
Macro design files
The KiCad project lives in the Mahinpatelin/Macro repository on GitHub; these links point at the commit this page was built from.
- LayoutPCB/Macro Pad.kicad_pcb
- SchematicPCB/Macro Pad.kicad_sch
- BOMdocs/BOM.csv
Macro: common questions
What microcontroller does the Macro use?
The Macro is built around the Seeed Studio XIAO RP2040, from the RP2040/RP2350 family.
How big is the Macro PCB?
The Macro measures 64.6 × 41.9 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Macro?
20 components, from 5 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Macro design files?
From the Mahinpatelin/Macro repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the Macro design in my own project?
Yes, under the terms of its MIT license, which Mahinpatelin chose for the repository.
Can I test firmware for the Macro without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug RP2040/RP2350 firmware against it before you order a PCB.
Similar boards
RP2040/RP2350
Open Book Abridged Edition
joeycastillo
85 × 115 mm29 parts2LCC-BY-SA-4.08.1kRP2040/RP2350
Corne
foostan
277.2 × 107.5 mm164 parts2LCC-BY-4.07.7kRP2040/RP2350
Corne
foostan
277.2 × 107.5 mm164 parts2LCC-BY-4.07.7kRP2040/RP2350
LogicAnalyzer
gusmanb
57 × 55.2 mm6 parts2LGPL-3.05.0kRP2040/RP2350
Jitx design
gusmanb
55.5 × 65 mm26 parts4LGPL-3.05.0kRP2040/RP2350
Pro V2
kata0510
290.1 × 130 mm270 parts2LMIT2.3k