

Lochord hw
An open-source version of the popular midi device: HiChord
- Size
- 130 × 90 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 91
- Nets
- 110
- Pads
- 387
- Tracks, vias
- 1,483, 464
- Pours
- 4
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 23 Mar 2026
- Updated
- 11 Sep 2026
Overview
Lochord hw is an open-source printed circuit board by kiwifruit0, from the kiwifruit0/LoChord repository on GitHub. It is a 4-layer board of 130 × 90 mm with 91 parts on 110 nets, routed with 1,483 tracks and 464 vias.
It is built around the ES8388, AMS1117-3.3 and LP5907MFX-3.3, with the USBLC6-2SC6, EC11E15244G1 and 100UF 10V 4*7 among its other parts. Its parts include 32 capacitors, 27 resistors, 10 switches, 5 ICs and 5 connectors. It belongs with the audio and music boards of this library.
Main components
8ES8388
QFN-28-EP(4x4)-40℃~+85℃ 1.7V~3.6V 10MHz 2 24 96000Hz Audio Analog-to-Digital Converter、Audio Decoder SPI、I2C QFN-28-EP(4x4) ADCs/DACs - Special Purpose ROHSEverest-semiADCs/DACs - Special PurposeAMS1117-3.3
SOT-223-40℃~+125℃ 0.003%Vout 1 1.1V@(800mA) 15V 1A 3.3V 5mA 72dB@(120Hz) Fixed Over Current Protection、Short Circuit Protection、Thermal shutdown Positive SOT-223 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSAdvanced Monolithic SystemsVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsLP5907MFX-3.3
SOT-23-5-40℃~+125℃@(Tj) 1 10uVrms 12uA 250mA 250mV@(250mA) 3.3V 5.5V 82dB@(1kHz) Fixed Positive Short Circuit Protection、Thermal shutdown、Enable control、Input under-voltage protection、Output discharge SOT-23-5 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSTexas InstrumentsVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsUSBLC6-2SC6
SOT-23-60.35pF、0.8pF 100nA 150W@8/20us 15V 2 5V 6A@8/20us 6V ESD SOT-23-6 ESD and Surge Protection (TVS/ESD) ROHSUMWESD And Surge Protection (TVS/ESD)EC11E15244G1
插件插件 Rotary Encoders ROHSALPSALPINERotary Encoders100UF 10V 4*7
插件,4x7mm1.5mm 1000hrs@105℃ 100uF 10V 4mm 7mm 插件,4x7mm Aluminum Electrolytic Capacitors - Leaded ROHSLCSCAluminum Electrolytic Capacitors - LeadedPJ-320D
SMD-30℃~+70℃ 12V 1A 3.5mm Headphone Jack Copper Gold SMD Audio Connectors ROHSSHOU HANAudio ConnectorsSI2302
SOT-23-55℃~+150℃ 1 N-channel 120pF 1V 1W 20V 300pF 3A 4nC@4.5V 65mΩ@2.5V 80pF N-Channel SOT-23 MOSFETs ROHSYONGYUTAIMOSFETs
README
README.mdLoChord
A real-time MIDI chord controller for ESP32-P4, with chord generation, looping, and parameter control. Inspired by the HiChord, but not a clone — see CLAUDE.md for how the two differ.
LoChord is both a firmware project and a hardware project developed together in one repo.
Mid-migration. The project moved from the ESP32-S3-WROOM-1 to the WT0132P4-A1 (ESP32-P4) module during design.
PINOUT.mdis written against the P4;firmware/include/config.hand the KiCad schematic are not yet. SeePINOUT.md's "Migration delta" for the work list, and the rootCLAUDE.mdfor why the move was made.
Hardware at a glance
- WT0132P4-A1-N16R32 module — ESP32-P4, dual-core RISC-V, 16MB flash, 32MB in-package PSRAM, no radio
- 7× Kailh Choc v1 chord switches + 1× loop button, hand-soldered, direct GPIO
- 3× ALPS EC11 clickable rotary encoders (1 UI, 2 control)
- Nintendo Switch joystick module on a 5-pin FPC
- 428×142 2.79" NV3007 TFT LCD, SPI, LVGL UI built in EEZ Studio
- ES8388 stereo I2S codec with integrated headphone amp, driving a 3.5mm jack
- Native USB, MIDI only — recording is via the headphone jack into an audio interface
- 4-pin USB-Serial-JTAG debug header (works concurrently with USB MIDI)
Repository layout
/
├── firmware/ ESP32-P4 PlatformIO project (Arduino framework, via pioarduino)
├── lochord_hw/ KiCad hardware project (schematic + PCB)
└── PINOUT.md Single source of truth for every pin/net crossing the firmware↔hardware boundaryEach directory has its own CLAUDE.md with more detail; start with the root CLAUDE.md for the full picture.
Firmware
Built against pioarduino/platform-espressif32, not the official platformio/espressif32 platform. The official platform never picked up Arduino-ESP32 3.x (needed for USB MIDI) and has no ESP32-P4 support.
A custom board JSON is required — no stock definition matches the N16R32 (16MB flash / 32MB PSRAM) module.
Development commands
Run from firmware/:
Generate compile_commands.json:
pio run -t compiledbBuild and upload:
pio run -t uploadSerial monitor:
pio device monitorExit with Ctrl+A then Ctrl+X
Host tests:
pio test -e nativeHardware
The schematic (lochord_hw.kicad_sch) and PCB (lochord_hw.kicad_pcb) live in lochord_hw/. After a fresh clone, run:
git submodule update --initto pull in the Kailh switch footprint library — without it, KiCad can't resolve the switch footprints.
Note that the switches are Choc v1 (PG1350). Any Choc v2 footprint still present in the schematic is left over from an earlier revision and is wrong.
Commit convention
Commits are prefixed by which side of the repo they touch:
fw:— firmware-only changeshw:— hardware-only changes (including schematic/PCB edits)chore:— repo-wide changes that aren't feature work on either side (restructuring, docs, tooling)fw+hw:— changes that necessarily touch both sides together (e.g. reassigning a pin)
e.g. fw: add strum direction toggle, hw: swap choc v2 footprints for v1, fw+hw: renumber gpio for esp32-p4.
Parts
91| Qty | Value | Footprint | References |
|---|---|---|---|
| 11 | 100nF | Capacitor_SMD:C_0402_1005Metric | C4, C6, C10, C11, C13, C14, C16, C18, C20, C23, C26 |
| 11 | 10k | Resistor_SMD:R_0402_1005Metric | R1, R5, R6, R7, R8, R9, R10, R11, R12, R13, R24 |
| 7 | 10uF | Capacitor_SMD:C_0603_1608Metric | C9, C12, C15, C17, C19, C21, C22 |
| 6 | 10nF | Capacitor_SMD:C_0402_1005Metric | C27, C28, C29, C30, C31, C32 |
| 4 | 33R | Resistor_SMD:R_0402_1005Metric | R18, R19, R20, R21 |
| 3 | 1uF | Capacitor_SMD:C_0402_1005Metric | C1, C7, C8 |
| 3 | EC11E15244G1 | Rotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm_CircularMountingHoles | RE1, RE2, RE3 |
| 2 | 10R | Resistor_SMD:R_0402_1005Metric | R25, R26 |
| 2 | 220uF/6.3V | Capacitor_SMD:CP_Elec_6.3x5.4 | C24, C25 |
| 2 | 22uF/25V | Capacitor_SMD:C_0805_2012Metric | C3, C5 |
| 2 | 4.7k | Resistor_SMD:R_0402_1005Metric | R22, R23 |
| 2 | 5.1k | Resistor_SMD:R_0402_1005Metric | R2, R3 |
| 2 | 56R | Resistor_SMD:R_1206_3216Metric | R15, R27 |
| 1 | 100R | Resistor_SMD:R_0402_1005Metric | R17 |
| 1 | 100k | Resistor_SMD:R_0402_1005Metric | R16 |
| 1 | 100uF/10V | Capacitor_SMD:CP_Elec_5x5.4 | C2 |
| 1 | 22R | Resistor_SMD:R_0402_1005Metric | R14 |
| 1 | 470R | Resistor_SMD:R_0402_1005Metric | R4 |
| 1 | 600R@100MHz | Inductor_SMD:L_0603_1608Metric | FB1 |
| 1 | AMS1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U2 |
| 1 | BOOT | lochord:SW_SMD_TS-1088-AR02016_3.9x3.0mm | SW2 |
| 1 | CHORD1 | Switch_Keyboard_Kailh:SW_Kailh_Choc_V1_2.00u | SW3 |
| 1 | CHORD2 | Switch_Keyboard_Kailh:SW_Kailh_Choc_V1_2.00u | SW4 |
| 1 | CHORD3 | Switch_Keyboard_Kailh:SW_Kailh_Choc_V1_2.00u | SW5 |
| 1 | CHORD4 | Switch_Keyboard_Kailh:SW_Kailh_Choc_V1_2.00u | SW6 |
| 1 | CHORD5 | Switch_Keyboard_Kailh:SW_Kailh_Choc_V1_1.50u | SW7 |
| 1 | CHORD6 | Switch_Keyboard_Kailh:SW_Kailh_Choc_V1_1.00u | SW8 |
| 1 | CHORD7 | Switch_Keyboard_Kailh:SW_Kailh_Choc_V1_1.50u | SW9 |
| 1 | DEBUG USJ | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J2 |
| 1 | EN | lochord:SW_SMD_TS-1088-AR02016_3.9x3.0mm | SW1 |
| 1 | ER-TFT2.79-1 | lochord:Display_ER-TFT2.79-1_2.79in_142x428 | M2 |
| 1 | ES8388 | lochord:QFN-28-1EP_4x4mm_P0.45mm_EP2.6x2.6mm_ThermalVias | U5 |
| 1 | GREEN | LED_SMD:LED_0603_1608Metric | D1 |
| 1 | JOYSTICK_NS | lochord:FPC_1x05_P0.50mm_Horizontal_ZIF | J3 |
| 1 | JOYSTICK_NS_MODULE | lochord:Joystick_NintendoSwitch_Module | M1 |
| 1 | LCD_ER-TFT2.79-1 | lochord:FPC_1x10_P0.50mm_Horizontal_ZIF | J4 |
| 1 | LOOP | Switch_Keyboard_Kailh:SW_Kailh_Choc_V1_1.00u | SW10 |
| 1 | LP5907MFX-3.3 | Package_TO_SOT_SMD:SOT-23-5 | U3 |
| 1 | PJ-320D | Connector_Audio:Jack_3.5mm_PJ320D_Horizontal | J5 |
| 1 | SI2302 | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | U0RXD | TestPoint:TestPoint_Pad_D1.5mm | TP4 |
| 1 | U0TXD | TestPoint:TestPoint_Pad_D1.5mm | TP3 |
| 1 | USB-C 16P | Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
| 1 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6 | U4 |
| 1 | USB_HS_DM | TestPoint:TestPoint_Pad_D1.5mm | TP1 |
| 1 | USB_HS_DP | TestPoint:TestPoint_Pad_D1.5mm | TP2 |
| 1 | WT0132P4-A1-N16R32 | lochord:WT0132P4-A1 | U1 |
Similar boards
- 4 layers99.5 × 65 mm

