Shop OBEX P1 Docs P2 Docs Learn Events
My LED cube idea. need help amplify current of pin — Parallax Forums

My LED cube idea. need help amplify current of pin

Stein-oveStein-ove Posts: 12
edited 2007-11-29 04:11 in BASIC Stamp
Hi. i planing to make a LED Cube 3x3x3 matrix cube with my BS2 BOE (Board Of Education). I have 16 pins that i can use. The thing is, that·I can only use the totaly of 40mA on my BS2. Is ther any way I can amplify the current with an external power source and transistor. If so. how do you recomend i do it?smurf.gif

Comments

  • T&E EngineerT&E Engineer Posts: 1,396
    edited 2007-11-27 22:27
    Use ULN2803 IC on the BS2 outputs which will provide 500mA for each of the (8) ULN2803·outputs. Two·of them will give you 16 high current outputs from your BS2. Don't forget to use current limiting resistors on each of the (16) ULN2803 outputs going to the (16)·LEDs.

    BTW: a 3x3x3 would give you 27 outputs not 16.

    But a cube has 6 sides and 3x3 implies 9 LEDs per side. Multiply this times 6 sides and you will need (9*6 = 54 LEDs). Is this right?

    You will need to form a matrix or the easiest way is to simply use (1) MAX7219 (which will provide current for 64 LEDs). There are lots of examples for using this IC with the BS2 on this forum too.
  • Stein-oveStein-ove Posts: 12
    edited 2007-11-27 22:36
    I now... but i plan to use a flicker mode. 9pin to control the actual "floor matrix" and 3pin to each floor. that is 27
    9x(+), and 3x(-) for each floor.
  • FranklinFranklin Posts: 4,747
    edited 2007-11-27 22:41
    T&E, you're counting the edge leds on two sides. 3x3 = plane x3 planes = 27

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Stein-oveStein-ove Posts: 12
    edited 2007-11-27 23:10
    i only plan to have the led's one direction. up.
    970 x 727 - 61K
  • metron9metron9 Posts: 1,100
    edited 2007-11-27 23:28
    http://home.wanadoo.nl/electro1/avr/kitt.htm

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Think Inside the box first and if that doesn't work..
    Re-arrange what's inside the box then...
    Think outside the BOX!
  • Stein-oveStein-ove Posts: 12
    edited 2007-11-28 00:09
    the idea is to make animations of these 27 LED.
  • FranklinFranklin Posts: 4,747
    edited 2007-11-28 01:21
    www.youtube.com/watch?v=lFDcdN47V5s

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Stein-oveStein-ove Posts: 12
    edited 2007-11-28 15:52
    that link gave me the Idea smile.gif

    Post Edited (Stein-ove) : 11/29/2007 1:01:37 PM GMT
  • NetHogNetHog Posts: 104
    edited 2007-11-29 04:11
    Now this begs the question how to go one further [noparse];)[/noparse]
  • NetHogNetHog Posts: 104
    edited 2007-11-29 04:11
    Now this begs the question how to go one further [noparse];)[/noparse]
  • NetHogNetHog Posts: 104
    edited 2007-11-29 04:11
    Now this begs the question how to go one further [noparse];)[/noparse]
Sign In or Register to comment.