Page 1 of 1

ADC1 GPIO 32/32 and ADC2 GPIO 13/15 difference?

Posted: Sat Oct 10, 2020 7:50 am
by jsyzthz
we desigin a dev board using ESP32 WROOM-32D, we found the same input sensor(AD) 32& 33 value are same, 13&15 are same . 32/33 and 13/15 are difference.
same arduino code:

Code: Select all

...
void setup(){
  ...
  u8g2.drawUTF8(1, 1, String(analogRead(13)).c_str());
  u8g2.drawUTF8(1, 15, String(analogRead(15)).c_str());
  u8g2.drawUTF8(1, 30, String(analogRead(32)).c_str());
  u8g2.drawUTF8(1, 45, String(analogRead(33)).c_str());
  ...
}

void loop(){
//todo
}
the wifi not enable. just turn on bluetooth.
who know what the difference between ADC1 AND ANDC2 when read the AD value ? thx!

Re: ADC1 GPIO 32/32 and ADC2 GPIO 13/15 difference?

Posted: Sat Oct 10, 2020 6:39 pm
by lbernstone
ADC2 is not available while the radio is in use.
When not in use, the two ADC channels give reasonably similar response, but should be calibrated separately if you want really accurate results. https://docs.espressif.com/projects/esp ... alibration