Introduction: DIY LoRa System
In this project I will show you how to build a small LoRa transmitter and receiver with the help of STM32 development boards and RFM95 LoRa modules. This LoRa System can basically transmit an alarm signal from my garage to my apartment wirelessly through the air. The transmitter and receiver feature a distance of around 600m to one another. Let's get started!
Step 1: Watch the Video!
The video gives you all the information you need to create your own LoRa system. During the next steps though, I will present you some additional information.
Step 2: Get Your Components!
Here you can find a parts list with example seller (affiliate links):
RFM95 Break-out Board – Bare PCB: PCB: https://www.elektor.com/rfm95-break-out-board-bar...
RFM95 Ultra LoRa Transceiver Module (868/915 MHz): https://www.elektor.com/rfm95-ultra-lora-transceiv...
STM32 Nucleo L476RG Board: https://www.elektor.com/stm32-nucleo-l476rg-board
Dragino LG02 Dual Channels LoRa IoT Gateway: https://www.elektor.com/dragino-lg02-dual-channels...
5V Buzzer: https://s.click.aliexpress.com/e/_Bf6g8HUZ
MOSFET: https://s.click.aliexpress.com/e/_d8ocEHJ
PCB Terminal: https://s.click.aliexpress.com/e/_dX5BMK1
10 ohm Resistor: https://s.click.aliexpress.com/e/_dTPpXjt
Step 3: Build the Circuit!
Here you can find the schematic for the receiver and transmitter. Use them along with the reference pictures of my finished circuits in order to create your own.
Step 4: Upload the Circuit!
Here you can find the codes that I created for the project. Upload them using the Arduino IDE. But make sure to include/download those libraries:
Step 5: Success!
You did it! You just created your own DIY LoRa system!
Feel free to check out my YouTube channel for more awesome projects:
http://www.youtube.com/user/greatscottlab
You can also follow me on Facebook and Twitter for news about upcoming projects and behind the scenes information:
3 Comments
6 months ago
Hi Scott, I already made a commend on YouTube but here it makes more sense. The Seed wio e5 (basically the same chip with LoRa includd) does not give any livesign after programming nor is any problem or error appearing? But all com ports are dead no sginal whatsoever. Any ideas?
3 years ago
Nice post,why not use STM32 Bluepill as the main controller,the one used apparently bulky.
Reply 2 years ago
I just tried to port the initial part of the project to the Bluepill. No message shows up in the monitor window. Sad. I thought it would be straightforward. No clue about what might be the problem since I don't get any error messages. I picked the right pins.