I would like to create a 3x3x3 or 4x4x4 led cube (arduino Uno) with my daughter. I read a lot of tuto, and i have again 3 questions without any answer .... (and a 3rd bonus) :
What type of semi-rigid wire should I buy?
Which Led Driver can I buy ? I saw there exists "DM13A", but is exist others possibilities ?
Anode or Cathode common will be better to use with a led driver ?
Bonus : Where can I buy this ... i prefer pay a little bit more and have it soon (I can buy a 100pack Leds). I saw it in Amazon, but I can't find any led driver DM13A on it
(I'm from France).
Thanks guys (and sorry for my english, i try to learn... Objective : teach to my childrens hihi).
For a 4 by 4 by 4 LED cube, you simply use a MAX7219 as the driver. Obviously a 3 by 3 by 3 is the same, just fewer LEDs. The wiring is a little different to a larger cube, but the MAX is perfect for this job as it is specifically designed to drive 64 LEDs.
I get stuff from Aliexpress - slower but generally cheaper. To use a MAX7219, buy a matrix module as everything is mounted, just do not assemble the headers for the matrix.
A Nano is better than a UNO for projects unless you are using a UNO-style "shield".
I second the recommendation of NeoPixels (WS2812) or similar (although I've never used NeoPixels or made a cube).
NeoPixels have a driver built-into the LED and they are serially addressed with a single data line. You can address/control an almost unlimited number of RGB LEDs with just power, ground, and one Arduino I/O pin. This greatly simplifies the wiring.
They are mostly sold as LED strips, but you can also buy individual NeoPixel LEDs. The individual LEDs have 4 wires because there is data-in plus data-out that goes to the next LED in the string. There's just as much soldering (at the LED end) as an RGB LED but a LOT less wiring, and a LOT simpler wiring.
(With the NeoPixel LED strips, it's just 3-wires and your done since the data and power interconnections are already in the strip.)
The addressing (and related timing) is a bit tricky because there is no clock or latch connection, but there are libraries so you don't have to worry about the nitty-gritty software details.
And since they will be wired as a series string, you (and your software) will have to know how each LED's position in the string correlates with it's physical location in the cube.
If I understand, Neopixels have driver intergrated in each LED ?
I would like my daughter learn and understand how it works since start ...
I would like be progressive :
1 - wires for each LED >> i would like she understand too many wires are needed
2 - use driver LED > less wires and can drive some but ... if too much, Neopixel
3 - Like that she will understand why Neopixel works like that
So, if I am true :
1 - I buy some LEDs (maybe one color at start, then try with RGB) and a lot of wires
2 - Use LED driver (as DM13A, or MAX7219) and try for one color, or multi-color, and more LED
3 - NEOpixels to be more optimal