Led cube


Published on

The LED matrix we decided to use is a 4 x 4 x 4 monochromatic LED Matrix. This is a total of 64 LEDs. The reason we chose this size, is that it provides the best of overall cube size, construction time & easier programming.

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Led cube

  1. 1. Led cube4x4x4 LED-cube By : Muhammad Yusuf yusuf helal Muhammad ahmed habashy Muhammad ahmed osman Mahmoud el sagher sayed Hassan
  2. 2. The LED matrix we decided to use is a 4 x 4 x 4 monochromatic LEDMatrix. This is a total of 64 LEDs. The reason we chose this size, is thatit provides the best of overall cube size, construction time & easierprogramming.TOOLS: copper wire, piece of cork ,computer with Arduino softwareUSB-cable , solderPARTS: 64 leds ,16 resistors that go with the LEDs 1Arduino, some wire(isolated wire) 16 headerpins , 9V battery
  3. 3. LED Cube Construction: Step by Step Guide:
  4. 4. Step 1Drill the fixed holes(Making the rig):• Draw on the box a grid with the lines 12,5 mm apart. Draw 4 lines horizontally and 4 lines vertically. You will now have 16 crossings. Drill some 5 mm holes (if your LEDs are 5 mm) at the crossings of the lines. If you first drill small holes, the location of your holes will probably be more exact.
  5. 5. Step 2 Bending the legs of the led: Bend the 64 leds as shown in the figure
  6. 6. Step 3 Placeing the LED and solder them:after that I fix the cathode terminal of the leds on the copper wire asshown in the figureMake sure that you don’t solder an anode to an cathode.
  7. 7. Then ,repeat this step for the 64 ledsSo the result is 4 layers each has 16 leds as shown in the figure Notice that there is along terminal in each layer
  8. 8. Step 4 Soldering the 4 layer LEDThis step is a little difficult. By shortening the anode of theleds to asuitable length ,then by soldering every anode tothe vertical copper wires (called column) as shown in thefigure ,in addition to the 4 wires of the ground
  9. 9. Step 5 fixing the led cube on the piece of cork:in this step the most important thing is to be very carefulwhile you fix the 20 copper wires in the piece of cork anadvice you can fix a free copper wire in the places that thewires of the cube will penetrate the piece of cork and then fixthe cube as shown in the figure.
  10. 10. so the view from the bottom after fixing the cube is asshown in the figure
  11. 11. Step 6 is fixing the 16 resistors with every column :fix one terminal of the resistor with the terminal of the column that penetratethe pice of cork ,and fix the other terminal of the resistor with the isolated wire,repeat this 16 times as shown in the figure .an advice not to use soldering inthis step as the column will be heated so the leds maybe falls and also the corkwill be damaged .
  12. 12. Step 7 is fixing the 16 header with every isolated wire :Fix each header with each isolated wire to be easy to connect with the arduinoas shown in the figure .
  13. 13. the code and the algorithms that used: every line representing all the led cube ,every 4 parts as(B1111,B1111,B1111,B1111) representing acomplete layer and every part representing a row so by this algorithm we can make any design we want this is an example for adesign of some shapes// 3 2 1B1111,B1111,B1111,B1111,B0110,B0110,B0110,B0110,B0110,B0110,B0110,B0110,B1111,B1111,B1111,B1111,60,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,20,B1111,B1111,B1111,B1111,B0010,B0010,B0010,B0010,B0100,B0100,B0100,B0100,B1111,B1111,B1111,B1111,60,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,20,B1110,B1110,B1110,B1110,B0110,B0110,B0110,B0110,B0110,B0110,B0110,B0110,B0110,B0110,B0110,B0110,60,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,B0000,20,