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

    Is it possible to use more than one I2C Unit with AtomS3R? (Like AtomS3R + RFID Unit + Dual Button Unit

    Atom
    3
    3
    41
    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.
    • R
      Rusticus42
      last edited by

      Hi,

      I am new to M5Stack and I tried to make a quick setup with a AtomS3R + RFID Unit + Dual Button Unit. I am using UIFlow 2.

      So far I was able to make some "hello world" setup where only one unit was connected to the AtomS3R (1: AtomS3R + Dual Button 2: AtomS3R + RFID Unit). These setups worked right from the start.

      Now I want to connect both Units (Dual Button + RFID Unit) to the AtomS3R. But the code crashes. I tried different cabling options / coding options (with Pa.Hub or Groove Hub). No matter what I do, there is always a code error.

      So before starting to discuss my code / cabling here, my question is:

      Is it generally possible to connect more than 1 I2C unit to an AtomS3R ?

      Thanks!

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

        Hello @Rusticus42

        yes, it is possible to connect more than one I2C unit. However Dual Button unit is not an I2C unit. You can see that from the color of the connector.

        • I2C units have a red connector
        • I/O units have a black connector
        • UART units have a blue connector

        The connector on AtomS3R is white which meas it can be setup for I2C, I/O or UART mode, but only one at the time.

        Thanks
        Felix

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

        1 Reply Last reply Reply Quote 0
        • robskiR
          robski
          last edited by

          in simple terms you can't mix diff types(colours) of connectors on same device port,

          M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ, M5Tab

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