Menu

Steinhart-Hart equation

jackjames
2017-08-11
2017-08-11
  • jackjames

    jackjames - 2017-08-11

    Have any of you ever played with an NTC and the Steinhart-Hart equation?

     
  • Chris Roper

    Chris Roper - 2017-08-11

    I have not implemented it in GCBASIC but here is a very good APPNOTE for you to use as a starting point.
    AN685 - Thermistors in Single Supply Temperature Sensing Circuits
    If you do implement it be sure to contribute the code for use as an example or, even better, a library.

     

    Last edit: Chris Roper 2017-08-11
  • jackjames

    jackjames - 2017-08-11

    Thanks

     
  • David Stephenson

    Yes I've used it. I find it is easier to construct a lookup table giving the expected output value for every degree (or so). If smaller divisions are needed a linear interpolation is good enough.
    Direct calculation using 8-bit integers is going to be a bit of a challenge (and slow).

     

Log in to post a comment.