Virtuino Forum
Arduino auto reboot if network connection is lost / check connection ? - Printable Version

+- Virtuino Forum (https://virtuino.com/forum)
+-- Forum: Virtuino (https://virtuino.com/forum/forumdisplay.php?fid=1)
+--- Forum: Virtuino 6 (https://virtuino.com/forum/forumdisplay.php?fid=3)
+--- Thread: Arduino auto reboot if network connection is lost / check connection ? (/showthread.php?tid=1916)



Arduino auto reboot if network connection is lost / check connection ? - Beegood - 02-28-2024

Hello there,
I use virtuino UNO+esp01 for remote control of relays, valves and pressures...


One of my UNO seems to be in a bad environment with electromagnetic interferences (I tried to limit them but I fail...), so I often lose connection. I've added a watchdog to the code, but it has no effect.

It seems that the UNO doesn't crash, but loses connection with the ESP01.
Is there a simple way to check the wifi connection in the arduino code, equivalent to "wifistatus", and "auto" reboot the ESP01 or reboot the arduino UNO (like I am doing now with a tuya plug...)?
How can I implement "AT+CIPSTATUS" or "AT+PING" in the loop code to check the connection and reboot the UNO card?
Thanks for your ideas!


RE: Arduino auto reboot if network connection is lost / check connection ? - iliaslamprou - 03-03-2024

Hi,
it is better you ask this question to the Arduino forum.


RE: Arduino auto reboot if network connection is lost / check connection ? - pigkang - 11-04-2024

Gamers tend to have improved memory, especially those who play complex geometry dash games that require remembering details about maps, characters, or storylines.