How to disable WiFi driver to allow access ADC2?
Posted: Tue Feb 16, 2021 9:31 pm
I have an ESP32-CAM (ESP32-S) and I'm trying to use the Analog Digital Converter (ADC) to report the battery voltage, but there are no ADC pins available by default.
The documentation states:
I would also be fine with disabling the camera temporarily to get access to an ADC1 pin and then reenabling the camera.
Thanks
The documentation states:
I'm not interested in using Wi-Fi, so how can I avoid starting (or stop) the Wi-Fi driver to get access to the ADC2 pins?ADC2 is used by the Wi-Fi driver. Therefore the application can only use ADC2 when the Wi-Fi driver has not started.
I would also be fine with disabling the camera temporarily to get access to an ADC1 pin and then reenabling the camera.
Thanks