Question
Calculate Temperature Sensor STM32L Discovery
Posted on May 11, 2013 at 19:44
hi , I have a question , when I calculate the temperature with this code using the formulate in the data sheet:
val_adc=ADC_GetConversionValue(ADC1); vsense=(val_adc*Vref)/0xfff;val_adc=(vsense/Avg_Slope)-273.15;in the data sheet the values are:Vref=3V Avg slope=1.61mVi calculated 33�C , but its strange, i dont know if that result its correct o is wrong... #sensor #stm32l #discovery