Topic: How to make a Led Cube 5x5x5 using Arduino uno
What is a Led Cube?
Led cube is an example of 3 dimensional led project. Led cube is much more than a normal led project. In other led projects we get a 2D view of led lights. But in the case of a led cube we get a 3D view of led lights which looks much beautiful than a normal 2D view. In a led cube we placed the led in all the three axis (x axis, y axis and z axis) which gives it a shape of cube. We can also increase the shape and size of led cube according our need. You can easily make a Led Cube by using arduino or without arduino. But the usability of an arduino based Led Cube is much better than a normal Led Cube. There are many types of led cube available in online which are –
(1) 3x3x3 Led Cube – Total Led required to make this Led Cube is (3)3 = 27.
(2) 4x4x4 Led Cube – Total Led required to make this Led Cube is (4)3 = 64.
(3) 5x5x5 Led Cube – Total Led required to make this Led Cube is (5)3 = 125.
(4) 6x6x6 Led Cube – Total Led required to make this Led Cube is (6)3 = 216.
(5) 8x8x8 Led Cube – Total Led required to make this Led Cube is (8)3 = 512.
What is the use of a Led Cube?
Led Cube is mainly used for decorating purpose. You can decorate your house by using this cool Led Cube. Led Cube will provide a pleasant look in your room. Led Cube can be programmed in many forms and themes. It looks so cool at night. And you can also incorporate your designs in Led Cube according to your desire.
How does a 3d Led Cube work?
The working principal of a 3d Led Cube is much similar like a matrix. In a Led cube we make many layers of Led in a matrix format. Then we connected the Led layers together to provide a cube structure. When we provide the power supply, the Led will start blinking simultaneously inside the Led Cube.
How to make a Led Cube 5x5x5 using arduino uno?
Led Cube 5x5x5 can be easily made by arduino. The construction and circuit of a 5x5x5 Led Cube is so simple and you can easily make it in your home. In this post I will talk about all the necessary steps that you have to follow while building a 5x5x5 Led Cube. Also I will discuss about the circuit connection and arduino code in details.
Led Cube Designing –
The first important thing is to design the structure of the cube. For this purpose we have to use five Led layer. In each layer there will be 25 led. All the led will be arranged in the form of a matrix. The Led matrix is a 5x5 matrix. There will be 5 Led in each row and column of the matrix. For better understand you can follow the picture given below –
All the negative pins of the Led will be shorted together while the positive pins of the Led will be kept separated for further connection. By following the rule you have make five layers of Led.
Now we have to connect the five layers together to provide the shape of a cube. Take the Led layers one by one and then put it one over another. Connect the positive pins of Led from different Led layers together. This connected positive pins will be act as a column of the led cube. Total 25 column will be present in a 5x5x5 led cube. This 25 column will be feed up by the positive supply. The five layers will be used for ground connection.
Circuit Connection –
Now you have to design the circuit of 5x5x5 Led cube. To design the circuit I used arduino uno, 5 piece of 100 ohm resistor and jumper wire. At first I connect the wires in each of the led layers separately. Then I used the 100 ohm resistor and connect it with the wires to limit the current in a particular range. Then I connect all the wires with the ground supply.
After this we have to give the positive supply in each of the column of led cube. There are total 25 columns in 5x5x5 led cube. I cascaded two columns alternatively. Then I used the digital pins of arduino uno to provide the power supply. There are total 14 digital pins in arduino uno. I connected the jumper wires in the digital pins of arduino uno. Then I connected the jumper wires with the columns of led cube. Now the circuit connection is finished. You can place the circuit just under the led cube. And then you can make a base using wooden board to cover the circuit. The base will also provide a good support to the led cube. Make sure the base is strong enough to hold the weight of the led cube.
Arduino Code –
Now we have to do the coding for 5x5x5 led cube. I used the Arduino IDE software to write down the code in arduino. Open the Arduino IDE software and write down the code for Led cube. You can also customize the code according to your need. If you want some different design in the led cube, then you can modify the code based on the design you want. After this you have to upload the code in arduino. But before uploading the code in arduino, you have to choose the correct port and board type. After selecting the correct port and board type, you have to upload the code in arduino uno.
After uploading the code, disconnect the arduino from your computer. Then give a 5 volt supply to the arduino uno. Now your led cube will start working. You can see different styles and manners in which the Led is glowing. To further customize the style you can edit the code in arduino.