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

    Arduino code for RFID2

    Scheduled Pinned Locked Moved Modules
    3 Posts 2 Posters 4.6k 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.
    • J Offline
      jogaye
      last edited by

      There is any Arduino sample code for RFID2?

      The sample from the docs page it's for RC522 chip not for WS1850s

      https://docs.m5stack.com/en/unit/rfid2

      Thanks!

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

        Hello @jogaye

        it seems that both RC522 and WS1850 use the same I2C address. It is my understanding that even though the IC is different, functionality stayed the same. From the docs:

        RFID2 compared to the previous generation RFID UNIT only makes the replacement of read and write IC (RC522->WS1850S), there is no difference in function.

        Have you tried the example with RFID2? Are you saying it doesn't work?

        Thanks
        Felix

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

        1 Reply Last reply Reply Quote 0
        • J Offline
          jogaye
          last edited by jogaye

          I'm sorry, the sample works!

          The problem was that the RFID2 return a different chip ID and takes longer to initialize, and my microBlocks library didn't expect that.

          Thanks for your fast response.

          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