Our project consisted of equipping a forest with a mesh network built using LoRa wireless technology. In this process, the individual nodes are supposed to receive the messages and forward them to the gateway and vice versa. In addition, an automatic route is to be found that transmits the messages depending on the respective signal strength of the nodes located nearby. If a node has shut down, the route changes so that reliable data transfer continues.
Taken inspiration from nootropicdesign/lora-mesh and ESP32 LoRa + Mesh - 1) the basics
- Heltec WiFi Lora 32 V2
- various LoRa compatible antennas
- HelTecAutomation/Heltec_ESP32
- hallard/RadioHead
- yoprogramo/QRcodeDisplay
- ThingPulse/esp8266-oled-ssd1306
- bblanchon/ArduinoJson
- robtillaart/UUID
To be compatible with the message format that the gateway understand, we created the following interface specification.
The directory /src
contains the source code for the project. Before the program can be started, all necessary settings must be made in config.h
.
The main program is executed in main.cpp
.
Tested with PlatformIO and Visual Studio Code.
- Automatic route detection does not work (most likely because of a bug in the RadioHead library)