I'm working on a wearable project with 700 WS2812 LEDs,

I’m working on a wearable project with 700 WS2812 LEDs, Teensy 3.2 and the OctoWS2811 adapter. I’d like to use the XY mapping of Mark & Garrett: https://github.com/macetech/RGBShades/blob/master/XYmap.h

I’m doubting how I should wire my data signal:
A) 1 data wire for all 700 LEDs (would this be robust enough?) so I can use the XYmapping straight away.
B) 8 data wires using both CAT6 cables and a rewrite of the XYmap function so it returns the LED number AND the data wire number.

What would you recommend?

If you’re already planning to use the OctoWS2811 adapter then you should definitely try to use as many lines as you can, ideally all 8. As for how to rewrite the code that depends on how you split up the leds so maybe try to sacrifice a bit of tidy wiring for cleaner, simpler and hopefully faster code.

@1icri_Old_Account Allright, should I use all 8 lines because of speed/reliability reasons?

Good suggestion about the wiring & code!

@Matthijs_Neppelenbro , using all 8 lines has to do with speed only. You should be able to update all your LEDs close to 8 times faster using all 8 wires compared with only one.
Note that the necessary adaptations of the XY mapping is dependant on the physical layout of your project and that will not change if you use all 8 wires or a single wire. When using parallel output ( 8-wires…) the library automatically takes care of which pin a specific LED address is connected to.

@JP_Roy Thanks! Didn’t know that the libraries already took care of this :slight_smile:

Was also described here: https://github.com/FastLED/FastLED/wiki/Parallel-Output#making-octows2811-faster-with-fastled

I think I can start with the following code and add the XY mapping to it: https://www.dropbox.com/s/badm3dl4hg2ethn/ledPixelController_400.ino