Reyax RYLR890/RYLR896 LoRa Tutorial | Sending Sensor Data Wirelessly with LoRa & Arduino

  Переглядів 13,481

How To Electronics

How To Electronics

День тому

In this project, we will learn how to use Reyax RYLR890 LoRa Module with Arduino. The RYLR890/RYLR896 transceiver module features the Lora long range modem that provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. Earlier we learned about LoRa Module SX1278 & its interfacing with the Arduino through SPI Pins. Today we will learn about the UART LoRa Module that can be used with any microcontroller using only 4 pins.
The Lora Module RYLR890/RYLR896 communicates up to the range of 10-15Km. It is designed using the best noise reduction technology. The LoRa Module can be easily interfaced with Arduino Board, ESP8266, ESP32, or STM32 Microcontrollers. The power consumption of the module is very low about 43mA during transmission & 16.5mA during receiving. Putting the module to sleep mode, further reduces the power to 0.5uA.
In this tutorial, we will first make a simple Arduino LoRa RYLR890 Transmitter/Receiver Circuit & do a point to point communication like controlling a LED brightness Wirelessly using Potentiometer. In the 2nd example, we will send the sensor data wirelessly from transmitter to receiver. The sensor we are going to use is the BME280 Sensor that can measure environmental temperature, humidity, pressure & altitude.
Source Code + Schematic + Project Details Link: how2electronics.com/reyax-ryl...
RYLR896 Purchase Link:
-Amazon(US): reurl.cc/24p8Dr
-Amazon(UK): reurl.cc/R4jGLe
-eBay: reurl.cc/XX754R
-TechDesign: reurl.cc/Ob9EpD
-Alibaba: reurl.cc/exGzvb
-Official Website: reyax.com/products/rylr896/
....................................................................................................................................................................................................................................
Drop a like if you liked this video.
Don't forget to subscribe to our channel for more Electronics projects and tutorials.
Website: www.how2electronics.com
Facebook: / electronicsbyalex
Instagram: / how2electronics

