Hackpad - Custom Macropad
A custom 4-key macropad with a rotary encoder powered by the Seeed Studio XIAO microcontroller. Built using EasyEDA Pro for the PCB, Onshape for the 3D case, and KMK Firmware with CircuitPython.
Components
- Controller: Seeed Studio XIAO
- Switches: 4x Cherry MX / Kailh Hot-swap Sockets
- Encoder: 1x EC11 Rotary Encoder
- Enclosure: 2-Piece 3D Printed Case (3mm shell thickness)
Wiring & Pins
- Switch 1: D0
- Switch 2: D1
- Switch 3: D2
- Switch 4: D3
- Encoder Button: D6
- Encoder A & B: D7 / D8
Controls
- Switch 1: Copy (Ctrl + C)
- Switch 2: Paste (Ctrl + V)
- Switch 3: Undo (Ctrl + Z)
- Switch 4: Mute Audio
- Encoder Turn: Volume Up / Down
- Encoder Press: Play / Pause Media
Project Structure
hackpad_waged/
├── pcb/
│ ├── gerber_pcb.zip
│ └── 3D_PCB.step
├── case/
│ ├── bottom_case.stl
│ └── top_plate.stl
└── firmware/
└── code.py