What I did:
-Because controlling 20 LEDs individually for this cube would be messy, I multiplexed.
-I used an ATtiny84 and a SN74HC164N to control the clock. This makes the clock cheaper and smaller.
-I built it all on two PCB boards and affixed a stand, power plug, and buttons.
Remove these ads by
Signing UpStep 1: Parts List
Required Parts:
-20 LEDs, any color I used 5mm I wouldn't recommend 10 unless you have the space
-6 PN2222 transistor, or any that you have that are simmilar
-2 push buttons, any flavor of interface you want to try would work buttons are easy
-2 1K resistors, for the buttons
-10 resistors for LEDs, i used 470ohm you could use as low 100ohm but they would be very bright at night
-various wire for connections
Choices:
+Controller
-I used ATtiny84 and SN74HC164, I choose it because it was small, cheep, and easy to use with this option you will use the shift register to control one side of the LED matrix
-ATmega, any of this series would work as long as you have a programmer and the space
-Arduino Board, I don't recommend spending the money on this option and it also takes up a lot of space
-ATtiny with only 6 I/O if you use two shift registers
-The library is written for arduino and feels free to use anything else that you would re-code
*Use a DIP socket for whichever controller you choose to use.
+Power
-I used USB charger and cable to power it
-any 5V power supply would work, just make sure it works with your controller
+PCB
-Some type of board is needed. I used two small boards, 4cm x 6cm and 3cm x 7cm. I have seen cardboard used for the LEDs but i do not recommend cardboard for the controller.
+Stand
-I used polymorph, it's cool stuff to have around
-origami would work








































Visit Our Store »
Go Pro Today »




Hope that gives you all you need.
Thanks again
But this is how a button looks in the real world.
http://www.arduino.cc/en/Tutorial/button
It's wired just like mine.
That said, I also used transistors on a 4x4x4 LED cube and didnt feel like using resistors between the data and the base and it works fine.
Hope that helps.