Page 1 of 1

GPIO0 as ADC

Posted: Mon Jul 03, 2017 5:10 am
by kamesh
Hi,
As GPIO0 is a boot strapping pin can it be used as ADC?

Re: GPIO0 as ADC

Posted: Mon Jul 03, 2017 6:13 am
by ESP_Sprite
The only requirement for a bootstrap pin is that it has the right signal when the ESP32 boots/resets. If you can guarantee that, there's nothing stopping you from coming up with a circuit that also uses it as an ADC pin.

Re: GPIO0 as ADC

Posted: Mon Jul 03, 2017 12:33 pm
by ESP_igrr
Also, keep in mind that GPIO2 is an ADC2 pin. ADC2 is not supported in ESP-IDF yet (although there is a PR made by Rudi which adds this support, which you can use as long as you don't use WiFi).