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

    Nano- gateway rssi

    Scheduled Pinned Locked Moved Comments & Feedback
    lopy
    24 Posts 6 Posters 6.4k Views 6 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.
    • M Offline
      MJ @seb
      last edited by

      @seb
      As u mentioned the TX power will remained the same unless we change it. But how can we change the TX power in the module?

      sebS 1 Reply Last reply Reply Quote 0
      • sebS Offline
        seb @MJ
        last edited by

        @mj
        https://docs.pycom.io/chapter/firmwareapi/pycom/network/lora.html#class-networkloraid0-

        Please see the tx_power parameter of the lora constructor.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          MJ @seb
          last edited by

          @seb
          Is there any chances to obtain the RX power?

          sebS 1 Reply Last reply Reply Quote 0
          • sebS Offline
            seb @MJ
            last edited by

            @mj

            The RSSI value from lora.stats() is "the received signal strength in dBm" as per: https://docs.pycom.io/chapter/firmwareapi/pycom/network/lora.html#lorastats

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              MJ @seb
              last edited by

              @seb
              But from lora.stat() it does not have the RX power. how can i obtain? Is there a way to obtain?

              sebS 1 Reply Last reply Reply Quote 0
              • sebS Offline
                seb @MJ
                last edited by

                @mj

                What do you mean by RX power? The RSSI is the power of the signal that was received measured in dBm.

                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  Burgeh @seb
                  last edited by

                  @seb When I have two LoPys close together, and connect through raw LoRa my RSSI is still around -30dBm that seems bad for such a close range. Putting them even further away (10m) puts them around -60dbM. Is this about right?

                  sebS robert-hhR 2 Replies Last reply Reply Quote 0
                  • sebS Offline
                    seb @Burgeh
                    last edited by

                    @burgeh

                    Yes -60dBm is a reasonable value for LoRa

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

                      @burgeh Looking at the discussion in this link: https://electronics.stackexchange.com/questions/83354/calculate-distance-from-rssi
                      and the derivation of the inital formula furtehr down the side, it seems that TxPower in the formula cites by MJ is the RSSI seen at a distance of 1 m. In my tests with two LoPy, that was in the range of 25dBm. Assuming that the power decrease by the suqre of the distance, 60dBm for a 10m distance seems not complete off, maybe a littel bit higher than expected (40dBm difference -> factor 100 == 10**2).

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        MJ @robert-hh
                        last edited by

                        @robert-hh I have tested again by pointing the antenna straight upward in 1m the rssi value that i obtained is around -37dBm. Is it looks reasonable?

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

                          @mj Depends on the antenna an it's set-up. With a short wavelength/4 antenna, I had values between 25 and 39 dBm, even depending on how I was placing myself. The wavlength/4 antennas are typicall about 10cm (4") long, whereas wavelength/2 antennas have a length of about 20 cm (8").

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

                          Pycom on Twitter

                          Pycom