# Big string of pixels

**URL:** <https://wled.discourse.group/t/big-string-of-pixels/8154>\
**Category:** Questions\
**Created:** [April 27, 2023, 7:23am UTC](https://wled.discourse.group/t/big-string-of-pixels/8154 "2023-04-27T07:23:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bobby30](https://avatars.discourse-cdn.com/v4/letter/b/258eb7/32.png) [@Bobby30](https://wled.discourse.group/u/Bobby30)\
**Post date:** [April 27, 2023, 7:23am UTC](https://wled.discourse.group/t/big-string-of-pixels/8154/1 "2023-04-27T07:23:15Z")

</div>

Hello everyone, I’m new to WLED and need info about a future setup.  
I will have a big string of 1900 pixels basically split in the middle into two strings of 850 pixels.  
The power is sorted but the question is will only two data pins on the ESP32 ( 850 ) on each work for this project??  
If not could someone explain the right way that it should be done !  
Thanks to all for replies

---

<div class="post-metadata">

**Author:** ![tonyno](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/tonyno/32/242_2.png) [@tonyno](https://wled.discourse.group/u/tonyno)\
**Post date:** [April 27, 2023, 12:58pm UTC](https://wled.discourse.group/t/big-string-of-pixels/8154/2 "2023-04-27T12:58:47Z")

</div>

For best performance, LEDs per GPIO should be ~500 or less. You may be okay with the performance hit, thought.

---

<div class="post-metadata">

**Author:** ![Bobby30](https://avatars.discourse-cdn.com/v4/letter/b/258eb7/32.png) [@Bobby30](https://wled.discourse.group/u/Bobby30)\
**Post date:** [April 27, 2023, 1:10pm UTC](https://wled.discourse.group/t/big-string-of-pixels/8154/3 "2023-04-27T13:10:10Z")

</div>

Thanks for the reply !  
So I would need four pins to work perfectly.  
My layout would be in seven strips in all.  
Maybe one pin each strip would be better if the ESP32 will support it.  
Each strip will be 5m 60led/m making 35 meters in total.

---

<div class="post-metadata">

**Author:** ![Artacus](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/artacus/32/1258_2.png) [@Artacus](https://wled.discourse.group/u/Artacus)\
**Post date:** [April 28, 2023, 6:47pm UTC](https://wled.discourse.group/t/big-string-of-pixels/8154/4 "2023-04-28T18:47:16Z")

</div>

I’d probably stick with 2, possibly 3, pins for this unless you need over 40fps for some reason. Your bigger concern should be getting the data signal over those distances. Unless your controller is sitting in the middle and you’ve got a string running in both directions, you are going to need a level shifter to boost the signal. See our knowledge base if you are not familiar with the concept. [Long Data lines - WLED Project](https://kno.wled.ge/advanced/longdata/)

---

<div class="post-metadata">

**Author:** ![Artacus](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/artacus/32/1258_2.png) [@Artacus](https://wled.discourse.group/u/Artacus)\
**Post date:** [April 28, 2023, 8:20pm UTC](https://wled.discourse.group/t/big-string-of-pixels/8154/5 "2023-04-28T20:20:10Z")

</div>

That wasn’t the article I wanted to point to. There’s a bit about level shifters on the getting started page. [Getting Started - WLED Project](https://kno.wled.ge/basics/getting-started/)

---

<div class="post-metadata">

**Author:** ![Bobby30](https://avatars.discourse-cdn.com/v4/letter/b/258eb7/32.png) [@Bobby30](https://wled.discourse.group/u/Bobby30)\
**Post date:** [April 28, 2023, 8:52pm UTC](https://wled.discourse.group/t/big-string-of-pixels/8154/6 "2023-04-28T20:52:32Z")

</div>

Thanks for your replies, I have calculated my exact distances so exactly is 1848 led in total.  
ESP32 will be exactly four meters away from the first Led.  
So if I use four pins for data ?  
First pin 528 led  
Second pin 528 led  
Third pin 528 led  
and last pin 264 led  
With a level shifter on each data line ?  
I am just worried now about the fact that the last pin has less led  
Or would it be better with only two pins and two level shifters ?  
I need to get this right as all wiring will be underfloor so cannot be changed later !  
Thanks for any replies !

---

<div class="post-metadata">

**Author:** ![Jinx](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jinx](https://wled.discourse.group/u/Jinx)\
**Post date:** [April 29, 2023, 1:17am UTC](https://wled.discourse.group/t/big-string-of-pixels/8154/7 "2023-04-29T01:17:28Z")

</div>

A 4m data line with level shifter may or may not work, depending on; the wire, pixels, and noise environment. There is no clear cut yes it will work or no it won’t. It may work and it may also need a data booster (null pixel) 1/2 way to the first LED. Your best chance of it working would be to run the data line separate from the power wires.

---

<div class="post-metadata">

**Author:** ![Artacus](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/artacus/32/1258_2.png) [@Artacus](https://wled.discourse.group/u/Artacus)\
**Post date:** [April 29, 2023, 2:47am UTC](https://wled.discourse.group/t/big-string-of-pixels/8154/8 "2023-04-29T02:47:59Z")

</div>

The number of LEDs on a pin only matter because of the time it takes to write the data. If you set up a single segment, it will treat it the same as if they were all on the same pin.
