Custom hardware project

Mechanical Macropad

A compact 12-key macropad with hot-swappable switches, a custom PCB, and flexible firmware for macros, layers, and media control.

Custom PCBATmega32U4QMK / VIA3D-printed case

Overview

I designed the macropad from the switch layout and schematic through the PCB, case, and firmware. Iterative prototypes helped validate fit, switch feel, and the final typing experience.

Specifications

  • 12-key layout with rotary encoder
  • USB-C with VBUS power management
  • Hot-swappable mechanical switches
  • Custom gasket-mounted 3D-printed case

Design challenges

Compact routing

Kept USB and ground planes clean while fitting the full layout into a small board.

Consistent feel

Iterated the case and gasket geometry to achieve even compression across the board.

Stable power

Managed RGB and USB power demands without increasing board thickness.

Flexible firmware

Built keymaps with layers, encoder behavior, macros, and media controls.

Result

The finished macropad combines a serviceable hardware design with a programmable control surface that can grow with new keymaps and workflows.

Macropad hardware

The board, enclosure, and assembly were developed together so the electronics and physical interface stay compact without sacrificing serviceability.

Custom PCB render

Custom PCB render

The compact board combines the ATmega32U4, switch matrix, rotary encoder, USB-C power entry, and hot-swap sockets in the final layout.

Case render

Case render

The enclosure keeps the board rigid while leaving the switches and encoder accessible for maintenance.

Exploded assembly

Exploded assembly

An exploded view of the case, plate, PCB, switches, and keycaps shows how the modular assembly comes together.

Electrical design

The schematic keeps the USB power path, switch matrix, encoder, and programmable controller easy to inspect and revise as the firmware evolves.

Macropad schematic

Macropad schematic

Schematic view of the controller, matrix rows and columns, rotary encoder, USB-C interface, and supporting power circuitry.

Back to projects