Some ADCs stop working after I put Blynk in my code. Without Blynk, they work fine.
Specifically GPIO 02 and GPIO 04.
At one point, there was a conflict between wi-fi and ADC with the ESP32. Are you using wi-fi? If so, can you try wi-fi without Blynk.
1 Like
ADC1 pins: 36, 37, 38, 39, 32, 33, 34, 35
ADC2 pins: 4, 0, 2, 15, 13, 12, 14, 27, 25, 26
ADC2 pins cannot be used as ADC when using Wifi on ESP32
1 Like
Thank you so very much. This saves me a ton of testing.
Don’t forget the source material for these devices…
https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/adc.html