Am having Trouble Setting up ws2811's on a strip.

I used a circuit that a friend gave me because he feared that a direct connection between LEDs and Arduino might hurt the Arduino somewhat. Anyway, there you go:
https://skydrive.live.com/redir?resid=77D0461913AEE21!1768&authkey=!AI17hhtniHDXlFY

I’m inclined to say don’t do that. Just wire the data pin from the arduino directly to DIN on the strip and see how that works out. At the very least, try the direct connections first - most of the people on here have been doing direct connections for years without problems.

Connecting it directly worked so perfectly, I love you people! :smiley:

Okay, not quiet perfectly. When I type Red, they’re all green and vice versa. any recommendations?

You still need to connect the Arduino GND to the strip GND. Don’t forget to do that. Your circuit should look something like this:

Just connect a wire from one of the arduino GNDs to the strip GND.

thanks, but I already took care of it :smiley:

Your hand drawn schematic didn’t show it. :slight_smile:

Now build something awesome and blow us all away with it.

Ah - patrik - the red vs. green thing is because while generally speaking, you write out red followed by green by blue - different manufacturers wire their leds differently.

Luckily, the library allows you to set the ordering of RGB data for the strip:

LEDS.addLeds<WS2811, 11, GRB>(leds, NUM_LEDS);

(The fact that red and green seem swapped makes me think that the ordering should be GRB in the line above. You can experiment to find the “right” order. RC3 of the library will include a small calibration example program that you can use to find the “right” RGB ordering definition )

Yeah, I’d like to know why that is … as in, why do manufacturers swap pins like that. It’s annoying. The LPD8806 string I have are BRG. I made sure the POV strip I made is wired RGB which match the IC’s outputs 1, 2, and 3 respectively. I wonder if it’s just easy of trace placement or something stupid like that.

I suspect it’s trace placement - sometimes the only way to wire the R, G, B pins on the led to the output pins on the chip without crossing leads results in cross/mis-wiring.

@Ashley_M_Kirchner_No I sure will do. I’ll post some pics when I got there.

I have one more question, can I use either pin to connect Arduino and LEDs. I tried a few and they all seemed to work, but I thought it would just work with Pins 10 to 13 cauz they have SPI…?!

So the WS2811 chipset doesn’t use SPI - so it can use any pin. In addition, for SPI chipsets (the WS2801, LPD8806, SM16716) the library will fallback to bit-banging if you give it a pair of clock/data pins that are not the hardware SPI pins for the device.