PDA

View Full Version : Ordered the wrong ADC and need help...



MarkS
01-24-2008, 01:43 PM
I was following the LM34 temperature sensor and ADC from the Industrial Supply text, but wanted a 12-bit ADC instead of the 8-bit ADC0831 that is shown in the text. I did a little research and found the ADC LTC1286, which matches the 0831. With that in mind, this is what the circuit would look like:

http://i18.photobucket.com/albums/b106/mspeir/ICADC.jpg

Pretty much the same as shown in the IC text.

However, I accidentally ordered the LTC1298. The pins are quite a bit different. After reading the data sheet, to the best of my ability, I came up with this circuit:

http://i18.photobucket.com/albums/b106/mspeir/ADCLTC1298.jpg

It seems like it should work, but I'd like some input before I blow something up. Also, the ADC requires 5v inputs to operate properly. How do I interface this to the Prop? I can just use a resistor for the DOUT pin, but how do I raise the 3.3v from the Prop to 5v required by the ADC? Would pull up resistors work? I'm not to clear on this after reading the sticky. Is this correct:

http://i18.photobucket.com/albums/b106/mspeir/33to5.jpg

Beau Schwabe
01-24-2008, 03:09 PM
MarkS (http://forums.parallax.com/member.php?u=50550),
·
There are a couple of things...
·
As long as you don't need the differential input that the LTC1286 offers ...edit: I see that the LTC1298 has a differential mode·
and as long as your VREF can be the same as VCC
·
...Then the LTC1298 should work just fine.· On the LTC1298, VREF "IS" VCC and you shouldn't adjust it.
·
·
The input threshold of the LTC1298 is 2V, so CS(Pin 1), DIN(Pin 5),·and CLK(Pin 7) should be just fine with a direct connection from the Propeller.
·
For the DOUT(Pin 6), an equal balanced·voltage divider would be fine.· The·input Threshold of the Propeller is about·1.65V so 2.5V output from the divider will be plenty.
·


1K 1K
Dout (0V to 5V) >---/\/\---o---/\/\---< GND
|
o----------> To Prop (0V to 2.5)


·Reference:
http://www.linear.com/pc/downloadDocument.do?navId=H0,C1,C1155,C1001,C1158, P1445,D2760
·

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe (mailto:bschwabe@parallax.com)

IC Layout Engineer
Parallax, Inc.

Post Edited (Beau Schwabe (Parallax)) : 1/24/2008 4:00:24 PM GMT

MarkS
01-25-2008, 02:09 AM
So, what can I do to set the span, or will it even be necessary?

Bean
01-25-2008, 02:21 AM
Mark,
I find the digital temperature sensors are ALOT easier to use.
Something like the MAX6626 has an I2C interface and a resolution of 1/16 of a degree.

Bean.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.iElectronicDesigns.com (http://www.iElectronicDesigns.com)

·

MarkS
01-25-2008, 02:35 AM
Maybe, but I need to learn, and that precludes me from doing it the easy way. http://forums.parallax.com/images/smilies/wink.gif I have never used an ADC before, so I really must get started learning.

Post Edited (MarkS) : 1/24/2008 6:40:06 PM GMT

Beau Schwabe
01-25-2008, 02:47 AM
MarkS,

With the LTC1298, you don't set the span.· The VCC (Which is also the VREF) of the LTC1298 can only tolerate 4.5V to 5.5V and still maintain accuracy.

The only way to adjust the span would be to scale the result in software.· Since you have 12-bits (1.2mV resolution) compared to 8-bits (19.5mV resolution), software scaling may not be an issue in this case.









▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe (mailto:bschwabe@parallax.com)

IC Layout Engineer
Parallax, Inc.

MarkS
01-25-2008, 02:50 AM
Awesome! Thanks!

OzStamp
01-25-2008, 06:10 AM
Have a look here.



http://www.sensorguys.com/STSWDO.html
The TO92 is there and also encased in a Stainless tube..(maybe overkill for your app)

The Smartec sensors are very hard to beat..
Way more accurate and cheaper··· just measure the duty cycle of the sensor
apply some mathematics and your up and running..


Cheers· Ron Mel OZ
·