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

## Step 1: List of Materials

27     Red LEDs of 3mm
3       Resistors of 200 ohm
1       SHIELD,ARDUINO PROTO PCB,REV3 (Jameco Part: 2152438)

## Step 2: Project's Diagram

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.

## Step 3: What You Need to Construct the Cube's Layers

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.

## Step 4: Testing the LEDs

Before using the LEDs in your project, test them.

## Step 5: Constructing the Cube's Layers

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.

## Step 6: Constructing the Cube

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.

## Step 7: Insert the Ends of the Cube in the PCB

Insert the terminals of your cube in the PCB for soldering them, but remember the amount of ends: nine.

## Step 8: Prepare the Pins

Take the 40-pin male headers pins and cut two parts of 1x6 and reserve for later.

## Step 9: Insert the Pins Reserved to Your Arduino Platform

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.

## Step 10: Mount the PCB With the Cube on Your Arduino

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.

## Step 11: Dismount the PCB

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.

## Step 12: Complete Your Project

<p>This project can also be seen in ebay webpage at:</p><p>http://www.ebay.com/itm/Jameco-Kitpro-CJKIT-21170-3x3x3-Red-LED-Cube-Intermediate-Unassembled-/121294899712?hash=item1c3dbd4a00:g:6xIAAOxyeR9TIy7y</p>
<p>This project can also be seen in Amazon webpage at:</p><p>https://www.amazon.com/JAMECO-KITPRO-3x3x3-Red-Cube/dp/B00R5C7HS4/ref=sr_1_2?ie=UTF8&amp;qid=1481316861&amp;sr=8-2&amp;keywords=3x3x3+led+cube%2C+jameco+electronics</p>
<p>This project can also be seen in Jameco Electronics at:</p><p>http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&amp;storeId=10001&amp;productId=2193846&amp;catalogId=10001&amp;CID=CLO</p>
<p>If you want to find the code for this project, go to at: </p><p><a>http://pastebin.com/3trUMh2P'</a></p>
<p>LEATHERWORKING classes are now free in this site.</p>
<p>PHOTOGRAPHY classes are now free in this site.</p>
<p>BREAD classes are now free in this site.</p>
<p>CANNING PRESERVING classes are now free in this site.</p>
<p>WOODWORKING classes are now free in this site.</p>
<p>CONCRETE classes are now free in this site.</p>
<p>GLUE classes are now free in this site.</p>
<p>MEAT classes are now free in this site.</p>
<p>WEARABLE ELECTRONICS classes are now free in this site.</p>
<p>RASPBERRY PI classes are now free in this site.</p>
<p>LASER CUTTING classes are now free in this site.</p>
<p>LAMPS classes are now free in this site.</p>
<p>CNC classes are now free in this site.</p>
<p>3D PRINTING classes are now free in this site.</p>
<p>Robots classes are now free in this site.</p>
<p>Electronic classes are now free in this site.</p>
<p>Arduino classes are now free in this site.</p>
<p>LEDS &amp; LIGHTING classes are now free in this site.</p>
<p>I would do a RGB LED cube with at least 3x3x3 structure.</p>
<p>I want to do more projects about LED cubes.</p>
<p>I enjoyed developing this project.</p>
<p>Thank you for viewing this project.</p>
<p>This project is for you.</p>
I looked twice.
<p>Why?</p>
<p>For the code. I guess, this was 3 years ago!</p>
very nice. <br>but where is the code? <br>can you send it to me please?
<p>For getting the code, go at: http://pastebin.com/3trUMh2P</p>
<p>Hi dmustace,</p><p>You can obtain the code at this website: http://pastebin.com/3trUMh2P</p>
<p>Woo my very first arduino project. Thanks dude worked perfect</p>
<p>Thank you!</p>
<p>Hi</p><p>Would it be possible to get the code?</p>
<p>Hi henkol,</p><p>You can obtain the code at this website: http://pastebin.com/3trUMh2P</p>