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

    Arduino code for RFID2

    Modules
    2
    3
    3.2k
    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
      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
        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
          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
          • First post
            Last post