Hey, did anyone notice that some of the newer PIC16F1xxx and PIC12F1xxx chips (like the PIC12F1822 ) have a temp sensor on their die!? Just noticed it today. Kind of cool I think. Not very precise, but maybe with a little oversampling it could get interesting.
The on-board temperature indicator can be used tocalculated using the fixed voltage reference.
measure the device temperature, which will
correspond to the temperature in its environment with
some delay. The indicator is measured using the ADC
and can be used uncalibrated for coarse temperature
measurements. For more precise temperature
measurements, calibration is required to account for
device parameter variation. Depending on the
application, calibration measurements at one or two
temperatures may be required. Since the ADC results
are dependent on its provided references, the fixed
references need to be supplied either by using the
onboard fixed references, or by using a regulated
supply. Otherwise, the device supply voltage must be
![]()
Bookmarks