Skip to the content
2 layers86.6 × 90.6 mmMIDI keypad, the printed circuit board in 3D

A USB MIDI controller on a custom PCB. Touch the copper keys to play notes, press the switches for drums, and turn the knob for volume.

Size
86.6 × 90.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
9
Nets
23
Pads
62
Tracks, vias
131, 2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
25 Oct 2026
Updated
25 Oct 2026

Overview

MIDI keypad is an open-source printed circuit board by ema-rauf, from the ema-rauf/Midi-Keyboard repository on GitHub. It is a 2-layer board of 86.6 × 90.6 mm with 9 parts on 23 nets, routed with 131 tracks and 2 vias.

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

Main components

1

README

README.md

MIDI Keyboard

A USB MIDI controller on a custom PCB. Touch the copper keys to play notes, press the switches for drums, and turn the knob for volume.

It plugs into a computer over USB-C and shows up as a MIDI instrument, so it works with music software like FL Studio, Ableton or LMMS.

3D render of the PCB, front

How it works

The 7 piano keys are bare copper pads on the PCB. The ESP32-S3 measures their capacitance, so when your finger touches a pad it detects the change and sends a MIDI note. The 3 Choc switches send drum notes, the rotary encoder changes the computer's volume, and 3 RGB LEDs mounted on the back shine through holes in the board.

Why I made it

I wanted to learn PCB design from start to finish: drawing a schematic, making a custom footprint, laying out and routing a board, and getting it ready to manufacture. A MIDI keypad was a fun way to do that, because at the end I get a real instrument I can make beats with.

3D render of the PCB, back

Features

  • 7 capacitive touch keys (C major scale, MIDI notes 60-71)
  • 3 Kailh Choc low-profile switches (kick, snare, hi-hat)
  • 1 EC11 rotary encoder (computer volume)
  • 3 SK6812MINI-E RGB LEDs, reverse-mounted to shine through the board
  • Waveshare ESP32-S3-Zero, plugs in over USB-C

Parts list

DesignatorPartQtyCost (USD)
U1Waveshare ESP32-S3-Zero16.62
SW1-SW3Kailh Choc low-profile switch36.04
SW4EC11 rotary encoder (20 mm shaft, with switch)11.44
D1-D3SK6812MINI-E RGB LED (reverse mount)33.36
J1Capacitive touch keys (copper on the PCB)10.00
PCB2-layer PCB from JLCPCB (5 pcs)1see quote

Full list with links: BOM.csv

Pin map

PartPins
Touch keys 1-7GP13, GP12, GP11, GP10, GP9, GP8, GP7
Switches SW1-SW3GP4, GP5, GP6
Encoder A / BTX (GPIO43) / RX (GPIO44)
LED dataGP3
LED power5V

Files

  • PCB/ KiCad project (schematic, board, custom touch-key footprint)
  • PCB/production/ Gerber zip, BOM and positions for JLCPCB
  • firmware/code.py KMK firmware
  • BOM.csv parts list with prices and links

Firmware setup

  1. Install CircuitPython for the Waveshare ESP32-S3-Zero.
  2. Copy the kmk folder from KMK and the adafruit_midi library onto the board.
  3. Copy firmware/code.py onto the board.
  4. Don't touch the keys while it boots: the touch pads calibrate at startup.

Credits

Based on Kai Pereira's MIDI keypad tutorial.

Parts

9
QtyValueFootprintReferences
3SK6812MINI-ELED_SMD:LED_SK6812MINI-E_3.2x2.8mm_P1.5mm_ReverseMountD1, D2, D3
3SW_PushHackclub Footprints:Kailh Choc Low-Profile SwitchesSW1, SW2, SW3
1Conn_01x07_PinMyLibrary:Capacitive KeysJ1
1RotaryEncoder_Switch_MPRotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mmSW4
1Waveshare ESP32-S3-ZEROHackclub Footprints: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 MIDI keypad PCB?

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

What parts does the MIDI keypad use?

9 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 MIDI keypad KiCad files?

From the ema-rauf/Midi-Keyboard repository on GitHub, at the commit this page was made from: the board is PCB/MIDI-keypad.kicad_pcb and its schematic PCB/MIDI-keypad.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

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

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