Shop OBEX P1 Docs P2 Docs Learn Events
Digital Clock — Parallax Forums

Digital Clock

Wissam Ch.Wissam Ch. Posts: 36
edited 2006-11-28 15:06 in BASIC Stamp
Hi ,
How can i control four "7 segment displays" in a digital clock project with a basic stamp 2 .

knowing that·it takes 8 I/O pins to control one segment . ??

Thanks in advance for any help or tip.

Regrads.



·

Comments

  • ZootZoot Posts: 2,227
    edited 2006-11-28 13:52
    Use the MAX7219 or MAX7221 -- the former is available at the Parallax site, DigiKey and elsewhere. The latter can be ordered directly from Dallas Semiconductor.

    www.parallax.com/detail.asp?product_id=603-00001

    The chip drives up to 8 LED digits (64 LEDs) with just 3 pins and one resistor for limiting current to all segments. It's a way cool chip.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When the going gets weird, the weird turn pro. -- HST
  • Wissam Ch.Wissam Ch. Posts: 36
    edited 2006-11-28 14:06
    Thanks a lot .
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-11-28 15:06
    Hello,
    ·
    ·· See the following link for code and a schematic that shows the MAX7219 being used in a clock with 6 digits.· The IC can handle up to 8 digits.· Take care.

    http://forums.parallax.com/showthread.php?p=552892

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
Sign In or Register to comment.