Shop OBEX P1 Docs P2 Docs Learn Events
Robo Olympics Badge — Parallax Forums

Robo Olympics Badge

DigitalDjDigitalDj Posts: 207
edited 2007-12-07 02:39 in General Discussion
Does the Robo Olympics Badge use a scanning method for Matrix's? If it does can some explian how it works?

Thanks,
Kevin


▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

Comments

  • JonnyMacJonnyMac Posts: 9,217
    edited 2007-12-05 06:30
    If you mean multiplexing, then yes. I've attached my code; it's commented fairly thoroughly and should make sense.
  • DigitalDjDigitalDj Posts: 207
    edited 2007-12-05 15:18
    Thanks,

    It looks like different code then what I originally downloaded or maybe i'm just crazy!

    I will study over it.


    I am tring to understand how multiplexing works from the code side.··Does the display get alot less voltage and current because of the multiplexing(timing) compared to just the led being hooked straight up to a bench supply?


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔



    Post Edited (DigitalDj) : 12/5/2007 6:10:46 PM GMT
  • JonnyMacJonnyMac Posts: 9,217
    edited 2007-12-07 02:07
    Well, that's my version -- it is a re-crafting of the originator's code.

    Multiplexing is not too hard, once you get your mind wrapped around it. The display is a matrix, and only one column can be on at any given time. So the code turns on a column, outputs the row bits for that column, and leaves it on briefly before moving to the next. Since our retinas will hold an image for a few milliseconds the fast column-to-column switching looks like a contiguous display.

    I've written about multiplexing in some of my Nuts & Volts columns, perhaps they'll shed more light:
    -- http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol6/col/nv117.pdf
    -- http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol8/col/nv141.pdf
    -- http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol8/col/nv142.pdf (this one uses an 8x8 dot-matrix display)

    Post Edited (JonnyMac) : 12/7/2007 2:15:04 AM GMT
  • DigitalDjDigitalDj Posts: 207
    edited 2007-12-07 02:39
    Thanks,

    I will read over these!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

Sign In or Register to comment.