View Full Version : adco832 with sharp gp2d12

02-01-2010, 11:55 PM
am using an adc0832 from texas instrument which has both data out and data in.anybody here who know how to use it especially with the gp2d12 infrared analog sensor.

Mike Green
02-02-2010, 12:16 AM
Read the Stamp tutorial "Basic Analog and Digital", downloadable from Parallax. It has a detailed explanation and sample code for using an ADC0831 with a Stamp. The ADC0832 is similar. Look at the datasheet for the devices and you'll see how the ADC0832 has the select bit added for the desired input channel. You should be able to easily adapt the sample code for the ADC0831.

02-07-2010, 03:49 AM
still cant figure how to select desired imput using the tlv0832

Mike Green
02-07-2010, 04:16 AM
Have a look at this Nuts and Volts Column: www.parallax.com/dl/docs/cols/nv/vol6/col/nv118.pdf (http://www.parallax.com/dl/docs/cols/nv/vol6/col/nv118.pdf)