A Simple LED Cube 2X2X2

by braulio777 in Circuits > Arduino

10914 Views, 6 Favorites, 0 Comments

A Simple LED Cube 2X2X2

A Simple LED Cube 2X2X2

This LED cube was developed using 8 green LEDs and Arduino Uno microcontroller while it only needed two resistors for managing the two planes done of 4 LEDs each. After visiting http://pastebin.com

,you can upload the code at: http://pastebin.com/8qkChkDM

Bill of Materials

20170128_151409.jpg
20170128_151410.jpg
20170128_151652.jpg

What you will need:

1 Arduino Uno

1 5cmX7cm PCB

1 40-pin header for arduino shield

8 5mm LEDs

1 USB-A to USB-B cable

2 100 Ohm resistor

Assembling the LED Cube

20170127_153922.jpg
20170127_153933.jpg
20170127_153945.jpg
20170127_154007.jpg
20170127_154020.jpg

This is an easy construction because it only has 8 LEDs. That is, you are going to connecting the 4 cathodes each other in each plane of the 4 LEDs. Once you has finalized with the previous actividad, you will have to construct othar plane of 4 LEDs. After that, you will interconnect the free anodes in each plane respectively. For uploading the code, you can visit:http://pastebin.com

Then, upload the code at: http://pastebin.com/8qkChkDM

Installing the Resistors

20170127_185110.jpg
20170127_185112.jpg
20170127_185117.jpg

Once you completed all of connections of your 8 LEDs, you will have to install the resistors of 100 Ohm and the pins of connections toward the arduino. That is, you will have that checking step by step if everything is OK so that you are done and your work can be success. Note the bigger points are the 4 anodes will be connected to the Arduino pins 2, 3, 4, and 5 correspondingly while the 100 Ohm resistors will be connected to A0 and A1 respectively.

Completing the Project

20170128_140938.jpg
20170128_140949.jpg
20170128_140951.jpg
20170128_140957.jpg
20170128_140958.jpg
20170128_141005.jpg
20170128_141052.jpg
20170128_141100.jpg
20170128_141105.jpg
20170128_141111.jpg
20170128_141115.jpg
20170128_141117.jpg

Once completed the project, install the shield by mounting it on your Arduino Uno to proceed to upload your Arduino code at: http://pastebin.com/8qkChkDM