GPIO0 as ADC

kamesh
Posts: 35
Joined: Sat Aug 06, 2016 5:14 am

GPIO0 as ADC

Postby kamesh » Mon Jul 03, 2017 5:10 am

Hi,
As GPIO0 is a boot strapping pin can it be used as ADC?

ESP_Sprite
Posts: 9707
Joined: Thu Nov 26, 2015 4:08 am

Re: GPIO0 as ADC

Postby ESP_Sprite » Mon Jul 03, 2017 6:13 am

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.

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

Re: GPIO0 as ADC

Postby ESP_igrr » Mon Jul 03, 2017 12:33 pm

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).

Who is online

Users browsing this forum: Google [Bot], yimeng and 59 guests