cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WL55JC1 LoRa Mesh with Self-Healing - Seeking Library/Tutorial Guidance

sram.1
Associate II

Hi everyone,


I'm working on a LoRa project using the STM32WL55JC1 microcontroller, and I'm looking to implement a self-healing mesh network with multiple repeaters.

Could anyone suggest existing libraries, detailed tutorials (step-by-step preferred), or GitHub repositories that would be helpful for this specific implementation? Any information or guidance on achieving a self-healing mesh with the STM32WL55JC1 would be greatly appreciated.

Thank you in advance for your time and assistance!

7 REPLIES 7
sram.1
Associate II

Same topic - merged.


Hi,

I am using the STM32WL55JC1 Development Kit. My project includes:

- Many transmitters read temperature every 15 minutes and broadcast data.
- Repeaters that forward the data to the gateway using a mesh topology.

I want to avoid data collision and achieve at least 99% reliability.


I tried the LoRa ping-pong example, and it works for a single hop. But I need a mesh system without collision.

Can you please suggest:
1. Best wireless technology (LoRa, FSK, etc.)
2. Firmware libraries or examples for a mesh network
3. Hardware recommendations (boards or antennas)

 

mƎALLEm
ST Employee

Hello,

Please for all STM32Wxxx products need to be posted on the STM32 MCUs Wireless forum board not in the STM32 MCUs. I moved your post then.

Thank you for your understanding

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Andrew Neil
Super User

The usual use case for mesh is to allow a number of (relatively) short-range links to cover a wide area.

But the whole point of LoRa is that it covers a very long range - "LoRa" = Long Range!

So what's the reasoning behind using LoRa in a mesh?

 


@sram.1 wrote:

Could anyone suggest existing libraries, detailed tutorials (step-by-step preferred), or GitHub repositories 


It's not such a common use-case, so there may not be a huge number of them.

What does your favourite internet search engine turn up for "LoRa Mesh"?

eg, https://www.thethingsnetwork.org/forum/t/which-one-is-better-lorawan-or-lora-mesh-network/68530/2 

Or perhaps just "Mesh network"?

GitHub has a search facility ...

 

PS:

It seems there are some proprietary LoRa mesh implementations; eg,

https://www.cdebyte.com/news/587#a3:~:text=Ebyte%27s%20LoRa%20MESH%20networking%20technology%20is%20independently%20developed

https://www.dryad.net/post/what-is-a-lora-mesh-network#viewer-ichb4722:~:text=our%20proprietary%20LoRa%20mesh%20implementation

 

This one says it's open-source: https://meshtastic.org/

 

All via https://www.google.com/search?q=LoRa+Mesh - other search engines are available.

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Hello @sram.1 

Officially, there is not such a network implemented and tested on the STM32WL. So, i suggest you try to implement it on your own using the STM32WL.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

STTwo-32
ST Employee

Hello @sram.1 

I've answered your question on your previous post.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.


@STTwo-32 wrote:

try to implement it on your own using the STM32WL.


@sram.1  but beware that implementing a mesh network is non-trivial.

You might start here - it includes some examples:

https://en.wikipedia.org/wiki/Wireless_mesh_network

Or maybe look at existing proprietary solutions - as noted earlier

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Ok Thank you