Asked about ESP32 DevKit
Which pins can I use for analogRead while Wi-Fi is on?
Answer
Use ADC1 pins (GPIO 32 to 39). ADC2 pins (GPIO 0, 2, 4, 12 to 15, 25 to 27) do not work while Wi-Fi is active. GPIO 34 to 39 are input only and have no internal pull-ups.
Parts for this solution
AI-assisted answer, reviewed by a human. Not tested on every hardware revision.