[Arduino] 3D LED Cube

3D LED cube

After a first try with tiny space between LEDs (see last post), here is another try with enough space to build a proper cube, still following MakeZine instructions.

The fun parts were to add transistors to the board, allowing to get more power for each led level, and the programming: Persistance-Of-Vision and binary manipulation for led on/off switching.

If you need it, you can download the arduino program related to this circuit.

About alx

5 Responses to “[Arduino] 3D LED Cube”

  1. Alexandre Girard

    Hi Florian,

    thanks for the correction, I’ve edit the link now, and your website link too 😉

    Reply
  2. Joe

    I built a 3 x 4 cube using the Arduino but the current draw is right on the edge of maxing the permissible current limit on the Ardunio. I didn’t use any transistors, but since building my cube, I’ve looked at others and they for the most part all use PNP transistors. Can you tell me the purpose and what type you’re using? Also, is it possible to get some kind of schematic as to how you hooked them up? Since you are only using 3, I assume they are the ground leads (1 for each layer), is this correct?

    Have you tried a shift register?

    Reply
  3. alx

    Hi Joee,

    unfortunatly, I’ve done this sketch a long time ago, and I’m not sure I can remember everything…

    If I remember correctly, the PNP are used to select the layer to light on. It’s switching with a frequency high enough to looks like all 3 layers are switched on. I can’t remember the type of transistor, but I think they were pretty universal ones.

    I havn’t tried the shift registers, the main interest for me was to do binary manipulation directly in the code.

    good luck for your tests 😉

    Reply
  4. James

    The pnp transistor acts like an electric light switch, you use a small amount of voltage to switch a large amount of voltage, it is solid state so it switches very fast.

    For this project a 2n2907 would be suitable.

    Reply

Leave a Reply

  • (will not be published)