Skip to the content
2 layers90.2 × 99.8 mmMdi keypad, the printed circuit board in 3D

My week 3 half life project - medi keypad

Size
90.2 × 99.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
21
Pads
80
Tracks, vias
156, 5
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
19 Oct 2026
Updated
25 Oct 2026

Overview

Mdi keypad is an open-source printed circuit board by den4ik9591, from the den4ik9591/Medi-Keypad repository on GitHub. It is a 2-layer board of 90.2 × 99.8 mm with 11 parts on 21 nets, routed with 156 tracks and 5 vias.

It is built around the SK6812MINI-E. Its parts include 4 switches, 3 diodes, 1 IC and 1 connector. It belongs with the keyboards and input boards and the ESP32 boards of this library.

Main components

1

README

README.md
Screenshot 2026-10-25 142341 Screenshot 2026-10-24 231630 Screenshot 2026-10-24 231647 # MIDI Keypad

A custom MIDI keypad PCB with 7 capacitive touch keys, 3 mechanical buttons, a rotary encoder, 2 slide potentiometers and 3 RGB LEDs, all controlled by an ESP32-S3.

Made for Half Life (Week 3), following the MIDI keypad guide and then changing it to make it my own.

PCB layout

What it has

  • 7 touch keys: large copper pads on the PCB that work like piano keys. I designed the key footprint myself.
  • 3 Kailh Choc buttons: for extra controls.
  • Rotary encoder (EC11): for volume or scrolling.
  • 2 slide potentiometers (Bourns PTA1543): for smooth controls like pitch or volume.
  • 3 SK6812 MINI-E LEDs: chained on one data pin.
  • Microcontroller: Waveshare ESP32-S3-Zero.
  • Board: 2 layers, about 99.8 x 90.15 mm.

Pin connections

PartESP32-S3-Zero pin
Touch key 1 to 7GPIO 12, 10, 7, 11, 9, 8, 13
Buttons SW1, SW2, SW3GPIO 4, 5, 6
Slider RV2, RV1GPIO 1, 2
LED data (DIN)GPIO 3
Encoder A, BTX, RX

Check these against the schematic before building, in case I changed a pin later.

Files

  • Production/: files for the PCB manufacturer
  • Images/: screenshots of the design

How I made it

  1. Followed the guide and drew the schematic in KiCad. I changed the layout a few times so the PCB would be easier to wire.
  2. Designed my own touch key footprint and tuned the dimensions.
  3. Fixed the key connections in the schematic so every key reaches the ESP32.
  4. Placed the parts and routed the board, using the Freerouting plugin for the rest.
  5. Ran DRC and fixed the clearance and board edge errors.
  6. Exported the production files with the JLCPCB Fabrication Toolkit and got a quote.

Status

  • Schematic
  • PCB placed and routed
  • DRC fully clean
  • Case designed
  • Firmware
  • Parts ordered and board built

What I learned

  • How to make a custom footprint for capacitive touch keys, and why touch pads should stay away from other copper.
  • How nets work: a pad can only be wired to pads on the same net.
  • How to use an autorouter and read a DRC report.

Credits

Based on the MIDI Keypad guide: https://github.com/KaiPereira/MIDI-Keypad

Parts

11
QtyValueFootprintReferences
3SK6812MINI-ELED_SMD:LED_SK6812MINI-E_3.2x2.8mm_P1.5mm_ReverseMountD1, D2, D3
3SW_PushHackclubFootprint:Kailh Choc Low-Profile SwitchesSW1, SW2, SW3
2SliderPotentiometer_THT:Potentiometer_Bourns_PTA1543_Single_SlideRV1, RV2
1Capacitive_touch buttonsMyOwnLibrary:UntitledJ1
1RotaryEncoder_Switch_MPRotary_Encoder:RotaryEncoder_Alps_EC11E_Vertical_H20mmSW4
1Waveshare ESP32-S3-ZEROHackclubFootprint:Waveshare ESP32-S3-ZeroU1

Similar boards

  • 4 layers234 × 84 mmMain panel, the printed circuit board in 3D

    Main panel

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    234 parts3kApache-2.0
  • 4 layers180.8 × 300.3 mmDilemma, the printed circuit board in 3D

    Dilemma

    Bastardkb/Dilemma

    The Dilemma is a vertical stagger low-profile keyboard with mods.

    383 parts590
  • 4 layers48 × 32 mmFlatSat, the printed circuit board in 3D

    FlatSat

    Pwnsat/FlatSat

    Flatsat v1.0 is a hardware based platform for aerospace cybersecurity research

    106 parts575GPL-2.0
  • 2 layersDemo, the printed circuit board in 3D

    Demo

    adamws/kicad-kbplacer

    KiCad plugin for automatic keyboard's key placement and routing

    48 parts547GPL-3.0
  • 2 layers97 × 78.5 mmDumbpad, the printed circuit board in 3D

    Dumbpad

    imchipwood/dumbpad

    Simple 4x4 numpad with rotary encoder. Powered by QMK via ATmega32u4 Pro Micro

    62 parts517GPL-2.0
  • 4 layers82.5 × 39.4 mmV4head, the printed circuit board in 3D

    V4head

    makerforgetech/modular-biped

    An open source framework for creating a bipedal modular companion robot.

    26 parts493GPL-3.0
  • 2 layers115.7 × 95.7 mmFifi split keeb, the printed circuit board in 3D

    Fifi split keeb

    raychengy/fifi_split_keeb

    Fifi Keyboard 🐶 ⌨️

    66 parts334
  • 4 layers70 × 54 mmPicoLab, the printed circuit board in 3D

    PicoLab

    CoretechR/PicoLab

    Web-GUI Embedded Multitool

    285 parts327GPL-3.0

Questions

How big is the Mdi keypad PCB?

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

What parts does the Mdi keypad use?

11 parts, built around the SK6812MINI-E. 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 Mdi keypad KiCad files?

From the den4ik9591/Medi-Keypad repository on GitHub, at the commit this page was made from: the board is Week3-midi-keypad/Schematics/Mdi-keypad/Mdi-keypad.kicad_pcb and its schematic Week3-midi-keypad/Schematics/Mdi-keypad/Mdi-keypad.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mdi keypad design in my own project?

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