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

    Best communication concept for 20 Controllers

    Scheduled Pinned Locked Moved General
    2 Posts 2 Posters 2.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.
    • M Offline
      mchott
      last edited by

      Hello ... I have a conceptual question. I want to connect about 20 controllers with different tasks without internet in one vehicle.

      Logically, each controller should receive all requests and then pick out those that are relevant to it. And each controller should be able to send such a broadcast.

      What is the most efficient and robust method in terms of energy consumption? Radio must be used. Most (or all) controllers are ATOM Lite. UIflow has to be used.

      Option A: The simplest case would be to connect via WIFI, where everyone is connected and then communicates via MQTT. This requires a central router and broker. But WIFI is supposed to consume a lot of energy and all devices have to be online all the time.

      Option B: ESP NOW is great for networking two controllers in one direction, but such a bidirectional mesh is quite difficult to establish stably in the latest version.

      Option C: What would be even better?

      teastainT 1 Reply Last reply Reply Quote 0
      • teastainT Offline
        teastain @mchott
        last edited by

        @mchott Speaking personally, I would have the Master also arbitrate the Slaves by polling them one at a time. Yes, they can all talk at once but it's messy. I have a Master talking to two Slaves ESP-NOW peer to peer with small size of data and no urgency in the process. I may send a simple boolean flag to one to turn on a heater, next sending a int value to the other to set a servo position. (this one also returns a float with the Vent Temp.

        Cheers, Terry!

        100% M5Stack addict with several drawers full of product!

        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