Rev 2 wifi loses connection after 30min

Got a weird effect using a REV 2 wifi. It loses it's connection to the wifi after 20 - 40 min...
It's part of an escape room prop. The pop continues to work perfectly, so the arduino is still active an running. Our software polls constantly for the status of the props and we can manually set or reset parts op the prop using wifi connection.
So the question: how can it lose it connection after that time?
I've allready replaced it with another REV 2. And there's an other close by that keeps working(different prop). So it's not a question of poor wifi signal. Code is included below. Thx!

ExitTower.ino (12.5 KB)

1 Like

I don't have a specific reason to think it will fix your problem, but try updating the firmware on your Uno WiFi Rev2:

  • If you haven't already, install and start Arduino IDE 1.8.12: https://www.arduino.cc/en/Main/Software
  • File > Examples > WiFiNINA > Tools > FirmwareUpdater
  • Tools > Board > Arduino Uno WiFi Rev2
  • Tools > Port > select the port of your Uno WiFi Rev2
  • Sketch > Upload
  • Wait for the upload to finish successfully.
  • Tools > WiFi101 / WiFiNINA Firmware Updater
  • Select the port of your Uno WiFi Rev2 from the "Select port of the WiFi module" menu.
  • Select "NINA firmware (1.3.0) (Arduino Uno WiFi Rev2)".
  • Click the "Update Firmware" button.
  • Wait for the firmware update process to complete successfully.
  • Close the WiFi101 / WiFiNINA Firmware Updater window.
  • Upload and test your escape room prop sketch.

Thanks but it's already tried updating the firmware