Skip to content
altstrument

SMSGGDJ Link ESP32 bridge

Tool for Mega Drive / Genesis (Sega)

ESP32 firmware that follows Ableton Link or USB MIDI clock and sends a tick counter to a Mega Drive controller port so genmddj can sync to Ableton Live.

by Sebastian Tomczak (little-scale)

ActiveSource: openGPL-2.0-or-later
Black Sega Mega Drive console with a circular cartridge cover marked 16-BIT and a six-button controller in front of it
Photo: Evan-Amos, via Wikimedia Commons, public domain, via commons.wikimedia.org
Distribution
Browser installer (WebMIDI / WebUSB)
License notes
The README states GPL-2.0-or-later, and the LICENSE file is the GPL version 2 text. The firmware links Ableton Link, which is GPL-2.0-or-later, and the legacy Teensy subproject is under the same license.
Source
github.com https://github.com/little-scale/smsggdj-link-esp32
Homepage
little-scale.github.io https://little-scale.github.io/smsggdj-link-esp32/

Description

A Seeed XIAO ESP32-C3 joins an Ableton Link session over WiFi, derives a 24 PPQN tick clock and presents a rolling 2-bit counter on two open-drain pins into controller port 2, which genmddj reads once per video frame. The README marks the Mega Drive path as hardware-confirmed. On an ESP32-S3 the same firmware also follows USB MIDI clock from a DAW. The same bridge serves the Master System and SMSGGDJ, which has its own entry.

Install notes

The web flasher page flashes a prebuilt binary to the XIAO from Chrome or Edge over a USB-C data cable, or esptool can write a downloaded binary; the repository has no GitHub releases, and a build with ESP-IDF is also described. A freshly flashed board has no WiFi credentials and hosts its own setup page. WIRING.md describes the connections for the Mega Drive.

Version history

SMSGGDJ Link ESP32 bridge version history
VersionDateNotes
main @ d217bde2026-08-12
No tagged releases; this is the latest commit.

Back to Mega Drive / Genesis