Skip to main content
angy1551
Associate
May 15, 2015
Question

How to Temeprature Sensor reading from STm32F discovery Kit

  • May 15, 2015
  • 4 replies
  • 1202 views
Posted on May 15, 2015 at 12:24

I am using discovery kit STm32F100R8 .I am looking for source code  for using temperature sensor using ADC .I am not able to find it on the  net.I dont want to use I2C code example given in library

    This topic has been closed for replies.

    4 replies

    raptorhal2
    Lead
    May 15, 2015
    Posted on May 15, 2015 at 16:35

    Which temperature sensor? There is one in the processor chip on a dedicated ADC channel, and coding examples in the peripheral library.

    Cheers, Hal

    angy1551
    angy1551Author
    Associate
    May 16, 2015
    Posted on May 16, 2015 at 08:47

    angy1551
    angy1551Author
    Associate
    May 16, 2015
    Posted on May 16, 2015 at 08:48

    The one with processor chip on dedicated ADC

    raptorhal2
    Lead
    May 16, 2015
    Posted on May 16, 2015 at 17:20

    In the STM32F10x standard peripheral library there is an example RegSimul_DualMode that include conversion of the temperature channel you can adapt for your needs.

    Cheers, Hal