- 4 layers32 × 74 mm

- 4 layers55 × 55 mm

- 4 layers85.8 × 85.8 mm

- 2 layers56.8 × 38.8 mm

- 2 layers100 × 60 mm

- 2 layers100 × 50 mm

Analog Redial v2
sdylewski/Analog-Redial
A circuit board for old telephones to come back to life. Plug one or two phones in, and you can call the other phone, use bluetooth, connect to others via voip, and do a variety of other things with a plain old rotary…
77 parts46 - 4 layers60 × 30 mm

Openmotorbridge omm intercom
schmidtmt/openmotorbridge
The comprehensive technical specification is split into 18 logically organized chapters:
21 parts
Questions
How big is the Lochord hw PCB?
It measures 130 × 90 mm and has 4 copper layers, 1.6 mm thick.
What parts does the Lochord hw use?
91 parts, built around the ES8388, AMS1117-3.3, LP5907MFX-3.3 and USBLC6-2SC6. 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 Lochord hw KiCad files?
From the kiwifruit0/LoChord repository on GitHub, at the commit this page was made from: the board is lochord_hw/lochord_hw.kicad_pcb and its schematic lochord_hw/lochord_hw.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Lochord hw design in my own project?
Its repository states no licence, so its author keeps all rights: ask kiwifruit0 before reusing the design.