Connect with us

Led Cube 8x8x8 problem

Discussion in 'Microcontrollers, Programming and IoT' started by vsnake, Jun 18, 2013.

Scroll to continue with content
  1. vsnake

    vsnake

    2
    0
    Jun 18, 2013
    Hi all,

    I finished the construction following this guide jacksonliam.blogspot.gr using exactly the same components as shown. Then I uploaded some test code (http://pastebin.com/cPMpj78A) on my arduino and it turned on… sadly only the half (vertically dissected). The other half remained turned-off (not even a glimpse of light).

    I tried to change the wire connections somehow to get it work. I got exactly the same result (half lit cube), this time with another dirrection.

    I power my arduino via usb from my pc.
    I suspect that the power given is less than needed. I tried to give power also with three ac dc converters from Vin port:

    first: (output: 3V, 300 mA).
    second: (output: 12V, 1A).
    third: (output: 12V, 500 mA).

    Nothing changed at all. I would appreciate any helping advice on solving my problem.


    Thanks in advance.
     
  2. BobK

    BobK

    7,682
    1,688
    Jan 5, 2010
    If you have 8x8x8 LEDs and they using the typical 20ma, that would require over 10 Amps to light all of the LEDs. But that does not explain why half the cube would light up, that is most likely a wiring error.

    Bob
     
  3. BobK

    BobK

    7,682
    1,688
    Jan 5, 2010
    Oh, wait. Of course it is multiplexed. By layer, I presume, so only 1/8 will be on at any time. So the current is more like 1.25 A.

    Bob
     
  4. vsnake

    vsnake

    2
    0
    Jun 18, 2013
    Thanx Bob for the interest. I'm rebuilding the whole circuit from the beggining. I' ll post results.

    So the bottom line is that we need external power supply? As i know arduino supplies a current of 1A(max).
     
  5. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,496
    2,837
    Jan 21, 2010
    Closer to 30mA max (per pin) I believe.

    Yes, an external power supply is needed with the arduino driving transistors that switch rows and columns.

    Depending on the configuration, you may only ever have one LED on at a time (or 1 LED in a layer, or LED in a column/row) but due to multiplexing you will need to drive them quite hard.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-