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

    M5Dial UiFlow 2.0.1 RFID scanning issue

    Scheduled Pinned Locked Moved UiFlow 2.0
    3 Posts 2 Posters 2.9k Views 1 Watching
    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.
    • K Offline
      kumsat
      last edited by kumsat

      I'm testing out rfid scan feature on M5Dial. I have the blockly code as in the screenshot attached. When I run the code, the very first rfid card scan works fine in reading the content of the card. Recurring rfid card scan takes either 20-50 seconds or just don't get scanned.
      And every now and then I get ETIMEDOUT error. I tried a while loop to look for a RFID card presence before reading from address 4. Seems to have helped with timeout error but still seeing significant delays beyond the first scan. Appreciate any help.

      Note: The factory default program for M5Dial RFID works very well in scanning UID and displaying without any delays.
      I have almost identical code for M5Stick Plus with RFID module attached. I didn't have this issue.

      0_1708722370850_rfid_read.png

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

        Hello @kumsat

        try adding a rfid close block when you are done reading from addr. E.g. before the 200 ms delay.

        Thanks
        Felix

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

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kumsat @felmue
          last edited by

          @felmue That seems to have fixed the issue. Thanks for your help.

          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