🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    m5dial: wifi not work when rfid is enabled

    Scheduled Pinned Locked Moved General
    6 Posts 4 Posters 3.5k Views
    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.
    • S Offline
      studiosacchetti
      last edited by

      even a simple code like this can raise my problem

      //connect to WiFi 
      Serial.printf("Connecting to %s ", ssid);
      WiFi.begin(ssid, password); 
      while (WiFi.status() != WL_CONNECTED) { 
      delay(500); Serial.print(".");
       }
      

      Serial.println(" CONNECTED");

      with this config setting everything is ok

      M5Dial.begin(cfg, false, false);
      

      but if i enable rfid

      M5Dial.begin(cfg, false, true);
      

      m5dial can connect only once to my wifi network, i have a fritzbox router

      any idea?

      G 1 Reply Last reply Reply Quote 0
      • G Offline
        gadgetguy @studiosacchetti
        last edited by

        @studiosacchetti Did you ever solve this issue? I am now having exactly the same issue.

        1 Reply Last reply Reply Quote 0
        • S Offline
          Slarck
          last edited by

          The RFID module might be interfering with the WiFi signal. Try using a different power source or check if the RFID is drawing too much current and test with a different router or 2.4GHz channel.

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            gadgetguy @Slarck
            last edited by

            @Slarck Thanks will look into those. I don't need them simultaneously, I tried turning the RFID on/off, but once I turn it on (after doing a server packet test), even if I turned it off Wifi still doesn't work.

            G 1 Reply Last reply Reply Quote 0
            • G Offline
              gadgetguy @gadgetguy
              last edited by

              @Slarck So I have hooked up a 12V power supply to the power connector (2pin green). It doesn't help, I can't connect to the Wifi when the RFID is enabled.

              Any ideas? I tried turning the RFID off when I connect to the wifi

              M5Dial.begin(cfg, true, false); // enable encoder, disenable RFID

              but once I turn on the RFID, it doesn't seem that turning it off enables the Wifi.

              If I never enable the RFID, then I can connect to the Router, so I don't think my router or channel is an issue.

              Any other ideas welcome.

              felmueF 1 Reply Last reply Reply Quote 0
              • felmueF Online
                felmue @gadgetguy
                last edited by felmue

                Hello @gadgetguy

                I can confirm that enabling RFID prevents M5Dial from connecting to WiFi.

                After enabling RFID in M5Dial.begin(cfg, true, true), try M5Dial.Rfid.PCD_AntennaOff() to temporarily disable RFID while using WiFi, then after disconnecting from WiFi enable RFID again with M5Dial.Rfid.PCD_AntennaOn().

                Thanks
                Felix

                GPIO translation table M5Stack / M5Core2
                Information about various M5Stack products.
                Code examples

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post