interfacing with a temperature sensor

Discussion in 'The Projects Forum' started by mahmoudathab, Jun 4, 2013.

  1. mahmoudathab

    Thread Starter New Member

    May 20, 2011
    24
    0
    I have absolutely no experience with temperature sensors. I am interfacing with a STLM20 temperature sensor, the datasheet can be found here:
    http://www.st.com/web/catalog/sense_power/FM89/SC294/PF129199

    anyway the connection is quite simple, I have a question regarding the transfer function.....what is it and how can I use it to measure temperature?
     
  2. wayneh

    Expert

    Sep 9, 2010
    12,145
    3,056
    The datasheet is pretty clear. What part do you not understand?

    [​IMG]

    [​IMG]
     
  3. mahmoudathab

    Thread Starter New Member

    May 20, 2011
    24
    0
    how to use the transfer function provided to measure temperature?
     
  4. wayneh

    Expert

    Sep 9, 2010
    12,145
    3,056
    y = mx + b
     
  5. tracecom

    AAC Fanatic!

    Apr 16, 2010
    3,871
    1,393
    Look at Table 2 in the datasheet. Pick the temperature range that best fits your application. Use the corresponding conversion formula.


    Or better yet, use an LM35 or LM34...much simpler.
     
    Last edited: Jun 4, 2013
  6. THE_RB

    AAC Fanatic!

    Feb 11, 2008
    5,435
    1,305
    Yep, LM35. Each 10mV = 1 degree C.

    It doesn't get much better than that.
     
  7. wayneh

    Expert

    Sep 9, 2010
    12,145
    3,056
    I agree, 10mV per °C is so much easier that 11.77mV per °C. You can just measure voltage with a cheap DMM and you're done.

    I do see one advantage to the OP's chip - it can use a single supply over a much wider temp range.
     
Loading...