A simple audio visualizer using NodeMCU and WS2812B LED strip, inspired by ESP32-8266-Audio-Spectrum-Display.
-
ESP8266 development board like NodeMCU or Wemos. (Board I used: link)
-
WS2812B led strip. (Strip I used (2m, 60led/m): link)
-
2X 10k resistor.
I used the Arduino IDE to program the NodeMCU. Here is a guide describing how to setup the Arduino IDE to work with NodeMCU.
The following libraries need to be installed in the Arduino IDE:
Adjust the NUM_LEDS and colors to suit your lED strip.
The code was put together in an evening, so there is a whole lot of scope for improvement. Sorry about the spaghetti code.
The ends of the LED strip responds to low frequencies, the middle part responds to the overall amplitude of the sound and high frequency sounds produce a mild sparkling effect.