LoRa Peer-to-peer (P2P) Demo with REYAX RYLR998

  Переглядів 5,347

Leon Anavi

Leon Anavi

День тому

LoRa Peer-to-peer (P2P) allow direct communication between LoRa end nodes without LoRaWAN gateway. This video explains how to use LoRa P2P with REYAX Technology RYLR998 module with Semtech engine and NUVOTON MCU. This LoRa model is controlled through USB to UART converter and AT commands.
REYAX RYLR998: reyax.com/products/rylr998/
LoRa is a wireless modulation technique derived from Chirp Spread Spectrum (CSS) technology. It transmit small chunks of data with low bit rates over long range. LoRa operates on the license free sub-gigahertz bands and requires low power. LoRa was developed by Semtech.
LoRa Radio Frequencies:
- Europe EU868 (863-870/873MHz)
- North America US915 (902-928MHz)
- South America AU915/AS923-1 (915-928MHz)
- India IN865 (865-867MHz)
- Asia AS923 (915-928MHz)
LoRaWAN is a Media Access Control (MAC) layer protocol on top of LoRa for managing network communication between end nodes and gateways, developed and maintained by the LoRa Alliance.
LoRa Peer-to-peer (P2P) allows direct LoRa communication between end node devices (peer-to-peer). The benefit is the low cost of the infrastructure because LoRaWAN gateways are not needed.
AT commands for receiving with REYAX RYLR998:
AT
AT+RESET
AT+ADDRESS=1
AT+NETWORKID=6
AT+BAND=868500000
AT+PARAMETER=7,9,4,12
AT commands for sending with REYAX RYLR998:
AT
AT+RESET
AT+ADDRESS=0
AT+NETWORKID=6
AT+BAND=868500000
AT+PARAMETER=7,9,4,12
AT+SEND=1,5,HELLO
0:00 Intro
1:12 LoRa P2P
3:10 RYLR998 Unboxing
5:36 LoRa P2P with RYLR998
9:48 LoRa P2P Conclusions

