LoRa - Long-Range Radio for IoT | Arduino, ESP32, RPI Pico

preview_player
Показать описание
LoRa is a low-cost, license-free method of sending short data bursts over long distances. It’s perfect for IoT sensors and remote control projects. Today, we’ll see how easy it is to use LoRa in our projects.

If you need to send small amounts of data, such as sensor readings, over long distances, then LoRa (Long Range) radio is the technology for you. You can achieve incredible distances using low-cost modules and basic antennas. You can measure these distances in miles or kilometers with the right equipment.

Today, we will experiment with two readily available, low-cost LoRa modules: the HopeRF RFM95W and the Adafruit RFM9x. They are essentially the same module, with the Adafruit device having onboard voltage regulation and logic-level conversion, making it compatible with both 5-volt and 3.3-volt microcontrollers. The Adafruit offering is also easier to handle, as the HopeRF module is not breadboard-friendly.

We will use these modules with an Arduino Uno, a Raspberry Pi Pico, and an ESP32. We’ll program with both C++ in the Arduino IDE and MicroPython using the Thonny IDE.

Here is the Table of Contents for today's video:

00:00 - Introduction
01:30 - LoRa Primer
07:38 - HopeRF RFM95W & Adafruit RFM9x
11:08 - LoRa Antennas
13:06 - Seeedstudio LoRa-E5
14:35 - Heltec ESP32-LoRa
16:09 - Installing & Using the LoRa Library
18:32 - Adafruit RFM9x Hookup
21:24 - Demo 1 - Simple data transmission
25:43 - Demo 2 - One-way remote control
30:34 - Demo 3 - Callback & Two-way remote control
36:43 - Raspberry Pi Pico MicroPython & Hookup
39:13 - LoRa with MicroPython Code & Demo
45:39 - Data Gathering Project Intro
46:35 - Data Gathering Hookup & Operation
53:11 - Data Gathering Code
1:02:45 - Data Gathering Demos
1:05:07 - Conclusion

While this is a long video, it barely scratches the surface of what you can accomplish using LoRa. You’ll be seeing more LoRa-related projects and tutorials here soon, including one on LoRaWAN.

Hope you enjoy the video!

Bill
Рекомендации по теме
Комментарии
Автор

Hi everyone - It's come to my attention that there has been someone masquerading as myself, responding to some comments here with a link to a Telegram chat to win a prize from me. THIS IS A SCAM, I am not holding a contest, nor do I have a Telegram account. PLEASE DO NOT RESPOND TO THESE MESSAGES!!


Thanks!

Bill (The real one!)

Dronebotworkshop
Автор

What I find really amazing about LoRa, is that in the Netherlands, the country with the longest possible dimension of about 335km, they managed to establish communication line over 832 km long. Thanks for the nice video. As always
Greetings from NL

barmalini
Автор

Whenever I am looking for a clear explanation of new development tech I always come to the DroneBot Man. My favorite nerd!

brucebowman
Автор

Bill, you have created some amazing content over the years and have helped me quite a bit., and I am sure so many microcontroller enthusiasts. I love how thorough you are and the pace you teach at, it is perfect for me! Please keep up the great work. A sincere Thank you is in order!

JasonDurrett
Автор

Originally I was going to do a video about LoRa & LoRaWAN, however it was far too much for one video. I'll have a follow-up LoRaWAN video out very soon.

Dronebotworkshop
Автор

A group of us did a 100+ node LoRa Meshtastic cluster at DEF CON this year. I love this technology.

wesley
Автор

Andreas Spiess is the king of anything LORA related. He's got terrific knowledge and has done some incredible things with it. A simple search for his channel will find him. The guy with the Swiss accent!

larrydom
Автор

This Super Thanks thing is new to me. I'm glad to have an easy way to reward great content creators like you. My students call you the DroneBot Man.

brucebowman
Автор

Why don't we people say thanks to library makers! Who makes our code so easy!

pareshmhatre
Автор

As a radio ham (VA3MVW) I really liked this particular issue of your vlog, Bill. Super stuff!

MichaelWillems
Автор

I like the way you explain the hardware and software so clearly without getting bogged down with explaining the familiar patterns.

RupertBruce
Автор

Fantastic video! I'm currently building a soil moisture monitor using PicoW+Lora E5+capactive soil moisture sensor+microPython+ Home Assistant with MQTT+InfluxDB+Grafana to make decisions on irrigation for growing feed crops.

mussher
Автор

For some years I’ve been following your content. I’ve always thought it was interesting. But I’ve legit been looking for a video explaining the simplest terms and way to even do this. This video comprehensively makes sense. It makes me excited to order some parts and get going. Hope this helps some at all, albeit not much. Thanks for all the content and being a good steward in teaching us all how to get going.

userx
Автор

Thanks! Once again you have inspired me. Great video I’ve been wanting to know more about LoRa and you filled all the blanks for me. Can’t wait for the LoRaWan video.

kylereed
Автор

After I get settled into my move, I plan on a project to connect to my car to upload diagnostic info to my house. Thanks for the info.

paulforester
Автор

Great video, but I do have a suggestion. The way you are using millis() for timeout will fail due to rollover. millis() is an 32 bit uint. When it exceeds it rolls over to 0x0, causing the timeout check to fail after ~49 days. This is obviously not a problem for testing but if someone leaves it running, it will be. You can check by determining if new millis() < old millis(), if so then elapsed + new.

marklewus
Автор

I'm transmitting and receiving data 3.2 km away with a simple spring antenna that came with modules, no clean LOS but still works great, -105 avg dBm so signal is pretty strong. I've just assembled 3rd device that I'll use for reserve and distance testing so I may update this post soon. Lora is amazing

clixium
Автор

The dronebot workshop intro music is a key part of my childhood memories.

grayhatfailure
Автор

I was waiting for this video after reading your news letter and it didn't disappoint. A BIG thank you for including MicroPython in your video. This really helps me with my microcontroller journey. 📡

dannymanor
Автор

I''ve built two of these using LoRa RFM95W, wow super impressed by it, thanks for sharing

GertBowker
welcome to shbcf.ru