Shop OBEX P1 Docs P2 Docs Learn Events
need help on programming a max522 dac — Parallax Forums

need help on programming a max522 dac

JERRY47JERRY47 Posts: 2
edited 2009-05-21 02:02 in BASIC Stamp
burger.gif·i was wondering· would anyone·have some basic stamp2· code that i could program a max522 dac with.
i am wanting·· to send a number from the bs2 and then have it converted to an analog voltage which· will be read by using a digital meter,really in the dark on this one any help would be welcomed

Comments

  • stamptrolstamptrol Posts: 1,731
    edited 2009-05-20 19:15
    I don't want to side track your desire to learn to use a DAC, which is a skill you'll use over and over in the future, but there is a simpler way for low resolution work.

    If you look at the PWM command in the helpfile of the programming environment, you'll see how to use the command with a small capacitor to get an analog voltage.

    Cheers,

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tom Sisk

    http://www.siskconsult.com
    ·
  • JERRY47JERRY47 Posts: 2
    edited 2009-05-21 02:02
    Thank you will give it a try
Sign In or Register to comment.