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

    ESPNOW master/slave chage slave/master

    Scheduled Pinned Locked Moved PROJECTS
    6 Posts 4 Posters 8.2k Views
    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 Offline
      frangimeno2000
      last edited by

      Hello friends, I have a query, I want to make a network with multiple esp32. Basically it would be like this:

      MASTER1---send data to slave1--> SLAVE1 (receive data from master1)

      (SLAVE1 becomes master and sends the information to slave2)
      SLAVE1---send data to slave2--> SLAVE2 (receive data from slave2)

      And so on...

      Is it possible to convert a slave into a master so that it sends the information to the next one?

      Greetings and thank you
      Fran

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

        @frangimeno2000 Yes.
        ESPNOW easily runs in Peer-to-Peer mode, so there is no need for master/slave or server/client configuration.
        I put up an example on GitHub:
        https://github.com/teastainGit/ESP_NOWpeer2peer

        Cheers, Terry!

        100% M5Stack addict with several drawers full of product!

        1 Reply Last reply Reply Quote 0
        • M Offline
          macsbug
          last edited by macsbug

          Hello @frangimeno2000

          You can see the case of ESO-NOW below.

          RANDOM NEAD TUTORIALS: ESO-NOW
          https://randomnerdtutorials.com/?s=ESP-NOW

          1 Reply Last reply Reply Quote 0
          • F Offline
            frangimeno2000
            last edited by frangimeno2000

            Ok friends I already have it, I had not seen these manuals. Thank you

            1 Reply Last reply Reply Quote 0
            • L Offline
              louishaiyen
              last edited by

              @frangimeno2000 Can you share the solution with me? I'm also looking to solve this problem

              1 Reply Last reply Reply Quote 0
              • L Offline
                louishaiyen
                last edited by

                ...

                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