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

    LoRaWAN Nano-Gateway

    Scheduled Pinned Locked Moved LoPy
    lopyttnnano gateway
    8 Posts 3 Posters 988 Views 3 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.
    • C Offline
      cooper
      last edited by

      Has anyone been able to get the nano-gateway working with a LoPy4 and The Things Network? I want to verify that it's possible -- I'm losing faith the more I try and read posts on this forum.

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @cooper
        last edited by

        @cooper Yes, it's possible. It works best if you use ABP. Using OTAA works not well, because the LoPy4 with the Nano-Gateway script does not meet the timing requirements of LORaWan. It simply cannot send the downlink messages at the right time. Using a slower data rate would relax the timing requirements. So try to use SF12BW125 for the first tests. This has to be changed in the scripts of both the gateway and the nodes. Beware, that for the gateway the setting SFxBWy is used, for the Node it's the Data rate. Example:

        # for EU868
        LORA_FREQUENCY = 868100000
        LORA_GW_DR = "SF12BW125" # DR_0
        LORA_NODE_DR = 0
        

        I have made a version which tries to compensate for the timing lag, but with LoPy4 this also does not work at SF7BW125.
        The version is here: https://github.com/robert-hh/pycom-libraries/tree/nanogateway/examples/lorawan-nano-gateway
        b.t.w.: In which region are you located?

        C 2 Replies Last reply Reply Quote 0
        • C Offline
          cooper @robert-hh
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • C Offline
            cooper @robert-hh
            last edited by

            @robert-hh I finally got it working. The latest code changes from the development team seamed to help. Thank you for your help, you're a saint -- your messages on many posts helped me a lot.

            Btw I'm in the US (to answer your question)

            robert-hhR J 2 Replies Last reply Reply Quote 0
            • robert-hhR Offline
              robert-hh @cooper
              last edited by

              @cooper Just for interest: which code change are you tal
              king about, the firmware or the nano-gateway script?

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                cooper @robert-hh
                last edited by

                @robert-hh it was the nano-gateway script

                robert-hhR 1 Reply Last reply Reply Quote 0
                • robert-hhR Offline
                  robert-hh @cooper
                  last edited by

                  @cooper Yes, the ticks_... call has been changed. You have to use a script which uses ticks_cpu() instead of ticks_us().

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jg_spitfire @cooper
                    last edited by

                    @cooper Hi, do you remember which firmware version did you use?, I am having issues with downlinks that I did not have before (too many looses), thanks

                    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