Skip to the content
2 layersPCB for Macropad, the printed circuit board in 3D

A custom-built, programmable 16-key mechanical macropad powered by the RP2040 ZERO. This project combines custom PCB design, 3D mechanical modeling, and embedded programming to create a versatile productivity tool.

Copper layers
2
Thickness
1.6 mm
Parts
33
Nets
58
Pads
153
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 10.0 (file 20260206)
Created
25 Apr 2026
Updated
4 Jun 2026

Overview

PCB for Macropad is an open-source printed circuit board by williamta2024-dev, from the williamta2024-dev/Marcopad repository on GitHub. It is a 2-layer board with 33 parts on 58 nets.

It is built around the ESP32-S3-MINI-1-N8. Its parts include 16 diodes, 16 switches and 1 IC. It belongs with the keyboards and input boards and the ESP32 boards of this library.

Main components

1

README

README.md

RP2040 ZERO 4x4 Mechanical Macropad

A custom-built, programmable 16-key mechanical macropad powered by the RP2040 ZERO. This project combines custom PCB design, 3D mechanical modeling, and embedded programming to create a versatile productivity tool.

Features

  • 4x4 Matrix Layout: 16 fully programmable mechanical switches for shortcuts, macros, or media controls.
  • RP2040 ZERO: High-performance microcontroller with native USB support.
  • Custom PCB: Optimized layout for a compact footprint and reliable signal integrity.
  • 3D Printed Enclosure: A custom-designed case tailored specifically for the hardware assembly.
  • Customizable Firmware: Easily adaptable for various workflows (streaming, coding, gaming).

Hardware Specifications

ComponentDescription
MicrocontrollerRP2040 ZERO
Switches16x Mechanical Switches (MX-compatible)
PCBCustom designed in KiCad
Case3D Printed (ONSHAPE)
ConnectionUSB-C

Getting Started

Hardware Assembly

  1. PCB Fabrication: Order the PCB using the provided Gerber files in /hardware/pcb.
  2. Soldering: Solder the RP2040 ZERO and mechanical switches to the PCB.
  3. Enclosure: 3D print the top and bottom halves of the enclosure found in /hardware/enclosure.
  4. Final Assembly: Secure the PCB into the enclosure using M3 screws.

Firmware Setup

  1. Connect the macropad to your computer via USB-C.
  2. Flash the firmware located in the /firmware directory using the Arduino IDE or by copying files if using C++.
  3. Configure your keymaps in the configuration file to match your desired shortcuts. S

Schematic

Screenshot 2026-04-26 220612

PCB

Screenshot 2026-04-26 144108

3D Design

image ## Bill of Materials (BOM)

Here is the list of components, hardware, and materials required to build this project:

ItemComponent / PartDescriptionQtyEst. CostSource / Link
1MACROPAD PCB-PTH_Y3The PCB3$7.80Link
2Estardyn RP2040-Zero RP2040 for Raspberry Pi Microcontroller PICO Development Board Module Dual-Core 2MB FlashA raspberry pi for my macropad.1$6.71Link
320-100pc Mechanical Keyboard Switches Blue Red Brown Switch Customizable Hot-Swappable 3 Pins Cross Stem for Mechanical KeyboardKeyswitches for the Macropad1$0.99Link
410Pcs/lot M2 M2.5 M3 M3.5 M4 M5 M6 TM Screws Phillips Truss Mushroom Head Screw Black Plated Electronic Carbon Steel ScrewsFor the PCB to hold in place.1$1.57Link
5100PCS/LOT D0-35 1N4148 High-speed Switching DiodesFor the PCB1$1.14Link
6N3UD 20Pcs PBT Blank Keycap 1U 1X XDA Profile No Print Keycap Set for DIY Mechanical Keyboard Installation MX SwitchesKeycaps for the switches2$0.99Link

Parts

33
QtyValueFootprintReferences
161N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16
16SW_PushButton_Switch_Keyboard:SW_Cherry_MX_1.00u_PlateSW1, SW2, SW3, SW4, SW5, SW6, SW7, SW8, SW9, SW10, SW11, SW12, SW13, SW14, SW15, SW16
1ESP32-S3-MINI-1RF_Module:ESP32-S2-MINI-1U1

More from williamta2024-dev/Marcopad

1
  • 2 layers85.7 × 109.5 mmMACROPAD PCB done, the printed circuit board in 3D

    MACROPAD PCB done

    williamta2024-dev/Marcopad

    A custom-built, programmable 16-key mechanical macropad powered by the RP2040 ZERO. This project combines custom PCB design, 3D mechanical modeling, and embedded programming to create a versatile productivity tool.

    37 parts

Similar boards

  • 4 layers45 × 32 mmTemplog mainboard, the printed circuit board in 3D

    Templog mainboard

    Michael-Manning/E-Paper-Climate-Logger

    Firmware, PCB, and enclosure for the Weathergotchi E-Paper climate logger.

    68 parts457MIT
  • 4 layers68.6 × 53.3 mmArduino UNO R4 WiFi, the printed circuit board in 3D

    Arduino UNO R4 WiFi

    sabogalc/KiCad-Arduino-Boards

    A collection of Arduino boards recreated from scratch in KiCad. Legacy USB connectors have been replaced with USB-C where applicable.

    262 parts95WTFPL
  • 4 layers285.1 × 48.1 mmAyab esp32, the printed circuit board in 3D

    Ayab esp32

    AllYarnsAreBeautiful/ayab-hardware

    Contains the schematics and layouts for the AYAB Arduino shield

    246 parts50CC-BY-SA-4.0
  • 2 layers55 × 55 mmLeafNode v3.1, the printed circuit board in 3D

    LeafNode v3.1

    leafai-io/leaf-node-v3.x

    Modular node for sensor monitoring and device control in grow environments.

    91 parts47
  • 2 layers52.8 × 55 mmILDAWaveX16, the printed circuit board in 3D

    ILDAWaveX16

    stanleyondrus/ILDAWaveX16

    ILDAWaveX16 is an open-source, high-resolution, wireless laser DAC with SD-card playback, network control, and ILDA output.

    95 parts42
  • 4 layers100 × 75 mmFreedo radio, the printed circuit board in 3D

    Freedo radio

    CappyT/freedo

    Local coordinator for tado V3+ heating devices, with a Home Assistant integration and add-on

    135 parts33Apache-2.0
  • 2 layers79 × 30 mmLIA, the printed circuit board in 3D

    LIA

    JGAguado/LIA

    Low-power pet tracking platform built around Meshtastic and LoRa mesh networking

    81 parts29

Questions

What parts does the PCB for Macropad use?

33 parts, built around the ESP32-S3-MINI-1-N8. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the PCB for Macropad KiCad files?

From the williamta2024-dev/Marcopad repository on GitHub, at the commit this page was made from: the board is Kicad PCB/MACROPAD PCB/PCB for Macropad.kicad_pcb and its schematic Kicad PCB/MACROPAD PCB/MACROPAD PCB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PCB for Macropad design in my own project?

Its repository states no licence, so its author keeps all rights: ask williamta2024-dev before reusing the design.