How many pixels can I control at once?
The theoretical limit for pixels - assuming you can power them all - is infinite!

In reality, there's a limit because the controller chip must store the entire LED strip pixel data in memory. Each pixel takes up 3 bytes. For an Arduino Uno (or other '328 based 'duino), the processor has very limited memory, that means that you can't really run more than 250 or so pixels. That number is a little dependant on what else the Arduino is storing - for example the SD library takes up a massive amount of RAM memory. In our experience, most people have issues with over 150 pixels.

There is no easy way to check runtime RAM usage (unlike the FLASH storage which is printed out on compilation) so if you're having issues with longer strips, shorten the strip or update to a Mega which has tons more RAM.

There are a few things you can do to minimize RAM usage. Minimizing string usage is often a good place to start. This page has some good tips: http://itp.nyu.edu/~gpv206/2008/04/making_the_most_of_arduino_mem.html



Long strips of pixels start failing!
See above, you are likely running out of RAM storage.

This guide was first published on Jul 29, 2012. It was last updated on Jul 29, 2012.

This page (F.A.Q.) was last updated on Aug 14, 2012.

Text editor powered by tinymce.