Shop OBEX P1 Docs P2 Docs Learn Events
Nichia and a Shift Register — Parallax Forums

Nichia and a Shift Register

NewzedNewzed Posts: 2,503
edited 2007-06-14 21:45 in BASIC Stamp
Since I was running low on pins, I decided to see if I could "PWM" a shift register the same way I "PWMed" on the Propeller.· Hooked up a 595 ahead of the ULN2003 and with 3 Stamp pins I am now controlling two Nichias - that is 6 LEDs.· Colors are great with no flicker - cyan, red, orange, yellow, green, blue, magenta and white.· And I am using 10 percent less code than with the PWM program.· Next thing - add another daisy-chained 595 and see if I can drive 4 Nichias - 12 LEDs - with the same three Stamp pins.· If I can get it working, I calculate the other two Nichias will only add about 26 bytes·to the program.· We'll see.

Sid

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.

That is why they call it the present.

Don't have VGA?
Newzed@aol.com
·

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2007-05-27 18:30
    Newzed,

    YouTube it.
  • NewzedNewzed Posts: 2,503
    edited 2007-05-27 19:32
    Translation, please, PJ.

    Sid

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Yesterday is history, tomorrow is a mystery, and today is a gift.

    That is why they call it the present.

    Don't have VGA?
    Newzed@aol.com
    ·
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2007-05-27 20:43
    Record it with a digital camera (make a .WMA) and upload that to --
    www.youtube.com

    [noparse][[/noparse] Get with it, Daddy-O. ]

    ·
  • NewzedNewzed Posts: 2,503
    edited 2007-05-29 12:23
    I breadboarded a daisy-chained 595 and it worked so well I made a little board on SuperMill to hold two SMD 595's and some interface pins.· A picture of the 595 board plugged into the BOE and the Nichia Quad plugged into the 595 board is attached.· The 595 gets its instructions from Stamp pins 0-2, and I added three dummy pins above that for mechanical stability.· The three dummy pins have the tails attached so I can connect to them if I ever need those pins.

    Sid

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Yesterday is history, tomorrow is a mystery, and today is a gift.

    That is why they call it the present.

    Don't have VGA?
    Newzed@aol.com
    525 x 394 - 13K
  • NewzedNewzed Posts: 2,503
    edited 2007-06-14 21:45
    I made a new board on Supermill that would hold the two 595's, the two 2003'x and the four Nichia chips.· A picture of the assembled board is attached.

    If you haven't tried the Nichia RGB chips yet you should.· They are a lot of fun.

    Sid

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Yesterday is history, tomorrow is a mystery, and today is a gift.

    That is why they call it the present.

    Don't have VGA?
    Newzed@aol.com
    525 x 394 - 10K
Sign In or Register to comment.