Skip to the content
2 layers66 × 50.8 mmMidiRecorder PCB, the printed circuit board in 3D

The firmware for my MIDI recorder

Size
66 × 50.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
15
Nets
53
Pads
83
Tracks, vias
76, 6
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
24 Mar 2021
Updated
22 Mar 2026

Overview

MidiRecorder PCB is an open-source printed circuit board by lachlansleight, from the lachlansleight/MidiRecorder-Firmware repository on GitHub. It is a 2-layer board of 66 × 50.8 mm with 15 parts on 53 nets, routed with 76 tracks and 6 vias.

It is built around the HT7333. Its parts include 6 resistors, 4 ICs, 4 connectors and 1 diode. It belongs with the audio and music boards and the ESP32 boards of this library.

Main components

1

README

README.md

MIDI Recorder Firmware + CAD

My MIDI recorder is a small device that lives plugged into a MIDI instrument (specifically a digital piano) and automatically records and uploads everything played on it for later reference. The core idea is that no input is required, and no feedback is given that recording has started/stopped, so you get 'recording-by-default'. A webserver automatically processes recordings and makes them available for playback via a frontend website.


This is the firmware and CAD files for a device that I'm building that automatically records everything I play on my piano. The repository for the server and frontend website can be found here

The device is pretty simple - it's an ESP32, some power regulation and MIDI IN / MIDI THRU. Check back soon, I'm actively working on this project right now so CAD files for the enclosure should be coming soon!

MidiRecorder Circuitboard Render

Bill of Materials

  • ESP32 WROOM (or similar) - note the pinout if you're using my PCB design
  • 6N138 Optocoupler (DIP8)
  • HT7333 Linear Voltage Regulator
  • 1N914 Signal Diode
  • 6 x 220Ω Resistors
  • 4-pin 8mm RGB LED
  • Bidirectional Logic Level Converter (e.g. this one from sparkfun)
  • 2 x 5-pin DIN Jack (panel mount)
  • 1 x DC Barrel Jack (panel mount)
  • 5V 2A DC Power Supply (make sure the barrel size matches your jack size)

Firmware Setup

  1. Open up the firmware in the Arduino IDE and install this custom library (you should be able to find it in the Library Manager
  2. Replace my SSID and passcode with your WiFi credentials (2.4GHz only)
  3. Replace the server with the URL of your custom server instance (see the server readme for details)
  4. Make sure that line 1 is uncommented (i.e. that DEBUG_MODE is defined)
  5. Flash the firmware and examine the serial output (38400 baud) - note the MAC address and ensure WiFi is connecting successfully (reboot the device if you don't see them)
  6. Update the NEXT_PUBLIC_DEVICE_MAC_ADDRESS environment variable on the server and redeploy
  7. Try uploading a recording! If it works, comment-out DEBUG_MODE and reflash - you're done!

Parts

15
QtyValueFootprintReferences
6220RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2, R3, R4, R5, R6
11N914Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1
15V DCConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1
16N138Package_DIP:DIP-8_W7.62mmU2
1ESP32 WROOMLachlanLibrary_Footprints:ESP32WROOMU4
1HT7333Package_TO_SOT_THT:TO-92L_Inline_WideU1
1LogicLevelConverterLachlanLibrary_Footprints:LogicLevelShifterU3
1MIDI INConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ2
1MIDI THRUConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ3
1RGB OUTConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ4

Similar boards

  • 4 layers97.6 × 145.1 mmAnalog and ad9958, the printed circuit board in 3D

    Analog and ad9958

    balmerdx/BalmerDX_VNA

    Vector Network Analyzer 10 KHz - 180 MHz

    226 parts26BSD-2-Clause
  • 2 layers80 × 65 mmRLCMeterH750 v2, the printed circuit board in 3D

    RLCMeterH750 v2

    balmerdx/RLCMeterH750

    Good RLC meter

    161 parts26
  • 2 layers43 × 26 mmCheddar, the printed circuit board in 3D

    Cheddar

    tperale/cheddar

    :satellite: A ESP8266 connected button like the Amazon Dash but programmable

    30 parts10CC-BY-SA-4.0
  • 2 layers66 × 57 mmFlood hat, the printed circuit board in 3D

    Flood hat

    smart-facility/cognicity-floodsensor

    Cognicity flood sensor example code

    57 parts4GPL-3.0
  • 2 layers45 × 38 mmHum contr, the printed circuit board in 3D

    Hum contr

    VGCH/smart-humidifier

    Smart controller for Xiaomi humidifier

    20 parts3
  • 2 layers19.2 × 14.1 mmCh32v003 usb, the printed circuit board in 3D

    Ch32v003 usb

    michalpiekos/ch32v003-stm32-usb-hid

    Minimal-cost USB HID device: CH32V003 ($0.10 RISC-V, software USB) vs STM32F103 (HAL). Custom KiCad PCB and BOM cost comparison.

    6 parts2MIT
  • 2 layers35 × 1.5 mmDeltavr controller, the printed circuit board in 3D

    Deltavr controller

    oxy-2/deltavr

    deltavr is a project I've poured my heart into where I've built an open source slam tracked tiny open source headset with customs pcbs, and with every part except a few all 3d printable, also massive credit to my…

    53 parts2

Questions

How big is the MidiRecorder PCB PCB?

It measures 66 × 50.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the MidiRecorder PCB use?

15 parts, built around the HT7333. 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 MidiRecorder PCB KiCad files?

From the lachlansleight/MidiRecorder-Firmware repository on GitHub, at the commit this page was made from: the board is CAD/MidiRecorder_PCB/MidiRecorder_PCB.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the MidiRecorder PCB design in my own project?

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