Skip to the content
2 layers99.8 × 99.8 mmTRASHPAD, the printed circuit board in 3D

a macropad

Size
99.8 × 99.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
26
Nets
22
Pads
92
Tracks, vias
131, 0
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
4 Jun 2026
Updated
10 Jul 2026

Overview

TRASHPAD is an open-source printed circuit board by Mokxsh404, from the Mokxsh404/TRASHPAD repository on GitHub. It is a 2-layer board of 99.8 × 99.8 mm with 26 parts on 22 nets, routed with 131 tracks and 0 vias.

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

README

README.md

TRASHPAD ⌨️

a macropad i built because i was tired of reaching for shortcuts that don't exist. got out of hand. zero regrets.

what is this

TRASHPAD is a custom programmable macropad — 9 keys, a rotary encoder, and a tiny OLED screen that actually tells you what's going on. built it for a hackathon and then kept going way past the point where "good enough" would've been fine. ended up with a full custom PCB, a 3D-printable case, and a website to go with it.

👉 try the interactive demo

what's inside

🔘 9 programmable keys — fully remappable through a QMK firmware matrix. bind them to whatever you actually use, not whatever the factory default thinks you need.

🎛️ EC11 rotary encoder — volume, scrubbing, scrolling through a timeline, whatever. smooth, satisfying, and somehow the part everyone immediately gravitates to when they pick it up.

📟 0.91" OLED display — shows live layer state and active macros so you're not just guessing what your own keyboard is doing. small detail, makes the whole thing feel like a real device instead of a breadboard with delusions of grandeur.

🧠 XIAO RP2040 — tiny controller, does all the heavy lifting, somehow still cheaper than a fancy keycap set.

where it's at

PCB is designed, firmware is configured, and the production files (gerbers included) are ready to send to a fab. case is modeled and exported. basically: this thing exists in CAD and code, and the build/test phase is where it's at right now.

the build

schematic TRASHPAD schematic

PCB TRASHPAD PCB

CAD model TRASHPAD CAD model

bill of materials (bom)

Here is everything you need to source to build your own TRASHPAD. All parts are standard and easy to find on sites like AliExpress, Amazon, or specialized keyboard vendors.

ComponentDescriptionQtyEst. CostNotes
Seeed Studio XIAO RP2040Dual-core Cortex-M0+ microcontroller, USB-C1~$5.50Main controller footprint
0.91" I2C OLED DisplaySSD1306, 128x32 screen1~$3.004-pin header connection
EC11 Rotary EncoderEC11 encoder with push-button switch, D-shaft (15mm)1~$1.505-pin footprint
KeyswitchesCherry MX-compatible switches (Gateron, Kailh, etc.)9~$4.00Soldered directly to PCB
1u KeycapsMX-style keycaps9~$3.00Standard 1u size
1N4148 DiodesSwitching diodes9~$0.50SOD-123 surface mount
TRASHPAD Custom PCBCustom printed circuit board (Fab & Shipping)1~$6.00JLCPCB/PCBWay fab + shipping share
3D Printed Case & KnobTop casing, bottom plate, and encoder knob1~$5.00Using local hub / custom printing service
M3 Threaded InsertsBrass heat-set inserts4~$0.50Ø 4.7mm × 4.0mm inserts
M3 Machine ScrewsM3 screws for case4~$0.50M3 × 6mm or 8mm button-head
Rubber FeetSelf-adhesive silicone bumpers4~$0.50Ø 8mm x 2mm feet
Total Build Cost~$30.00(Excludes tools, shipping, USB-C)

repo structure

  • CAD/ — full assembled model for reference (assembled-model.step)
  • docs/ — the interactive site/simulator, this is what's live on GitHub Pages
  • Frimware/ — QMK config: keymaps, config.h, keyboard.json, rules.mk
  • PCB/ — KiCad project, schematic, and PCB layout files
  • Production/ — fab-ready output: gerbers, case STEPs (Top.step, Bottom.step), and the trashpad/ build folder

stack

KiCad for the PCB, QMK for firmware, plain HTML/CSS/JS for the site — no frameworks, no build step, just files that work.

resources that actually helped

about

I wanted a macropad.

Instead of buying one, I spent days learning PCB design, designing a case in Fusion, configuring firmware, and making a website for it.

TRASHPAD is the result.

Parts

26
QtyValueFootprintReferences
9DDiode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2, D3, D4, D5, D6, D7, D8, D9
9SW_PushButton_Switch_Keyboard:SW_Cherry_MX_1.00u_PCBSW1, SW2, SW3, SW4, SW5, SW6, SW7, SW8, SW9
1DIN-4KiCad-SSD1306-0.91-OLED-4pin-128x32.pretty-master:SSD1306-0.91-OLED-4pin-128x32J1
1LOGOdemo.preety:finalG***
1MOUDLE-SEEEDUINO-XIAOfootprints:XIAO-Generic-Hybrid-14P-2.54-21X17.8MMU1
1RotaryEncoder_SwitchRotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mmSW18

The 22 most common of 26 parts.

Similar boards

  • 2 layers57.3 × 19 mm11ua, the printed circuit board in 3D

    11ua

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    26 parts990GPL-3.0
  • 2 layers98 × 59.5 mmMCP23017 PCB, the printed circuit board in 3D

    MCP23017 PCB

    hackclub/OnBoard

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

    26 parts915
  • 2 layers142.9 × 98.5 mmCantor MX, the printed circuit board in 3D

    Cantor MX

    diepala/cantor

    Cantor keyboard, a 42 key diodeless split keyboard.

    26 parts756GPL-3.0
  • 2 layers103.8 × 50 mmGalagino pcb set, the printed circuit board in 3D

    Galagino pcb set

    harbaum/galagino

    A Galaga, Pac-Man and Donkey Kong arcade emulator for the ESP32

    26 parts558
  • 2 layers20.3 × 34.8 mmL0 ESP32, the printed circuit board in 3D

    L0 ESP32

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    26 parts546MIT
  • 2 layers40.6 × 50.8 mmWALTsm, the printed circuit board in 3D

    WALTsm

    google/walt

    A device for measuring latency of physical sensors and outputs on phones and computers

    26 parts474Apache-2.0
  • 2 layers158.5 × 75 mmDoj v2, the printed circuit board in 3D

    Doj v2

    kelu124/echomods

    Open source ultrasound processing modules and building blocks

    26 parts463

Questions

How big is the TRASHPAD PCB?

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

What parts does the TRASHPAD use?

26 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 TRASHPAD KiCad files?

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

Can I use the TRASHPAD design in my own project?

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