Thermister

Discussion in 'General Electronics Chat' started by shankar M, Apr 8, 2014.

  1. shankar M

    Thread Starter New Member

    Mar 27, 2014
    16
    0
    How read thermister temp from microcontroller? i want help to design ckt
     
  2. sirch2

    Well-Known Member

    Jan 21, 2013
    1,008
    351
    A thermistor acts a bit like a variable resistor so you need set up a suitable voltage, say through a potential divider, and then use analog to digital conversion to convert the voltage across the thermistor to a value the MCU can read.

    It is always good to give as much detail as you can in your questions, you will then get more helpful answers.
     
  3. ericgibbs

    AAC Fanatic!

    Jan 29, 2010
    2,503
    380
    hi,
    This link may help to get you started, its a tool I designed some time ago.
    http://www.electro-tech-online.com/tools/ThermPlotV2.php

    Enter your know thermistor values and temperature ranges
    E
     
  4. Dodgydave

    Distinguished Member

    Jun 22, 2012
    4,979
    744
    Thermistors are not linear, so they are not as accurate as an LM35 sensor,also they come in different values depending on the temperature range,which micro are you using?
     
    Last edited: Apr 8, 2014
  5. joeyd999

    AAC Fanatic!

    Jun 6, 2011
    2,674
    2,724
    The problem with making such broad generalizations is that eventually someone is going to come along and prove you wrong.

    A quick search of digikey identifies about 40 thermistors that are more accurate than the best lm35.
     
  6. AnalogKid

    Distinguished Member

    Aug 1, 2013
    4,529
    1,248
    Not only are thermistors non-linear, they're non-simple-exponential-ly non-linear. That thermistor equation is such a bear that I always wind up going with a lookup table.

    An LM35 certainly is linear and well behaved, but to get real accuracy you need two calibrated temperature wells and a lot of time.

    OTOH - With a DC95F thermistor I can get 0.1degC absolute interchangeability with *no* calibration for around $3. Luv the little puppies.

    ak
     
  7. shankar M

    Thread Starter New Member

    Mar 27, 2014
    16
    0
    my input voltage is 3.3v for MC9S08JM32CLH (64-PIN LQFP) micro controller using...im trying interface with thermal printer mechanism ...... 9v input for thermal printer mechanism.. how to read temperature from thermal printer mechanism FTP-637MCL401
     
  8. MrChips

    Moderator

    Oct 2, 2009
    12,435
    3,360
    LM35 is designed to give a voltage output that increases linearly with temperature, 10mV/°C.

    A thermistor resistance is highly nonlinear with temperature but can be used to measure temperatures that exceed the accuracy obtained with LM35.

    The first circuit which someone might consider is a voltage divider which outputs a voltage to be digitized with an ADC.

    However, there are other solutions.

    A thermistor can be used in an RC circuit and the time-constant can be measured very accurately. Another circuit might use the RC combination in a frequency measurement method. The advantage of these methods is that measuring time or frequency is easily accomplished on an MCU and no ADC is required.

    The simplest design uses a thermistor and capacitor connected to two pins of the MCU.

    An important consideration is the self-heating effect in the thermistor. By using pulse frequency or period the current through the thermistor can be reduced to zero in between measurements thus reducing the self-heating effect.

    Edit:
    The simplest design uses a thermistor and capacitor connected to one pin of the MCU.
     
    Last edited: Apr 8, 2014
  9. joeyd999

    AAC Fanatic!

    Jun 6, 2011
    2,674
    2,724
    The US Sensor PS502J2 gives the same performance at about 1/2 the price.
     
  10. joeyd999

    AAC Fanatic!

    Jun 6, 2011
    2,674
    2,724
  11. shteii01

    AAC Fanatic!

    Feb 19, 2010
    3,387
    497
    What is the output of the temperature sensor?

    What is the range of the output?
     
  12. THE_RB

    AAC Fanatic!

    Feb 11, 2008
    5,435
    1,305
    The majority of common uses are just to switch on/off at a setpoint.

    Assuming that is the case he just needs a thermistor, resistor (to make a voltage divider) and the regulated 3.3v Vdd. Then the micro's ADC just needs to compare to one number for the setpoint.
     
  13. MrChips

    Moderator

    Oct 2, 2009
    12,435
    3,360
    If you are looking for a single set point then a voltage divider and a digital input or analog comparator will work.
     
  14. THE_RB

    AAC Fanatic!

    Feb 11, 2008
    5,435
    1,305
    The analogue comparator should work, but there is no software control over the setpoint. It has to be done by resistors and voltages.

    Using the ADC and a setpoint number means the micro can just change the number to chnage the regulated temperature.

    And the digital input won't work because they have an extremely large hysteresis, from 40-60% of Vdd (depending if a TTL or ST input).
     
Loading...