I am using ESP32-WROOM-32. In AP mode the wifi signal goes off very often or after a certain time. My web page is also very sluggish, because of wifi signal. I used mDNS, which worked good for a few days, later with a domain name I am not able to use it. What could be the issue? Is it sleep mode causing issue or any input output pin is causing inteference? I use PZEM IC for power sensing, is it causing interference?
Hi.
It’s very hard to tell what the issue is.
What does your web page do? If it’s something heavy like video streaming, the wi-fi strength is critical and it’s better to use an antenna to amplify the signal.
Regards,
Sara
Thanks. My web application contains a few apis to a a few tabs to control switch, show status, date control, wifi access control etc., Biggest file has around 15KB of script all other html and image files are <1KB.
Hi.
It might just be the case that the Wi-Fi of that particular board is bad or the antenna is bad.
There are some ESP32 models that allow you to attach an external antenna for better change.
You can also try adding Wi-Fi events to your code to detect when Wi-Fi disconnected and connect right after: https://randomnerdtutorials.com/esp32-useful-wi-fi-functions-arduino/
Regards,
Sara