Skip to content

Wifi disconnecting and will not reconnect after 1 hour with Arduino OPTA WiFi #1010

Open
@denisastro

Description

@denisastro

Hi,

I'm facing an issue with an Arduino OPTA WiFi board.

The WiFi is connecting correctly but the connection is lost after approximately one hour.

If a continuous ping (every 15s) is destinated to the OPTA's IP Address, then it stays miraculously connected to wifi for hours.

To reproduce I just need to compile the example "Wifi/WifiSSLClient" from the Arduino IDE (using version 2.3.4).

I have created a little sketch allowing me to terminate (wifi.end(), wifi.disconnect()) and restart the Wifi connection (wifi.begin) but once the Wifi is crashed the connection will never work until I reboot the OPTA.

The status of the Wifi Connection reported by Wifi.Status() is always "Connected", even when WiFi crashed (and thus is disconnected).

I have also tried to use the library "Arduino_ConnectionHandler" to see if it works better or show anything more precise with no success, it just says "CONNECTED To Network" and never sees the disconnection.

If I run a continuous ping to the OPTA IP Address, it stays connected for hours (tested for 12 hours).

Please note that the other functions of the OPTA are working correctly.

Test conditions :

  • OPTA power : same issue replicated with PC USB power, wall socket USB charger, 24V industrial supply
  • ArduinoCore-mbed 4.1.0
  • I tried to play the memory partitionning and WiFi firmware update sketches with no better success.

I'm using the OPTA for professionnal remote telescope observatory automation, and obviously it is not possible to allow any possible loss of control.

Thanks for reading!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions