NTC 10k 3950 porting example with ESP32 IDF

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

NTC 10k 3950 porting example with ESP32 IDF

Postby Ritesh » Sat Aug 29, 2020 6:57 pm

Hello,

Anyone has reference example for NTC 10K 3950 over ESP32 IDF to measure temperature? It is based on ADC Interface.

Please let me know ASAP if anyone has idea with formula to convert voltage reading to temperature with example as well.
Regards,
Ritesh Prajapati

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: NTC 10k 3950 porting example with ESP32 IDF

Postby Ritesh » Thu Sep 03, 2020 3:43 am

Hello Espressif Team,

Is there any update regarding query which I have asked into last post?
Regards,
Ritesh Prajapati

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: NTC 10k 3950 porting example with ESP32 IDF

Postby Ritesh » Fri Sep 04, 2020 5:53 pm

Hello,

We have checked with example over ADC but not getting proper value as per expected temperature value.

So, please let me know if anyone has ported successfully of NTC sensor over ADC Interface.
Regards,
Ritesh Prajapati

vonnieda
Posts: 145
Joined: Tue Nov 07, 2017 3:42 pm

Re: NTC 10k 3950 porting example with ESP32 IDF

Postby vonnieda » Fri Sep 04, 2020 7:04 pm

The ESP32's ADC is not very accurate. It needs to be calibrated and averaged to get good readings. See https://docs.espressif.com/projects/esp ... s/adc.html for more information.

Depending on the version and age of the ESP you are using, it might have built in vref or two point calibration. These will help improve the absolute accuracy, but you will still probably need to calibrate to your analog front end and temperature sensor.

Thanks,
Jason

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: NTC 10k 3950 porting example with ESP32 IDF

Postby Ritesh » Sat Sep 05, 2020 1:50 am

vonnieda wrote:
Fri Sep 04, 2020 7:04 pm
The ESP32's ADC is not very accurate. It needs to be calibrated and averaged to get good readings. See https://docs.espressif.com/projects/esp ... s/adc.html for more information.

Depending on the version and age of the ESP you are using, it might have built in vref or two point calibration. These will help improve the absolute accuracy, but you will still probably need to calibrate to your analog front end and temperature sensor.

Thanks,
Jason

Hello Jason,

Thanks for your quick response.

We are using ESP32 IDF 3.2 Release and ESP-WROOM-32 modules.

Also we are using ADC channel 1 , 12 but and 11 db attenuation for ADC configuration.

Also we have measured at 0 voltage at that time we are getting 142 default ADC reading and with 3.3 voltage we are getting 4995. So, I think for 0 voltage ADC reading should be 0 but why it is giving 142?
Regards,
Ritesh Prajapati

Who is online

Users browsing this forum: No registered users and 294 guests