You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Big fan of the lib having problem with ESP32, first led is going crazy. #1081
but the first led does not respond correctly. all other leds works correctly but first led not.
sometimes gets the right command, sometimes is completely unresponsive and stay all white or all green, or all yellow.
using a logic level converter and a 220ohm resistance, tried even a 470 resistance by changing the LEDs on every try but first led never works ok.
May not mean anything, but on the level shifter, common ground should be shared between both LV and HV. The diagram is missing LV grounding. When using a level shifter, you may not need a resistor at all. Same goes for the capacitor...I think it's just for voltage smoothing?
Usually on WS2812s, when ONLY the first LED is wonky is when it's not getting a proper 5V signal in, and IT is acting as the level booster.
Have you measured your 5V in? Is it actually 5V and not like 4V or something? Just something else to check.
Thanks for the answer @Hackswell I appreciate it.
I added the ground to the lv on level shifter as per your suggestion but it doesn't helped.
I use the resistance just to protect the digital pin a bit, I tried with and without the resistance but it doesn't helped.
Caps is there for just voltage smoothing even if I have a good bft lighting power supply 5V/8A just for five LEDs.
5v measures 5.5V with my voltage meter, this power supply is supposed to be made specifically for ws2812 strip.
I tried with a usb power charger that output 4.99V and same results.
Connect all 100 LEDs and try out your code on the ESP32 to see if its just the first LED. On my strip its not just the first led but any LED after 80 is playing up too, same code works fine on Arduino MEGA.
Activity
Hackswell commentedon Sep 16, 2020
May not mean anything, but on the level shifter, common ground should be shared between both LV and HV. The diagram is missing LV grounding. When using a level shifter, you may not need a resistor at all. Same goes for the capacitor...I think it's just for voltage smoothing?
Usually on WS2812s, when ONLY the first LED is wonky is when it's not getting a proper 5V signal in, and IT is acting as the level booster.
Have you measured your 5V in? Is it actually 5V and not like 4V or something? Just something else to check.
sblantipodi commentedon Sep 16, 2020
Thanks for the answer @Hackswell I appreciate it.
I added the ground to the lv on level shifter as per your suggestion but it doesn't helped.
I use the resistance just to protect the digital pin a bit, I tried with and without the resistance but it doesn't helped.
Caps is there for just voltage smoothing even if I have a good bft lighting power supply 5V/8A just for five LEDs.
5v measures 5.5V with my voltage meter, this power supply is supposed to be made specifically for ws2812 strip.
I tried with a usb power charger that output 4.99V and same results.
sblantipodi commentedon Sep 16, 2020
My software is configured to light up up to 100leds and I have only five connected but I don't think that this can be a problem
sblantipodi commentedon Sep 16, 2020
tried same software, same circuit on the breadboard with the same power supply,
ESP8266 works well,
ESP32 have first led STUCK.
is this a known problem on FastLED?
VinceW31 commentedon Oct 4, 2020
Ive got similar issues, try this:
Connect all 100 LEDs and try out your code on the ESP32 to see if its just the first LED. On my strip its not just the first led but any LED after 80 is playing up too, same code works fine on Arduino MEGA.
sblantipodi commentedon Oct 20, 2020
is there someone whith this problem?
do you find some errors in this wiring diagrams assumed that the microcontroller in use is a
Lolin D32 running ESP32?
sblantipodi commentedon Dec 24, 2020
I solved by simply removing this from my setup()
digitalWrite(LED_BUILTIN, HIGH);