

SysEx Patcher
Arduino Mega MIDI controller for the Korg Z3 FM synthesizer
- Size
- 172 × 172 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 86
- Nets
- 78
- Pads
- 305
- Tracks, vias
- 420, 3
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 5 Jun 2026
- Updated
- 17 Sep 2026
Overview
SysEx Patcher is an open-source printed circuit board by GAUDVIBE, from the GAUDVIBE/KorgZ3_SysEx repository on GitHub. It is a 4-layer board of 172 × 172 mm with 86 parts on 78 nets, routed with 420 tracks and 3 vias.
It is built around the CD74HC4067M. Its parts include 26 resistors, 19 capacitors, 6 diodes, 6 connectors and 4 switches. It belongs with the audio and music boards of this library.
Main components
1README
README.mdKorg Z3 SysEx Controller
An Arduino Mega 2560-based MIDI controller for the Korg Z3 FM synthesizer, allowing real-time editing of all internal FM parameters via 16 analog potentiometers, organized across 5 pages.
The Korg Z3 only accepts complete SysEx parameter dumps — this controller handles that constraint transparently, sending a full 96-byte dump on every parameter change.
Features
- 16 potentiometers × 5 pages = up to 80 parameters mapped to the Z3's FM engine
- Live Dump Request — fetch the current preset directly from the Z3 over MIDI
- Up to 8 preset slots stored in RAM, persisted to EEPROM (survives power-off)
- Factory preset (SynLead) loaded on first boot
- Pickup mode — pots are inactive until moved, preventing value jumps on page change
- Adaptive filtering — exponential smoothing + proportional deadband, tuned per parameter range
- 128×32 OLED display — shows preset name, slot index, page, and live parameter values with auto-scroll
- 4 LEDs with distinct behaviors for navigation, dump request, and memory operations
Hardware
| Component | Detail |
|---|---|
| Microcontroller | Arduino Mega 2560 |
| Potentiometers | 16× analog, pins A0–A15 |
| Button − (page prev) | Digital pin 7 |
| Button + (page next) | Digital pin 8 |
| Button cycle/save | Digital pin 5 |
| Button Dump Request | Digital pin 6 |
| LED page − | Digital pin 12 |
| LED page + | Digital pin 11 |
| LED Dump Request | Digital pin 10 |
| LED slot | Digital pin 9 |
| OLED display | 128×32 I2C, SDA=20, SCL=21, address 0x3C |
Tip: Adding a 100nF ceramic capacitor between each pot's wiper and GND significantly reduces ADC noise and improves parameter stability.
PCB / KiCad design
A full KiCad reconstruction of the board (schematic + PCB) lives in hardware/,
rebuilt from the original Gerbers. It also includes an extension: a CD74HC4067 analog
multiplexer (extra analog input via a 6.35 mm remote-pot jack + spare channels) and RC
anti-noise filters (1 kΩ + 100 nF) on every analog input. See
hardware/RECONSTRUCTION_SCHEMA.md and
hardware/ATTRIBUTION.md (hardware is CC BY-NC-SA, derived from
baritonomarchetto's design).
Button Behavior
| Button | Action |
|---|---|
| Pin 7 (−) | Previous page (I → V → IV → …) |
| Pin 8 (+) | Next page (I → II → … → V → I) |
| Pin 5 short press | Cycle through stored preset slots |
| Pin 5 long press ≥3s | Save current dump to memory (RAM + EEPROM) |
| Pin 6 long press ≥3s | Send Dump Request to Z3, receive and load the response |
LED Behavior
| LED | Pin | Behavior |
|---|---|---|
| LED_PREV | 12 | Flashes 300ms on page − click |
| LED_NEXT | 11 | Flashes 300ms on page + click |
| LED_DUMP_REQ | 10 | Blinks continuously during Dump Request, off on receive/timeout |
| LED_SLOT | 9 | Solid = preset loaded from memory / Blinks 3× = save confirmed |
Pages & Parameters
Page I — Global & Levels
| Pot | Parameter | Range | SysEx offset |
|---|---|---|---|
| A0 | Algorithm | 0–7 | 13 |
| A5 | Feedback | 0–7 | 14 |
| A8 | LFO Wave | 0–3 | 15 |
| A12 | LFO Rate | 0–255 | 16 (hi) + 17 (lo) |
| A1 | PMD | 0–127 | 18 |
| A4 | PMS | 0–7 | 19 |
| A9 | AMD | 0–127 | 20 |
| A13 | AMS | 0–3 | 21 |
| A2 | M1 Wave | 0–7 | 22 |
| A6 | C1 Wave | 0–7 | 23 |
| A10 | M2 Wave | 0–7 | 24 |
| A14 | C2 Wave | 0–7 | 25 |
| A3 | M1 Level | 0–127 | 42 |
| A7 | C1 Level | 0–127 | 43 |
| A11 | M2 Level | 0–127 | 44 |
| A15 | C2 Level | 0–127 | 45 |
Page II — Envelopes (Attack / Decay / Sustain / Decay2)
M1, C1, M2, C2 — Attack (0–31), Decay1 (0–31), Sustain (0–15), Decay2 (0–31) — offsets 46–61
Page III — Release, EG Bias, Detune
M1, C1, M2, C2 — Release (0–15), EG Bias (0–3), Detune1 (0–7), Detune2 (0–3) — offsets 34–41, 62–65, 74–77
Page IV — Multiply, AMS Enable, Key Scale
M1, C1, M2, C2 — Multiply1 (0–15), Multiply2 (0–15), AMS Enable (0–1), Key Scale (0–3) — offsets 26–33, 66–73
Page V — Velocity, Keyboard Track, Reverb, Rate/op
M1, C1, M2, C2 — Velocity Int (0–15), Keyboard Track (0–15), Reverb (0–1), Rate (0–7) — offsets 78–93
MIDI / SysEx Details
- Baud rate: 31250 (standard MIDI)
- Dump Request:
F0 42 30 1D 10 F7 - Dump header:
F0 42 30 1D 40+ 8 bytes ASCII name + parameters +F7 - Dump size: 95–96 bytes
- Send guard: 300ms minimum between consecutive SysEx transmissions
LFO Rate — 2-byte parameter
LFO Rate is the only 2-byte parameter in the Z3 dump:
- Offset 16 (hi-byte) =
val / 128→0x00or0x01 - Offset 17 (lo-byte) =
val % 128→0x00–0x7F
EEPROM Layout
| Address | Content |
|---|---|
| 0 | Magic byte 0xA5 (initialized flag) |
| 1 | Preset count |
| 2 | Current slot index |
| 3 + n×108 | Slot n: 2B size + 10B name + 96B data |
Total used: 867 bytes out of 4096 available on the Mega.
Filtering & Stability
The controller uses a multi-stage approach to eliminate ADC noise without sacrificing responsiveness:
- Exponential smoothing — coefficient
7/8for large ranges (≥31 values),3/4for small ranges - Proportional deadband — 10% of step width around each boundary, minimum 1 LSB
- Stability validation — 8 consecutive identical readings required for ranges ≥127, 6 for smaller ranges
- Relative pickup — on page/preset change, a pot must move ≥2 steps from its resting position before becoming active (prevents false triggers without requiring the pot to find an exact value)
Libraries Required
Install via Arduino Library Manager:
Adafruit GFX LibraryAdafruit SSD1306Wire(built-in)EEPROM(built-in)
Project Background
Built around a custom board inspired by baritonomarchetto's Arduino SysEx Patcher. The Z3's FM engine requires complete parameter dumps for every edit — this controller manages that constraint internally, giving the user a seamless knob-per-function experience.
License
MIT
Parts
86| Qty | Value | Footprint | References |
|---|---|---|---|
| 21 | 1k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23, R24, R25 +5 |
| 18 | 100nF | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mm | C1, C2, C3, C4, C5, C6, C7, C10, C11, C12, C13, C14, C15, C16, C17, C18 +2 |
| 16 | 10k | Potentiometer_THT:Potentiometer_Alps_RK09K_Single_Vertical | RV1, RV2, RV3, RV4, RV5, RV6, RV7, RV8, RV9, RV10, RV11, RV12, RV13, RV14, RV15, RV16 |
| 4 | LED | LED_THT:LED_D3.0mm | D3, D4, D5, D6 |
| 4 | SW | Button_Switch_THT:SW_PUSH_6mm | SW2, SW3, SW4, SW5 |
| 3 | 220 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1, R2, R3 |
| 3 | MEGA | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | JMA1, JMA2, JMA3 |
| 2 | MEGA | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | JMD3, JMD4 |
| 1 | 100uF | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C19 |
| 1 | 10k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R5 |
| 1 | 1N4004 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D2D |
| 1 | 1N4148 | Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal | D1 |
| 1 | 330 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R4 |
| 1 | 6N138 | Package_DIP:DIP-8_W7.62mm | U1 |
| 1 | BAT_PWR | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J4 |
| 1 | CD74HC4067 | Package_DIP:DIP-24_W15.24mm | U2 |
| 1 | DC_5V | Connector_BarrelJack:BarrelJack_Horizontal | J3 |
| 1 | JACK6.35 | Connector_Audio:Jack_6.35mm_Neutrik_NRJ6HF-1_Horizontal | J10 |
| 1 | MEGA | Connector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_Vertical | JMD1 |
| 1 | MEGA | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | JMD2 |
| 1 | MIDI_IN | SysEx_Patcher:MIDI_DIN5_180deg | J1 |
| 1 | MIDI_OUT | SysEx_Patcher:MIDI_DIN5_180deg | J2 |
| 1 | OLED | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J5 |
Similar boards
- 2 layers312 × 140 mm

- 2 layers422.4 × 118.2 mm

MidiMood (tht)
silveirago/MidiMood
This repository contains the code for a custom MIDI controller project called MidiMood, built using an ATmega32U4 microcontroller (or similar).
53 parts82 - 2 layers248.9 × 120.7 mm

16nx
16n-faderbank/16nx
16nx is a controller for musical instruments. Sixteen faders,MIDI over USB and jack, CV out, and I2C out. Based around RP2040.
171 parts76 - 4 layers100 × 100 mm

OPDM
brenonsantos/OpenPDM
OpenPDM is an open-source programable Power Distribution Module for your car
156 parts75MIT - 2 layers215.9 × 101.6 mm

- 2 layers152.4 × 95.3 mm

- 2 layers100 × 100 mm

Eavesdrum module
tobigun/EavesDrum
EavesDrum is an e-drum trigger module project, designed for musicians and makers. It allows you to connect drum pads or piezo triggers and converts their signals into MIDI events.
103 parts25GPL-3.0 - 4 layers33 × 65.5 mm

OM FlexGrid Rigid PCB
Open-Muscle/OpenMuscle-FlexGrid
60-sensor wearable with flexible PCB and pressure matrix
65 parts19CERN-OHL-S-2.0
Questions
How big is the SysEx Patcher PCB?
It measures 172 × 172 mm and has 4 copper layers, 1.6 mm thick.
What parts does the SysEx Patcher use?
86 parts, built around the CD74HC4067M. 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 SysEx Patcher KiCad files?
From the GAUDVIBE/KorgZ3_SysEx repository on GitHub, at the commit this page was made from: the board is hardware/kicad_project/SysEx_Patcher.kicad_pcb and its schematic hardware/kicad_project/SysEx_Patcher.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the SysEx Patcher design in my own project?
Its repository states no licence, so its author keeps all rights: ask GAUDVIBE before reusing the design.