LED CUBE 4X4X4 USING ARDUINO UNO

by The_Technocrat in Circuits > Arduino

44568 Views, 51 Favorites, 0 Comments

LED CUBE 4X4X4 USING ARDUINO UNO

IMG_20170808_210140717.jpg
ewwwteg.jpg
gfds.jpg
Screenshot_20170109-115726.png
ASDFGHM.jpg

Hello !

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.

List of Materials

IMG_20170305_205752057.jpg
IMG_20170305_204933943.jpg
IMG_20170305_205900255.jpg
IMG_20170222_210343251.jpg
IMG_20161001_095141307.jpg
qwertyu.jpg
IMG_20170305_204011666.jpg
edit.jpg

Arduino UNO

Diffused LED 4mm (64 nos)

220 ohm resistor (Color Code: Red-Red-Brown)

Soldering kit ( Iron,Solder,Flux..)

General Purpose PCB

Wires

Wire stripper,

Nose Pliar

Terminal Strip

Drill

Hot Glue Glue

3mm Ply-wood

Hexa Blade

Stationaries like Scale, Marker,etc

Preparation of Jig to Place the LED

IMG_20170305_220932954.jpg
IMG_20170305_220945526.jpg

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.

Placing the LEDs on the Jig and Soldering.

IMG_20170316_225045697.jpg
IMG_20170316_225107613.jpg
IMG_20170316_225054482.jpg
qwertyu.jpg
cfvbrtm.jpg
trfvvv.jpg

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.

Solder the 4 Layers

IMG_20170801_231748123.jpg
dwetr.jpg
IMG_20170801_231632610.jpg
IMG_20170801_231627273.jpg
SFDV.jpg
h vcx.jpg
v d.jpg
dsf.jpg
dsfvccx.jpg

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.

Wiring the LED Cube to Arduino.

dsfvccx.jpg
DAWREWG.jpg
Sfghf.jpg
IMG_20170820_203541253.jpg
assasas.jpg
IMG_20170820_203722464.jpg
ASDFGHM.jpg

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.

[(x,y)-Pin]

(1,1)-13

(1,2)-12

(1,3)-11

(1,4)-10

(2,1)-9

(2,2)-8

(2,3)-7

(2,4)-6

(3,1)-5

(3-2)-4

(3-3)-3

(3,4)-2

(4,1)-1

(4,2)-0

(4,3)-A5

(4,4)-A4

Layers [Layer-Pin]

a-A0

b-A1

c-A2

d-A3

I made a Small simple wooden casing to hide the wiring. Cut required size ply-wood and hot glue them to form a Box.

​Programming the Arduino

ardnpdkv.jpg
sdxvbv.jpg
ghjbv.jpg
mn dfgh.jpg
IMG_20170808_210140717.jpg

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

https://cdn.instructables.com/ORIG/F8M/CBGA/HXDPG8...

Downloads

Working Video and References

LED Cube | 4x4x4 LED Cube
wertgvcxz.jpg

Congragulations!!

You made yourself a Cool looking LED CUBE to place on a corner of your Desk..!

Watch the Full working video from here.

References

https://www.instructables.com/id/4x4x4-LED-Cube-A...

https://playground.arduino.cc/Main/ArduinoPinCurre...

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

Bengaluru, INDIA