Go Down

Topic: WS2812B wrong colors (Read 189 times) previous topic - next topic

aardjoun

Hi,
I just got a ledstrip 1m long with ws2812b comtroller.
I try to setup colors but i turns out only the first led turn in the good color.
The next one was shifted and the third shifted again from the second one and only the forth back to the original and so on.
You can see on the screenshot that i ask for 6 red pixels.

Anyone ever ends up to this ?
thanks


david_2018

Comment out the 2nd fastled line for the LPD6803 LEDs.

david_2018

Problem like that is generally caused by mistakenly driving an RGB LED as an RGBW.

aardjoun

Comment out the 2nd fastled line for the LPD6803 LEDs.
I did that after seeing it but no different behavior

aardjoun

Problem like that is generally caused by mistakenly driving an RGB LED as an RGBW.
Not sure to understand what do you mean by that.

david_2018

You probably have an RGBW LED strip instead of an RGB strip.  The RGBW has red, green, blue, and white LEDs so takes 4 bytes of data per pixel instead of 3.  

Don't see any examples in FastLED specifically for RGBW LEDs, if you can install the Adafruit NeoPixel library and run the RGBWStrandtest example that should tell you for sure if you have that type LED strip.

aardjoun

#6
Aug 09, 2019, 09:30 am Last Edit: Aug 09, 2019, 09:34 am by aardjoun
Thanks David_2018 it's exactly that. I switch to neopixel and use sk6812 controller and it work just fine. The product description was wrong I guess

Paul__B

The product description was wrong I guess
That would be the one you avoided telling us about.  :smiley-roll:

Go Up