Introduction: LED CUBE 4X4X4 USING ARDUINO UNO
In this Instructables we shall learn how to make a 4x4x4x LED Cube using Arduino. I have explained the making of the cube step by step in a sequence. The total cost of this project is 500 Rupees.
Watch this Video For Better understanding..
I have attached the link to the arduino code and the references from where i learned to make the cube. You can ask me what is the use of making this project....of course.. it's for decoration purpose only...but this can explain the smallest block of a 3D imaging system.
This cube requires 16 vertical LED rows and 4 horizontal layers. So the total required pins are 20. I have explained the working in detail in coming steps.
Step 1: List of Materials
Diffused LED 4mm (64 nos)
220 ohm resistor (Color Code: Red-Red-Brown)
Soldering kit ( Iron,Solder,Flux..)
General Purpose PCB
Hot Glue Glue
Stationaries like Scale, Marker,etc
Step 2: Preparation of Jig to Place the LED
The jig helps to place the LEDs in place and helps in soldering.
Find some Ply-Wood and use a marker to mark the position of LEDs. The LEDs should be placed 1 inch apart.
Use a Drilling machine to drill 4mm holes in the marked places.
Step 3: Placing the LEDs on the Jig and Soldering.
Use a 3 volt cell to check the working of LEDs before proceeding.
Place 16 LEDs on the jig placed on a table. Bend the positive leads of the LEDs to interconnect the Positive terminals of all the LEDs. The leads facing upwards towards you will be Negetive. Watch my video for better understanding.
You need not worry if you did the opposite way. You will only have to make small changes in Arduino code.
Apply small portion of flux on each joint and solder the joints to interconnect all the positive leads (Bent leads) .
This is your first layer. You will have to make similar 4 of these.
Step 4: Solder the 4 Layers
Let's name the four layers as A,B,C and D.
In this step we shall attach the four layers. Now we will have to connect the vertical pins(Negative Polarity) of each layer.
Start by soldering the corner pins of each layer one after the other. Apply required amount of flux and solder the vertical terminals.
Insert the Cube into the PCB and Solder the pins.
Strip the insulation of a single strand wire. Connect these wires on to four layers(Positive Terminals) and the other end is connected to PCB.
Connect 220 ohm resistors to these 4 layer connections.
Step 5: Wiring the LED Cube to Arduino.
Before wiring it is essential to know the terminal names.
Imagine holding the cube and seeing from the top. Consider a corner LED and that is your reference. Corner towards right becomes your 'x' axis and the other becomes 'y'axis.
I have named the pins and terminals after connecting on PCB.(Refer to the image)
Solder each wire to the terminal strip and hot glue it to avoid the breakage of solder joints.
The following is the connection details. Example: Pin Name (1,1) goes to Digital pin 13 on Arduino.
I made a Small simple wooden casing to hide the wiring. Cut required size ply-wood and hot glue them to form a Box.
Step 6: Programming the Arduino
Note: The code uploaded here is not Designed by me. View the Original Code HERE.
Download the Code and open it in Arduino software.
Connect the arduino to your PC USB port.
Select the Correct Port and your Arduino Board.
Upload the code and your done!
You can power your Arduino using a mobile phone charger.
The Link for the Code from the Creator
Step 7: Working Video and References
You made yourself a Cool looking LED CUBE to place on a corner of your Desk..!
Watch the Full working video from here.
Thank you very much for checking out my Instructables
If you have any quires , please feel free to post the questions and comments in Section below.
H S Sandesh Hegde