I am experiencing an issue where my MKR 1500 NB boards run perfectly for a few days and then become disconnected and unresponsive.
I can tell the Void Loop() is still running so the board hasn't frozen/crashed.
Is there code that I can run perhaps every hour using millis() to refresh the connection?
Perhaps, disconnect and reconnect again?
Best,
M
Hi, Im using callback, if ArduinoCloud is disconnected, I reset my board and it connects again.. It works good for months now.. Btw its ESP8266, but never mind, the concept is the same.
add this to setup loop:
ArduinoCloud.addCallback(ArduinoIoTCloudEvent::DISCONNECT, doThisOnDisconnect);
and then make fuction
doThisOnDisconnect();
with command to reset the board.
1 Like
Thank you for this @noobmastha
Do you reset by connecting the reset pin to a digital pin or do you do it in software?
Best,
M
I`m doing it in software, it is ESP.restart(); for Espressif chips, try to find something simmilar for your arduino board.
Cheers.
Dozie
July 4, 2022, 6:24am
5
Contact Arduino Tech Support via https://www.arduino.cc/en/contact-us/ to have your board's Ublox module firmware upgraded.
Thank you @noobmastha
I think you have been helpful on two of my posts now!
Best,
M
Hi @Dozie
Why do you say this? Is this a known issue?
Best,
Matt
Youre welcome, Its noob to noob solidarity
Dozie
July 5, 2022, 7:38am
9
@bigdingo your board might have an old Ublox firmware, the tech support will help you check this and assist you to upgrade to newer one that is more efficient.
system
Closed
January 1, 2023, 7:38am
10
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.