Hello everyone,
I’m currently developing an ESP32-S3 based monitoring and control system that collects sensor data, displays local status information, and periodically transmits measurements to a remote server using MQTT.
The system performs well during normal testing, but during long-duration operation I’m occasionally seeing rare freezes that are difficult to reproduce consistently. Sometimes the device runs continuously for several days, while at other times it may stop responding after several hours of heavy network activity.
Current setup:
-
ESP32-S3
-
WiFi connectivity
-
MQTT communication
-
Multiple I2C sensors
-
OLED display
-
FreeRTOS tasks
-
External 12V power supply with local regulation
Observed behavior:
-
Device becomes unresponsive
-
MQTT communication stops
-
Web interface no longer responds
-
No obvious reset or watchdog event
I’ve reviewed memory usage, task priorities, and network handling, but I’m still trying to determine whether the issue is software-related, EMI-related, or caused by some hardware design limitation.
Questions:
-
Have you encountered similar long-term stability issues with ESP32-S3 devices?
-
What debugging techniques have been most useful for identifying rare freezes?
-
Are there common FreeRTOS or WiFi pitfalls that only appear after extended runtime?
-
Have you found hardware issues to be responsible for problems that initially appeared to be software-related?
PCB Design Question:
The next revision will move away from development boards and onto a dedicated PCB integrating the ESP32-S3, power management circuitry, and sensor interfaces. The board will likely be manufactured through PCBWay.
For those who have taken ESP32 designs into production:
-
What PCB layout practices have had the biggest impact on system stability?
-
How important is RF layout compared to power supply design?
-
Have you found additional ESD or surge protection worthwhile?
-
Which fabrication or testing options have provided the most value in terms of reliability?
I’d appreciate hearing from anyone who has deployed ESP32 systems in real-world environments and encountered similar long-term stability challenges.