These days, streaming services are a great way to listen to music or podcasts on your computer or on the go. However, they lack one feature of the MP3 players and streamers of old: visualizations! [mircemk] is a fan of those, and has built a hardware spectrum analyzer that pumps with the music.
The build relies on a 20×2 character VFD display that looks great, with high brightness and excellent contrast. It can be easily driven from a microcontroller, as it has a controller on board compatible with the typical HD44780 command set. On Arduino platforms, this means the display can easily be driven with the popular LiquidCrystal library.
The Arduino Nano inside takes in the audio signal via its analog inputs. It then processes the audio with the fix_fft library, which runs a Fast Fourier Transform in order to figure out the energy level of each frequency bin in the audio spectrum for both the left and right channels. This data is then sent to the screen for display. It’s impressively fast and smooth, with the display dancing along with the beat nicely as [mircemk] tests it out with some tunes.
If it looks familiar, it’s because it’s an updated version of a prior project from [mircemk]. We saw it previously as a VU meter that pulsed with the beat, an altogether simpler visualization but still a cool one. Video after the break.
Source: CHARACTER VFD BECOMES SPECTRUM ANALYZER