2025-06-02 10:36 AM
Hello,
I'm using Nucleo-WL55JC cards and I wanted to know if it was possible to use them as gateways, partly to connect the radio world to the internet (LoRaWAN), and partly to extend the range of my network (by dispersing multiple gateways everywhere).
Note: there would only be a single "sensor" device that would send its data to the nearest gateway. This "sensor" device is also a Nucleo-WL55JC.
Thanks in advance.
Best regards,
KYZ.
2025-06-02 10:53 AM
Hello @KYZ
The STM32WL is designed to be an end node and note a Gateway.
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.
2025-06-02 11:15 AM
Hi @STTwo-32
Thank you for your answers.
I expressed myself poorly, sorry. I meant end node (which is capable of sending data to a LoRa server, like The Things Stack for example). Is it possible to have multiple "end_node" devices sending data to a single application (TTS)?
These devices must be connected to this application and therefore must not be too far from a LoRa gateway? Let's say we have a single "sensor" device.
Did I understand the operating principle correctly?
Bests regards
KYZ.
2025-06-03 4:20 AM
@KYZ wrote:Is it possible to have multiple "end_node" devices sending data to a single application (TTS)?
Of course!
I would say that's the normal use case - it would be rare to have just 1 sensor sending to an Application.
https://www.mokolora.com/what-is-lora-iot/
https://www.3glteinfo.com/lora/lora-architecture/
@KYZ wrote:These devices must be connected to this application and therefore must not be too far from a LoRa gateway?
The name "LoRa" mean "Long Range" - the whole point is that the devices can be far (in some cases, tens of km) from the gateway!
@KYZ wrote:Let's say we have a single "sensor" device.
Why would we say that when it seems that you actually have many "sensor" devices?
2025-06-03 5:52 AM - edited 2025-06-03 5:53 AM
Or are you saying that you want your STM32WL to be a "hub" which collects data from a number of sensors, and then forwards that over LoRaWAN ?
So, as far as the LoRaWAN network is concerned, it is just a single end node.
And the sensors would not use LoRaWAN; maybe not even use LoRa - as you says they will be "close" to this "hub" ...
2025-06-03 6:41 AM
Hi @Andrew Neil
Thank for your reply !
If I understand the image correctly, the “end_node” example code supplied by STM links the card directly to the server via gateways? So we don't need to create gateways ourselves, we just need to be near an existing one?
Now, I'd like several of my cards (NUCLEO-WL55JC) to act as end nodes connected to a single application, and, to start with, one NUCLEO-WL55JC card would be the sensor. Later, why not add sensors?
The aim of having several end nodes is to extend the reach of my system.
I hope I've explained it better ;)
Bests regards
KYZ.
2025-06-03 7:43 AM
@KYZ wrote:the “end_node” example code supplied by STM links the card directly to the server via gateways?
Yes - that's pretty much the definition of a LoRaWAN end-node.
@KYZ wrote:So we don't need to create gateways ourselves, we just need to be near an existing one?
Again, not necessarily "near", just within range - which could be tens of km.
Just like your mobile phone needs to be within range of a cell tower, or a WiFi device needs to be within range of an access point, etc.
@KYZ wrote:Now, I'd like several of my cards (NUCLEO-WL55JC) to act as end nodes connected to a single application, and, to start with, one NUCLEO-WL55JC card would be the sensor. Later, why not add sensors?
The aim of having several end nodes is to extend the reach of my system.I hope I've explained it better ;)
No, now I'm confused again!
What, exactly, are you meaning by "sensor" here?
Please post a diagram to clarify.
2025-06-03 7:52 AM
@Andrew Neil wrote:Just like your mobile phone needs to be within range of a cell tower,
Taking that analogy a bit further:
Can we think of your STM32WL as the "phone", which connects to the cell tower?
So the phone has some sensors in it, and can send their data to The Network
Then your additional sensors could connect to the phone - eg, via Bluetooth - and the phone can also send this data to The Network.
Is that the kind of thing you're thinking of?
2025-06-04 12:48 AM
Yes, by “near” I meant “close enough for a connection to be established”. Thanks for clarifying with the phone analogy, I had understood myself, but I hadn't found the right words in my explanation.
Here's an explanatory diagram. I want to do some tracking. We have a single device that can move around and every so many times it communicates with the server (via the gateway(s) with which it's able to establish a connection).
If the device manages to establish a connection with 2 gateways, they must not send data at the same time to avoid collisions. What's more, when the server receives this data, it must be able to see that it's the same data, and so respond to only one gateway, for example.
I hope that's clearer now !!
2025-06-04 12:59 AM - edited 2025-06-04 1:09 AM
Sorry, is this a new question?
I'm afraid I don't see how any of this relates to the preceding discussion.
@KYZ wrote:If the device manages to establish a connection with 2 gateways, they must not send data at the same time to avoid collisions.
This is inherent in the design of LoRaWAN:
PS:
https://lora-alliance.org/about-lorawan/
PPS:
LoRaWAN Geolocation:
https://tektelic.com/products/cloud-services/lorawan-geolocation-server/
https://resources.lora-alliance.org/whitepapers/lora-alliance-geolocation-whitepaper