Shop OBEX P1 Docs P2 Docs Learn Events
Variable output control with basic stamp 2 — Parallax Forums

Variable output control with basic stamp 2

David92680David92680 Posts: 10
edited 2005-06-01 02:53 in BASIC Stamp
I'm working on a project were im trying to replace a joystic with a basic stamp 2. When the joystick is at center it outputs 2.5vdc on both the up, down output and the left,right output. when the joystick is moved it either changes the output from 2.5~0 or 2.5v~5v depending on the direction you move the axes. how can I get the basic stamp to output this type of voltage change. I was thinking of using something like the ADC0831 8-bit A/D converter DIP.

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-06-01 02:53
    You don't want A2D, you want D2A -- a component you might consider is the·LTC1257 (12-bit, so you've got plenty of resolution -- 1.2 mV per bit)·which works well with the BASIC Stamp.

    This N&V article may help: http://www.parallax.com/dl/docs/cols/nv/vol1/col/nv43.pdf


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
Sign In or Register to comment.