I need to connect the data of a LED strip (WS2812) to a pin but the strip is 10 meters away using AWG 22.
I use a 12V DC power supply.
Should I expect some misbehaviour, like the LED not getting the right color ?
If so, what could I do ?
If you are planning to power the LED strip from 12V then you can expect all the LEDs to explode. The WS2812 LEDs require 5V, not 12V.
If you have a large number of WS2812 in your strip, and you are powering them from the Arduino's 5V, then you can expect the Arduino to get extremely hot and go into thermal shutdown, or the voltage regulator to melt.
If you are in a noisy environment (electrically) then you can expect the data to get corrupted over that kind of distance.
What you should do:
- Provide 5V to the LED strip from a power supply or regulator that can cope with the amount of current your LED strip needs.
- Have another small Arduino next to the LED strip to drive the LEDs and communicate with that Arduino from your master Arduino through a suitable serial protocol that can cope with longer distance communications, or a wireless system.