Arduino meets RYLR998: A Comprehensive Guide to LoRa Module Integration

Поделиться
HTML-код
  • Опубликовано: 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

  • @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:)

  • @RafaelMorales-br7wn
    @RafaelMorales-br7wn Месяц назад

    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

  • @grimtagnbag
    @grimtagnbag 3 месяца назад +2

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

  • @kevinrickey3925
    @kevinrickey3925 Месяц назад

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

  • @shahidiqbal5273
    @shahidiqbal5273 3 месяца назад +2

    Very nicely explained ❤❤

  • @Jim_One-wl4ke
    @Jim_One-wl4ke 2 месяца назад +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.

  • @dabunnisher29
    @dabunnisher29 13 дней назад

    Explained very well.

  • @threeiem
    @threeiem 2 года назад

    This is a great video!

  • @ianthehunter3532
    @ianthehunter3532 2 года назад

    very good explanation, thanks

    • @marios_ideas
      @marios_ideas  2 года назад

      Thank you:) Please give video a like

  • @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:)

  • @NicksStuff
    @NicksStuff 6 месяцев назад +1

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

  • @TOMTOM-nh3nl
    @TOMTOM-nh3nl 2 месяца назад

    Thank you

  • @DilnuwanAmaraweera
    @DilnuwanAmaraweera Год назад

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

  • @kubaklodz
    @kubaklodz 2 года назад

    Bardzo ciekawy odcinek i fajny kanał, pozdrawiam.

  • @peachville4383
    @peachville4383 Месяц назад

    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.

  • @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 ruclips.net/video/XiOcxyyTxy4/видео.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

  • @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.

  • @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 Год назад

      @@marios_ideas 8.25KM at 12:18 ruclips.net/video/d9u6QIyR8a8/видео.html

  • @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 11 месяцев назад

      managed to solve? i have this problem too :C

    • @MrNams
      @MrNams 11 месяцев назад

      @@teusocost No, now each time I set band

    • @bromsnor7852
      @bromsnor7852 2 месяца назад

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

  • @Beiner-101
    @Beiner-101 2 месяца назад

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

  • @salsepulveda494
    @salsepulveda494 6 месяцев назад +2

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

    • @kevinrickey3925
      @kevinrickey3925 Месяц назад

      Amazon has jumpers galore...

    • @kevinrickey3925
      @kevinrickey3925 Месяц назад

      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?

  • @1rafaelespinoza
    @1rafaelespinoza 7 месяцев назад

    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 6 месяцев назад

    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 Месяц назад

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

  • @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

  • @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

  • @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

  • @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:)

  • @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 11 месяцев назад

    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  11 месяцев назад

      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 11 месяцев назад

    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  11 месяцев назад

      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 11 месяцев назад

      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 25 дней назад

    what about range?

    • @marios_ideas
      @marios_ideas  24 дня назад

      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 Месяц назад

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

    • @marios_ideas
      @marios_ideas  Месяц назад +1

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

    • @rustavellyne
      @rustavellyne Месяц назад

      @@marios_ideas Thank you!