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 ?

  • What kind of LED strip? What gauge wire? How are you powering it? What signals does it use? etc, etc... – Majenko Oct 20 '16 at 14:26
  • Is the power supply with the LED strip or the Arduino? – Majenko Oct 20 '16 at 15:06
  • What kind of environment are you in? – Majenko Oct 20 '16 at 15:07
  • Both, in a parallel circuit – user126774 Oct 20 '16 at 15:08
  • It can't be, unless you are bending the fabric of space-time. – Majenko Oct 20 '16 at 15:14

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:

  1. Provide 5V to the LED strip from a power supply or regulator that can cope with the amount of current your LED strip needs.
  2. 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.
  • LED strip has buck regulator, I could not have a 5V supply due to voltage drop so decided to have 12v and a LDO regulator. I unfortunatly cannot put any arduino near the LED strip, oonly small components – user126774 Oct 20 '16 at 15:28
  • 1
    How small? You can get some pretty small Arduino boards... – Majenko Oct 20 '16 at 15:29
  • 1
    Something as big as an ATtiny – user126774 Oct 20 '16 at 15:31
  • I'm sure you could fit an ESP8266 in there if you tried... – Majenko Oct 20 '16 at 15:49
  • Point of load regulation is a good idea, but you probably want a switching regulator not a linear one unless it is a short LED strip. An ATtiny may be sufficient, and plenty of other processors including the ATmega come in small packages, the real question is where you LED patterns come from - program logic, an SPI flash, and sdcard, an external signal? Of course you can also use a line driver and line receiver to accommodate a lengthy wire run between the MCU and the first LED. – Chris Stratton Oct 20 '16 at 15:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.