КОМЕНТАРІ: 29
@goptus7498
@goptus7498 2 місяці тому
Very good explanation. Thank you!
@LeonAnavi
@LeonAnavi 2 місяці тому
I am glad that you liked the video. Thanks for the feedback!
@zocker1600
@zocker1600 Рік тому
thank you for this, that is very useful, I do have a question though: the AT commands are essentially strings, I wonder is it possible to also send pure binary data, or will I always have to go trough the binary -> string -> binary conversion?
@LeonAnavi
@LeonAnavi Рік тому
Yes, exactly the AT commands are strings. This is actually a very typical way for controlling modems. Most probably you will need to serialize the data, send it and deserialize it after receiving it on the other LoRa node.
@Drakkarlegion
@Drakkarlegion 5 місяців тому
Can you show how to do this from a raspi 3 or maybe even a zero through the gpio?
@LeonAnavi
@LeonAnavi 5 місяців тому
I am not sure I will have time to post a step by step tutorial in near future but in general you can use similar approach and directly connect RYLR998 to the UART pins on the 40 pin header of Raspberry Pi (or even 26 pin if you are using the very first rpi). The UART is on pin 8 (GPIO14) for TX and pin 10 (GPIO15) for RX. Again connect TX to RX and RX to TX as in this video. After that from rpi-config of Raspberry Pi OS enable serial communication and the rest of the steps should be identical to what you see in this video.
@waynesouliere8172
@waynesouliere8172 9 місяців тому
Very nice video. I have seen many like it. I can communicate PC to PC with LoRa. I have tried many times and many ways to communicate with LoRa RYLR896 and using Arduino Nano and or Mega 2560 boards. I used 3.3v Vcc on both. I either get no communications or ERR=1 or ERR=2 on the receiver side. I have been trying different methods from many youtube videos. None work like they demonstrate on the videos. What am I doing wrong?
@LeonAnavi
@LeonAnavi 9 місяців тому
What is your approach for programming Arduino Nano and or Mega 2560 boards in terms of your RYLR896? Are you using an open source Arduino library or are you sending AT commands directly as in my video for PC communication?
@aurelienkouakou431
@aurelienkouakou431 Рік тому
Thanks for this tuto. Can this module be used to connect a lorawan server such as The things network ?
@LeonAnavi
@LeonAnavi Рік тому
Unfortunately not, have a look at RYLR993 which supports both LoRa proprietary mode (like RYLR998) and connection to LoRaWAN. Btw I am planning to cover RYLR993 in a new video but I am not sure when I will be able to publish it.
@aurelienkouakou431
@aurelienkouakou431 Рік тому
@@LeonAnavi I understand. Thnaks for your answer. I'll be waiting 🙏
@Alain-ze6mw
@Alain-ze6mw Місяць тому
Thank you for this video, can you tell me what means the number received after the message, the -4 or -5 is the power received i think but what does the last number 13 or 14 means ?
@LeonAnavi
@LeonAnavi Місяць тому
It is for SNR (Singal to Noise Ratio)
@Alain-ze6mw
@Alain-ze6mw Місяць тому
@@LeonAnavi Oh thank you !
@pavel12230808
@pavel12230808 Рік тому
@Leon Anavi I have tried but the port is not found. I can see before you ran the serial monitor there is a code named "oled-dispaly-sketch". Do I need that code for the AT Command? can you please help me on this.I am really trying to learn it. Thanks.
@LeonAnavi
@LeonAnavi Рік тому
as mentioned in it the other comments you need to have an appropriate driver installed for your USB to UART converter on the OS you are using.
@Edsdrafts
@Edsdrafts Місяць тому
As far as I understand all data transmission is visible and easy to read for man in the middle attack. Does LORA P2P offer any security to avoid this?
@LeonAnavi
@LeonAnavi Місяць тому
REYAX modules are designed with their own proprietary protocol. Because it is not open source I cannot comment the security aspect of this proprietary protocol. For security purposes, you may consider end to end encryption implementation on the application level.
@MrLeonardowolf
@MrLeonardowolf 16 днів тому
thank you my brother in crist
@LeonAnavi
@LeonAnavi 16 днів тому
I am happy that the video is useful :)
@asadkhan-mq8ro
@asadkhan-mq8ro 11 місяців тому
Have you connected this module with LoRaWan gateway?
@LeonAnavi
@LeonAnavi 10 місяців тому
No, I used for P2P.
@pavel12230808
@pavel12230808 Рік тому
Can I do it using windows PC?
@LeonAnavi
@LeonAnavi Рік тому
Yes, you can apply the same approach using Arduino IDE on MS Windows. Just make sure the right drivers are installed and the right port is selected for the USB to UART debug converter.
@pavel12230808
@pavel12230808 Рік тому
@@LeonAnavi I have tried but the port is not found. I can see before you ran the serial monitor there is a code named "oled-dispaly-sketch". Do I need that code for the AT Command? can you please help me on this.I am really trying to learn it. Thanks.
@LeonAnavi
@LeonAnavi Рік тому
@@pavel12230808 no, no code is needed. In this case Arduino IDE is used just for the feature serial monitor. What model USB to UART converter are you using to connect RYLR998 to a computer? Considering you are using in on MS Windows, are drivers for it installed?
@pavel12230808
@pavel12230808 Рік тому
Will PL2303 USB to UART will work?
@LeonAnavi
@LeonAnavi Рік тому
@@pavel12230808 I don't have experience with it. Most probably you will need a driver for it if you are using MS Windows: www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41
Arduino meets RYLR998: A Comprehensive Guide to LoRa Module Integration
16:58
Rutgers University Confirmed: Meshtastic and LoRa are dangerous
13:27
Andreas Spiess
Переглядів 719 тис.
[실시간] 전철에서 찍힌 기생생물 감염 장면 | 기생수: 더 그레이
00:15
Netflix Korea 넷플릭스 코리아
Переглядів 38 млн
Анита просто на химии, поэтому такая сильная
00:21
Женя Лизогуб SHORTS
Переглядів 2,7 млн
Peer-to-Peer LoRa Test: Reyax RYLR998 - ESP32 - MicroPython
31:26
Clayton Darwin
Переглядів 5 тис.
#117 DIY LoRa Node with Arduino and Dragino Shield connected to TTN LoRaWAN
14:22
Add USB To Your Electronics Projects! - The USB Protocol Explained
15:19
Which LoRaWAN Gateway Is Best For Me (Comparison)? Part 1
16:31
Andreas Spiess
Переглядів 38 тис.
ESP-NOW - Peer to Peer ESP32 Network
43:02
DroneBot Workshop
Переглядів 326 тис.
LoRa/LoRaWAN tutorial 11: Carrier Frequencies and Bandwidths
10:31
Mobilefish.com
Переглядів 31 тис.
The Idiots Guide To Meshtastic - Long Range Comms!
10:20
Ringway Manchester
Переглядів 791 тис.
Using LoRa for P2P half-duplex long range communication
12:43
Sayanee Basu
Переглядів 19 тис.
Photo Changing Replace And Edit Backgrounds 65mn With These 10 Tips
0:53
Irfan AN Tech
Переглядів 260 тис.
''Бесплатные умные'' домофоны для глупых людей. За чей счет банкет?
12:48
Вадим Шегалов.Оккультные игры элиты
Переглядів 30 тис.