Skip to the content
PCBKitNew board
2 layers125 × 213 mmDCLK MIDI Clock, the printed circuit board in 3D

DCLK MIDI Clock

joebmz98/DCLK

Dual MIDI Clock based on the Sim'n Tonic Nome II

Size
125 × 213 mm
Copper layers
2
Thickness
1.6 mm
Parts
76
Nets
61
Pads
360
Tracks, vias
447, 66
Pours
6
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
22 Oct 2026
Updated
7 Nov 2026

Overview

DCLK MIDI Clock is an open-source printed circuit board by joebmz98, from the joebmz98/DCLK repository on GitHub, published under the MIT licence. It is a 2-layer board of 125 × 213 mm with 76 parts on 61 nets, routed with 447 tracks and 66 vias.

It is built around the 74AHCT125D and BAT43. Its parts include 18 resistors, 10 capacitors, 7 connectors, 4 diodes and 3 ICs. It belongs with the audio and music and lEDs and displays boards of this library.

Main components

2

README

README.md

DCLK — Dual MIDI Clock

DCLK

.axs instruments · Firmware v1.6.3 · Hardware v1.0

DCLK is a dual MIDI clock built around an STM32F411 Black Pill. It sends MIDI clock to two TRS (Type A) outputs and over USB MIDI, with quantised start/stop and a separate clock divider for each output, so two machines can be dropped in and out of a jam on the bar.

Update the firmware

➜ DCLK Web Flasher & Editor

Flash the latest release straight from Chrome or Edge on a computer. No software to install. Your saved settings are kept. Flasher source: DCLK-Flasher.

  1. Plug DCLK into the computer with a USB‑C data cable.
  2. Put DCLK into update mode: click Enter update mode on the flasher, or choose Settings > UPDATE and push the encoder. The screen shows DFU READY. (Firmware 1.5 and later. On older firmware, or if DCLK won't start: hold BOOT0, tap NRST, keep holding BOOT0 for about a second. The screen and LEDs stay off in that mode.)
  3. Click Flash Firmware and choose STM32 BOOTLOADER.

Windows needs a one-time WinUSB driver (Zadig); the flasher's Troubleshooting section walks through it.

Features

  • Tempo from 30 to 300 BPM, set with the encoder (24 PPQN)
  • Two TRS Type A MIDI outputs plus USB MIDI (class compliant, shows up as DCLK, no drivers)
  • Quantised start: outputs wait for the next bar boundary of the wait length (1, 2, 4, 8 or 16 bars) before sending Start
  • Optional quantised stop, landing on the same boundary
  • Per-output clock divide: /1 /2 /3 /4 /6 /8
  • USB MIDI clock follows either output
  • Two 5 V analogue sync outputs (3.5 mm TRS): clock pulse on the tip (1, 2, 4, 8, 12 or 24 PPQN per output, default 24, after the channel's divider), run gate on the ring. SYNC 1 follows CH1, SYNC 2 follows CH2 (firmware 1.6 and later; PPQN setting from 1.6.1)
  • Screen saver: dims while a clock runs, switches off when stopped, with a slow breathing BEAT LED in standby
  • Capacitive touch buttons (CAP1206) for CH1, CH2 and Settings
  • Settings saved to flash and kept across power cycles and firmware updates

Using DCLK

ControlAction
Encoder (main screen)Set tempo
CH1 / CH2Start or stop that output. Press again while waiting to cancel
SettingsOpen the menu · back · cancel an edit
Encoder pushSelect / confirm in the menu

Clock, Start and Stop are MIDI System Real-Time messages, so they carry no MIDI channel: "CH1" and "CH2" mean the two output jacks.

LEDs

  • CH1 / CH2: solid while running, slow fade while waiting to start, blink on the beat while waiting for a quantised stop, off when stopped.
  • BEAT: flashes on every beat.

Main screen: a white CH1 / CH2 tab appears along the top while that output plays, and disappears when it stops (firmware 1.6.2 and later). Below them are the tempo and four beat bars; the current beat stands taller. The bars and the BEAT LED move while an output plays, and (from 1.6.3) while a USB host plays in HOST mode even with both outputs off.

Menus

MenuSettings
LEDSBrightness: LO / MID / HI
MIDIWAIT LEN · STOP Q · CH1 DIV · CH2 DIV · USB OUT
SYNCSYNC 1 / SYNC 2 pulses per quarter note: 1 / 2 / 4 / 8 / 12 / 24
SCREENSAVER: OFF / 1 / 5 / 10 / 30 min
MONITORUSB and clock diagnostics; encoder push toggles a USB test note (C4, ch 1)
UPDATERestart into DFU mode for the web flasher (push the encoder to confirm, SETTINGS cancels)
ABOUTProduct, maker and firmware version

Connections

ConnectorUse
USB‑C (Black Pill)USB MIDI clock, power, firmware updates
MIDI OUT 1 / 23.5 mm TRS, Type A
SYNC OUT 1 / 23.5 mm TRS, 5 V: tip = clock pulse, ring = run gate (high while playing)
DC jack5 V, centre positive

Hardware

KiCad 9 project in build/DCLK-MIDI-Clock/, with JLCPCB-ready Gerbers, BOM and placement files in production/. Custom footprints are in lib/DCLK.pretty/.

Main parts: STM32F411CEU6 Black Pill, SSD1306 128×32 I²C OLED, CAP1206 touch controller, Alps EC11E encoder with switch, 2× CUI SJ1‑3525N TRS jacks, GCT DCJ200 DC jack, 3× 5 mm LEDs.

FunctionPin
MIDI OUT 1 / 2 (TX)PA9 (USART1) / PA2 (USART2)
SYNC 1 clock / runPA8 / PB15 (via 74AHCT125 to 5 V)
SYNC 2 clock / runPA5 / PA4 (via 74AHCT125 to 5 V)
CH1 / CH2 / Settings touch padsCAP1206 CS1 / CS2 / CS3 (I²C 0x28)
CAP1206 ALERT#PB12
Encoder A / B / pushPB4 / PB5 / PB13
LED CH1 / CH2 / BEATPB8 / PB9 / PA6 (PWM)
OLED + CAP1206 SDA / SCLPB7 / PB6

Building the firmware

The sketch is src/dclk_midi_clock/dclk_midi_clock.ino (Arduino IDE).

  • Core: STM32duino with the custom board entry DCLK Dual MIDI Clock, which gives a clean 48 MHz USB clock from the Black Pill's 25 MHz crystal. The sketch warns at compile time if another board is selected.
  • Board options: USB support None (TinyUSB provides USB) · U(S)ART support Enabled (generic 'Serial').
  • Libraries: Adafruit GFX, Adafruit SSD1306, Adafruit TinyUSB.
  • Upload method: STM32CubeProgrammer (DFU or SWD). The image must be linked at 0x08000000, with no HID or UF2 bootloader offset.

To publish a release, use Sketch > Export Compiled Binary, copy the .hex into the flasher repo's firmware/ folder and update its manifest.json.

Repository layout

text
src/dclk_midi_clock/   firmware sketch, compiled builds, font
legacy/                every firmware release (hex, bin, source)
build/DCLK-MIDI-Clock/ KiCad project and production files
lib/DCLK.pretty/       custom footprints
assets/                artwork (polarity marking)

License

MIT. See LICENSE. © 2026 .axs instruments

Parts

76
QtyValueFootprintReferences
12, , , , , , , , , , ,
12MouseBite_Tabmouse bites:MouseBite_Tab_5mm_Gap2mmMB**, MB**, MB**, MB**, MB**, MB**, MB**, MB**, MB**, MB**, MB**, MB**
4100kResistor_SMD:R_0402_1005MetricR11, R12, R13, R14
41kResistor_SMD:R_0402_1005MetricR15, R16, R17, R18
433RPCM_4ms_Resistor:R_0603R1, R2, R3, R4
3100nFCapacitor_SMD:C_1206_3216MetricC1, C6, C10
310nFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC7, C8, C9
3330RPCM_4ms_Resistor:R_0603R7, R8, R9
3LEDLED_THT:LED_D5.0mmD2, D3, D4
210uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC2, C4
24k7PCM_4ms_Resistor:R_0603R5, R6
2MIDI OUTaudioConnectors_Edit:Jack_3.5mm_CUI_SJ1-3525N_Horizontal_editJ1, J3
1100nFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC3
1100uFCapacitor_THT:CP_Radial_D4.0mm_P1.50mmC5
110kPCM_4ms_Resistor:R_0603R10
174AHCT125Package_SO:SOIC-14_3.9x8.7mm_P1.27mmU3
1BAT43Diode_SMD:D_SOD-123D1
1CAP1206-x-SLPackage_SO:SOIC-14_3.9x8.7mm_P1.27mmU2
1Conn_02x04_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_Vertical_SMDJ6
1Conn_02x04_Odd_EvenConnector_PinSocket_2.54mm:PinSocket_2x04_P2.54mm_VerticalJ5
1Jack-DCConnector_BarrelJack:BarrelJack_GCT_DCJ200-10-A_HorizontalJ2
1LOGOAXS_LOGO:AXS_LOGO_NOTEXT_10mm_FSILKG***
1LOGOdclk:DCLK-Back-Panel_FSILKG***
1LOGOdclk:DCLK-Front-Panel_FMASKG***
1LOGOdclk:DCLK-Front-Panel_FSILKG***
1RotaryEncoder_Switch_MPRotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm_MountingHolesSW4
1SYNC 1 OUTPJ307-TRS:PJ307-TRS-SOCKETJ7
1SYNC 2 OUTPJ307-TRS:PJ307-TRS-SOCKETJ8
1~SSD1306:SSD1306-128x32SSD1306
1~blackpill:Z_module_black_pill_STM32F411U1

The 72 most common of 76 parts.

Questions

How big is the DCLK MIDI Clock PCB?

It measures 125 × 213 mm and has 2 copper layers, 1.6 mm thick.

What parts does the DCLK MIDI Clock use?

76 parts, built around the 74AHCT125D and BAT43. 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 DCLK MIDI Clock KiCad files?

From the joebmz98/DCLK repository on GitHub, at the commit this page was made from: the board is build/DCLK-MIDI-Clock/DCLK-MIDI-Clock.kicad_pcb and its schematic build/DCLK-MIDI-Clock/DCLK-MIDI-Clock.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the DCLK MIDI Clock design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 4 layers120 × 113 mmVoron Klipper Board, the printed circuit board in 3D

    Voron Klipper Board

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    360 parts1.1kGPL-3.0
  • 2 layers30 × 100 mmCHORD VCO, the printed circuit board in 3D

    CHORD VCO

    ijnekenamay/HAGIWOs_Module

    eurorack modular synthesizers projects using Arduino.

    42 parts143
  • 2 layers100 × 100 mmCANBuster, the printed circuit board in 3D

    CANBuster

    GBert/misc

    miscellaneous stuff / unsorted

    182 parts99
  • 2 layers54 × 64 mmDonConIOmini, the printed circuit board in 3D

    DonConIOmini

    ravinrabbid/DonCon2040

    RP2040 based firmware and hardware for DIY Taiko no Tatsujin Drum Controllers

    96 parts66MIT
  • 2 layers19.7 × 99.1 mmMain pcb, the printed circuit board in 3D

    Main pcb

    Testbild-synth/HAGIWO_arduino_oscillator

    4HP through hole version of the HAGIWO FM/additive/chord oscillator with mode switch and gain input.

    40 parts57MIT
  • 2 layers29 × 99.8 mmMain pcb, the printed circuit board in 3D

    Main pcb

    Testbild-synth/Hagiwo_009_030_sequencer

    A through-hole PCB conversion of HAGIWO's 6 channel eurorack gate sequencer. Includes Gerbers, Code and building instructions.

    26 parts49MIT
  • 2 layers63 × 46 mmPi485, the printed circuit board in 3D

    Pi485

    bvarner/pi485

    An open-source TTL UART <-> RS485 converter, intended for a Raspberry Pi or Arduino

    31 parts41MIT
  • 2 layers29 × 99 mmControl pcb v1 1, the printed circuit board in 3D

    Control pcb v1 1

    Testbild-synth/HAGIWO-029-033-Eurorack-quantizer

    Through hole PCB version of the HAGIWO Dual Quantizer/SH101 Sequencer Eurorack Module-.

    30 parts40MIT