This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Converting NTC thermistor SAADC value into Temperature

Hello ,

I have interfaced one NTC sensor with above attached image and below information :

SAADC pin : AIN2 ( NTC - pin )

VCC_nRF voltage = 3.3V

R14 = 51KOhm , 0.5%

example code : 

init code >>

uint32_t err_code ;
nrf_saadc_channel_config_t channel_config =
NRF_DRV_SAADC_DEFAULT_CHANNEL_CONFIG_SE(NRF_SAADC_INPUT_AIN2);
err_code = nrf_drv_saadc_init(NULL, saadc_callback);
APP_ERROR_CHECK(err_code);

err_code = nrf_drv_saadc_channel_init(0x01, &channel_config);
APP_ERROR_CHECK(err_code);

ADC read code >>>

  nrf_drv_saadc_sample_convert(0x01, &sample_read);  // where sample_read is my adc data from sensor 

I am getting adc values in the range of 378-380 ( normal environment temp ) and value decreases as soon as I touch the thermistor .

How do I convert the adc value into deg Celsius ?

  

FYI :  R15,R16,C27 are not loaded .

Parents Reply Children
Related