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

    I2C communication

    Scheduled Pinned Locked Moved M5stack Grey
    3 Posts 3 Posters 5.8k Views 2 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.
    • S Offline
      SimonS
      last edited by

      Hey

      Can someone give me a code-example that I2C communication between five M5Stacks.
      Basically one master (M5Stack Gray) should recieve data of four M5StickCs. I was searching for a solution for quite a long time but didn´t find anything comparable.

      Hopefully someone can help me because it´s an important project for university.

      Thank youuu :)

      world101W 1 Reply Last reply Reply Quote 0
      • ZontexZ Offline
        Zontex
        last edited by

        Hello, you can take a look at PaHub and PbHub extensions to understand how to get it working, it allow you to control 4 not 5 but you'll need to switch between them (because you still use single i2c port, it's just extension)

        1 Reply Last reply Reply Quote 0
        • world101W Offline
          world101 @SimonS
          last edited by

          @simons

          Another option... if you did not want to use wires/cables and I2C, you could go wireless and use ESP-Now. It’s really easy to implement in uiFlow as well. I’m not sure of your project requirements though. Just a thought. Good luck!

          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