Addressable RGB LED Music and Sound Visualizer
Let’s face it: nowadays, most musical performances are complimented by some fancy light shows. Go to any concert, festival, club – they all have a corresponding visual performance or effects. Why not add your own home to that list? Here’s a simple yet effective project to make your very own son et lumière!
All palettes work with every visualization, but, for timeliness, not every combination is shown.
To follow along with this tutorial, you’ll need the following:
Any microcontroller with 3.3V and 5V pins will suffice, any analog potentiometer should work, and any resistor between 300–500 Ω can be used. The resistor and capacitor are not required, but they will help prevent possible damage to the LEDs.
Depending on your intent, the trimpot and buttons may not be necessary. The trimpot is only used to adjust the brightness threshold, so, if you want maximum brightness, you don’t have to worry about incorporating it. The three buttons cycle visualizations, color schemes, and shuffle mode respectively, so, if you want to do without those features (and just use shuffle mode all the time), that’s also a possibility.
It is also suggested that you use an Arduino and Breadboard Holder to simplify wiring and to mount the LED strip:
A small notch was cut in the BReadboard Holder to hold a piece of MDF, on which the LEDs are attached.
Before embarking upon this tutorial, you may find the following links useful:
- Arduino Sketch Tutorial
- Arduino Reference
- How to use a Breadboard
- RGB Color Model
- Sound Detector Hookup Guide
Since we’re using the NeoPixel library, it may also be a good idea to get familiar with the NeoPixel Documentation.