Wled ws2812b - first led red

Hello,

I buy a btf-lighting - WS2812B model 100 led, I cut to 9, when I plug my led strip to my ESP8266, always the first stay in Red color.
Here my photos I take to illustrate. I search on this discourse but It seems that I can not found my issue.

the wiring configuration :
VCC : Red => ESP8266 : Vin
GND : White => ESP8266 Gnd
Data : Green => ESP8266 D2

Number of led : 9

The wled configuration :


I boot and reboot the esp8266 etc. but I do not find the solution.

When I wiring the composants, always first led turn red, and no actions seems possible.

D2 is not GPIO2 usually. I think its GPIO4, check the boards pinout.

1 Like

Hello, I change it, but always the same problem

did you check the pinout of your board?


Ok, so I set gpio 4 on my interface and put the green on D2. same issue.

Could be a bad LED.

It sounds like you’re experiencing a common issue with WS2812B LED strips where the first LED remains lit in red. Here are a few things to check:

  1. Wiring: Ensure that your data line is connected correctly. The data input of the LED strip should be connected to the correct GPIO pin on your ESP8266.

  2. Power Supply: Check that your power supply is sufficient for the number of LEDs. Even if you cut it to 9, the supply should handle the current requirements.

  3. Data Signal: Sometimes, a weak data signal can cause the first LED to behave incorrectly. Try using a resistor (around 330-470 ohms) on the data line between the ESP8266 and the LED strip.

  4. Code Configuration: Make sure your code is properly configured to address the correct number of LEDs. If you are using libraries like FastLED or Adafruit NeoPixel, ensure that you have set the number of LEDs to 9 in your setup.

  5. Testing with Simple Code: Test with a simple example code that only turns on one LED at a time to see if the issue persists.

If you check these points and the problem continues, feel free to share your wiring setup or code for more specific troubleshooting!

Thanks to @Jinx and @jack1999, I delete the bad led and I plug it to the ESP8266 and it seems work.
But now I have another issue only the 4 first leds are on but the other is off, I test the Amp and the Voltage seems to be ok. (the same for the firsts and last led)

I change the value of the LENGTH :

But only the first 4 are On. I don’t know why.

Take a look at your segment definition, you may have a shorter segment.

You could try making a new one from scratch.

Other than that, it’s possible you have more than one bad LED on the strip.
How did the 1st one fail?

Welcome. BTW Jack is a spam bot. Ignore them and don’t click their links.

I sure wish someone would remove jack already as this is the 3rd time they have made a mess in the forums. @Aircoookie