Re: LM34 to A/D





John Larkin wrote:
On Thu, 30 Aug 2007 12:36:15 -0700, CptDondo <yan@xxxxxxxxxxxxxxxx>
wrote:


John Larkin wrote:

On Thu, 30 Aug 2007 11:45:25 -0700, CptDondo <yan@xxxxxxxxxxxxxxxx>
wrote:


OK, I've got a basic problem. I've got an LM34D (32 - 212 deg F) temp sensor <http://www.national.com/ds/LM/LM34.pdf> and I need to connect it to a 0-10V A/D.

To make things more interesting, I am only looking for a relatively narrow range - say from 50 deg. F to 120 deg. F.

I've got 12 bits of A/D, which, in theory, gives me lots of resolution, but the LN34 is only good to about a degree. It outputs 10 mV/degree.

The way I read the LM34 spec, the range I am interested in is about 500mV to 1.2V, so I figure I need to amplify that by, say, 8 to get good use of my A/D accuracy.

I'm mostly a software guy, although once in a while I can solder something without serious injury.

I've been told I need an op-amp to make the above work, but I have no idea how to get an op-amp to work in the above scenario.

Could someone please clue me in? Thanks,

--Yan

Why not use an LM71, digital serial SPI temp sensor? By the time you
buy an LM34, and an opamp, and a couple of precision resistors, the
LM71 starts to look like a bargain, and a number of analog gotchas
disappear.

I have only 1 SPI bus, non-selectable. (I'm out of GPIO; I'm already muxing and doing double duty....) I need at least 2 sensors, preferrably 3. I have 5 A/D channels.... So it's more of a do with what I have rather than do the best thing...



OK, do this:

http://s2.supload.com/free/LM34_amp.JPG/view/


Gain is 1 + (15K/2K) = 8.5, and the resistors need to be 1% or better
to keep up the accuracy.

Don't run the LM34 from more than +5... they misbehave if you do.

Any decent "single supply" or "rail/rail input" opamp should work.

The output RC keeps ADC mux spikes from freaking out the opamp, and
reduces adc noise as well.

It's prudent to oversample and average to reduce residual noise.

John



It's going to be a trick getting 10V out of that circuit, and you have no offset, wasting 40% of the range.

.



Relevant Pages

  • Re: LM34 to A/D
    ... I've got 12 bits of A/D, which, in theory, gives me lots of resolution, ... The way I read the LM34 spec, the range I am interested in is about ... digital serial SPI temp sensor? ... reduces adc noise as well. ...
    (sci.electronics.design)
  • Re: Megapixels and noise
    ... is photon noise, and we need higher QE and deeper full wells ... 16-bit A/D simply is not going to provide any improvement. ... your figures for the sensor are correct, ... the sensor could have a dynamic range ...
    (rec.photo.digital.slr-systems)
  • Re: Questions about optimizing Sensor outputs to dsp/microcontroller A/D inputs
    ... > sensor with a high voltage output and a A/D with a high voltage input ... > so that the LSB is well above the noise floor. ...
    (comp.arch.embedded)
  • Re: Questions about optimizing Sensor outputs to dsp/microcontroller A/D inputs
    ... > sensor with a high voltage output and a A/D with a high voltage input ... > so that the LSB is well above the noise floor. ...
    (sci.electronics.design)
  • Ratiometric and Non-ratiometric sensors interface with A/D
    ... and non-ratiometric sensors to a single a/d (an A/D with, ... Disable the internal reference, ... power to the external a/d reference pins (so the ratiometric sensor ... For the non-ratiometric sensor ...
    (sci.electronics.design)