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

    LoRa network setup...

    Scheduled Pinned Locked Moved LoPy
    10 Posts 6 Posters 3.7k 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.
    • R Offline
      RSK
      last edited by

      Would like to setup LoRa netwrok as shown below,

      0_1478074934515_LoRa_Arch.png

      I have LoPy 5 pack kit https://www.pycom.io/product/lopy-5-pack-pure-greed/ from making the LoRa network setup.

      Planning to follow the below steps,

      1. Update the firmware first in all five devices.
      2. Use LoRaMAC smaple given in https://docs.pycom.io/lopy/lopy/quickref.html#lora-loramac to communicate 2 devices. To make sure that RF works properly.
      3. Now try to setup LoRa gateway including wifi driver working (sample would be required).
      4. Create LoRa netwrok (sample would be required).

      I have completed step 1 and trying out step 2 currently.

      Please let me know if the approach is correct and provide sample for step 3 & step 4.

      The object is to have the IoT network using LoRa.

      Or suggest some other mechanism to achieve the intent using LoPy.

      1 Reply Last reply Reply Quote 0
      • X Offline
        Xykon administrators
        last edited by Xykon

        I'm assuming from the limited information provided that you intend to use the LoPy as a LoRa gateway? The current firmware does not yet support this.

        If you already have a gateway it would be helpful to mention what kind of gateway that is.

        Christian Ehlers

        1 Reply Last reply Reply Quote 0
        • R Offline
          RSK
          last edited by

          Re: LoRa network setup...

          No i do not have any gateway link. Will have make LoPy as gateway to push the data to remote server.

          When can i expect the firmware update for gateway support. Any tentative timeline???

          Is there a way to test basic LoRa Tx/Rx operation of the LoPy device in range 865 - 867 Mhz.

          Keep two LoPy device programmed with current version of firmware and make one as transmitter and other as receiver.

          Referring to the sample: https://docs.pycom.io/lopy/lopy/quickref.html#lora-loramac

          Will it work?

          X 1 Reply Last reply Reply Quote 0
          • X Offline
            Xykon administrators @RSK
            last edited by

            @RSK I only have one LoPy so I can't test this myself but I'd assume this should work.

            Christian Ehlers

            1 Reply Last reply Reply Quote 0
            • K Offline
              KDHeard
              last edited by

              Hey gents - not sure if you have come across this application that links 2 LoPys to a third:

              https://www.pycom.io/the-coolest-iot-bike-on-the-amazon-planet/

              @administrators : would it be possible to share the code for this with the forum?

              Kind regards

              Kevin Heard - Founder
              DLI Systems
              www.dli.systems| Do - Learn - Improve

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                RSK @KDHeard
                last edited by

                @KDHeard

                Sucessfully tested with two LoPy and it works good.

                LoPy to LoPy TX & RX are working with LoRaMAC mode https://docs.pycom.io/lopy/lopy/quickref.html#lora-loramac

                Would need LoPy gate way to add the third, fourth, fifth ....., Is there any official new on LoPy gateway firmware release.

                1 Reply Last reply Reply Quote 0
                • W Offline
                  wstallwood
                  last edited by

                  Hi, personally I'm happy to share the code for the IoT bike.

                  I need to check with my employer as technically speaking they own what we developed. I'll ask and share if I can.

                  However it was coded against the early beta programme boards and needs a few tweaks to run on the released boards due to the various enhancements on LoRa (found that out the hard way when I tried to update the hardware for the bike's most recent outing)

                  It's pretty basic (mostly coded overnight as poor Daniel will confirm :) )

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    GregS
                    last edited by

                    RSK wrote:

                    Use LoRaMAC smaple given in https://docs.pycom.io/lopy/lopy/quickref.html#lora-loramac to communicate 2 devices. To make sure that RF works properly.

                    I can't find that LoRaMAC example. In fact I can't find ANY example code that let's me test the LoRa radio.

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sakis @GregS
                      last edited by sakis

                      @GregS

                      We've restructured our documents recently so that link is broken: https://docs.pycom.io/pycom_esp32/library/network.LORA.html
                      https://docs.pycom.io/pycom_esp32/pycom_esp32/lora_examples.html#lora-loramac

                      Next week we will do a new documentation release which provides more information about many modules, including LoRa

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        GregS
                        last edited by GregS

                        Thanks sakis. Apologies - I was looking in the wrong place for the LoRa documentation - I expected it to be in the Pycom specific modules section, because I assumed that general MicroPython documentation would not contain any hardware info at all. Oops.

                        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