Introduction: 3x3x3 Red LED Cube

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

Step 1: List of Materials

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 

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

Comments

author
braulio777 (author)2016-12-09

This project can also be seen in ebay webpage at:

http://www.ebay.com/itm/Jameco-Kitpro-CJKIT-21170-3x3x3-Red-LED-Cube-Intermediate-Unassembled-/121294899712?hash=item1c3dbd4a00:g:6xIAAOxyeR9TIy7y

author
braulio777 (author)2016-12-09

This project can also be seen in Amazon webpage at:

https://www.amazon.com/JAMECO-KITPRO-3x3x3-Red-Cube/dp/B00R5C7HS4/ref=sr_1_2?ie=UTF8&qid=1481316861&sr=8-2&keywords=3x3x3+led+cube%2C+jameco+electronics

author
braulio777 (author)2016-12-09

This project can also be seen in Jameco Electronics at:

http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&productId=2193846&catalogId=10001&CID=CLO

author
braulio777 (author)2016-12-09

If you want to find the code for this project, go to at:

http://pastebin.com/3trUMh2P'

author
braulio777 (author)2016-12-08

LEATHERWORKING classes are now free in this site.

author
braulio777 (author)2016-12-08

PHOTOGRAPHY classes are now free in this site.

author
braulio777 (author)2016-12-08

BREAD classes are now free in this site.

author
braulio777 (author)2016-12-08

CANNING PRESERVING classes are now free in this site.

author
braulio777 (author)2016-12-07

WOODWORKING classes are now free in this site.

author
braulio777 (author)2016-12-07

CONCRETE classes are now free in this site.

author
braulio777 (author)2016-12-07

GLUE classes are now free in this site.

author
braulio777 (author)2016-12-07

MEAT classes are now free in this site.

author
braulio777 (author)2016-12-06

WEARABLE ELECTRONICS classes are now free in this site.

author
braulio777 (author)2016-12-06

RASPBERRY PI classes are now free in this site.

author
braulio777 (author)2016-12-06

LASER CUTTING classes are now free in this site.

author
braulio777 (author)2016-12-06

LAMPS classes are now free in this site.

author
braulio777 (author)2016-12-06

CNC classes are now free in this site.

author
braulio777 (author)2016-12-06

3D PRINTING classes are now free in this site.

author
braulio777 (author)2016-12-06

Robots classes are now free in this site.

author
braulio777 (author)2016-12-06

Electronic classes are now free in this site.

author
braulio777 (author)2016-12-06

Arduino classes are now free in this site.

author
braulio777 (author)2016-12-06

LEDS & LIGHTING classes are now free in this site.

author
braulio777 (author)2016-11-30

I would do a RGB LED cube with at least 3x3x3 structure.

author
braulio777 (author)2016-11-30

I want to do more projects about LED cubes.

author
braulio777 (author)2016-11-28

I enjoyed developing this project.

author
braulio777 (author)2016-11-28

Thank you for viewing this project.

author
braulio777 (author)2016-11-28

This project is for you.

author
rickharris (author)2013-10-14

I looked twice.

author
braulio777 (author)rickharris2016-11-27

Why?

author
rickharris (author)braulio7772016-11-28

For the code. I guess, this was 3 years ago!

author
dmustace (author)2014-01-03

very nice.
but where is the code?
can you send it to me please?

author
braulio777 (author)dmustace2016-11-27

For getting the code, go at: http://pastebin.com/3trUMh2P

author
braulio777 (author)dmustace2015-07-30

Hi dmustace,

You can obtain the code at this website: http://pastebin.com/3trUMh2P

author
blazekid43 made it! (author)2016-05-25

Woo my very first arduino project. Thanks dude worked perfect

20160526_160928.jpg
author
braulio777 (author)blazekid432016-11-27

Thank you!

author
henkol1 (author)2014-05-16

Hi

Would it be possible to get the code?

author
braulio777 (author)henkol12015-07-30

Hi henkol,

You can obtain the code at this website: http://pastebin.com/3trUMh2P

About This Instructable

6,463views

4favorites

License:

More by braulio777:RGB Electronic DieElectronic DieArduino Nano Multiplication/Division Signs
Add instructable to: