LM35 temp sensor + op amp problem

Discussion in 'The Projects Forum' started by Peytonator, Dec 5, 2011.

  1. Peytonator

    Thread Starter Active Member

    Jun 30, 2008
    105
    3
    Hi,

    I've attached a pic showing a basic LM35 temperature sensor + 741 op amp. The op amp is set up as a buffer for now but I will change it to an amplifier once I get the buffer to work.

    I put 9V on the input (blue-green wires).. yes, the polarity is correct. I get about 250mV at room temperature on the output of the sensor (middle pin). Yet, on the output of the op amp (pin 6) I get a unchanging 1.92V.

    Why is this?

    I have tried:
    • changing the op amp
    • changing the sensor
    • changing the breadboard
    and I get the same result. Yet, if I put a voltage divider on the input I get the correct identical voltage on the output of the op amp.

    Datasheets:
    741
    LM35

    Thanks :)
     
  2. MrChips

    Moderator

    Oct 2, 2009
    12,440
    3,361
    The 741 opamp requires a dual power supply.
     
    Peytonator likes this.
  3. Peytonator

    Thread Starter Active Member

    Jun 30, 2008
    105
    3
    Mhhmmmm I'm pretty sure I've used one before with single supply...but anyway, I'll give it a bash.
     
  4. T.Jackson

    New Member

    Nov 22, 2011
    328
    14
    Yes, the 741 requires a dual supply. You can make a simple dual supply using two resistors.
     
  5. Peytonator

    Thread Starter Active Member

    Jun 30, 2008
    105
    3
    You're right thanks for the help :D:p I was thinking about the quad op amp.
     
  6. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    the 741 is not good for that application.

    Use an opamp that is rated for single supply. If you have nothing else available, an LM324 could be used; wire the unused channels as voltage followers (- input to output, + input to gnd).

    TL07x, TL08x, LF35x opamps will NOT work for this with just a single supply.
     
  7. Peytonator

    Thread Starter Active Member

    Jun 30, 2008
    105
    3
    For the sake of future projects, what other amplifier could be used? I know one could possibly use a single MOSFET, but is there something easier? LM324 just seems a waste, since there are 3 unused op amps...
     
  8. tracecom

    AAC Fanatic!

    Apr 16, 2010
    3,869
    1,393
    Look at the LM358.
     
  9. wayneh

    Expert

    Sep 9, 2010
    12,103
    3,038
    +1
    These are everywhere, easy to find and cheap. They're slow, so don't expect to use them for hi-end audio or such, but it's fine for temperature. With the LM35, you'll be able to measure down to almost 0°C, zero volts out, with a single supply. Of course you can go colder with a split supply.
     
  10. bountyhunter

    Well-Known Member

    Sep 7, 2009
    2,498
    507
    Good op amp but input offset error voltage is something like 8 mV which is an error term against the output of the LM35.
     
  11. wayneh

    Expert

    Sep 9, 2010
    12,103
    3,038
    Since the OP is playing with an op-amp, I assume he'll figure out an offset and scale configuration - an instrument amp. If he just wants accurate temperature, he could read the LM35 directly with a DMM.
     
  12. Peytonator

    Thread Starter Active Member

    Jun 30, 2008
    105
    3
    Thanks for the advice everyone :) For now it's not so important to get 100% accuracy... just working on a proof of concept design. Even if there is a significant offset, it'll probably be simple enough to eliminate it in software (assuming it remains constant)...
     
Loading...