КОМЕНТАРІ: 42
@devilalg3974
@devilalg3974 3 роки тому
Thankq so much for making very useful new project. I never find this Lora information anywhere. Thank_you bro.
@user-wn7rf1tc8g
@user-wn7rf1tc8g Рік тому
Great video ! , I have a question - how do I change the code (on the rx AND tx side) so that I can control 2 leds (light - intensity) with 2 potentiometers on the TX side ?
@luizcancelacancela7500
@luizcancelacancela7500 3 роки тому
congratulations very cool your projects I speak here from Brazil
@081sivasubramanian2
@081sivasubramanian2 Місяць тому
Does both lora modules comes or to buy them separately?
@anwerr37
@anwerr37 Рік тому
I used Arduino micro as a transmitter and Arduino Uno as a receiver for the first example and the LED did not turn on. I can see the transmitter working through the serial port. However, the receiver serial port is not showing anything. do you think Uno is a problem?
@martinchlupac4929
@martinchlupac4929 7 днів тому
So I wired up to the instructions, loaded the code and the transmitter tx flashes but the receiver rx does not, what do I do now? LED does not come on.
@Lisalisa-kx9fw
@Lisalisa-kx9fw 3 роки тому
Very cool project and great video 👏
@joshuakolby1141
@joshuakolby1141 2 роки тому
This video really helped me out. It was the first one where I actually managed to send signals. However, there are two things that I would like to know more information about. The first is why is the data sometimes corrupted. For example: Sometimes I will receive "28.63 C" for the temperature one packet, the next I receive something like "28.@3^C". I am wondering if there is a good way to get solid data (I am not in a busy radio area and my devices are 1 m apart with no interference). The next question I have is how to I put input AT commands using SoftwareSerial? I know with the regular Tx and Rx pins, you can just use an empty sketch and the AT commands will work just fine. However, I am unable to use the Tx and Rx pins for my project and have to use SoftwareSerial. I haven't found anywhere online how to access AT commands through SoftwareSerial. Thank you!
@naughtykidlavya1680
@naughtykidlavya1680 2 роки тому
Can we do the same thing with Digilent Basys3 Board.
@mramzadg
@mramzadg 3 роки тому
another awesome video thank you... sir love u...
@kpinnovations6613
@kpinnovations6613 2 роки тому
Bro great project I was followed all this process as shown in u r video but I have some problems only address is saved in the memory of rylr896 parameters and bandwidth not saved after disconnected from pc and reconnect module with pc all commands are default And I m not getting the range above 100meters pls bro help me
@MrAlsan
@MrAlsan 3 роки тому
Awesome tutorial 👍
@mr.shaneel5760
@mr.shaneel5760 2 роки тому
Can you give Proteus simulation for this project
@kentthomas1045
@kentthomas1045 Рік тому
What MHZ Band does it work at?
@yogeshitaliya473
@yogeshitaliya473 3 роки тому
Nice one
@kaibergman1864
@kaibergman1864 2 роки тому
amazing job!
@electronic7979
@electronic7979 3 роки тому
Very good video
@joebro391
@joebro391 2 роки тому
Can you explain why on line 32 of the rx_lora script in the first example, you set potval equal to string values in position 9 - 12? I imagine that you're breaking up "cmd" from the tx_lora program as it comes into the receiver, however, if cdm == "AT+SEND=0,, ", wouldn't the actual pot reading start at character 13? For example, in "AT+SEND=0,3,val". Or are special characters (ie, the commas and operators) ignored? Lastly, assuming those characters are ignored and we want the characters from 9 - 12, how does it work if the pot val is only a single digit? Does the program expect 4 characters (ie, 1023) and read "9", for example, as "0009"? Regards, Joe
@adailyllama4786
@adailyllama4786 Рік тому
Val in this case is the length of the variables contents.
@woolfy02
@woolfy02 Рік тому
So you can use 2 Arduino Uno boards or 2 nano boards? If you use 2 Nano boards, you just have to drop the voltage from 5v to 3.3v, right?
@HowtoElectronics
@HowtoElectronics Рік тому
Better to use 3.3V controller like Arduino Pro Mini or STM32
@mnunez6153
@mnunez6153 3 роки тому
does lora requires always a line of sight condition?
@ronen124
@ronen124 3 роки тому
No. But like any other electromagnetic wave, the more buildings/trees/mountains between Tx and Rx results in less reception
@shrushtihegde9714
@shrushtihegde9714 2 роки тому
Is there any other lora module which is similar to rylr 890/896
@HowtoElectronics
@HowtoElectronics 2 роки тому
No
@billglass5160
@billglass5160 3 роки тому
Very good video. I will get 2 Lora modules and try your project. My ultimate goal is to create a remote sensor for my swimming pool water level & temperature using the HC-SR04 and the DS18B20 sensors and an Arduino Nano. By the way, don't you have to send some inital AT commands to configure the Lora modules such as Address, Band, Spreading factor,..etc. ? If so, I will probably need to buy a serial interface FTDI232 board to configure them. Also, for the sensor project, I'm wondering if you know why there are occasional errors displayed on the receive serial monitor com16. And one more point: According to your code, I think Arduinos serial software pins 2,3 are rx,tx respectively. I think the wires to Arduino pins 2,3 need to be swapped. Thanx!!!!
@billglass5160
@billglass5160 3 роки тому
I actually made 2 sensors (1st for water temp. & level, 2nd for outside air temp. & humidity). They are powered by batteries. The first with 3x1.5 AA batteries and a TS5110 timer providing 8 seconds of power every hour. The second with 2x1.5 AA batteries using a standalone ATmega328p running on internal 8 mHz oscillator in sleep mode most of the time. With 3V, no need for the voltage divider on the Rxd Lora device. There are occasional reception misses (1/10) due to interference on the 868mHz channel. I live near a LoraWan gateway and there's a lot of traffic. I confirm my previous comments concerning the FTDI232, errors on using softwareserial library with baudrate>9600, and the rx,tx swapping . I am wondering if using these Lora chips is a little bit overkill. They are a little bit expensive (15 euros) and they seem to have a very long range compared to what is really needed in my case (15 meters). Otherwise, I am satisfied with this project!
@HowtoElectronics
@HowtoElectronics 3 роки тому
Glad to know you are very satisfied. The problem is really with the pricing. The price is too high.
@billglass5160
@billglass5160 3 роки тому
@@HowtoElectronics Good quality though!
@ManishGpt
@ManishGpt 3 роки тому
Again with very nice project but why not Shraddha this time?
@HowtoElectronics
@HowtoElectronics 3 роки тому
She will come in next video bro
@kamshorymt
@kamshorymt 2 роки тому
Can I replace the antenna?
@HowtoElectronics
@HowtoElectronics 2 роки тому
Yes u can
@AmarSingh-up4vl
@AmarSingh-up4vl 3 роки тому
But brother you will not show one transistor value in reciever circuit
@HowtoElectronics
@HowtoElectronics 3 роки тому
That transistor is not the part of the circuit
@divagarn5468
@divagarn5468 3 роки тому
bro which gives more range lora 890 or lora sx1278
@HowtoElectronics
@HowtoElectronics 3 роки тому
RYLR890 has the same SX1278/76 chip ibuilt. So basically the range is same for both. But Reyax is expensive.
@divagarn5468
@divagarn5468 3 роки тому
@@HowtoElectronics bro what is the max attitude range
@johnt2895
@johnt2895 2 роки тому
Can you better/ more clearly explain the data string format? Do you also do consulting if I needed to hire you for a few hours to help clarify some LoRa packets With sensor data?
@HowtoElectronics
@HowtoElectronics 2 роки тому
We have a team for consulting. You can mail us
@johnt2895
@johnt2895 2 роки тому
@@HowtoElectronics how do I send direct email for more information or consulting?
@johnt2895
@johnt2895 2 роки тому
In your video as an example you have a sensor and potentiometer value. I assume the potentiometer is in volts between 0 and 3.3v. You show a long string of data and highlight the 2 numbers separated by a dot. Is there some user guide that explains this and is it already decided by the recieved as it is transmitted encrypted? trying to understand the Lora packet and how to decide at the gateway with a similar packet string. I am not real familiar with UKposts so how do I PM you or you can send to me a link?
IoT LoRa Based Smart Soil Sensor Network & Data Monitoring System
10:15
How To Electronics
Переглядів 8 тис.
Лама Мама А4 и Кунг-фу Панда топчик❤️
00:22
Дим Димыч
Переглядів 2,3 млн
Галя вернула в детство @krus-kos
00:46
Кушать Хочу
Переглядів 5 млн
Дід Толя з онуком розривають своїми жартами | Розсміши Коміка по-новому 2024 Випуск 6
43:54
How to use LoRa with Arduino
12:43
learnelectronics
Переглядів 119 тис.
LoRa Arduino relay control circuit with Lora module RYLR896
10:48
Tech StudyCell
Переглядів 27 тис.
Первый Pixel и iPhone 7 в 2024 году. Кто круче?
18:56
Central network installation Part 2
0:20
Bilochpuratips Automobile
Переглядів 4,4 млн
Новый Чемпион Колонок от Свенов! Встречайте Sven PS-1500
17:33
РасПаковка ДваПаковка
Переглядів 52 тис.
Чёрный экран при включении. Что делать?
0:25
Создай свой Nothing 2(a) 🪩
0:40
serg1us
Переглядів 8 тис.
Обманет ли МЕНЯ консультант в 2024?
19:19
Харчевников
Переглядів 389 тис.