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

    ADR don't work with LoPy+Pysense and Multitech Conduit

    Scheduled Pinned Locked Moved LoPy
    lorawanadrspreading facto
    5 Posts 2 Posters 1.3k 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.
    • R Offline
      rloro338
      last edited by rloro338

      Hello.

      I am working with LoPy + Pysense( firmware 0.0.7), the gateway is a Multitech Conduit AEP 868 MHz connected to a 9.15 dBi antenna. The system works fine, i send humidity and temperature and i proccess it in node-red app.

      The LoRa objet parameters are:

      lora = LoRa(mode = LoRa.LORAWAN, adr = True, public = True)

      I add five channels like this:

      lora.add_channel(index = X, frequency = X, dr_min = 0, dr_ max = 5)

      In the Conduit, the ADR are activated from DR0 to DR5 too.

      When data are received, i look for datarate and always are SF7BW125 and never change although I move the node for change the SNR. The packets don't arrive when RSSI is about -120dB and SNR is -6 dB. Multitech Conduit adapt the ADR after analyzing the SNR of 6 packets, but i am not lucky, i always get SF7 (DR5) and I think that's why the communication range is very short (about 800 meters).

      Does anyone have an LoPy code example to check that the ADR works with Conduit?

      Thanks.

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jmarcelino @rloro338
        last edited by

        @rloro338
        How are you joining? ABP or OTAA?

        You might need to send some downlinks (from your Conduit to the node) so that the ADR MAC command can get piggybacked.

        J R 2 Replies Last reply Reply Quote 0
        • J Offline
          jmarcelino @jmarcelino
          last edited by jmarcelino

          An easier option to sending downlinks is to send confirmed uplinks from the node.

          s.setsockopt(socket.SOL_LORA, socket.SO_CONFIRMED, True)

          1 Reply Last reply Reply Quote 0
          • R Offline
            rloro338 @jmarcelino
            last edited by

            @jmarcelino said in ADR don't work with LoPy+Pysense and Multitech Conduit:

            @rloro338
            How are you joining? ABP or OTAA?

            You might need to send some downlinks (from your Conduit to the node) so that the ADR MAC command can get piggybacked.

            The auth. method is OTAA.
            I tried to send CONFIRMED packets, but datarate didn't change neither.
            Tomorrow i will try again.

            The communication range should improve using a SF12 instead SF7, right?

            Thanks jmarcelino.

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

              Yesterday i was testing ADR on LoPy with confirmed packets. I achieved that LoPy change to a SF8BW125 but no more, the communication range was the same.
              I forced the LoPy to transmit at SF12 in the socket configuration, and the range is the same too... I looked from lora.tx_power() and the value is 13, i think 13 dBm.

              About 100 meters in line vision, the gateway measured SNR = 8 dB and RSSI = -78 dB ... it is OK?

              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