Introduction: LED Cube Using Arduino
In this instructable, we are going to make a led cube (3 * 3 * 3) using arduino uno. In total, we require a total of 27 leds.
Step 1: Things Required
- Arduino uno
- 27 LEDs
- 8 220 ohms resistor
- Jumper wires
Step 2: Connections
Make connections as given in the diagram
In 3*3*3 led cube, basically there are three layers. In first layer, ground is common for 9 leds and same for layer 2 and layer 3.
There are 9+3 output pins, 9 for anode and three for 3 layers.
We are using ULN2003 IC, since arduino can't provide enough current to drive all the 27 led simultaneously.Anode pins are connected from pin no. 2 to 10.
Upload the code given below to your arduino board