Friday, 25 November 2016

3*3*3 LED cube using arduino uno

Hello Friends,

In this post, we are going to make 3d led cube using arduino. It's 3*3*3 led cube, so require a total of 27 leds. For driving 27 leds we require driver IC like ULN2003.


List of components:
  • Arduino uno
  • 27 LEDs
  • ULN2003
  • Perfboard
  • 8 220 ohms resistor
  • Jumper wires
Connections:

Schematics
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.

Download the code from here:

Download

Check out the video:

2 comments: