How tmwho/schreikabine_leddriver works
This is Arduino firmware for an audio level meter. Its runtime samples an analog audio signal, computes RMS, converts and calibrates the level to dB SPL, smooths it, then sends the result over serial and displays it on a peak-hold LED strip. The sampled source shows these stages in one file; there are no separate domain modules or persistent stores.
Main entry points: main.cpp Runtime loop
Components 6
Level measurement
- Runtime loop
src/main.cpp - RMS sampling
src/main.cpp - dB calibration
src/main.cpp
Meter outputs
- Serial display
- LED strip
Other components
- Audio signal
Connections 5
- Audio signal → RMS sampling: provides signal
- Runtime loop → RMS sampling: samples
- Runtime loop → dB calibration: calibrates and smooths
- Runtime loop → Serial display: sends dB packet
- Runtime loop → LED strip: renders peak meter