Interactive LED Music Visualizer tutorial

Hi

I tried to connect more than 250 LEDs with this tutorial

https://learn.sparkfun.com/tutorials/in … visualizer

it works with about 220 but as soon as I increase the number nothing works anymore. The Program runs but the LEDs are either off or stuck.

Is there any way to fix it?

Can you provide an image of what you are seeing?

Also, are you able to calculate the current consumption of your LEDs? It could be pulling more power than is available.

There isn’t much to see :frowning: . I have 6 LEDs connected for testing and if I upload the program with for example 150 LEDs selected I see the rainbow effect going through. And when I upload the code with more than 250, the LEDs won’t show anything but the code runs in the console. The same applies if I connect the Arduino with more than 250 selected to the long LED strip.

Other programs are working perfectly fine with the long LED strip. I have 384 LEDs and an 40A Supply with 0,06A per LED it should work.

384×0,06A = 23,04A

What micro-controller are you using?

Arduino Uno

Out of curiosity, do you have a more powerful processor available? Like a SAMD21 or ESP32?

Unfortuatly not

Unfortuatly not

The AVR chip on the RedBoard could be limited when it comes to 250 LEDs. Did you get any warning from the Arduino IDE during compilation about memory usage?

Oh, yes that there is low memory available. So should I get an ESP-32?

You can but I would suggest any processor with more memory than the ATmega328. This may not be the exact problem, but it is the first place I would troubleshoot.

I found an esp8266 and it seems to work with it :). The only problem that I have now is that everything except the Pulse and Glitter effect only works until about LED 140

I would suggest looking into the FastLed libraries if you haven’t already: https://github.com/FastLED/FastLED