Arduino meets RYLR998: A Comprehensive Guide to LoRa Module Integration

Поділитися
Вставка
  • Опубліковано 27 тра 2022
  • Company REYAX provided me with two Lora modules (RYLR998) to play with and to create a video about them.
    In this tutorail I will show you how to program those radio modules. How to connect them to Arduino. I will also create the code that will allow to remotely control the state of LED with the pushbutton.
    Hope you will find this video Useful.
    You can find more information bout those modules on the Manufacturer's webside:
    reyax.com/products/rylr998/
    You can get them at:
    TECHDesign: www.techdesign.com/market/rey...
    Amazon: www.amazon.com/REYAX-RYLR998-...
    Link to the code:
    projecthub.arduino.cc/project...
    or
    www.hackster.io/mdraber/how-t...
    If you like this content and you want to support me in creating similar videos go to my Patreon webpage
    / mariosideas
    Or Paypal
    www.paypal.com/cgi-bin/webscr...
    Music Credits;
    ------------------------------
    Track: Autumn - KV [Audio Library Release]
    Music provided by Audio Library Plus
    Watch: • Autumn - KV | Free Bac...
    Free Download / Stream: alplus.io/autumn
    ------------------------------
  • Наука та технологія

КОМЕНТАРІ • 74

  • @RafaelMorales-br7wn
    @RafaelMorales-br7wn 2 місяці тому

    thanks a lot, i was looking for this info for everywhere, you´re the only one who says that has to change to "both NL & CR" in the serial monitor. really good explanation

  • @kevinrickey3925
    @kevinrickey3925 2 місяці тому

    Thank You, Glad I found you. Excellent video, very clear and precise.. You deserve more followers without question.

  • @grimtagnbag
    @grimtagnbag 3 місяці тому +2

    Love that u explain the code Awsome! So helpful to me thank u

  • @Shyamkumar-di5fu
    @Shyamkumar-di5fu 2 роки тому +4

    Great!!
    Expecting more videos like this from you!

    • @marios_ideas
      @marios_ideas  2 роки тому

      THX. Don't forget to like this video:)

  • @shahidiqbal5273
    @shahidiqbal5273 3 місяці тому +2

    Very nicely explained ❤❤

  • @dabunnisher29
    @dabunnisher29 28 днів тому

    Explained very well.

  • @Jim_One-wl4ke
    @Jim_One-wl4ke 3 місяці тому +1

    Good video tutorials, I found it useful . Thanks for making this video ❤

  • @edydarmadji3204
    @edydarmadji3204 Рік тому +1

    Great tutorial video, es for newbie, cant wait the next one, many thanks 😀🙏👍

    • @marios_ideas
      @marios_ideas  Рік тому +1

      Thanks:) There are new videos coming.

  • @ianthehunter3532
    @ianthehunter3532 2 роки тому

    very good explanation, thanks

    • @marios_ideas
      @marios_ideas  2 роки тому

      Thank you:) Please give video a like

  • @threeiem
    @threeiem 2 роки тому

    This is a great video!

  • @speedy0_FPV
    @speedy0_FPV 2 роки тому

    very GUD

  • @mehmetaltinsoy525
    @mehmetaltinsoy525 2 роки тому

    Great video.

    • @marios_ideas
      @marios_ideas  2 роки тому

      THX. Give the video a like. Helps for the video to get noticed

  • @steverileyretired
    @steverileyretired 2 роки тому +1

    Very Good

    • @marios_ideas
      @marios_ideas  2 роки тому

      Thanks. Give video a like if you enjoyed it:)

  • @TOMTOM-nh3nl
    @TOMTOM-nh3nl 3 місяці тому

    Thank you

  • @kubaklodz
    @kubaklodz 2 роки тому

    Bardzo ciekawy odcinek i fajny kanał, pozdrawiam.

  • @NicksStuff
    @NicksStuff 6 місяців тому +1

    You should probably make the Arduino configure the LoRa module in the setup function, that's much easier to maintain.

  • @DilnuwanAmaraweera
    @DilnuwanAmaraweera Рік тому

    A 2 Z Thank You....!!!

  • @peachville4383
    @peachville4383 2 місяці тому

    Excellent video!!!
    There seems to be a long lag between pushing the button on the transmitter and the LED ON/OFF state.
    Is this due to the code used or normal delay to expect with this LoRa device?

  • @raymondmichael4987
    @raymondmichael4987 Рік тому

    Thanks, that’s some explaining done right.
    One question, can we use those module to create mesh network with them, where the network can discover and new nodes in the nwtwork (auto-configuring network)

    • @marios_ideas
      @marios_ideas  Рік тому +1

      I am not sure. Please check at Rezax. They usually provide good documentation.

  • @nsedoglavich
    @nsedoglavich Рік тому

    Very informative video. I really appreciate it! For both REYAX RYLR896 and the RYLR998 modules, I saw one review on Amazon, stating that the person would get them to work and then they would fail. Have you done any longer term testing to confirm the stability/reliability of these modules?

    • @marios_ideas
      @marios_ideas  Рік тому

      Unfortunately I did not. I have a project in pipe to use them which would answer youer question but it will be a while before I will do it:(

    • @nsedoglavich
      @nsedoglavich Рік тому

      ​@@marios_ideas Thank for answering. I'll probably buy a couple of them and set up something in a couple of weeks to test reliability.

  • @woolfy02
    @woolfy02 Рік тому +3

    That's a really cool project. Could you make something similar with controlling relays instead of the LED? I can't find anything really basic as far as a tutorial goes to set it up. Any books you can recommend for learning LoRa and things that you made for this? thanks

    • @marios_ideas
      @marios_ideas  Рік тому +2

      There is virtually no difference. You send the high signal to Arduino pin to light up the led and in the same way you send high signal to relay to control whatever the relay is connected to. As far as using relays is concerned you can check my other tutorial ua-cam.com/video/XiOcxyyTxy4/v-deo.html

    • @woolfy02
      @woolfy02 Рік тому

      @@marios_ideas thanks I'll check it out. Appreciate it

    • @MrNams
      @MrNams Рік тому

      @@woolfy02 My arduino IDE not detecting says unknown board and serial monitor does not work

  • @johneagle4384
    @johneagle4384 2 роки тому +3

    What is the max range of these modules? Excellent video, thank you!

    • @marios_ideas
      @marios_ideas  2 роки тому +2

      well. Thats what I want to check in the residential area.The datasheetdoes not give hat info. But other tutorials say 10km+. If you enjoyed the video give it a like

    • @Ritchieiou
      @Ritchieiou 2 роки тому

      @@marios_ideas 8.25KM at 12:18 ua-cam.com/video/d9u6QIyR8a8/v-deo.html

  • @Beiner-101
    @Beiner-101 2 місяці тому

    Can't you use an arduino board with 5v just by limiting it with resistors?

  • @1rafaelespinoza
    @1rafaelespinoza 8 місяців тому

    Dear sir, do you have an implementation with mesh net with RYLR998 and ESP32, would you give me a sight, please.

  • @ClickClack_Bam
    @ClickClack_Bam 7 місяців тому

    I'm looking to use this module with my Flipper Zero.
    There's a LoRa app built into the Flipper Zero where you can set the parameters as you did in this video.
    On the other end, I don't have a 2nd Flipper Zero though so it has to be my laptop it's communicating to/from.
    I have a uart to hook up the laptop to the LoRa module. Do I just open the Com port & start entering the parameters this way?
    I'm NOT looking to light up an LED etc. I'm simply looking to both transmit & receive to both the LoRa modules texts.
    Do I just set the parameters in the Com port & then I'm good to go?
    So to reiterate, the parameters will be set in the Flipper Zero & using jumper cables. The LoRa module will be connected to & powered by the Flipper Zero. It can send/receive through the LoRa module.
    I need to set the other LoRa module up to my laptop. Is the LoRa module good to go without writing code & just setting the parameters up through the Com port?

    • @rustavellyne
      @rustavellyne 2 місяці тому

      Have you find an answer? I am looking for setting lora without UART

  • @salsepulveda494
    @salsepulveda494 7 місяців тому +2

    Where do you get the jumpers? What are the lengths available? What is the wire gauge size required?

    • @kevinrickey3925
      @kevinrickey3925 2 місяці тому

      Amazon has jumpers galore...

    • @kevinrickey3925
      @kevinrickey3925 2 місяці тому

      It's a piece of wire, small gauge, it's from one hole to another, it's not brain surgery. Improvise. Did you ever have a 151 Electronic Project Kit from Radio Shack as a kid?

  • @securedatastorage
    @securedatastorage Рік тому

    This is a cool project using Arduino, how about if I want to design it using other AVR chipsets. It is easy to prototype using Arduino board. However, with my entrepreneur hat on (idea lead to production product), I do not want all the functionality of an Arduino board, I just want a voltage regulator with a 3.3vDC, external crystal of my liking e.g. 7.327Mhz (for UART)..a serial port on Port B to load my program in, LoRa module and a selection of AVR microcontrollers e.g. ATTiny88 or ATMega164PA to choose from (to reduce cost) etc.... Any recommendation?

    • @marios_ideas
      @marios_ideas  Рік тому +1

      I am probably not the right person to answer it. At least not now. I will be doing future videos on ATTiny chip but I learn as I go. You probably want to ask this at Arduino forum. I presume that as long as the chip is 3 v and provides serial com ports this should work the same. If the chip is in 5v logic you need to have Logil Level Converter. Funny enough I am planning to make a video on such converters in coming weeks as well:)

  • @MrNams
    @MrNams Рік тому +2

    I have RYLR998, when set band using At command "AT+BAND=865000000", it remember only when it is connected, when i disconnect and connect and ise "AT+BAND?"
    it shows +BAND=915000000Hz, why it is not remembering BAND?

    • @teusocost
      @teusocost Рік тому

      managed to solve? i have this problem too :C

    • @MrNams
      @MrNams Рік тому

      @@teusocost No, now each time I set band

    • @bromsnor7852
      @bromsnor7852 3 місяці тому

      Answer AT+BAND=865000000,m write toe memory. RTF !!!

  • @rodo19724
    @rodo19724 2 місяці тому

    Can you send the link to buy it saying the is stock available? Amazon does not have, Aliexpress does no have, etc.

    • @marios_ideas
      @marios_ideas  2 місяці тому +1

      I found this one www.ebay.pl/itm/326090697862?chn=ps&norover=1&mkevt=1&mkrid=4908-166454-595607-3&mkcid=2&itemid=326090697862&targetid=293946777986&device=c&mktype=pla&googleloc=1011615&poi=&campaignid=20217678640&mkgroupid=148313024046&rlsatarget=pla-293946777986&abcId=&merchantid=694404522&gad_source=1&gclid=Cj0KCQjwxeyxBhC7ARIsAC7dS3-FLp2j3wbtJnnRDYNhgfWtBOzRFKgMqIed--6W_RUF11YN9GohXxYaAlDoEALw_wcB

  • @nagarava
    @nagarava 9 місяців тому

    Can I use the lora module with the seedstudio ESP32 C3 module ?

    • @marios_ideas
      @marios_ideas  9 місяців тому

      Did not work with that microcontroller. But I checkt and it has the UART interface and works with 3,3V logic. So I do not se why it would not work. I am not sure if it is supported in Arduino IDE , though

  • @radiosinc
    @radiosinc 10 місяців тому

    Which terminal program are you using? It looks like Arduino but I am not aware of how you get that interface to come up?

    • @marios_ideas
      @marios_ideas  10 місяців тому

      It is Arduino IDE. When you open it you will find serial monitor icon in the top right corner which opens Serial Monitor

  • @tayffunuzzun1531
    @tayffunuzzun1531 Рік тому

    Have you been able to test its range? Is it correct that its range is more than 10 km?

    • @marios_ideas
      @marios_ideas  Рік тому

      I did not. I know that I promised to. But I was caught by winter and it was too cold to do it. As soon as it is warmer I will create a short video to give it a test.

  • @shogunvanrepi3555
    @shogunvanrepi3555 Рік тому

    How long range distance if we use that module?

    • @marios_ideas
      @marios_ideas  Рік тому

      The manufacturer days with tweaking the parameters the range can be to up to 10km. I am yet to do a test in Urban area but i think 3-5 km schould be possible

  • @teusocost
    @teusocost Рік тому

    I have a problem with setting the parameters, while the module is connected everything can be configured correctly, however when I remove power from the module it returns to the factory settings, what should I do to solve this?

    • @marios_ideas
      @marios_ideas  Рік тому

      I can't relly hrlp you as my modules keep the settings. But you are a second person reporting this to me.

  • @user-ny7hf9oj3b
    @user-ny7hf9oj3b Рік тому

    Are you asking for a solution to a problem where, in a 1-to-3 communication scenario, even though the same network ID is set, when a value is sent to address 1, values from address 2 are received, but values from addresses 3 and 4 are not received? In other words, values from one side are not being received. Is that correct?

    • @marios_ideas
      @marios_ideas  Рік тому

      I am not sure which problem you are reffereing two. Can you refer to the timestamp in my video?

  • @billknudsen6291
    @billknudsen6291 9 місяців тому

    I ran across this video recently and wanted to check the code, but the link to the code is broken. help me out here Mario!

    • @marios_ideas
      @marios_ideas  9 місяців тому

      I added an extra link. Consider supporting my channel.

  • @wimnijntjes5878
    @wimnijntjes5878 Рік тому

    Mario, can you please help me with a very simple looking problem? I have 2 boards, just like you. At the transmitter board I have a loop with 2 send lines. There is 1 second between the transmission of the lines.
    The transmitter runs ok. I got the +OK after the send lines are executed. But the receiver shows only the first received line. I looked with a logic analyzer and I see the 2 lines are transmitted. But on the receiving module there is no reception of the lines after just the first. It looks like the receiver is no longer in receiving mode.
    I swapped the boards. Same problem.

    • @marios_ideas
      @marios_ideas  Рік тому

      What happens if you make the delay longer In my ideo you have seen that I was sending led state few seconds apart without problem.. Also try to run transmission 1 twice to see if maybe there is some problem with the content of second transmission. Diffiult to troubleshoot without hands on the prototype:)

    • @wimnijntjes5878
      @wimnijntjes5878 Рік тому

      Hi Mario, I got it working. I first did an AT+FACTORY and only changed the address of the transmitter and receiver. But there is still one problem left.
      In about 20 transmissions of a 5 character string one of them does not come out of the receiver. It was transmitted with an +OK response. I lowered the baudrate to 9600.
      Same problem…. This will become a very difficult problem to troubleshoot I believe.

  • @shoaibakhter484
    @shoaibakhter484 Місяць тому

    what about range?

    • @marios_ideas
      @marios_ideas  Місяць тому

      I want to make the video for range testing. But i need to design a proper design. I will not be going around with breadboard and dupont jumper wires. So I will create it but it is not going to me next week:*

  • @rustavellyne
    @rustavellyne 2 місяці тому

    Is there any possibility to configure lora without UART, maybe with arduino directly?

    • @marios_ideas
      @marios_ideas  2 місяці тому +1

      You can issue AT command from Arduino sketch so you can configure it from within the code

    • @rustavellyne
      @rustavellyne 2 місяці тому

      @@marios_ideas Thank you!