Arduino WS2812B Data Pin Resistor

I want to connect my Arduino to a WS2812B LED Stripe. My Setup is currently working totally fine with a 1000 Ohm Resistor between Pin 13 on my Arduino and the DataIn of the Stripe. Now some sites say, that I should use 470 Ohm, others say something between 100 and 500, others say I should use none.

Could someone please explain to me what is actually the best way and why it is the best way.

That resistor is for impedance matching between the Arduino's low-impedance output and the WS2812B's high-impedance input. When using long wires, they act like transmission lines, causing reflections, resulting in unwanted oscillations, ringing and noise.

The datasheet doesn't specifically say anything about it.

If the resistance is too low, it doesn't have much effect, and if it's too high, you lose the sharp edges, causing signal degradation as well.
Most sites seem to recommend 330-470 ohms, so 1000 Ohms might be a bit high.

Pieter

When using long wires, they act like transmission lines, causing reflections, resulting in unwanted oscillations, ringing and noise.

As is illustrated by these oscilloscope traces I took.
adding resistor to ws2812 drive.png