ESP32 Thing DEV13907 WiFi connection issue when GPIO 5 and GPIO 15 are HIGH

Hello!!

I have a question regarding GPIO pins on the ESP32 thing board and Wifi connection. I have connected a bidirectional logic level converter to pins 5 and 15.

If I am not using those pins the logic level is HIGH (I have checked voltages) and the board boots as normal, but it does not connect to WiFi.

If I remove the bidirectional logic converter the board does connect to WiFi.

If I pull down both pins (5 and 15) the board connects to WiFi.

I’ve made a PCB so i can’t change any connection easily :expressionless:

I have read this article by Random Nerd Tutorials https://randomnerdtutorials.com/esp32-p … nce-gpios/ and it says pins 5 and 15 output a PWM signal at boot, but it does not mention anything about WiFI.

So my questions are the following:

-Is there any guide on wich pins to use on the ESP32 Thing board?

-Is this behaviour when using GPIO 05 and GPIO 15 is a known issue?

Thanks for taking the time to read this!

It looks like this is a common issue:

“Investigating a problem with a script not outputting high on pin 15, I found that the problem (feature?) was caused by the WiFi library (Arduino IDE) pulling the pin low, possibly associated with wifi event handling. This can be demonstrated using the example script WiFiClientEvents and adding a digital write high to pin 15 in the loop.”

People say that installing the newest version of esp32 packages fixes the issue: https://github.com/espressif/arduino-esp32/issues/1568

Try it out, hope it helps.

Thanks John I’ll check it out

It seems my problem is something weird with a PCB, I tried Blynk, AdafruitIO, WiFi library example and in all 3 cases the wifi did not work if the board was connected to the PCB. When the ESP32 Thing was only connected to the usb cable it always connected, regardless of pin 15 state. I even made the same connections on a protoboard and it worked. So I think my PCB is faulty somehow

That seems like a good possibility.

I wish you luck in your investigation.