Menu

Temperature sensor on 16F15323

Help
Frank
2017-12-11
2017-12-12
  • Frank

    Frank - 2017-12-11

    Hi,
    I have seen that the 16F15323 has an internal temperature sensor.
    Does anyone know how to read it?
    Thank you very much!

    Frank

     
    • Chris Roper

      Chris Roper - 2017-12-11

      It is not very accurate and would require calibration to compensate for packaging and construction variance if you needed to sense the external temperature (it is designed to read the die temperature to avoid overload).

      That said this app note may be of interest:
      TB3165 - Temperature Sensor Module on 8-Bit Microcontrollers

      It talks about the PIC18F devices but the same module is used in the Current PIC16F devices such as yours.

      There is also an app note on calibrating it for external use:
      AN1333 - Use and Calibration of the Internal Temperature Indicator

      Cheers
      Chris

       

      Last edit: Chris Roper 2017-12-11
  • Frank

    Frank - 2017-12-11

    Thanks a lot! I will try it...

    Frank

     
  • William Roth

    William Roth - 2017-12-11

    See section 6 and section 19 of the PIC 16F15323 datasheet.

    This chip has factory calibration data for the temperature module stored in the DIA (Device Information Area) This calibraton data may be accesible via GCB "GetUserID" function (but Untested)

    You can view the device information area (DIA) with MPLAB IPE (Ver4.01 and above) You must have memory viewing enabled and DIA checked in the Memory settings. If I recall correctly this may need to be done in Advanced Settings.

    William

     

    Last edit: William Roth 2017-12-11

Log in to post a comment.