How to use LoRa with Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 มิ.ย. 2024
  • How to use REYAX RYLR890/RYLR896 LoRa module with Arduino
    Reyax LoRa modules: www.ebay.com/itm/REYAX-RYLR89...
    If you are shopping for electronic components, test gear or consumables please consider visiting my Amazon shop @ www.amazon.com/shop/learnelec....
    Please check out www.patreon.com/learnelectronics and pledge a dollar if you can. It will go a long way to keeping the channel alive. It costs a bit of money to buy all the items and produce these videos. You help is appriciated.
    Or....if you'd like to send a one-time donation you can use this link: paypal.me/learnelectronics
    FAQ:
    Me: Paul, 49 from USA
    Education: United States Navy, University of California at San Diego B.S. E.E., University of Pittsburgh M.S. E.E.
    Experience: United States Navy STS, Bayer Intnl Process Engineer, C.C.A.C AP of EE
    Current: Retired
    Health: BAD (Congestive Heart Failure)
    Hobbies: Electronics, flying, amateur radio, music (classic rock)
    Low cost, professional PCB's: www.pcbway.com
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 81

  • @yfs9035
    @yfs9035 3 ปีที่แล้ว +3

    Instant sub, most people would never even care to thank somebody who sent them a pack of resistors, you sir are a gentleman and a scholar.

  • @michaelpadovani9566
    @michaelpadovani9566 6 ปีที่แล้ว

    Don't know much about lora modules but i like how it uses a simple serial connection. Depending on the range and power consumption it would be good or bad for "out in the field" sensors. Very glad u didn't forget about I2C also!

  • @thegoodhen
    @thegoodhen 4 ปีที่แล้ว +1

    Spreading factor is related to how many chips are used to encode one bit. When the SF is n, one bit is encoded as 2^n chips ("bits"), so it takes much longer, but it is less susceptible to noise and therefore also improves range.

  • @jonathanflores3748
    @jonathanflores3748 6 ปีที่แล้ว

    Great video! very well explained! Thanks mate!

  •  5 ปีที่แล้ว +2

    Thank you for the great instruction video, it really help me!

    • @Flash1857
      @Flash1857 3 ปีที่แล้ว

      Trying to make my first LoRa device. Good information and instructions, thanks.

  • @Elfnetdesigns
    @Elfnetdesigns 6 ปีที่แล้ว +2

    868 MHz is in the public service and LMR portion of the 800 MHz trunking band in the USA, and requires an LMR license with 800 MHz classification. 800 MHz is prime real-estate for public services, and wireless providers, the FCC is very protective of that band since it's a money maker for them..
    IDK if I'd be using those exact models for anything, I'd opt for a different version on a different band.

  • @paulhamilton3993
    @paulhamilton3993 5 ปีที่แล้ว +1

    Tks for the vid!!! Super work!!

  • @georgewashington421
    @georgewashington421 4 ปีที่แล้ว

    Thanks for the video, I now understand LoRa better and think it may provide an answer. Help, I need to replace a VERY SHORT range 433Mhz remote Gate Opener. I need at least a 150 Meter range (would like 300+ M), currently have about 10m with an exterior antenna. I’m using an ESP-32 to ‘assist’ the Gate Opener Control board with remote sensing and operations (house is 160m+ away) I can Open, Close, Hold Open the gate from my home network (and more). I thought I could use a D-1 mini in the car with a LoRa transmitter and a simple push button. The LoRa receiver would connect to the existing ESP-32 in the Gate Opener box.
    Questions:
    1-Can I encrypt the transmission?
    2-How can I use the received transmission on the ESP-32 to trigger an event (opto-isolated relays I have)
    3-Can the ESP-32 LoRa receiver transmit a CONFIRMATION back to the remote LoRa (D-1 Mini) in the car? (eg. buzzer/beep/LED blink)
    Any suggestions or direction to another video/Instructables tutorial would be appreciated. Thanks

  • @LatinDanceVideos
    @LatinDanceVideos 5 ปีที่แล้ว

    I like that board the uno is mounted on. What search term(s) do you find those with on eBay??

  • @tigrafrog
    @tigrafrog 6 ปีที่แล้ว +7

    Are you sure it is OK to power those with 5v?
    By specs it's up to 3.6 v.
    Also you will need a logic-level converter as well.

  • @reimax8934
    @reimax8934 5 ปีที่แล้ว +1

    May I ask how could you send data using this lora module from one arduino to another one... mine cannot work at all and i am really confused

  • @georgechambers3197
    @georgechambers3197 6 ปีที่แล้ว +1

    Could this LoRa be used like the olden times LoRAN? Three transmitters and one moving receiver. The receiver measures signal strenght from each transmitter for location? Seem like similar principals. Can't wait for the next exciting episode

  • @siddhimali8153
    @siddhimali8153 5 ปีที่แล้ว

    This Reyax modules works with 433 , 868 and 915 . How would I know which frequency I am working with

  • @KhaoZGameOver
    @KhaoZGameOver 5 ปีที่แล้ว

    Merci gros tu gères la fougère

  • @Sam-cp6so
    @Sam-cp6so 2 ปีที่แล้ว +1

    The UART logic levels on the arduino are 5v nominal unless you're underdriving the board. You need a logic level shifter circuit on the transmitter from the arduino tx to the lora module, or at least a voltage divider to get it down to 3.3.

    • @_lynchy_19
      @_lynchy_19 3 หลายเดือนก่อน

      hey, since the rylr896 is a 3.3V device, would you have to use a voltage divider on both the TX and RX pins to get it down to 3.3V? because im using an arduino uno, but most places on the internet only have the voltage divider on the RX pin of the rylr896. but im not sure. I know its been a year but any response will be greatly appreciated. I have been struggling with this for days now

  • @johnshadle4817
    @johnshadle4817 6 ปีที่แล้ว +4

    It would be good to have your code available in a file, either an .ino file or a text file, which would save the trouble of trying to copy it from the screen. Thanks!

  • @PhilipChandler
    @PhilipChandler 6 ปีที่แล้ว

    I'm wondering if you have auto input volume switched on in your audio recorder? There's quite a lot of noise while you are talking.

  • @4uidrum
    @4uidrum 7 หลายเดือนก่อน

    Sorry one more question: Does this setup allow bidirectional communication? Thank you so much! :)

  • @GeorgeWMays
    @GeorgeWMays 4 ปีที่แล้ว +7

    Uh, wasn't that a 3.3v device that you connected to the 5v source? Did I miss something?

    • @rodrigoluka453
      @rodrigoluka453 3 ปีที่แล้ว

      I know I am pretty off topic but do anyone know of a good website to stream newly released tv shows online ?

    • @korbinbrayan4794
      @korbinbrayan4794 3 ปีที่แล้ว

      @Rodrigo Luka I would suggest Flixzone. You can find it by googling =)

  • @jumadhaheri
    @jumadhaheri 6 ปีที่แล้ว

    Great video

  • @haokaichen4187
    @haokaichen4187 16 วันที่ผ่านมา

    Arduino operates at 5V logic level, I've tried using voltage dividers and pull-up resistors to make it compatible with the 3.3V voltage of the SX1281 chip, but I've failed. I couldn't get any signal on the serial port. Can you guide me on how to make them perfectly compatible using only resistors?

  • @dineshdisaster9477
    @dineshdisaster9477 5 ปีที่แล้ว

    Greetings sir!
    Is This Lora module is compatible for multi point transmission

  • @TheRainHarvester
    @TheRainHarvester 2 ปีที่แล้ว

    Has anyone got the LoRa arduino library to work with the llcc68 900MHz modules? I got the spi working but no wireless is connecting to each other.

  • @chetitahrachid1495
    @chetitahrachid1495 3 ปีที่แล้ว

    Please do you know a lora module with an integrated antenna for my arduino nano 33 ble sense board ?

  • @bongoritus
    @bongoritus 5 ปีที่แล้ว +2

    What’s your patreon link? Would like to donate

  • @raihanadhipratamaarvi428
    @raihanadhipratamaarvi428 4 ปีที่แล้ว

    Great tutorial! One question. Am i able to use it as 2 way communication?

    • @tzq33tdq
      @tzq33tdq 4 ปีที่แล้ว

      Yes, they are transceiver modules, so they can transmit and receive

  • @domingoscastelhano1702
    @domingoscastelhano1702 4 ปีที่แล้ว

    Hi; Great video.Just one question ,can this modules be used to built a whetaher station ? It's possible to transmit variables as temperature and humidity? Rgds

    • @learnelectronics
      @learnelectronics  4 ปีที่แล้ว

      yes you can transmit variables

    • @domingoscastelhano1702
      @domingoscastelhano1702 4 ปีที่แล้ว

      @@learnelectronics Thanks a lot for your fast answer .Do you a sketch as example ? Thanks again

  • @marios_ideas
    @marios_ideas 2 ปีที่แล้ว

    In the datasheet the VDD is listed as max 3.6V and you hook it up to 5V. Is there a risk to fry the board this way?

    • @learnelectronics
      @learnelectronics  2 ปีที่แล้ว

      That's the max voltage to the chip itself. It goes through a 3.3 regulator on the board first

  • @Yarz01
    @Yarz01 ปีที่แล้ว

    Thank you.

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

  • @4uidrum
    @4uidrum 8 หลายเดือนก่อน

    Great video! Quick question: I have Arduino Uno R3 (and I'm not an electronics expert). My Uno doesn't have a D3 pin. Should I use A3 pin? Thank you kindly!

    • @learnelectronics
      @learnelectronics  8 หลายเดือนก่อน

      Your Arduino R3 has digital pins 2-13.

  • @tommijii
    @tommijii 6 ปีที่แล้ว

    For the range check, I would like to see a test setup where the antennas are about 1m (hip height) from the ground. :)

    • @learnelectronics
      @learnelectronics  6 ปีที่แล้ว

      In todays video the xmtr is on my desk...about 3 feet off the ground and the rx is in my car.

  • @rohandharwadker4208
    @rohandharwadker4208 2 ปีที่แล้ว

    Is it the same module for sending and receiving?

  • @emreuludirik9755
    @emreuludirik9755 3 ปีที่แล้ว

    i have DRF1276 at commands is same ? thank you for this istruction. You are the king :)

  • @nen777w
    @nen777w 4 ปีที่แล้ว

    This modules VCC input, not more than 3v3. Why you use it on 5v?

  • @BriNaCa
    @BriNaCa 5 หลายเดือนก่อน

    At 7:51 you mention 5V. As far as I know, the LoRa modules are not 5V, they are 3.3V.

  • @martasurya4989
    @martasurya4989 3 ปีที่แล้ว

    awesome..

  • @tiwar87
    @tiwar87 6 ปีที่แล้ว

    Why with AT commands? There is not a better solution? Thnks for sharing

    • @learnelectronics
      @learnelectronics  6 ปีที่แล้ว +2

      There are libraries. But i like the AT commands, reminds me of configuring dial up modems

  • @hajarchatoui1380
    @hajarchatoui1380 5 ปีที่แล้ว

    can you please share the pdf

  • @1yyymmmddd
    @1yyymmmddd 3 ปีที่แล้ว

    Ebay link doesn't work :(

  • @wilsonlopez697
    @wilsonlopez697 5 ปีที่แล้ว +1

    Can you have more than one device connected to a single Arduino ?

    • @learnelectronics
      @learnelectronics  5 ปีที่แล้ว

      Depends on the Arduino. The Uno only has 1 serial port. But the mega has two (maybe 3, can't remember)

  • @DizziLife
    @DizziLife 4 ปีที่แล้ว +2

    your mic when on the screen recording is way too loud audio quality is very bad, lots of clippage, u need to lower the gain and then maybe do some compresion / gate action to get rid of background noise
    all the love

  • @furkanayas3339
    @furkanayas3339 6 ปีที่แล้ว

    are you heard LoRaduino? i use that many time

    • @learnelectronics
      @learnelectronics  6 ปีที่แล้ว

      No I will check it out

    • @furkanayas3339
      @furkanayas3339 6 ปีที่แล้ว

      learnelectronics If you check can you help me please? i am 21 years old college student. My department is computer engineering and this 2 weeks i do my summer internship. I should send to lora to lora and after to send Ttn the information. I have sx1278 LoRaduino s, they said i work with 433mhz not 868, i search about ping pong code for fit these things. If you have or can find this code, can you send me a link? Atmega328P sx1278, ping and pong code, send and receive. In Europe the send must 868mhz, if you live in US , you use 901Mhz band. I must use 433mhz, that's my mission

  • @davidglynnguitars8119
    @davidglynnguitars8119 6 ปีที่แล้ว

    Where's your wish list???

    • @ValDumitrescu
      @ValDumitrescu 6 ปีที่แล้ว

      There's a link in the channel's About page.

  • @soullessone_edc6226
    @soullessone_edc6226 3 ปีที่แล้ว

    Your not playing about the weather here in Ohio mother nature is always drunk

  • @chamrog1973
    @chamrog1973 4 ปีที่แล้ว

    The Sound is very bad, you really need to deal with this. Its unbearable listen to.

  • @AndrewNorthover
    @AndrewNorthover 4 ปีที่แล้ว

    God you absolutely need to NOT use a gate on your audio. Gave me a headache listening to this.