Led cube

9
4x4x4 LED Cube Arduino by Zharko Roman and Alibekov Asset

Transcript of Led cube

Page 1: Led cube

4x4x4 LED Cube Arduino

by Zharko Roman and Alibekov Asset

Page 2: Led cube

С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 

Page 3: Led cube

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)

Page 4: Led cube

Step 2: Testing leds

Page 5: Led cube

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.

Page 6: Led cube

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.

Page 7: Led cube

Step 5: Connecting the Cube To Arduino

Page 8: Led cube

Step 6: Programming

Page 9: Led cube