Skip to main content
jlgarciamateo
Visitor II
Jul 2, 2011 6:18 PM UTC
Question

Internal temperature sensor

Posted on July 02, 2011 at 20:18

Hello.

I'm trying to use the internal temperature sensor, but I can't understand the reference manual formula:  Temp = ((V25 - Vsense) / Avg_slope) + 25).

In the product datasheet, it says V25 is 1.41 V and Avg_slope is 4.3 mv/�C. Must I use V25 and Vsense in mV or V? 

How can I do the conversion from the ADC Data register to Volts or mV?

Thank you.

#temperature
    This topic has been closed for replies.

    3 replies

    raptorhal2
    Lead
    Jul 15, 2011 12:01 AM UTC
    Posted on July 15, 2011 at 02:01

    Go to the STM32 forum for June 28 to get you answer.

    Cheers, Hal

    satyapramod
    Visitor II
    Sep 6, 2012 5:08 AM UTC
    Posted on September 06, 2012 at 07:08

    Hello Hal,

    I am unable to find the page you have specified. Can you please help me with it?

    raptorhal2
    Lead
    Sep 11, 2012 1:07 AM UTC
    Posted on September 11, 2012 at 03:07

    I can't find it either. The Forum has had some problems tracking posts, so perhaps it went to the trash bin.

    Try stm32f adc1 temperature dated July 20, 2012. If that doesn't provide what you need, post a request.

    Cheers, Hal