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

    Experience with Lopy and ADR (Adaptive Data Rate)

    Scheduled Pinned Locked Moved LoPy
    lopyadrobjeniousttnnemeus
    1 Posts 1 Posters 1.1k 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.
    • B Offline
      brunoS
      last edited by

      Hello,
      My "bad" experience with Lopy and ADR (Adaptive Data Rate) :

      First case: LORAWAN with Objenious (French private network) :

      The antenna is quite far away so the JOIN procedure works 100% only with SF> 9 or DR <3.
      I therefore force the Data Rate to 10 with:

      lora = LoRa (mode = LoRa.LORAWAN, device_class = LoRa.CLASS_C, adr = True)
      lora.join (activation = LoRa.OTAA, auth = (dev_eui, app_eui, app_key), timeout = 0, dr = 3)
      

      Without any other configuration, sending UPLINK is always done with SF = 7 by default.
      I then get 70% UPLINK failure. For successful UPLINK I have: RSSI = -115 dBm, noise = -115 dBm, signal = -124dBm

      If I force SF to 12 (data rate = 0) with:

      s.setsockopt (socket.SOL_LORA, socket.SO_DR, 0)
      

      All transmissions are done with an SF at 12, does setsockopt () delete the ADR option?
      In both configurations, the ADR does not work!

      Second case: LORAWAN with TTN and Pico Gateway Nemeus:

      The gateway is very near so the JOIN is done with SF = 7.

      If I force SF to 12 (data rate = 0) with:

      s.setsockopt (socket.SOL_LORA, socket.SO_DR, 0)
      

      All transmissions are done with a SF to 12 ("rssi": -57) while the ADR should allow to lower the SF
      In this second case, the ADR does not work either.

      Your experience with ADR would be welcome to try to make it work with my setup.

      Thanks

      1 Reply Last reply Reply Quote 1

      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