How to make 4x4x4 LED Cube, using arduino Nano

ABOUT THIS PROJECT In this tutorial I'll show you how to make a 4x4x4 LED cube. The cube has 64 red LEDs which make up it's 4 layers...

ABOUT THIS PROJECT


In this tutorial I'll show you how to make a 4x4x4 LED cube.

The cube has 64 red LEDs which make up it's 4 layers(+) and 16 columns(-).

I programed code(sketches) for the Arduino nano to control the individual LEDs to display patterns for this captivating desktop light show.




Materials:-To make 4x4x4 led cube using Arduino you need Arduino Uno or Arduino Nano

Arduino Nano

LED 64pcs red for 4x4x4 cube

100Ω Resistor x4

Pcb Board

Pcb Header

Wires
Tools:-

Soldering IronSoldering Wire
Circuit:-

 





Step 1
:-Watch the Video




Step 2:-Check All the Leds 


Take the all 64 LEDs and test them to ensure that they all work using a button cell battery
Before we start making our LED cube and solder everything, it’s a good idea to test the LEDs, our LEDs operate at 3.3V, 20mA, we could easily test them using any 3.3v battery, in my case, I used a Lithium-Ion battery to test the LEDs.
Tips:
the Longer lead is Positive and shorter one is NegativeDON'T! reverse bias LED, you might damage it.DON'T use 5V power supply to test LED.



Making the LED Layer

  1. Find a piece of wood large enough to make a 4x4 grid of 2, 5cm on.
  2. Draw up a 4x4 grid of lines.
  3. Make dents in all the intersects with a center punch.
  4. Find a drill bit that makes holes small enough so that the led will stay firmly in place, and big enough so that the led can easily be pulled out (without bending the wires..).
  5. Drill the 16 holes.
  6. Your led cube template is done. 
  7. Bend the LEDs Negative leads. 
  8. Insert a LED into the individual holes to test the fit. 




Now that you are geared to solder, follow these steps to solder column layer.
  1. take the template from the last step.
  2. start soldering with positive leads.
  3. complete one row at time.
  4. solder the Negative leads.
  5. remove the Column from Template.
  6. Repeat this process for rest 4 Column Layers.




We make the cube in 4 layers of 4x4 leds, then solder them together.Create a layer:-
  1. Put in the LEDs along the back and along one side, and solder them together
  2. Insert another row of LEDs and solder them together. Do one row at a time to leave place for the soldering iron!
  3. Repeat the above step 2 more times.
  4. add cross bracing in the front where the led rows are not connected.
  5. Repeat 4 times.

Making the Cube, Attach the Layers.

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.
I made a Small simple wooden casing to hide the wiring. Cut required size ply-wood and hot glue them to form a Box.

The controller.

Guys if you have a PCB project, please visit their website and get exciting discounts and coupons.
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
Code:-

I found this sketch online, then I edited it to work for my LED cube.

Soon, I'll have my own sketch that will be posted right here, on this i'ble. But for now, if you have any improvements or add-ons to this current sketch, let me know so I can keep it updated:)

Note: The code uploaded here is not Designed by me.

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. 


Thank You



COMMENTS

Name

All Post,4,Arduino,1,Visiting Cards,1,
ltr
item
My Electronics Lab: How to make 4x4x4 LED Cube, using arduino Nano
How to make 4x4x4 LED Cube, using arduino Nano
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5XQK3pXf14PU_tQvoe0cBHolfTn1pUd0DuRmwD8Kv5YGPdHFQcYhRnSWuX2gkheWyz-SiNsaV2FMoMONoa3hQEZ4H_1JyDoA3FYoTaaIIYbaa_91BJgA7kc10XzLFQRFyFeI1Noz9MEhl5vCahOtjd3SNO8men0BthKCYQSY4Ch0ZCPp42PvU28fnIA/w575-h323/02.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5XQK3pXf14PU_tQvoe0cBHolfTn1pUd0DuRmwD8Kv5YGPdHFQcYhRnSWuX2gkheWyz-SiNsaV2FMoMONoa3hQEZ4H_1JyDoA3FYoTaaIIYbaa_91BJgA7kc10XzLFQRFyFeI1Noz9MEhl5vCahOtjd3SNO8men0BthKCYQSY4Ch0ZCPp42PvU28fnIA/s72-w575-c-h323/02.png
My Electronics Lab
https://myelectronics-lab.blogspot.com/2022/04/How%20to%20make%204x4x4%20LED%20Cube%20using%20arduino%20Nano.html
https://myelectronics-lab.blogspot.com/
https://myelectronics-lab.blogspot.com/
https://myelectronics-lab.blogspot.com/2022/04/How%20to%20make%204x4x4%20LED%20Cube%20using%20arduino%20Nano.html
true
3079687362232036485
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content