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 - Наука
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.
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.
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!
Hey Davy, great info! The spectrum exploration with the software defined radio was fascinating!
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
Very interesting, thanks Davy!
Just found your channel, great video, subscribed.
Nice video, well done, thank you for sharing the knowledge with us :)
Great info! Thanks
Best explanation
nice video :D
Good video!!!!!
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.
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.
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?
Excellent video. Thank you. Do you know if UART AT commands have any advantages/disadvantage compared to SPI?
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.
@@DavyBot Thanks Davy.
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.
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!
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.
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.
#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.
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?
Very cool. I would be interested in the source code . if you are willing to share it?
Thanks and great video
Can you tell us what SDR you were using here? Thanks!
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...
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
I want to make a tracker for pets, would you recommend using this or a different type of gps tracker?
Can i see the received byte packet using Gqrx tools?
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
Wow this is cool. Would it be possible to send an image file using this method?
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.
@@DavyBot Ok thanks!
Hello Sir, I'm a cubesat developer & can I use LoRa RFM95 in cubesats to send & receive data from ground (200kms altitude)?
Sir i need confirmation between sender and receiver in lora 02 with atmega328 that the front has received the message . Is this possible?
Hi, how to add the RH_RF95 Library ? Thanks
did you ever tell us the range you got?
try to shield the device. you will get a much better range.
Can't we Encrypted Radio Waves...
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.