Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ESP32 and WS2812b are not working #651
I have a 1m WS2812B strip, runnig the following code in my ESP32 dev, only the first turn on Green all the time, so it never go off, sometimes the brightness is a little different but never go off.
I tried all the other examples, most of the time only the first led turn on/flick in ramdom colors. I tried with the pins 12,13,14 all give me same results.
Using the same wires setup and a ESP8266, all the examples works fine. The only change in the code betweeen boards are the GPIO PIN.
Hi, Thanks for taking the time to check this issue.
I was using the last version of everything (ESP32 core, libs, ..), but I found the problem and is not in your code, in many forums and website like this one https://learn.adafruit.com/adafruit-neopixel-uberguide/powering-neopixels it said that we need to install a resistor in the data pin.
So I did that, I added a 470 Ohm resistor and that was the cause of my issues, without the resistor and using the pin 25 all the examples are working fine, the animations are smooth.
So the ESP8266 works fine with and without the resistor but the ESP32 only works without the resistor.
I'm not sure if the problem is only with my led strip ( I have only one).