Skip to the content
2 layers89.5 × 87.5 mmMidi keypad, the printed circuit board in 3D

I followed the guide to create the MIDI keypad. However, I made some changes. I added a second encoder, and since I decided to use both encoders clicking functionalities, I had to remove the low-profile switches and a…

Size
89.5 × 87.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
21
Pads
62
Tracks, vias
266, 0
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
19 Oct 2026
Updated
2 Nov 2026

Overview

Midi keypad is an open-source printed circuit board by AnvithPothula, from the AnvithPothula/HalfLifeWeek3-Music repository on GitHub. It is a 2-layer board of 89.5 × 87.5 mm with 11 parts on 21 nets, routed with 266 tracks and 0 vias.

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

Main components

1

README

README.md

HalfLifeWeek3-Music

Guide: https://github.com/KaiPereira/MIDI-Keypad/blob/master/README.md

I followed the guide to create the MIDI keypad. However, I made some changes. I added a second encoder, and since I decided to use both encoders clicking functionalities, I had to remove the low-profile switches and a slider to make room on the ESP32. The remaining slider is used for volume, the first encoder for changing octaves, and the second encoder for adding a modulation effect. This is the final result of how the PCB looks like:

3D Model / Final PCB Render: Final PCB

Schematic: Schematic

Board Layout & Routing:

Combined Layout: Wiring

Front Copper Layer: Wiring Front

Back Copper Layer: Wiring Back

What it is and how it works:

This project is a MIDI keyboard built around the Waveshare ESP32-S3-Zero microcontroller. All of the components fit together on a single two-layer PCB:

  • Waveshare ESP32-S3-Zero: Kind of like the brain of the board. It reads all touch, switch, encoder, and analog inputs and sends USB MIDI messages to a computer or DAW.
  • Capacitive Touch Keys: There are 7 copper pads in the front layer of the PCB. The ESP32-S3's built-in capacitive touch pins detect when your finger touches a pad to trigger MIDI note-on and note-off events.
  • 2 EC11 Rotary Encoders: One encoder adds a modulation effect, while the second encoder shifts the keypad's active octave up and down.
  • Slide Potentiometer: Connected to the ESP32-S3's ADC pins and changes the volume.
  • 3 SK6812 MINI-E NeoPixels: RGB LEDs on the back that shine through holes in the PCB. They light up in different colors to indicate button presses and also show the current octave.

Why I made it:

I made this project to get more experience with KiCad PCB design (specifically working with custom footprints like capacitive touch pads and reverse-mount LEDs). Just like in Week 1, I wanted to push past the basic guide by adding both hardware and software upgrades.

How to assemble and flash the firmware:

1. How to flash the firmware You can flash this board using the Arduino IDE (or CircuitPython/KMK):

  1. Install the Arduino IDE.
  2. In the Boards Manager, install the ESP32 boards package by Espressif and select Waveshare ESP32-S3-Zero (or ESP32S3 Dev Module) as your board.
  3. Under the Tools menu, set USB Mode to USB-OTG (TinyUSB) and USB CDC On Boot to Enabled so the board is recognized as a native USB MIDI device.
  4. Install these libraries in the Library Manager:
    • Adafruit TinyUSB Library (or Control Surface / MIDI library)
    • Adafruit NeoPixel
    • ESP32Encoder
  5. Open midi-keyboard-arduino/midi-keyboard-arduino.ino, plug the board into your computer via USB-C, and click Upload. If it doesn't upload automatically, hold the BOOT button on the ESP32-S3-Zero, tap RESET, and release BOOT to enter bootloader mode.

2. How to assemble the board To assemble the keypad, you need a soldering iron, solder, flux, tweezers, and flush cutters. Solder the components from shortest/surface-mount to tallest/through-hole:

  1. SK6812 MINI-E NeoPixels: These are on the back of the PCB so they shine through the front holes. Align the angled/notched corner of each LED with the ground/orientation mark on the silkscreen, put one pad down, check that it sits flat over the hole, and solder the remaining three pads.
  2. Waveshare ESP32-S3-Zero: Place it on its footprint with the USB-C port facing outward toward the top edge of the board. Solder one corner pin first to check alignment, then solder the rest of the pins and check for solder bridges.
  3. EC11 Rotary Encoders: Push the mounting legs and signal pins through the front of the PCB. Bend the two large side mounting tabs slightly if needed to hold them flush, then solder the 3 signal pins, 2 switch pins, and mounting tabs on the back.
  4. Slide Potentiometer: Insert the slide potentiometer on the front of the board, make sure it sits completely straight and flat, and solder all pins on the back.
  5. Knobs: Push the knobs onto the rotary encoders and slide potentiometers.

Before plugging in the USB-C cable, use a multimeter in continuity mode to make sure 3V3/5V and GND are not shorted. Once verified, plug it in, flash the firmware, and test the capacitive keys and encoders!

BOM:

ItemQtySupplierCost/itemTotal CostLink
ESP32-S3-Zero1AliExpress$4.32$4.32AliExpress
EC11 Rotary Encoder 20mm1AliExpress$3.36$3.36AliExpress
SK6812 MINI-E NeoPixels1AliExpress$2.54$2.54AliExpress
45mm Slide Potentiometer B10K1AliExpress$5.07$5.07AliExpress
PCB1JLCPCB$8.37$8.37JLCPCB
Estimated total shipping1$0.00
Estimated Total$23.66

Parts

11
QtyValueFootprintReferences
3LOGOLOGO, ,
3SK6812MINI-ELED_SMD:LED_SK6812MINI-E_3.2x2.8mm_P1.5mm_ReverseMountD1, D2, D3
2RotaryEncoder_Switch_MPRotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mmSW4, SW5
1Conn_01x07Capacitive Keys:Capacitive Keys_7J1
1R_Potentiometer_MountingPinPotentiometer_THT:Potentiometer_Bourns_PTA1543_Single_SlideRV1
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 89.5 × 87.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Midi 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 Midi keypad KiCad files?

From the AnvithPothula/HalfLifeWeek3-Music repository on GitHub, at the commit this page was made from: the board is midi-keypad/midi-keypad.kicad_pcb and its schematic midi-keypad/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 AnvithPothula before reusing the design.