I am creating a responsive led drum kit using 5V SK6812 addressable LED strips. I have tried both 30 and 60 LED per meter strips and am getting lag when trying to flash a string of 50 or more LEDS. For example,when they should flash off and on in sync it looks more like a chase pattern as the strip struggles to get all the LEDs the information quickly enough for them to all toggle together. Is there any solution to this or am I doing something wrong?
I am using an Arduino Mega 2560 R3 and the following strips:
am getting lag when trying to flash a string of 50 or more LEDS.
That can only be due to poor software, it is nothing to do with the LED strip.
So post your code. The normal error people make is that you are doing a display ( show call ) for each individual LED change not when the whole buffer is finished being changed.
I am loading 4 strings of 43 WS2812B LEDs, only takes about 5mS if you do the math on the time needed.
Try the FASTLED.h library, seems to load things up pretty quick.
First off, I don't have any strip to play with, but it seems like a software problem. You could try using this code. It sounds like it would work for your application.