FASTLED_TEENSY_OCTOWS2811
Hi
Please somebody help!
I am making a test prototype with WS2812B, FASTLED OCTOWS2811 and TEENSY 3.2
There are 8 WS2812B strips (60pixels per strip)connected to Teensy 3.2
// OctoWS2811: 2,14,7,8,6,20,21,5
FASTLED with OCTOWS2811 is quite faster than any other parallel output as stated by Daniel Garcia.
I successfully tested FIRE2012 animation from example on a single strip connected to PIN2 of teensy.
code is below
I would like to show same animation on all other pin as well,
After so many hours spending i couldn’t make it.
Please someone advise how to make it.
Thank you
Chris_Rees
(Chris Rees)
October 28, 2017, 12:04am
2
Change inside your void fire2012 part and wherever it says NUM_LEDS_PER_STRIP change that to the number 480
Example
static byte heat[NUM_LEDS_PER_STRIP];
Would change to
static byte heat[480];
Do that to the rest of them and let me know your results. If it works I can explain.
Only do the changes inside the void fire2012 part leave the rest if the [NUM_LEDS_PER_STRIP] alone
You are currently only writing data to the first strip.
Replace the last line of code with this…
for ( int n=0; n<NUM_STRIPS-1; n++){
leds[pixelnumber+n]=color;
}
And then it will write to all eight strips with exactly the same pattern.
(Typed on my phone, apologies for any errors)
@Chris_Rees
Thanks.
I did the changes . But after changing to 480
First strip also not showing fire animation
+Jeremy Spencer
I have done changes in the last line as you advised
Same result First Strip not showing fire animation
No idea what am I doing wrong?
JP_Roy
(JP Roy)
October 28, 2017, 8:30pm
5
@Neo_Maximus have you at least tried the simple sketch I posted !?
I can assure you it worked 100% in my setup that is identical to yours !!
@JP_Roy
Thanks for the sketch. Yes it is similar and useful
I have loaded the same for testing… but I have issues. I can see glitches.
Playing with the code!
Will update soon
Hi
This is what I did to run eight WS2811 strips each with 100 LEDS
hope this is what you are looking for. with this you can run the same pattern or different once at the same time.
each strip was declared at the beginning.
if you are interested I can post the full code on Git hub.
void setup() {
delay(3000);
FastLED.addLeds<LED_TYPE, 2,COLOR_ORDER>(oneleds, NUM_LEDS).setCorrection(TypicalLEDStrip).setDither(BRIGHTNESS < 255);
FastLED.addLeds<LED_TYPE, 14,COLOR_ORDER>(twoleds, NUM_LEDS).setCorrection(TypicalLEDStrip).setDither(BRIGHTNESS < 255);
FastLED.addLeds<LED_TYPE, 7,COLOR_ORDER>(threeleds, NUM_LEDS).setCorrection(TypicalLEDStrip).setDither(BRIGHTNESS < 255);
FastLED.addLeds<LED_TYPE, 8,COLOR_ORDER>(fourleds, NUM_LEDS).setCorrection(TypicalLEDStrip).setDither(BRIGHTNESS < 255);
FastLED.addLeds<LED_TYPE, 6,COLOR_ORDER>(fiveleds, NUM_LEDS).setCorrection(TypicalLEDStrip).setDither(BRIGHTNESS < 255);
FastLED.addLeds<LED_TYPE, 20,COLOR_ORDER>(sixleds, NUM_LEDS).setCorrection(TypicalLEDStrip).setDither(BRIGHTNESS < 255);
FastLED.addLeds<LED_TYPE, 21,COLOR_ORDER>(sevenleds, NUM_LEDS).setCorrection(TypicalLEDStrip).setDither(BRIGHTNESS < 255);
FastLED.addLeds<LED_TYPE, 5,COLOR_ORDER>(eightleds, NUM_LEDS).setCorrection(TypicalLEDStrip).setDither(BRIGHTNESS < 255);