Background:
I have a WS2812B LED strip connected to an arduino running Firstlight and general functions from the FastLED library. The strip is powered from an external supply with adequate power. Supply GND is common with arduino GND. I have a 300 ohm resistor in series on the data line which is then connected to the digital output.
here is a link to the led strip
Problem:
LEDs show green when set to black (off). Other colors seem to be slightly off, maybe mixing in green there as well I am not sure.
Troubleshooting:
I had an older strip of LEDS that replicates the same behavior. Granted they are old and have been in a box for a couple years.
I have an arduino uno and a mega, same behavior from each unit
Same behavior if data is sent from DO or AO
FastLED.clear(); --> all LEDs green
leds[0] = CRGB::Black; --> also green
Firstlight --> Powers on with all LEDs green and led[0] is white. white led scrolls as expected. LEDs are either green or white at all points of time (never off).
I have used LED strips in the past and never had this issue. Any help would be appreciated!
Please post a short sketch that demonstrates the problem. What happens if you set LEDs to CRGB::Green? Does that green look any different to CRGB::Black?
Please post a short sketch that demonstrates the problem. What happens if you set LEDs to CRGB::Green? Does that green look any different to CRGB::Black?
I am using this as the strip declaration:
FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS);
CRGB::Green; --> result in color orange
Also,
CRGB::Red; --> shows up as green.
I have tried defining as GRB, GBR, RBG, BRG, BGR. Some of the colors switch around but I stlll cannot get them to go black. Another note, I cannot get the strip to produce the color red.