Help Using the LM35

Discussion in 'General Electronics Chat' started by aut0pilot101, Apr 15, 2009.

  1. aut0pilot101

    Thread Starter New Member

    Feb 23, 2009
    8
    0
    I want to read voltages from this temperature sensor. However, I need to hook up a resistor to the device's output to read temperatures below 0 (see bottom of page 1 at the link provided). The other end of this resistor needs to connect to -Vs, where Vs is my supply voltage (5 or 12 V). What's the easiest way to generate this negative voltage?

    Your help is greatly appreciated!
     
  2. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    Look on page 7, Figure 7. It shows a simple way to use the LM35 with a single supply.
    [eta]
    You can also use a 1N4148 switching diode; they are considered basically equivalent to the 1N914.
    If you don't have any, if you're in the USA, your local Radio Shack carries them in 10-packs for a couple of bucks. Expensive, but convenient.
     
    Last edited: Apr 15, 2009
  3. aut0pilot101

    Thread Starter New Member

    Feb 23, 2009
    8
    0
    Thanks! I totally missed that diagram. So do you think that will work with both Vs=+5 and Vs=+12 (with the 18k resistor)?
     
  4. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    Depends upon the range of temps you want to measure.

    Did you read about what the mV per degree ratio was? If not, go find it and post back.

    It helps a lot to read through the datasheets a few times; it's often that you'll miss things on the first scan-through - or perhaps just not understand what it's trying to say. Then that lightbulb will come on... ;)
     
  5. aut0pilot101

    Thread Starter New Member

    Feb 23, 2009
    8
    0
    It says 10.0 mV / degree Celsius. I will be measuring -25 to 50 degrees, approximately. How does this effect the value of the resistor? Thanks for responding so promptly, BTW! It's crunch time and you've been very helpful.
     
  6. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    OK, so multiply 10mV by -25. What's your result?
    Multiply 10mV by 50. What's your result?

    Add the absolute value of the two together. Result?

    What do you think the Vs range minimum is after those calculations?

    The resistor won't change if you use 1N914/1N4148 diodes. It's already calculated for you; 18k +/- 10%. You could use two 9.1k resistors in series if you wanted to.
    You just lucked out to get a reply so quickly; this isn't really an interactive board. It can be hours or days before one gets a reply, depending on the question and who's around.
     
Loading...