Ambilight WS2815 12V Arduino Nano

Hello everyone,

I would like to create a ambilight with Arduino nano and led WS2815 (12v) double data
I created a drawing electrical circuits.
it's correct ? Thank you for your return.

Barzag

no. pin output goes directly to Din on the strip. you need no mosfet.

Great schematic ! Kudos for that (you would believe the things we see around here)

I thought you wouldn't need a mosfet as well, but since the WS2815 actually uses 12v logic levels as well, i'd say you actually do.
The datasheet shows that as logic HIGH is 0.7 * Vdd minimum. The first Bin in the chain should just be connected to GND.
Din will GND when the Arduino's pin is HIGH, and that inverts the logic and will have to be corrected. (either through software or hardware)
Also the positive side of the mosfet needs a pull up resistor.

Thank Kolaha.
I'm based on this drawing
I don't undertsand, you need no mosfet ?
Arduino is in 5V, it's possible to communicate with led in 12V ?

That is a completely different kind of strip !
Oh yes and i forgot, you do not have a 100nF capacitor between Vcc & GND. This capacitor is not optional.

0.7 * VDD = 3,5V , so 5V is HIGH.

seems i red other datasheet. i have WS2815 strip and made light for CNC. Bin connected to Din. Din to Arduino pin. GND to PSU and Arduino, PSU +12v to strip.

I doubt that, but if you can make it work on 5v logic that would make it a lot easier and i am also confused about the 12v logic level.

Ah yes, that does make a lot more sense ! 12v logic levels ? what was i thinking ?
The confusion is caused by the datasheet though, giving 2 different specs for Vdd.

So yes get rid of the mosfet, add a 470R-220R resistor in line with the data pin and Bob's your uncle !

Yes, that is either/or so to say. If there is no signal on Din the IC switches to Bin, Bin is meant for signal in between where 1 pixel does not pass on the signal. Connecting Bin to GND at least prevents that input from being accidentally fried if Din gets fried (which would happen if you just connect them together) for the functionality it is the same !

Thank you for your return
there is a lot of information.
If I understood correctly, the drawing is this ?

No, the FET is neither necessary nor correctly wired. :roll_eyes:

Misunderstanding of a blunder in the datasheet which cites "VDD" where it means "VCC". The WS2815 does not use 12 V logic levels at all. It us a 5 V logic device like all others in the series.

Thank you Paul_B
Can you look the drawing on the top ? (after modification)

Getting there. :grin:

The series resistor R1 should be mounted at the very start of the strip. The data and ground lines must run together as a pair. The capacitor at the start of the strip is not 0.1 µF but 1 mF (often referred to as 1000 µF). This is less critical for the 12 V strips as every LED has its own 0.1 µF capacitor specifically connected to ''VCC", not the 12 V.

Frankly, I am not keen on the WS2815 strips. Unless there is something I have not realised about them, they are extremely power inefficient. :roll_eyes: I do understand this is purely to make them more tolerant of inadequate wiring.

This is just not true, also not when printed as 'strong text' Ideally they do, and ideally they are the same length, but they can make a loop with 1 on either side of a pole and it doesn't matter. I don't know why anyone would want to do it like that, but their physical location does not matter. (like it would in a twisted pair for instance)

In fact, the 100nF capacitor should be connected between VCC and GND on the strip if it is not there. Since the OP hasn't mentioned a 'strip' it is possible that we are dealing with just a single LED.

They are mainly meant for locations that are not easily accessible with their double data input, a single LED failing for whatever reason then is not such a big deal. I do not really see the point in that either, most defects are caused by something other than just an LED failing. The 12v thing does make them a little easier to power than WS2812b's though, but agreed only marginally so.

No actually not. the double input is meant to automatically pass on the signal if 1 chip on the strip fails in between 2 others. If you would want to make them more tolerant of incorrect wiring, you should run 2 data lines from the Arduino connected to different output pins,
They are a solution from the time that the chips in the LED were just not quite as good quality as they are these days.

Preferably as close to the strip as possible is what it says in the ws2811 datasheet.

Yeah it's fine, except for the capacitor. If it is a strip it is less important as Paul said already, in fact the datasheet doesn't even mention it (just like on the WS2812b)

Looks like they just copied that part from the WS2812b datasheet.

excuse me but where is "VCC" ?
So i'm connect 2/3&4 together and R1 just after 2 (Data) ?

From the datasheet:
Selection_045
This is what is required to be on the LED strip.

"VCC" is the 5 V supply pin that the WS2815 chip itself derives from the 12 V "VDD" supply. This means the logic levels used by each chip are actually 5 V, certainly not 12 V.

Your diagram is essentially correct regarding the connector pins.

OK i think undernstand ... :blush: (my english is not good :fr: :upside_down_face:)
Like this ?

No ! like you had it before in #12

ok, with condensator or delete this ?

Leave it like that it's Perfect ! thanks to @Paul_B

Perfect Thank you so much
Have a good evening