Shop OBEX P1 Docs P2 Docs Learn Events
led cube — Parallax Forums

led cube

N-2-STUFFN-2-STUFF Posts: 25
edited 2008-11-10 04:40 in BASIC Stamp
can a basic stamp be used for somthing like this....

http://www.instructables.com/id/LED-Cube-4x4x4/



thanks
scott

Comments

  • SRLMSRLM Posts: 5,045
    edited 2008-11-10 01:25
    Yes, although you need more I/O pins and some sort of overcurrent protection.
  • icepuckicepuck Posts: 466
    edited 2008-11-10 01:55
    The 40pin BS2p would be the one to use, that way you wouldn't have to make a lot of changes to the design.
    Multi-color LEDs would be an interesting upgrade.
    -dan
  • SRLMSRLM Posts: 5,045
    edited 2008-11-10 02:19
    There are 64 LEDs in the cube, so you'd need 2 BS2p40s or 4 BS2s all driving LEDs.
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-11-10 03:36
    If you work it like 4 4x4 matrixes (matrices) then you have 4 rows, 4 columns, and 4 layers --·12 output pins.· A little external gating req'd.


    Post Edit --··Or one of those 7219s could be used, but that'd be a pain.

    Also, depending how you wire it up, it could be "charlieplexed", too, but you'd have to think of it in terms of a 8x8; it's·heavy spatial relations like.

    Post Edited (PJ Allen) : 11/10/2008 3:47:39 AM GMT
  • N-2-STUFFN-2-STUFF Posts: 25
    edited 2008-11-10 03:46
    thanks guys!!!

    now the only problem is programingfreaked.gif

    their is another one that's a RGB kit here.·· http://hypnocube.com/order/

    thanks

    scott
  • Carl HayesCarl Hayes Posts: 841
    edited 2008-11-10 03:51
    PJ Allen said...
    If you work it like 4 4x4 matrixes (matrices) then you have 4 rows, 4 columns, and 4 layers --·12 output pins.


    Post Edit -- A little external gating req'd.· Or one of those 7219s could be used, but that'd be a pain.
    You beat me to it.· Several ways to do it with 12 pins, each requiring external gating, but certainly it can be done easily by anyone with knowledge of switching logic.

    You could even do it with two pins, using an I2C LED display controller.· One that can handle 8 7-segment ditits with decimal point can basically turn on and off -- guess how many -- 64 LEDs.· That's what it does for a living.· Instead of the 64 LEDs in an 8-digit numeric LED display, turn on and off the 64 LEDs in the cube.

    There are one-wire devices, too -- really need only one pin...

    Piece of cake.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    · -- Carl, nn5i
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-11-10 03:53
    The instructables guy explains his multiplexing scheme.··What to do and how to go about it·depends some on how you're thinking about it.
  • N-2-STUFFN-2-STUFF Posts: 25
    edited 2008-11-10 04:40
    and here is the one that got·me hooked...

    http://www.youtube.com/watch?v=lFDcdN47V5s&feature=related



    scott
Sign In or Register to comment.