Intro to LoRa with Arduino, Long Range Wireless for Makers (RFM95 Maduino)

Поделиться
HTML-код
  • Опубликовано: 1 янв 2020
  • If you've ever wanted to get started using LoRa wireless communication in your Arduino projects this video is for you. It covers some popular LoRa module options, a brief introduction to the Arduino code needed to control them, and an explanation of the different ways to configure your LoRa modem to maximize range or data transfer rate along with visualizations of the LoRa packet transmissions. It's time to get wireless...
    /* Maduino Boards */
    868 Board: www.makerfabs.com/maduino-lor...
    433 Board: www.makerfabs.com/maduino-lor...
    /* RadioHead Library */
    www.airspayce.com/mikem/ardui...
    /* Gqrx */
    tools.kali.org/wireless-attac...
    /* Breakout Modules */
    Adafruit: www.adafruit.com/product/3072
    /* Arduino Shields */
    868 Shield: makerfabs.com/lora-radio-shie...
    433 Shield: makerfabs.com/lora-radio-shie...
    /* RFM9X Specs */
    RFM95 specs: www.makerfabs.com/desfile/fil...
    #Arduino #LoRa
  • НаукаНаука

Комментарии • 41

  • @dvohwinkel
    @dvohwinkel 4 года назад +9

    Wouldn't it make sense to verify the message when received? technically you could be receiving a message from someone else transmitting on that freq, correct? Very cool demonstration.

    • @DavyBot
      @DavyBot  4 года назад +9

      Yes, if they use the same LoRa parameters (frequency, bandwidth, SF, etc) and they're within range you'll intercept their messages. I'd been monitoring the area with that SDR device to make sure there weren't competing LoRa signals. The only way you could really combat that (especially if you assume someone might intentionally interfere with your communication) is to encrypt the messages using a shared AES key or something. If you're not worried about intentional interference, then a message prefix or some other form of verification should do.

  • @Spencer40471
    @Spencer40471 4 года назад +2

    This video was a great introduction to LoRa on Arduino. Including the walk time really drove home the magnitude of range you were able to achieve!

  • @xenovacivus
    @xenovacivus 2 года назад +2

    Hey Davy, great info! The spectrum exploration with the software defined radio was fascinating!

  • @zazugee
    @zazugee 4 года назад +1

    great video, i have watched andreas spiess vids and your video still a good watch
    i hadnt seen someone monitoring the radio frequencies while using lora before, that was a good demonstration

  • @koffibanan3099
    @koffibanan3099 4 года назад +1

    Very interesting, thanks Davy!

  • @JoshuaSeagroves
    @JoshuaSeagroves 4 года назад +1

    Just found your channel, great video, subscribed.

  • @Bianchi77
    @Bianchi77 9 месяцев назад

    Nice video, well done, thank you for sharing the knowledge with us :)

  • @jjhernandezn
    @jjhernandezn 3 года назад

    Great info! Thanks

  • @Rov-qc2ti
    @Rov-qc2ti 4 года назад

    Best explanation

  • @Drxxx
    @Drxxx 4 года назад +1

    nice video :D

  • @FirstLast-yf7qw
    @FirstLast-yf7qw 4 года назад +1

    Good video!!!!!

  • @thorlancaster5641
    @thorlancaster5641 3 года назад +1

    A few more things:
    1: 433MHZ is much better than 915MHZ at penetrating obstacles and covering distance*
    2: In the walking test, your hand is muffling the signal. You'd get much better range if both antennas were in free air and pointing vertically.
    3: If you are trying for max point-to-point range, directional antennas can work wonders. When I was experimenting with 2.4GHz radios a while back, I found a "cantenna" antenna can approximately double range. I've heard Yagi antennas can more than triple it.
    * If you are doing any transmissions on 433, other than infrequent, manually initiated transmissions, I'm fairly certain you need to get an amateur radio license.

  • @MrHeninsh
    @MrHeninsh 4 года назад

    Hi!
    Nice video and explanation. As You mentioned there should be good antenna. If You can test and set antena with VNA for Your frequency it is perfect. For both LoRa nodes antena should be perpendicular to the ground level. If You can do this, you can increase distance.
    I have one test with arduino, RFM95W, DS18B20 temp sensor and 2dbi antenna and a net with Multi tech gateways 5dbi antenna. SF was set SF7, for bandwidth don't remember. I reach up to 6 or 7 gateways and max distance was 7.6 km in urban environments (9 floor houses, private houses, forest, industrial park, river, 9 floor houses). My node was at 4th floor in kitchen. Gateways was on 9 floor house rooftop!
    I'm working on board like this right now, but with better pinout for sensor connection. But I am stuck in thinking about microcontroller usage. I made schematic with ATmega328P, but right now I think to change it to another arduino compatible.

  • @brrox9134
    @brrox9134 4 года назад +1

    Very interesting technology, can u please explain how were u sending the GPS data via LoRa to ur PC to show it on the map?

  • @jeff3741
    @jeff3741 2 года назад +1

    Excellent video. Thank you. Do you know if UART AT commands have any advantages/disadvantage compared to SPI?

    • @DavyBot
      @DavyBot  2 года назад +2

      SPI is faster but for LoRa applications the speed is all bottlenecked in the radio transmission speed so that shouldn't make much of a difference. UART+AT commands are a simpler protocol so it's easier to implement. SPI is easier to extent and allow for multiple SPI devices on the same bus.

    • @jeff3741
      @jeff3741 2 года назад +1

      @@DavyBot Thanks Davy.

  • @cliftonbrown911
    @cliftonbrown911 4 года назад +2

    This looks like you could use the echo transmitter as a relay or repeater to extend the range. Could you please comment on that possibility. Great video and presentation. I subscribed, looking for more on LoRa, especially the ability to extend the range with a repeater and improvements to the antenna choices.

    • @DavyBot
      @DavyBot  4 года назад +2

      Absolutely. The echo code would repeat the signal back out to any LoRa modules listening so if it were between a sender and a receiver it would extend the distance between those two. If you prefixed the messages with an ID or something you could even route to multiple listeners or create a mesh. Whenever I get my hands on another module or two I'll be sure to test that out and upload it. Thanks!

    • @cliftonbrown911
      @cliftonbrown911 4 года назад

      Great and thanks for the quick response. I've been looking for this solution for some time now. LoRa is great for low power and range and with the ability to extend the range with a repeater it becomes even more useful. Thanks again.

    • @cliftonbrown911
      @cliftonbrown911 4 года назад +1

      My goal is to put together a couple of solar powered repeaters between a remote sensor and the gateway. Thought about using the Pro Mini in a camouflaged case with a small PV panel attached, mounted high up in a tree.

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

    #DavyW
    Awesome video!
    I really want to purchase the USB PC radio frequency device.
    I must learn to code prior to purchasing a LoRa device.
    👍🤙Still this project looks like fun.

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

    I'm very new to this and just seeing if you can explain something. What is the purpose of building your own gateway? Does each gateway communicate with each one that it is near? Does that mean you can communicate a longer distance with the gateways all connected?

  • @jeffbornes3986
    @jeffbornes3986 3 года назад

    Very cool. I would be interested in the source code . if you are willing to share it?
    Thanks and great video

  • @rwshaw1234
    @rwshaw1234 4 года назад

    Can you tell us what SDR you were using here? Thanks!

  • @majid_us
    @majid_us 4 года назад +1

    Hello, Where do I purchase the development board? I don't see the links you mentioned in your video and the link in the comment (see below) doesn't work. Thanks...

    • @DavyBot
      @DavyBot  4 года назад +1

      There's a bunch of links in the description of the video but sometimes they're hidden from view. There should be a "show more" button. If not, the link for this board is: www.makerfabs.com/maduino-lora-radio-868m.html

  • @SwiftlyKing
    @SwiftlyKing 4 года назад

    I want to make a tracker for pets, would you recommend using this or a different type of gps tracker?

  • @mohamed-aminebennasr3583
    @mohamed-aminebennasr3583 4 года назад +1

    Can i see the received byte packet using Gqrx tools?

    • @DavyBot
      @DavyBot  4 года назад

      Gqrx only supports simpler demodulation for things like AM/FM radio. LoRa is a more complicated Chirp Spread Spectrum protocol, but SDR devices like the one I used can be used to decode it. This page has some interesting info about that and links to projects that can do it: revspace.nl/DecodingLora

  • @tseawell90
    @tseawell90 4 года назад +1

    Wow this is cool. Would it be possible to send an image file using this method?

    • @DavyBot
      @DavyBot  4 года назад

      It's possible since they can send/receive binary data. But you would need to split the image into a stream of smaller packets since the maximum size per message is 251 bytes. You probably couldn't stream video due to the speed, but you could definitely send images, or any file for that matter.

    • @tseawell90
      @tseawell90 4 года назад

      @@DavyBot Ok thanks!

  • @K-Luxuriant
    @K-Luxuriant 4 года назад

    Hello Sir, I'm a cubesat developer & can I use LoRa RFM95 in cubesats to send & receive data from ground (200kms altitude)?

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

    Sir i need confirmation between sender and receiver in lora 02 with atmega328 that the front has received the message . Is this possible?

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

    Hi, how to add the RH_RF95 Library ? Thanks

  • @haljohnson6947
    @haljohnson6947 3 года назад

    did you ever tell us the range you got?

  • @deltabravo58
    @deltabravo58 4 года назад

    try to shield the device. you will get a much better range.

  • @EnterJS
    @EnterJS 3 года назад

    Can't we Encrypted Radio Waves...

    • @davywtf
      @davywtf 3 года назад

      Sure, if the two devices share a key you can encrypt before you send the data. These chips don't do that for you but you can find Arduino code do perform different encryption algorithms.