Skip to the content
2 layers102.1 × 80.2 mmMacropad, the printed circuit board in 3D

PCB design for Hack Club Blueprint Macropad

Size
102.1 × 80.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
20
Pads
54
Tracks, vias
84, 5
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
19 Jul 2026
Updated
19 Jul 2026

Overview

Macropad is an open-source printed circuit board by amitojphagura, from the amitojphagura/Macropad repository on GitHub, published under the MIT licence. It is a 2-layer board of 102.1 × 80.2 mm with 11 parts on 20 nets, routed with 84 tracks and 5 vias.

Its parts include 5 switches, 4 diodes, 1 IC and 1 connector. It belongs with the keyboards and input boards of this library.

README

README.md

Macropad

PCB design for Hack Club Blueprint Macropad A compact 4-key macropad with a rotary encoder, built around the Seeeduino XIAO (SAMD21). Designed in KiCad 9.

image

Overview

This is a minimal macropad PCB: four mechanical switches, a push-button rotary encoder, and a Seeeduino XIAO doing the USB HID work. Each switch is diode-isolated so keys can be read independently without ghosting, even if the pad grows into a matrix later.

Features

  • 4x mechanical key switches (SW1–SW4), each with a 1N4148 diode for reliable, ghost-free input
  • 1x rotary encoder (SW5) with integrated push button — volume control, zoom, scroll, or a fifth action, depending on firmware
  • Seeeduino XIAO (SAMD21) as the controller — small footprint, native USB, plenty of GPIO to spare
  • 4-pin expansion header (J1) for future add-ons or off-board wiring
  • Fully open hardware — schematic, PCB layout, and Gerbers included

Hardware

ComponentDesignatorNotes
MCUU1Seeeduino XIAO
Key switchesSW1–SW4Standard mechanical switches (Cherry MX-style footprint)
DiodesD1–D41N4148, one per switch
Rotary encoderSW5With push function (A/B/C pins)
Expansion headerJ11x04

Repo Structure

text
Macropad Example/
├── Macropad.kicad_pro     # KiCad project file
├── Macropad.kicad_sch     # Schematic
├── Macropad.kicad_pcb     # PCB layout
├── sym-lib-table          # Symbol library table
├── fp-lib-table           # Footprint library table

Firmware

Firmware is written in KMK, a Python-based keyboard firmware that runs on CircuitPython. The four keys are wired as independent direct pins (each with its own GPIO + diode, sharing a common GND return), so no matrix scanning is needed each key just reads its pin directly.

  • Schematic complete
  • PCB layout complete
  • Firmware

Parts

11
QtyValueFootprintReferences
41N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2, D3, D4
4SW_PushButton_Switch_Keyboard:SW_Cherry_MX_1.00u_PCBSW1, SW2, SW3, SW4
1Conn_01x04Connector:FanPinHeader_1x04_P2.54mm_VerticalJ1
1MOUDLE-SEEEDUINO-XIAOpretty:XIAO-Generic-Hybrid-14P-2.54-21X17.8MMU1
1RotaryEncoderRotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mmSW5

Similar boards

  • 2 layers60 × 30 mmController, the printed circuit board in 3D

    Controller

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    11 parts3kApache-2.0
  • 2 layers103 × 30.5 mmTS Front Endcap, the printed circuit board in 3D

    TS Front Endcap

    EEVengers/ThunderScope

    ThunderScope GitHub Repo

    11 parts1.3kMIT
  • 2 layers26 × 30 mmExpansion Card, the printed circuit board in 3D

    Expansion Card

    FrameworkComputer/ExpansionCards

    Reference designs and documentation to create Expansion Cards for the Framework Laptop

    11 parts1.1kCC-BY-4.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    11 parts1kGPL-3.0
  • 2 layers10 × 20 mm2 connector Sensor Board, the printed circuit board in 3D

    2 connector Sensor Board

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    11 parts915
  • 2 layersFet module, the printed circuit board in 3D

    Fet module

    ByteWelder/Decktility

    A handheld PC

    11 parts855CC-BY-SA-4.0
  • 2 layers47 × 33 mmSevensegment led display module, the printed circuit board in 3D

    Sevensegment led display module

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    11 parts803MIT
  • 2 layers42.5 × 36.8 mmDevboard, the printed circuit board in 3D

    Devboard

    basilfx/TRADFRI-Hacking

    Hacking IKEA TRÅDFRI products, such as light bulbs, window blinds and other accessories.

    11 parts743CC-BY-4.0

Questions

How big is the Macropad PCB?

It measures 102.1 × 80.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Macropad use?

11 parts. 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 Macropad KiCad files?

From the amitojphagura/Macropad repository on GitHub, at the commit this page was made from: the board is Macropad.kicad_pcb and its schematic Macropad.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Macropad design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).