I'm experincing a weird situation, which makes me ask this question.
I have a LOLIN32 Lite board (for now, later I'll switch all to a LOLIN32, low power board). On it are connected: 1 DHT22, 1 MPU6050, 2 e-paper displays. This requires quite a lot of pins, but I managed to make it work.
But now I want to connect to my WiFi. And then, the sketch freezes at the Wifi.begin instruction. It seems that some ESP32 pins are "sensitive" when using WiFi:
But I use some of these pins: 13, 14, 15 & 27 for my displays. What should I do with these pins? Can I use some of them or none? Should I avoid using strapping pins (0, 2, 12, 15)?The ESP32 integrates two 12-bit SAR (Successive Approximation Register) ADCs supporting a total of 18 measurement channels (analog enabled pins).
The ADC driver API supports ADC1 (8 channels, attached to GPIOs 32 - 39), and ADC2 (10 channels, attached to GPIOs 0, 2, 4, 12 - 15 and 25 - 27). However, the usage of ADC2 has some restrictions for the application:
ADC2 is used by the Wi-Fi driver. Therefore the application can only use ADC2 when the Wi-Fi driver has not started.
Some of the ADC2 pins are used as strapping pins (GPIO 0, 2, 15) thus cannot be used freely.
Thanks for your help.