šŸ¤–Have you ever tried Chat.M5Stack.com before asking??šŸ˜Ž
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    ATOM can't connect to wifi anymore

    Atom
    2
    5
    6.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Manumane
      last edited by

      Hello,

      I have 2 M5Atom Matrix since the beginning of the year, all my tests used only one. After trying uiflow, I started to have wifi connection issues: my board never connected to Wifi anymore.
      Back to PlatformIO, same issue
      Back to Arduino, even with the "WifiClient" example, same issue, suck when trying to connect. However, the "WifiScan" sketch is working fine.

      I tried to erase the chip, and try also the second board, same issue!
      I verified my access point which is "WPA2-PSK / AES", channel 6 (not exotic). I tried a second access point using my phone. no success...

      any clue?
      Regards,
      Manumane.

      1 Reply Last reply Reply Quote 0
      • ZontexZ
        Zontex
        last edited by

        Hello,this is very strage as it sounds you can connect to your device and scanning shows the wifi chip is working.
        could you please try to deactivate the password from your access point and connect without a password? see if it can solve the issue?

        1 Reply Last reply Reply Quote 0
        • M
          Manumane
          last edited by

          Hi zontrex,
          your idea pushed me to test more.
          After trying open wifi without success, I decided to display WiFi.status(): this was 6, with a comment on a page "maybe not in Station Mode"
          So I added WiFi.mode(WIFI_STA) before the WiFi.begin(), and it worked !
          Thanks for you support.

          1 Reply Last reply Reply Quote 0
          • M
            Manumane
            last edited by

            Hmm
            Maybe I wrote too fast, because when coming back the my original code, I had the WiFi.mode(WIFI_STA)...
            I keep you in touch

            1 Reply Last reply Reply Quote 0
            • M
              Manumane
              last edited by

              Very weird...
              After some other tests, I did not find why it's working, but it is !

              It was not working until I added WiFi.setHostname() before begin(), but it is still working after commenting it...

              WiFi.mode(WIFI_STA);

              //WiFi.setHostname("Atom-1");

              WiFi.begin(ssid,password);

              1 Reply Last reply Reply Quote 0
              • First post
                Last post