A few years ago I got a small jukebox with a radio, CD player and some lamps. After only a short time I converted the jukebox to a multimedia PC. But even this one was just standing around most of the time.
In January 2020 I discovered the Volumio program for the Raspberry Pi. I installed it on my RPi and was thrilled! Soon I had the idea to take out my jukebox and rebuild it again. Since I have also gained experience with the Arduino and NeoPixel, the lighting of my jukebox had to be modernized.
Technical Deep-Dive
The Volumio Audiophile Architecture:
- Lossless Stream Engine: The Raspberry Pi runs Volumio, a headless Debian-based OS optimized for low-jitter audio playback. It handles FLAC, WAV, and DSD files, pulling data from local storage or high-definition streaming services.
- I2S Digital Audio: Since the sound was very weak via the internal sound chip, I added a HiFiBerry Amp2. Unlike standard USB audio, it connects via the Raspberry Pi's GPIO pins using the I2S (Inter-IC Sound) protocol. This eliminates internal noise and allows for 192kHz/24bit digital-to-analog conversion at the hardware level. Now I could connect my old external speakers and enjoy the music.
Reactive Lighting Sub-System (Arduino & NeoPixels): I removed the existing lighting and installed 31 NeoPixels. I wrote some lines of code for the Arduino and the LEDs lit up.

Step by step new effects were added and there will certainly be more.
- Timing Discipline: The Arduino Uno handles the strict 800kHz data timing required by the WS2812B protocol, ensuring that the visualizer remains responsive and jitter-free.
- Spectral Analysis: The last step was to add a mode where the LEDs react to the music. So I added an Audio Analyzer Module from DFRobot. This module can analyze the sound (likely utilizing the MSGEQ7 IC to split the audio into seven discrete frequency bands) and sends the information to an Arduino. The Arduino polls these bands and translates the amplitudes into HSV (Hue-Saturation-Value) color mappings for the NeoPixels.
HMI Modernization & GPIO Forensics:
- Legacy Control Retrofit: Then I started to rewire the six buttons and two knobs of the jukebox and use the buttons for control tasks. The vintage mechanical buttons are remapped to the Raspberry Pi’s GPIO headers. Using internal pull-up logic, the system triggers Python scripts to execute software commands, preserving the authentic tactile feel:
- controlled shutdown of the Raspberry Pi (
sys_shutdown) - switching the lighting on/off (
toggle_lights) - selecting the lighting effect
- ... more to come (e.g.,
next_track)
- controlled shutdown of the Raspberry Pi (
- Legacy Control Retrofit: Then I started to rewire the six buttons and two knobs of the jukebox and use the buttons for control tasks. The vintage mechanical buttons are remapped to the Raspberry Pi’s GPIO headers. Using internal pull-up logic, the system triggers Python scripts to execute software commands, preserving the authentic tactile feel:
Engineering & Implementation
Power Stage Integration:
- The HiFiBerry AMP2 provides up to 60W of power. The project uses a single high-current power supply to feed the AMP2, which in turn provides a regulated 5V rail back to the Raspberry Pi, simplifying the internal power distribution.
Structural Acoustics:
- So that the back of the jukebox looks nice too, I redesigned the plate of the back and cut it out with a laser cutter. This laser-cut rear panel, redesigned in CAD, provides optimized airflow and structural rigidity, preventing cabinet resonance.
Audio Routing Logic:
- The next step was to install two new speakers in the jukebox housing, so that you can use the jukebox "standalone." With a custom physical switch you can choose between the internal or external speakers, demonstrating a professional approach to multi-zone audio output.
Conclusion
This project proves that heritage design and modern technology are not mutually exclusive. By mastering I2S protocol integration and Frequency Spectral Analysis, it provides a professional-grade framework for high-fidelity audio restoration and smart-home integration.
Acoustic Heritage: Bridging the analog past with a high-definition future.