Mediapad

A three-key USB media controller with a volume knob and a header for a small screen, for Hack Club’s Hackpad program. The PCB and a first case are designed.

Year
2026
Status
PCB designed, not soldered yet
Stack
KiCad, Onshape, XIAO RP2040, KMK
Flat rectangular macro pad with three keycaps in a row, a round knob beside them and a small screen window.

Mediapad plugs in over USB-C and shows up as a keyboard, with no driver to install. Its three MX switches play or pause and skip back or forward, and an EC11 encoder sets the volume, with a click to mute.

A Seeed XIAO RP2040 runs KMK, keyboard firmware written in CircuitPython. Changing a key means editing one file on the board. I drew the schematic in KiCad, laid out the two-layer PCB, routed every trace by hand and exported the Gerber files for JLCPCB.

The board has a header for a 128x32 OLED between the knob and the XIAO, wired to the XIAO’s I2C pins, and the printed case, drawn in Onshape, leaves a window for it.

The Mediapad circuit board at an angle: the rotary encoder footprint at the left, a long screen outline with a four-pin header in the middle, the XIAO footprint at the right, three key switch holes along the front and my name in silkscreen along the bottom edge.
The bare board, rendered from my KiCad files.
The Mediapad schematic: the XIAO module on top, wired to a rotary encoder with a push switch, three push switches and the OLED module below.
The schematic. Each key and the encoder’s click pull a XIAO pin to ground, the encoder’s A and B go to D1 and D0, and the screen takes SDA and SCL on D4 and D5.

Parts

Microcontroller
Seeed XIAO RP2040, USB-C
Firmware
KMK on CircuitPython
Keys
Three MX-compatible switches
Knob
EC11 rotary encoder, 20 detents, with a click
Display
SSD1306 OLED, 128x32, I2C, on a four-pin header on the board
PCB
Two layers, 88.55 by 60.55 mm, KiCad, Gerbers for JLCPCB
Case
3D printed, drawn in Onshape

Dates

  1. The first commit to the GitHub repository, with the README and the project page at mediapad.vercel.app.

  2. The schematic is finished, the board is routed and the Gerber files for JLCPCB are exported.

  3. Latest edit to the case in Onshape. Version 1 is drawn; version 2 is unfinished.

Still to do

Case
Finish the version 2 redesign
Build
Solder the board and test it
Screen
Write the display code so it shows the current track