Hi all, So I'm starting a fun LED project where I'd like to run an LED array from Processing at video rates using an Arduino.
What I've realized is there are some data rate limitations I'm up against, mainly the serial interface between Processing and Arduino.
I found this post which says the serial data rate is limited to ~86us/byte when running at 115200 baud. http://stackoverflow.com/questions/4158184/rapid-serial-port-writing-to-arduino-from-processing
Here's the example I'd like to run by you guys: I'm using the Shiftbrite LEDs and want full 10bit control which means I need 2bytes/color. I have 81 lights so that means: 2bytes/color X 3 colors X 81 lights = 486bytes. So to write all the LEDs it will take 86us/byte X 486 bytes = 41ms This means my frame rate is limited to 1/41ms = 24.4fps
Is this correct? Am I forgetting anything?
So if I want to get to 30fps (or 60fps) on the LED array would the easiest choice be to run multiple Arduinos, for example run two parallel serial interfaces from Processing to two Arduinos with each Arduino controlling half the lights?
Thanks in advance!