LoRa Distance Testing With RYLR998 in Open Field - Amazing Results!

by taste_the_code in Circuits > Remote Control

12096 Views, 6 Favorites, 0 Comments

LoRa Distance Testing With RYLR998 in Open Field - Amazing Results!

2022-03-01 15-48-15.00_01_18_14.Still004.jpg
2022-03-01 15-48-15.00_00_05_25.Still002.jpg
2022-03-01 15-48-15.00_00_00_00.Still001.jpg
2022-03-01 15-48-15.00_00_44_23.Still003.jpg

In this Instructable, I will be building two devices around the RYLR998 LoRa module from REYAX.

These two devices will be transmitting simple messages between them so I can test the distance at which the devices can operate.

You can check the video below of the full build and test process.

Supplies

The Module

2022-03-01 15-48-15.00_01_25_05.Still005.jpg
2022-03-01 15-48-15.00_01_33_28.Still006.jpg
2022-03-01 15-37-34.mp4.00_00_36_29.Still001.jpg

The RYLR998 module is a LoRa Antenna Transceiver Module that operates in the 868/915 MHz Lora range. It features the Lora long range modem that provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption.

The modules were provided free of charge by Reyax for this test.

They feature a UART interface and they can be easily controlled by any microcontroller by using AT commands.

An important note here is that the modules are not 5V compatible so you will need to operate them at 3.3V.

Setup

2022-03-01 15-48-15.00_05_26_07.Still010.jpg
2022-03-01 15-48-15.00_03_19_10.Still009.jpg
2022-03-01 15-48-15.00_10_51_21.Still012.jpg

To test the distance at which the devices can operate, I will be using two modules with two NodeMCU boards to interface them.

One of the devices will be placed outside on my balcony and when this device receives a message, it will also send out a confirmation message for that.

The other device will be mobile and I'll drive around to see what sort of distances I can still receive confirmation messages at. This device will be connected to a mobile phone with an app that will monitor the serial data being transmitted and received so we can observe what happens.

My house is located on a hillside and I planned a few spots where I can test the device in the valley that is in front of it. I'll drive to those locations and I'll test the reception using the mobile unit to confirm that I get the response message back.

Arduino Code

2022-03-01 15-48-15.00_02_57_17.Still008.jpg
2022-03-01 15-48-15.00_02_20_00.Still007.jpg

The NodeMCUs are programmed using Arduino and the code used on them can be found on the repo below.

https://github.com/bkolicoski/rylr998-lora-distanc...

In a nutshell, device 1 is the mobile device and it sends a message to device 2.

When device 2 receives a message, it replies back with a message showing what it received.

The communication between the RYLR998 module and the NodeMCU board is implemented using the Software Serial library.

Results

2022-03-01 15-48-15.00_07_05_16.Still011.jpg

You can best see the results by watching the video below.

I made tests on several checkpoints with distances of 650meters, 1.3km, 2.33km, 5.2km, 5.7km (behind buildings), 6.6km, and finally 8.25km.

To my great surprise, I was able to receive messages at ALL locations. Most of the locations did not have any issues in receiving the messages except for the one at 5.7km that had some buildings in front of the device.

On this location, I had to go out of the car in order to receive the communication, while on all of the other locations, the module could still communicate while being inside the car.

At the final location, when the module was placed on the passenger seat, the messages were not received but as soon as I lift it to the dashboard, it was able to receive messages.

With these results, I'm confident that the module will be able to communicate even further, but I ran out of time for more tests and the weather was not really allowing playing with electronics outside. However, I will not stop here!

I have a project in mind that will make use of the modules so make sure to follow me here on Instructables or subscribe to my YouTube channel so you can see that as well.