WS2811 Issues

Hi Guys,

SO I have a WS2811 LED strip.

I have connected the 12V to a 12V source, Ground to Arduino. Data through a 220Ohm Res.

When the strip goes is set to "Black" the Red and green Leds come on.

If I set the whole strip to Red and incrementally set the pixels to black, the red and green come on dim to start with and get brighter as the other pixels are set to black.

I have experience with ws2812b but not these!

Also what are your circuits you are using for ws2811?

Any ideas?

12V ! My datasheet says otherwise

It depends on what sort of strip you have. It is 12V if there are three LEDs in series and you can only control the colour of the LEDs in groups of three. If each LED can be controlled separately then it is a 5V supply.

Its a 12V LED strip.

Any ideas?

What you have described is the correct thing to do so it is hard to help without further information like the code you are running and a good clear photograph of you wiring.

#include "FastLED.h"

// How many leds in your strip?
#define NUM_LEDS 1

#define DATA_PIN 3

// Define the array of leds
CRGB leds[NUM_LEDS];

void setup() { 
       FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);
}

void loop() { 
  // Turn the LED on, then pause
  leds[0] = CRGB::Red;
  FastLED.show();
  delay(500);
  // Now turn the LED off, then pause
  leds[0] = CRGB::Black;
  FastLED.show();
  delay(500);
}

Code above…

If I connect the LED Strip to 12V and ground without anything else the whole strip lights up red…

I have a feeling it may be a dodgy strip…

do other peoples do this?

cheers

do other peoples do this?

Yes my ws2812b strips often default to powering up as cyan.

define NUM_LEDS 1

Why do you do this, you have way more than 1 LED in the strip?

also, the ground of the strip should be connected to the ground of the arduino.