u/Jaimi5

▲ 11 r/Lora

LoRaMesher v1.0 — open-source LoRa mesh library for ESP32, now with TDMA

I've been working on LoRaMesher — an open-source mesh networking library for ESP32 boards with Semtech SX12xx LoRa radios (TTGO T-Beam, Heltec WiFi LoRa 32, etc.). The previous 0.0.x line was a singleton with no automated tests, which made every change a roll of the dice — bugs you'd only catch on real hardware. So I rewrote it from scratch.

v1.0 is out: https://github.com/LoRaMesher/LoRaMesher/

The big protocol change is TDMA: nodes share a slot schedule instead of contending for the channel. Early tests show >95% packet delivery without any acknowledgment layer, and a 10–100× drop in energy use depending on duty cycle. I'll validate those numbers more rigorously over the next few months, but the order of magnitude is consistent across runs.

We're currently testing with 16 devices over a 3+ km link (SF7/SF9, 125 kHz BW, urban, NLOS), and it's been quite stable.

Happy to talk about the TDMA design, the rewrite trade-offs, or anything else. Especially curious: anyone here running a LoRa mesh in production who could stress-test this?

Testbed Topology with 3+ km link

reddit.com
u/Jaimi5 — 17 hours ago