M5Tuna
Firmware for M5Stack Cardputer (M5Stack)
Instrument tuner for the Cardputer and Cardputer ADV covering guitar, ukulele and violin with auto-detection, built on ESP-IDF with its own display and microphone drivers.
by d4rkmen

- Distribution
- Prebuilt image you flash yourself
- License notes
- No LICENSE file for the project's own code; the vendored LovyanGFX component carries its own terms.
- Source
- github.com https://github.com/d4rkmen/M5Tuna
- tuner
- utility
- esp32-s3
- esp-idf
Description
M5Tuna detects pitch from the microphone with an autocorrelation method, filters the result to reject spikes and jitter, and shows an indicator that moves from red through yellow to green with a waveform view and an LED that lights when in tune. It supports guitar, ukulele and violin tunings, plus an automatic mode. Instead of the M5 libraries it uses a small hardware layer on LovyanGFX with its own drivers for the display, microphone, speaker, keyboard and the ES8311 codec. It is built with ESP-IDF 5.5.
Install notes
The release carries an M5Tuna_1.1.bin to flash. The README's own route is building with the ESP-IDF 5.5 extension for Visual Studio Code.
Version history
| Version | Date | Notes |
|---|---|---|
| main @ 1b7930e | 2026-04-10 | The latest commit sets version.txt to 1.3; no release page exists for it. |
| v1.1 | 2025-03-29 |