View Full Version : Variable output control with basic stamp 2

06-01-2005, 09:34 AM
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.

Jon Williams
06-01-2005, 09:53 AM
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