3x3x3 Red LED Cube

by braulio777 in Circuits > Electronics

7387 Views, 5 Favorites, 0 Comments

3x3x3 Red LED Cube

2013 09 20 23 33 38
2013-09-23 20.03.18.jpg
2013-09-23 20.02.30.jpg
2013-09-23 20.02.30.jpg
2013-09-23 20.02.02.jpg
2013-09-23 19.58.24.jpg
2013-09-23 19.58.45.jpg
2013-09-23 19.59.07.jpg
2013-09-23 20.00.00.jpg
2013-09-23 20.00.16.jpg
2013-09-23 20.02.49.jpg
2013-09-23 20.04.19.jpg
2013-09-23 20.04.49.jpg
This cube only requires 27 LEDs and 3 resistors.   For this project, I'm including a program where you can modify; that is, adding or eliminating steps once you identify the place of each LED and so doing the changes that you want.  The project is excellent if you want to learn about Arduino's code.  However, if you wish utilize the code exactly how it comes, you can do it by uploading simply the program in your Arduino hardware.  http://www.youtube.com/watch?v=JKMC5jTFz4o
http://www.youtube.com/watch?v=nQP8-VR3U7o

List of Materials

2013-09-06 13.31.23.jpg
2013-09-06 13.31.50.jpg
27     Red LEDs of 3mm
3       Resistors of 200 ohm
1       SHIELD,ARDUINO PROTO PCB,REV3 (Jameco Part: 2152438)
1       40-pin male headers pins 

Project's Diagram

2013-09-10 17.48.06_diagram_corrected.jpg
Follow the diagram of your project so that you can finish it correctly and without problem.  Remember that the pins 2, 3, 4, 5, 6, 7, A4, A5, and A0 will be connected to the base of 9 LEDs of your cube while A1 to bottom layer, A2 to middle layer, and A3 to top layer of this project.

What You Need to Construct the Cube's Layers

2013-08-31 00.06.21.jpg
2013-08-31 00.06.37.jpg
For constructing the cube's layers, I utilized a small box by drawing on it a square of 1.25" x 1.25" and then can divide that square in four parts and so  obtaining the nine places for the nine LEDs that I would want to put and solder them.

Testing the LEDs

2013-08-19 20.39.44.jpg
2013-08-19 20.39.59.jpg
Before using the LEDs in your project, test them. 

Constructing the Cube's Layers

2013-09-06 13.55.20.jpg
2013-09-06 13.55.43.jpg
2013-09-06 14.10.20.jpg
2013-09-06 14.10.57.jpg
2013-09-06 16.54.19.jpg
2013-09-06 16.59.30.jpg
2013-09-06 17.00.28.jpg
2013-09-06 17.00.55.jpg
2013-09-06 17.01.37.jpg
2013-09-06 17.05.52.jpg
2013-09-06 17.06.07.jpg
2013-09-06 17.06.52.jpg
2013-09-06 18.03.15.jpg
2013-09-06 19.08.59.jpg
2013-09-06 19.09.36.jpg
2013-09-06 19.10.04.jpg
Once you tested the LEDs, assemble the first layer of the cube by taking in account what you are going to do.  That is, you have to connect the cathodes of all the nine LEDs only for forming the first layer by leaving free the anodes of each LED.   When finishing the first layer, you can continue with the following until you complete a total of three layers.  

Constructing the Cube

2013-09-06 20.56.15.jpg
2013-09-06 19.59.42.jpg
2013-09-06 19.59.59.jpg
2013-09-06 20.00.16.jpg
2013-09-06 20.00.30.jpg
2013-09-06 20.55.46.jpg
2013-09-06 20.56.00.jpg
2013-09-06 20.57.01.jpg
2013-09-06 20.57.18.jpg
2013-09-06 20.57.43.jpg
2013-09-06 20.58.38.jpg
Once you have finished the three layers of the cube, assemble them by joining anode with anode only and leave free the anode of each LED for next step.

Insert the Ends of the Cube in the PCB

2013-09-06 22.17.42.jpg
2013-09-06 22.19.12.jpg
Insert the terminals of your cube in the PCB for soldering them, but remember the amount of ends: nine.

Prepare the Pins

2013-09-06 22.57.52.jpg
2013-09-06 22.57.32.jpg
Take the 40-pin male headers pins and cut two parts of 1x6 and reserve for later.

Insert the Pins Reserved to Your Arduino Platform

2013-09-06 23.01.37_PINS.jpg
2013-09-06 23.01.12.jpg
2013-09-06 23.01.37.jpg
2013-09-06 23.02.08.jpg
2013-09-06 23.02.08_PINS2.jpg
Insert the pins reserved to your arduino hardware; the first 1x6 pins to the outputs 2 to 7 while the other 1x6 pins tp A0 - A5. 

Mount the PCB With the Cube on Your Arduino

2013-09-06 23.03.39_Zebra.jpg
2013-09-06 23.03.39.jpg
2013-09-06 23.03.56.jpg
Mount the PCB with your cube on the arduino platform so that you can match the PCB with the pins previously inserted and so you can solder that pins. Besides, you need to identify each of the ends of your cube so that you can connect them correctly to pins that you are soldering. 

Dismount the PCB

2013-09-06 23.29.05.jpg
2013-09-06 23.29.20.jpg
2013-09-06 23.29.50.jpg
2013-09-06 23.30.15.jpg
2013-09-06 23.30.56.jpg
2013-09-06 23.31.38.jpg
2013-09-06 23.56.24.jpg
2013-09-06 23.56.49.jpg
2013-09-06 23.57.07.jpg
2013-09-06 23.57.27.jpg
Dismount the PCB so that you can continue with the rest of the connections to your project and remember that you should connect from A1 - A3 to your bottom, middle, and top layer of the cube respectively.

Complete Your Project

2013-09-15 19.47.52.jpg
2013-09-20 23.34.24.jpg
2013-09-20 23.34.35.jpg
2013-09-23 20.07.48.jpg
2013-09-23 20.08.07.jpg
2013-09-23 20.08.26.jpg
2013-09-15 19.48.12.jpg
2013-09-15 19.48.53.jpg