
If i only want to light up one led at a time, or only light up more than one layer at the same time. Now if i want to light up the LED in the upper left corner in the back (0,0,3), I just supply GND (-) to the upper layer, and VCC (+) to the column in the left corner. One way to get around this, is to split the cube into 4 layers of 16×16 LEDs.Īll the LEDs aligned in a vertical column share a common anode (+).Īll the LEDs on a horizontal layer share a common cathode (-). Running a wire to the anode of each led would obviously be impractical, and would look really bad.

How to control 64 LEDs without using 64 individual wires? Multiplexing! 4x NPN transistor BC338 (or other transistor capable of switching 250-ish mA).Know how to program an AVR microcontroller – I will not cover that in this instructable.

64 LEDs makes up this 4 by 4 by 4 cube, controlled by an Atmel Atmega16 microcontroller.Įach LED can be addressed individually in software, enabling it to display amazing 3d animations!Ĩx8x8 LED cube now available, by popular demand:įirst of all, you need quite a bit of time to solder together 64 leds 😉
