I wanted to have two devices to talk to each other without using internet and with long distance. LoRa is the best way to do so. This is just a tutorial using the wonderful LoRaNow libraries published.
To make things easier, I also designed a simple board that can be purchased on PCBWay. Nothing fancy but it works and can help some beginners to have a stable platform to work with.
Hope you enjoy it.
Do you want to have two LoRa devices communicate to each other? Then look at the video! It's very easy and cheap to do it! #Arduino #LoRa #ESP32 #PCBWay #RFM95W
EXPANDED TECHNICAL DETAILS
LPWAN Mesh Networking Foundations
This project builds a long-range "Gateway-to-Node" ecosystem using the LoRaNOW library for decentralized IoT communication.
- Adaptive Frequency Hopping: The Gateway manages a network of "Nodes." The firmware uses adaptive timing to prevent packet collisions, allowing multiple sensor nodes to transmit to a single central hub synchronously.
- Spread-Spectrum Reliability: Leverages LoRa's high sensitivity to receive data packets from distances up to 5km in rural areas, providing a robust backbone for agricultural or environmental monitoring.
Connectivity
- Serial JSON Bridge: The Gateway outputs all received node data as a JSON stream over Serial, making it compatible with PC-based logging or a secondary ESP8266 WiFi bridge.