mtongnz / ESP8266_ArtNetNode_v2

ESP8266 based WiFi ArtNet to DMX, RDM and LED Pixels
GNU General Public License v3.0
606 stars 158 forks source link

Flickering until number of pixels changed #102

Closed fastfourier666 closed 5 years ago

fastfourier666 commented 5 years ago

Hi there! Great bit of software here, thanks!

I'm having a weird issue with 2.0.0_b5g, set to ESP-01 mode on an ESP-12 (512kB). Uploading from the Arduino IDE with 64k SPIFFS and 160MHz. I'm running a string of 40 WS2812s.

I get some pretty severe flickering/random colours when I first start up the ESP. If I change the number of pixels in the web interface and "save changes", it works perfectly until the next reboot.

fastfourier666 commented 5 years ago

Sorry for a previous mistake - I think I am actually using WS2811 as each RGB module has 18 LEDs in it, which would suggest the standalone chip (I can't see any of the circuitry though)

I found a couple of the delays in ws2812Driver.cpp are too short, at least too short for my setup. Here are the changes which worked for me:

Line 174: changed to 128 clock cycles Line 184: changed to 67 clock cycles Line 208: changed to 123 clock cycles

thank you!