Different ADC readings with different ESP32 chips
Posted: Mon Apr 08, 2019 2:36 pm
We are having ESP32 in 3 different boards. We are measuring 1.16 volt with all three hardware.
ESP IDF version : V3.1beta1
ADC details : ADC1/channel6, ADC_ATTEN_DB_11 (VREF 3.3V)
We are getting different ADC count with same firmware for 1.16V.
ADC count we are getting : 1332, 1325, 1215.
Code snippet we are using:
Any suggestion for this issue?
ESP IDF version : V3.1beta1
ADC details : ADC1/channel6, ADC_ATTEN_DB_11 (VREF 3.3V)
We are getting different ADC count with same firmware for 1.16V.
ADC count we are getting : 1332, 1325, 1215.
Code snippet we are using:
Code: Select all
adc1_config_width(ADC_WIDTH_BIT_12));
adc1_config_channel_atten(ADC1_CHANNEL_6, ADC_ATTEN_DB_11));
adc1_get_raw((adc1_channel_t)ADC1_CHANNEL_6);