ESP32 starts connecting and disconnecting when I try to connect to WIFI

Im trying to do a project with ThingSpeak and as soon as the microcontroller executes the instruction WiFi.begin(ssid, pass); ( on the setup function) it starts connecting and disconnecting from the pc all the time.

I don't know what to do. I am using the same way of connecting to the wifi as in other projects.

Could be a bad board. Have you tried this exact code on other boards with the exact same, if any, attachments and cable(s)?

i dont have any other board but I tried the program on another computer and it still does not work. When I run wifi.begin it goes crazy

Common symtom of an inadequate power supply.

The other programs without wifi connection work without problem and I had run this same sketch before without problem. Does it make sense that it is a power supply problem ? If so, should I replace the board?

I have an ESP32S which works fine except WiFI connectivity. I collected a new board and its WiFi works well.

It is better to keep two boards of the same type.

Yes. Power supplies can go bad over time.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.