r/FastLED • u/88captain88 • Jan 12 '24
Discussion Best way to program thousands of ws2815?
Soon I'll be starting my ceiling project for my RV which is about 8x40ft. I plan on building 3d hexagons that are 6-8in per side then having the led straps wrap around every hexagon. I'm thinking like 1000ft of strip lights so like 18,000 total individually addressed. This isn't even including the leds under couches/cabinets and everywhere else.
I'm not sure how I should group these in the code and even what the best way to wire them up. Power isn't an issue as I have plenty of points already but the data is.
Any tips before I start building?
6
u/Yves-bazin Jan 13 '24 edited Jan 13 '24
Hello here it is https://www.reddit.com/r/FastLED/s/uhvHZvUyGN 18000 leds driven by one esp32 at 100fps. Technically it’s not an issue at all to drive all the leds with one mcu. Then to animate them either use artnet or home made animations. You can of course use several mcu to simplify your build
3
u/Jem_Spencer Jan 13 '24
I've done this in my spin room, it has 22,174 WS2815s.
I use a teensy 4.1 to generate the patterns and send the Art-net data over Ethernet to 8 ESP32s which drive the actual LEDs.
Look at the spin room posts on my profile.
I'd use WS2815s again as voltage drop isn't much of an issue and they have the backup data line.
1
u/AccomplishedAnt4911 Jan 12 '24
Here are several led channels on yt I suggest you have a look at. One point is the data line. If using Arduino controllers these output data at 3.3v but data line requires 5v. Also data lines beside each other can”bleed” signal to each other causing spurious results. Then depending on length of led runs there is a power injection requirement
Start with this channel he explains a lot
https://youtu.be/GZv5Ztj6i6I?si=pp-thzjldIehUcCG
Dave’s garage covers other areas that you may find of use. Link to help you find his channel
https://youtu.be/COJnlehBcKw?si=yFVZnIEOEhDnIToz
Another channel this video covers injecting voltage
https://youtu.be/Umo6jKLfwsQ?si=GZE0oILXt3PyeqWg
Several softwares that work with leds WLED is probably the most common. The esp32 is probably the most used and possibly cheapest. Think I Just bought 3 pack of esp32 with wifi and BR , for iirc 18 euros. One of channels I listed above has a video on the different types of controllers But likes of raspberry pi etc can also be used
Hope this helps. Have fun
1
u/dr-steve Jan 13 '24
More questions:
0
u/AcidAngel_ Jan 13 '24
May I recommend ws2811. Choose the 12 volt version or even the 24 volt version. 12 volt version has 3 leds per pixel and you are making hexagons so it might not be a problem. 24 volt version has 6 leds per pixel and would probably work just as well. ws2811 is half the price of ws2815 and uses less energy especially when running just one of the colors.
Don't go with an Arduino. They are obsolete. Use an esp32 that is 100 times more powerful. It supports 16 parallel outputs. With 12 volt ws2811 and 18000 leds and 6000 pixels you can get 90 fps.
3.3 volt signal is no longer an issue. ws2811 rev 1.4 from 2020 fixed that problem and all new ws2811 can handle 3.3 volt signals just fine.
1
u/sharfpang Jan 14 '24
Others gave you the basic solution of esp32. Let me expand a bit.