Electronic – arduino – Driving WS2811 LED strip from microcontroller

arduinoatmegaled stripws2811

I'm planning to drive the input of a WS2811 based LED strip (total approx 450 LEDs) from a microcontroller/arduino, as per the diagram below.

Do I need a transistor, buffer or anything else between the microcontroller GPIO and the WS2811 DIN? Or can I safely hook it up directly?
enter image description here

Also am I correct in reading from the WS2811 datasheet that even though the LED strip takes 12v, the WS2811 itself will run at 5v, and as a result the Din voltage should be at 5v too?

Best Answer

An ATmega pin will happily drive the WS2811 DIN pin, it expects 5V and unless you are driving an obscenely long cable between the ATmega and the first WS2811, you are fine with a direct connection.

The LED strip power depends on how the strip is constructed, but is typically 12V; see the datasheet for examples of both 12V and 5V situations.

Related Topic