[dorkbotdc-blabber] Arduino code for LED cube
Tim Slagle
tim at slagle.org
Wed Jan 16 00:32:29 EST 2008
Here is an Arduino LED cube test program that I just finished -
it flashes the LEDs in sequence. It is easy to change the
patterns, so maybe people can make some cool animations instead
of working on Wednesday and then bring the modified files to the
workshop to try out.
It is also easy to change the Arduino pin# to LED assignments,
so wiring differences can be corrected in software through trial
and error.
My plan is to build the LED cubes on protoboard squares and then
attach header pins to the bottom so that the board can be
plugged in right on top of the Arduino (like the shield boards).
This minimizes the amount of additional wiring needed to hook
up the cube.
The LEDs I will provide are pretty bright even at 1/10th of
their rated current. This allows the plane drive transistors to
be omitted, so the Arduino digital outputs will drive the LED
planes directly. This was the original Make: miniPOV design,
and it makes the circuitry and wiring simpler. I will bring
some transistors in case anyone wants to make the drive circuit
and crank up the brightness.
I am writing up step-by-step instructions for building the cube
and attaching it to the board. I'm not sure I'll have time to
add in pictures of each step, but I'll bring a webcam so people
can see some visuals in case my prose is insufficiently clear
(pretty likely!)
--Tim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LEDcube.pde
Type: application/octet-stream
Size: 5886 bytes
Desc: 4247613531-LEDcube.pde
Url : http://music.columbia.edu/pipermail/dorkbotdc-blabber/attachments/20080115/0568544f/LEDcube.obj
More information about the dorkbotdc-blabber
mailing list