Skip to content
foonerd edited this page Oct 13, 2026 · 1 revision

LCD1602 VU Meter

Two VU bars on a 16x2 character LCD, moving with the music on a Volumio player. An audio tap in the player's ALSA chain measures every source, files, radio, streaming, AirPlay and Spotify alike, without touching the sound. The display shows the bars while music plays, says so while it is paused, shows a clock and date while nothing plays, and tells you when the player boots, restarts and shuts down.

The bars

Start here

Page What it is for
Quick-Start Install the plugin, wire the display, see the bars.
Wiring The four wires on a Raspberry Pi, the I2C buses, the module variants.
Displays Every controller and backlight driver the plugin drives, and how it tells them apart.
Settings Every setting on the plugin's page, with pictures of what each shows.
Troubleshooting When nothing shows, when the bars stand still, when the text is garbled.

How it fits together

flowchart LR
    subgraph Player
        S[Sources: files, radio, streaming, AirPlay, Spotify] --> T[vutap, the audio tap in the ALSA chain]
        T --> H[Sound card]
        T --> R[(Ring under /dev/shm: peak and RMS per channel)]
        R --> D[lcd1602-vumeter, the display daemon]
        P[Plugin: settings, player state, boot and shutdown] -- control socket --> D
        D -- I2C --> L[16x2 LCD]
    end
Loading

The tap sits in the chain between the player and the sound card and passes every stream through unchanged; it measures on a thread of its own and publishes the peak and RMS of each channel into a small ring in shared memory. The daemon reads the ring twenty times a second, applies VU ballistics and a peak hold, and writes only the cells that changed. The plugin tells the daemon the player's state over a Unix socket and hands it the boot, ready, restart and shutdown moments; the daemon runs as a systemd service, so the boot message is on the glass before Volumio itself is up.

Clone this wiki locally