LED Cube Using Arduino

by DIY Tutorials in Circuits > Arduino

1534 Views, 6 Favorites, 0 Comments

LED Cube Using Arduino

led-cube.png

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.

Things Required

  1. Arduino uno
  2. 27 LEDs
  3. ULN2003
  4. Perfboard
  5. 8 220 ohms resistor
  6. Jumper wires

Connections

led_cube.jpg
Led cube using arduino 3*3*3 | Arduino led cube

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

Download