Post on 24-Jun-2015
4x4x4 LED Cube Arduino
by Zharko Roman and Alibekov Asset
Сomponents
•64 diffused LED Lights•16 220 resistors •4 22k resistors •4 NPN type
Transistors •1-2 Perfboard
•1 Arduino• Insulated 22 gauge
Wire•some craft wire
Step 1: Prepare The LED's
All the LEDs aligned in a vertical column share a common anode (+).All the LEDs on a horizontal layer share a common cathode (-).
Now if We want to light up the LED in the upper left corner in the back (0,0,3), We just supply GND (-) to the upper layer, and VCC (+) to the column in the left corner.
To begin the Construction of the cube use a drill with the proper size drill bit to make holes in a piece of wood. draw a grid to the size of the cube you want.So just use a 3v battery between the two legs of the LED. (long leg is positive, short is negative)
Step 2: Testing leds
Step 3: Solder the LEDs
To solder all the LEDs together i used alligator clips to help hold everything together. First make all four layers, then solder the layers together.
Step 4: Build the Circuit
•Each of the 16 columns will connect to a pin on the Arduino through a current limiting resistor. Each of the four levels connects to ground via a NPN transistor when activated by an Arduino pin.
•The transistors are only necessary for some of the codes out there.
•Its made with 4 NPN type transistors. and 22k ohm resistors. In a nut shell connect all the collectors together, theses all go to a ground pin on the Arduino.
•All that really happens on this board is that all 16 columns are connected to the Arduino through a 220 ohm resistor.
•Also all four layers come into this board and then leave to the transistor Board.
Step 5: Connecting the Cube To Arduino
Step 6: Programming