Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Launching MESH Networks on Pycom

    Scheduled Pinned Locked Moved Announcements & News
    meshmesh networkipv66lowpanlora
    11 Posts 7 Posters 3.6k Views 7 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.
    • philwilkinsonP Offline
      philwilkinson @Bettina
      last edited by

      @administrators 404 on all your links in this announcement unfortunately.
      Can a LoPy acting as the Border Router flick between LoRaMesh and LoraWAN for transmission to a gateway?0_1531888854503_lora mesh.gif

      B B 2 Replies Last reply Reply Quote 0
      • B Offline
        berlin @philwilkinson
        last edited by

        @philwilkinson that's exactly also my question. thx

        1 Reply Last reply Reply Quote 0
        • catalinC Offline
          catalin
          last edited by

          hi @berlin and @philwilkinson,

          Scripts: https://github.com/pycom/pycom-libraries/tree/master/lib/lora_mesh
          Release: https://forum.pycom.io/topic/3480/new-firmware-development-release-v1-19-0-b4/13
          Docs Tutorial: https://docs.pycom.io/v/development_release/chapter/tutorials/lora/lora-mesh.html
          Docs Lora class: https://docs.pycom.io/v/development_release/chapter/firmwareapi/pycom/network/lora.html

          Quite interesting the scenario, to have a Border Router to LoRaWAN, it's not impossible and I need to do some tests. Yes, Border Router, could turn-off Mesh interface, and turn-on LoRaWAN interface; though this is not exposed in micropython. Maybe you could help with setting up specs for this scenario.

          My assumption would be: Border Router is able to unpack all mesh traffic going "extern"(to LoRaWAN) and can forward (re-pack). Right/wrong?

          Catalin,

          Have you checked out our docs for the answer? (Now with an easy search function) https://docs.pycom.io
          Check out our newly revamped device management platform, Pybytes! https://pybytes.pycom.io/

          philwilkinsonP 1 Reply Last reply Reply Quote 1
          • philwilkinsonP Offline
            philwilkinson @catalin
            last edited by

            @catalin thanks for the response and the hyperlinks.

            It is a very economical design to have a mesh network of LoPy nodes acting as sensors/actuators but with only one LoPy Node in reach of a LoRaWAN gateway.
            Actually it reduces overall cost because less gateways are needed (which are far more expensive than Nodes). Only gateways need to be connected to the internet if the border router can publish via LoRaWAN

            There is clearly the constraint on the payload/interval/datarate for any LoRa transmission. Could this constraint be applied separately by the mesh network and LoRaWAN classes?

            I am not recommending that the Border Router acts as a 'dumb' router; simply passing through datapackets from the mesh network to the lorawan gateway. This can only be done when the data transmission rates within the mesh network are very low.
            Beside, this is just wasting the power of a Pycom ESP32 module!!! My particular use case is that the border router would unpack the data from the mesh network, do some edge computation and then publish some consolidated/summarised data via LoRaWAN. Obviously the Border Router would be unavailable from the mesh network for the time it is transmitting packets to the LoRaWAN gateway.

            1 Reply Last reply Reply Quote 1
            • B Offline
              Bettina administrators @philwilkinson
              last edited by

              @philwilkinson Thanks for highlighting.

              Here are the correct links:

              https://docs.pycom.io/v/development_release/chapter/tutorials/lora/lora-mesh.html

              https://github.com/pycom/pycom-libraries/blob/master/lib/lora_mesh/main.py

              Bettina
              Pylot at Pycom

              1 Reply Last reply Reply Quote 0
              • I Offline
                IOAg @Bettina
                last edited by

                @bettina MESH will greatly reduce hardware cost, as @philwilkinson highlighted, mesh network allows to reduce number of gateways and takes advantage of all nodes for communication.
                Also MESH layout fits well in rugged terrain and remote area to provide private LPWAN. Yet, MESH border router needs bridging to to other LPWAN (LoRaWAN for instance), it is about the entire ecosystem.

                Do you envisage to offer a LoRa Mesh kit (5-10 nodes) to trial in real life?

                B 1 Reply Last reply Reply Quote 1
                • B Offline
                  brotherdust
                  last edited by

                  Really impressive, folks! Thanks for all your hard work!

                  One question: any plans to enable this for Bluetooth as well? =D

                  1 Reply Last reply Reply Quote 0
                  • catalinC Offline
                    catalin
                    last edited by

                    hi @brotherdust, the Bluetooth Mesh is on tests in Espressif (took a long time). Once it's released we'll incorporate it.

                    Catalin,

                    Have you checked out our docs for the answer? (Now with an easy search function) https://docs.pycom.io
                    Check out our newly revamped device management platform, Pybytes! https://pybytes.pycom.io/

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      Bettina administrators @IOAg
                      last edited by

                      @ioag apologies, I missed your post. We already have discounted LoPy4 kits available in on the webshop and they'll work for this ;-)

                      Bettina
                      Pylot at Pycom

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        David B Santiago
                        last edited by

                        This can only be done when the data transmission rates within the mesh network are very low.

                        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
                        • 1 / 1
                        • First post
                          Last post

                        Pycom on Twitter

                        Pycom