3 x 3 LED Cube with Arduino UNO by adrian_orozco
SN853733.JPG
This instructable will give instructions on how to build a 3 X 3 LED cube. In step 1 I have included a list of materials used including their prices and where they were purchased. Step 2 will give detailed instructions on how the LEDs should be soldered together. Finally, step 3 will give instructions on how to wire up the led cube to the breadboard and Arduino. I kept a lab notebook as well when creating the project which can be viewed by clicking the following link http://aorozco.iheartanthony.com/2012/05/07/arduino-project-3. Data used in constructing the LED cube can be seen at http://figshare.com/articles/Arduino_Project_Data/92045.

I have not included the program to make the LED cube light up because its a work in progress. The program is the hardest thing to put together because I am just starting to learn the Arduino software. All ready made programs can be found on the internet but making your own is what its all about. I will update this instructable with the finished program as soon as it is finished.

The paragraph below, describes how the circuit works which may or may not make it easier to write a simple program to turn the LEDs on and off.
 
How it works: Basically, a pin from the arduino is connected to the LED anode and a different pin is connected to the base on the transistor. The controller is then connected to the LED cathode and the emitter is then connected to ground. When the pins for the base and LED anode are turned on this causes current to flow through the LED. Thus turning it on. A great way to turn it on and off is to keep the base pin "on" and turn the anode pin "on" and "off". A great website that illustrates how the NPN transistor works is http://www.falstad.com/circuit/e-npn.html.
 
Remove these adsRemove these ads by Signing Up

Step 1: Step 1: Materials

All the materials were purchased at radioshack but way better deals can be found on the internet.

List of Materials

27 leds $7
3  NPN 3904 transistors $3 
9  220 kilo-ohm resistors $4
3  22 kilo-ohm resistors $2
wiring kit  $10
bread board  $8
Arduino Uno $20-$25
solder  $7
soldering iron $9 

Total Price: $70, but the learning experience, priceless.
ironheartbj18 says: May 19, 2013. 2:23 AM
can i see your video what you have exactly done? seem like you are only turn leds on each layers. is that true?
ride on toy dude says: Jul 20, 2012. 11:58 AM
Do you have the code???
ride on toy dude says: Jul 1, 2012. 10:23 AM
And solder them to each adjacent Cathode?
junaid amin says: May 24, 2012. 11:30 AM
plzz upload code in c++
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!