Temperature Indicator Operation

The Temperature Indicator circuit, inside many PIC® Microcontroller Unit (MCU) Devices, outputs a proportional voltage relative to the silicon temperature. The proportional voltage output is achieved by measuring the forward voltage drop across multiple silicon junctions inside the device. A voltage across two (low range) or four (high range) silicon junctions can be selected.

The temperature sense circuit is integrated with the Fixed Voltage Reference (FVR) module. The circuit is enabled by setting the Temperature Sensor Enable bit (TSEN) of the Fixed Voltage Reference Control (FVRCON) register. When disabled, the circuit draws no current.


The ideal voltage of a single junction temperature can be calculated per the equation below.

\begin{equation} Vt = 0.659 – (Temperature Degrees C + 40) * (0.00132) \end{equation}

The equations below describe the output characteristics of the temperature indicator where Vt is the voltage across a single silicon junction.

High Range:

\begin{equation} Vtemp = VDD - 4Vt \end{equation}

Low Range:

\begin{equation} Vtemp = VDD - 2Vt \end{equation}

The high range, selected by setting the TSRNG bit of the FVRCON register, provides a wider output voltage. This provides more resolution over the temperature range, but may be less consistent from part to part. This range requires a higher bias voltage to operate and thus a higher VDD is needed.

The low range is selected by clearing the TSRNG bit of the FVRCON register. The low range generates a lower voltage drop and thus a lower bias voltage is needed to operate the circuit. The low range is provided for low voltage operation.

Minimum Operating VDD vs. Minimum Sensing Temperature

When the temperature circuit is operated in low range, the device may be operated at any operating voltage that is within specifications. When the temperature circuit is operated in high range, the device operating voltage, VDD, must be high enough to ensure that the temperature circuit is correctly biased.

The table below shows the recommended minimum VDD vs. Range setting for a PIC16F1825 device. The device data sheet should be reference for the exact range.


The final temperature value is presented as an ADC value per the equation below.

\begin{equation} ADCResult = (Vtemp/VDD) * (2^n-1) \end{equation}

where n is the resolution of the ADC; 8 or 10 bits.

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.