Introduction: LED CUBE 4X4X4 USING ARDUINO UNO

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.

Step 1: List of Materials

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

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.

[(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.

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

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

Step 7: Working Video and References

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

Comments

author
Kris82 (author)2017-08-20

Cool Design.

About This Instructable

766views

24favorites

License:

More by The_Technocrat:LED CUBE 4X4X4 USING ARDUINO UNOMake a Fidget Spinner!PCB HOLDER FOR EASY SOLDERING
Add instructable to: