Skip to main content
Selim Sagir
Associate III
February 14, 2019
Question

How to configure B-072Z-LRWAN1 Ping-Pong example for best distance?

  • February 14, 2019
  • 4 replies
  • 1926 views

Hello to everyone,

I have two B-L072Z-LRWAN1 kit. Trying for measure best distance i can reach. I am using Ping-Pong example and change some variables such as LORA_SPREADING_FACTOR, LORA_BANDWIDTH, LORA_CODINGRATE, LORA_PREAMBLE_LENGTH etc. Until now, modules could not connect when spreading factor above 9. So i didnt achieve long distances. Anyone tried or know what is the best configuration for long distances.

Thanks.

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
February 14, 2019

Make sure the timeout is adequate for the transmission periods you create.

Try using the LoRa calculator (from Semtech) to understand the relationships rather than plug in values.

https://www.semtech.com/uploads/documents/SX1272LoRaCalculatorSetup1_1.zip

PingPong is probably a poor example given it's metastability, perhaps create a beaconing unit and use that to determine the throw of the radio, or create a local heat map.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Selim Sagir
Associate III
February 14, 2019

Thanks for answer. Is there any example of ST can make better monitoring for range test. I couldnt find any example. I think i should make own code.

Tesla DeLorean
Guru
February 14, 2019

I wrote my own, and used GPS shields to report position.

Zero effort should get you 1KM.

Some effort yielded 5-6KM with nominal settings.

With conservative settings I was able to get out to 14KM, but that was limited by the rather flat topology of the region, and lack of high points or hills to mount things on.

At distance you need line of sight to the antenna.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
YShta
Visitor II
August 4, 2019

can you give the code for 1KM?

i tried the ping-pong with less data, SF=12, BW=125K and not get more then 50-70 meters.

Selim Sagir
Associate III
February 14, 2019

I calculate timeout then change rxtimeout define but again i cannot connect two kits.

BHedo.1
Visitor II
March 25, 2021

Hello Yshta,

I got the same result. Have you found a solution?

Regards,

Benoit

Tesla DeLorean
Guru
March 25, 2021

You're digging quite far into the way-back machine here..

Perhaps better stating your issue/situation completely, and trying to understand why that's not working properly. For example where you are, what frequency band you're in, etc. You might also consider moving the frequency of the demo within the band, to see if the default is just over congested.

The stubby antenna on the kit is reasonably effective at getting a signal into the air. Height and the structures the signal needs to penetrate are going to limit distance.

#metoo

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..