Obadah Abozaid
All projects
Hardware & EmbeddedCSE 525 Microprocessor Design · 2024

Raspberry Pi Audio LED Visualizer

An embedded WS2812B LED meter that reacts to live audio with sub-millisecond GPIO latency.

Role: Hardware + software

Raspberry Pi Audio LED Visualizer

Overview

A Flask web app that turns a 144-LED WS2812B addressable strip into an audio-reactive volume meter on a Raspberry Pi. It visualizes live USB-microphone input or uploaded WAV files, driving the strip over GPIO/PWM with a level-shifter and shared star-ground. The résumé build pushed live FFT visualization to under 1 ms of GPIO latency.

Highlights

  • Live microphone and WAV-file visualization on a 144-pixel WS2812B strip.
  • GPIO 18 / PWM0 output through a 74AHCT125 level shifter with proper star-ground.
  • Rainbow and single-color modes, adjustable brightness/RGB, safe start/stop LED cleanup.
  • Mock-LED mode for development on non-Pi machines; clean web/audio/hardware/thread separation.

Demos

Two screen-recorded demos (overview + live microphone) live in the GitHub repo's media/ folder — they're large MP4s, so they're linked rather than embedded here.

Gallery