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

    Multiple RFID (RC522) reader via Grove Hub

    Units
    3
    12
    21.6k
    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.
    • F
      falmasi
      last edited by

      Hi,
      Could you please help me to handle three rfid reader which attached to a hub? I think I should change the default (0x28) I2C address for the other two modules. Or somehow I could initialize the MFRC522 instance with the same address?
      Thanks,

      ajb2k3A m5-docsM 2 Replies Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3 @falmasi
        last edited by

        @falmasi

        No, all i2c devices need different address.

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        F 1 Reply Last reply Reply Quote 0
        • m5-docsM
          m5-docs @falmasi
          last edited by

          @falmasi
          Hub just for direct connection.

          M5Stack documentation URL

          https://docs.m5stack.com

          1 Reply Last reply Reply Quote 0
          • F
            falmasi @ajb2k3
            last edited by

            @ajb2k3 Thaks, and can I change the default address?

            ajb2k3A 1 Reply Last reply Reply Quote 0
            • ajb2k3A
              ajb2k3 @falmasi
              last edited by

              @falmasi said in Multiple RFID (RC522) reader via Grove Hub:

              @ajb2k3 Thaks, and can I change the default address?

              I don't know as I don't have one.
              I was taking a guess based on i2c protocol.

              UIFlow, so easy an adult can learn it!
              If I don't know it, be patient!
              I've ether not learned it or am too drunk to remember it!
              Author of the WIP UIFlow Handbook!
              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

              1 Reply Last reply Reply Quote 0
              • m5-docsM
                m5-docs
                last edited by

                It can not be change the iic address. It has been defined by hardware of RFID module in RFID Unit.

                Here's the description about IIC address

                0_1547532220523_TIM截图20190115095742.png

                M5Stack documentation URL

                https://docs.m5stack.com

                ajb2k3A 1 Reply Last reply Reply Quote 0
                • ajb2k3A
                  ajb2k3 @m5-docs
                  last edited by

                  @watson said in Multiple RFID (RC522) reader via Grove Hub:

                  It can not be change the iic address. It has been defined by hardware of RFID module in RFID Unit.

                  Here's the description about IIC address

                  0_1547532220523_TIM截图20190115095742.png

                  ah, so in this case, @falmasi will need to use an i2c expander.
                  Something like the TCA9548A to use multiple devices on one port.
                  link text
                  New product idea for M5Stack?

                  UIFlow, so easy an adult can learn it!
                  If I don't know it, be patient!
                  I've ether not learned it or am too drunk to remember it!
                  Author of the WIP UIFlow Handbook!
                  M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    falmasi @ajb2k3
                    last edited by

                    @ajb2k3
                    We have tried to connect two RFID reader (https://www.aliexpress.com/item/M5Stack-Newest-Mini-RFID-Unit-RC522-Module-Sensor-for-Arduino-SPI-Writer-Reader-IC-Card-with/32963407976.html?spm=2114.search0104.3.1.3f74370dX6jROf&ws_ab_test=searchweb0_0,searchweb201602_4_10065_10068_319_317_10696_10084_453_454_10083_10618_431_10304_10307_10820_10821_537_10302_536_10059_10884_10887_100031_321_322_10103,searchweb201603_54,ppcSwitch_0&algo_expid=9d7bf1a6-ea97-478a-b8e1-8c3779fd0235-0&algo_pvid=9d7bf1a6-ea97-478a-b8e1-8c3779fd0235&transAbTest=ae803_5) with an IO Expander
                    (https://www.aliexpress.com/store/product/M5Stack-Official-Extend-Serial-IO-I-O-Unit-Grove-Cable-I2C-Interface-for-Arduino-Blockly-ESP32/3226069_32966582585.html?spm=a2g1y.12024536.productList_5885013.pic_8) with no success.
                    Should it have to work?
                    Thanks,

                    1 Reply Last reply Reply Quote 0
                    • ajb2k3A
                      ajb2k3
                      last edited by

                      No that is an I/O expander NOT an i2c expander.
                      you need an i2c expander like this.
                      link text

                      UIFlow, so easy an adult can learn it!
                      If I don't know it, be patient!
                      I've ether not learned it or am too drunk to remember it!
                      Author of the WIP UIFlow Handbook!
                      M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                      m5-docsM 1 Reply Last reply Reply Quote 0
                      • m5-docsM
                        m5-docs @ajb2k3
                        last edited by

                        @ajb2k3
                        Thanks guy

                        We'll make this kind of device

                        M5Stack documentation URL

                        https://docs.m5stack.com

                        ajb2k3A 1 Reply Last reply Reply Quote 1
                        • ajb2k3A
                          ajb2k3 @m5-docs
                          last edited by

                          @watson said in Multiple RFID (RC522) reader via Grove Hub:

                          @ajb2k3
                          Thanks guy

                          We'll make this kind of device

                          Lol, I can give you loads of product ideas!

                          UIFlow, so easy an adult can learn it!
                          If I don't know it, be patient!
                          I've ether not learned it or am too drunk to remember it!
                          Author of the WIP UIFlow Handbook!
                          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                          m5-docsM 1 Reply Last reply Reply Quote 0
                          • m5-docsM
                            m5-docs @ajb2k3
                            last edited by

                            @ajb2k3
                            Appreciate you!

                            M5Stack documentation URL

                            https://docs.m5stack.com

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