ESP32 Wi-Fi Connectivity Tips and Tricks

Hey everyone, I wanted to share my recent experience with my ESP32 setup and hopefully get some tips from the community! :rocket:

I’ve been using my ESP32 (esp32dev board) for a while now, but I’ve noticed it occasionally disconnects from my Wi-Fi router, even after I set a fixed IP and disabled power save mode. While these changes did improve stability, it’s still rebooting itself a few times a day for no obvious reason. The Wi-Fi signal strength is around -49dBm, which seems decent, so I’m a bit puzzled.

Here’s what I’ve tried so far:

  • Set a fixed IP address
  • Disabled power save mode
  • Checked Wi-Fi signal strength
  • Reviewed the code for potential issues

I’m wondering if there’s any code I can add to prevent these disconnections or if there’s something else I might be missing. Has anyone else experienced similar issues with their ESP32 setups? Any insights or suggestions would be greatly appreciated! :+1:

Thanks in advance for your help! Let’s troubleshoot this together! :hugs: