VU-meter Esp8266 - WS2812B

VU-meter (Winamp plugin ) sending udp to a Esp8266 controlling a Ws2812B

Similar projects worth following
This project is a proof of concept, a demonstration of how fast and capable the Esp8266 is.

It consist of three parts:
Winamp plugin sending VU meter info
Esp8266 ( running at 160MHz )

Obvious improvements are gstreamer / ADC to capture audio, simultaneous control of several light-strips and a command protocol for a control App.

This is a very simple hack

It is based primarily on these two projects

Boris Ribov


Add the snippets in the guide below ( you will probably have to declare some variables ;-)

More reading on how to control WS2812

Starting point for Esp8266

View all 6 project logs

View all 6 instructions

Enjoy this project?



Steve Michel wrote 04/22/2017 at 02:07 point

i think APA107 LED source is better choice


  Are you sure? yes | no

CNLohr wrote 02/22/2015 at 22:33 point

I still haven't gotten a chance to dink with more than 20 LEDs, but, I have a question.  You're using "atoi"  How?  Where does that function come from?  What is your build environment like?

  Are you sure? yes | no

CNLohr wrote 02/25/2015 at 04:07 point

Thanks.  I am also using the same 0.9.5, but not that extra stdlib.  I had to strip it out for my next project and do my own funky functions to make it all fit in the limited space :-/

  Are you sure? yes | no

Scott Franzyshen wrote 02/19/2015 at 18:08 point

if you are planning to support more than 25 leds ... have a look at this ...

and if you want ws2801, lpd6803, tpm2net, or artnet support have a look here ...

  Are you sure? yes | no

mr.jb wrote 02/25/2015 at 06:37 point

I have ordered 2x60 strip WS2812B, I'll let you know about timing issues. My guess is apart from timing, interface circuitry like capacitor and resistor is important. WS212B seems to be very sensitive.

  Are you sure? yes | no

bim.overbohm wrote 02/18/2015 at 10:34 point

Nice project! What is the maximum latency you're seeing? I'm thinking about using this to transmit ~2kB data packages with about 20+ Hz, but need a low latency (~20ms)… Is this realistic with WiFi and/or the ESP8266?

  Are you sure? yes | no

mr.jb wrote 02/18/2015 at 15:52 point

Take a look at the delay at the end of  CNLohr demo program top.c

think I've gone as low as 800us ( 160MHz mode)…faster and the Esp8266
will "choke" and restart, maybe a watchdog related problem…

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates