Hi, I am new to the LORA community. I have a b-l072z-lrwan1 which I am trying to add as an end device to an application. Can somebody point me towards instructions in how to connect to v3 of TTN?
Hi,
You have âa LoRa development boardâ and want to connect it to TTN V3 and want to know how. But itâs not clear exactly what information you are looking for.
- How to program the board to connect it to TTN?
- How to add a device to TTN V3, e.g. using the console?
Please be more specific.
Have you already searched the forum for available information? If not it will be useful to do that first.
Hi,
Yes, I have had a look through the forum but could not find an appropriate topic.
I am looking for information on how to program the board to send messages to ttn, I aim to be sending environmental sensor data.
Any help would be greatly appreciated.
Thanks,
Ciaran
I wonder how you did get the b-l072z-lrwan1 / what made you decide to use this board specificly?
It is not the average cheaper LoRa development board that starters usually start with.
So I assume you shall have (unmentioned) additional requirements (development platform being one of them).
It will be useful to share your requirements so others can provide more useful feedback.
So this:
From ST:
In which case youâll be using their I-CUBE-LRWAN1 software pack?
They donât seem to have updated any of their documentation for either v2.0.0 of their software pack, or for TTN V3:
Thatâs what many will probably use with it.
However, it is also possible to develop for this board using the Arduino framework and the MCCI LMIC LoRaWAN library.
LMIC-node is an example program for implementing a node for The Things Network. It uses the Arduino framework and the LMIC LoRaWAN library. LMIC-node also supports the
B-L072Z-LRWAN1 board and works with TTN V3.
However, which development framework to use will depend on the requirements (which have not yet been made clear).
Hi All,
Thank you for the responses
I am using the B-L072Z-LRWAN1 board to develop low power sensors and actuators, as I have the sensor shield to go with it. I am trying to modify the I-Cube-LRWAN1 software with the STM32CubeIDE v2.00 to allow me to connect to ttn v3.
Then see the ST Thread I linked earlier - which is about exactly that.
Note that there is no â1â suffix on the software pack name - itâs just I-Cube-LRWAN:
EDIT
It shouldnât be necessary to modify the I-Cube-LRWAN software - it should just be a matter of configuring it.
@DashCanTtn thank you for your help, it was just configuring the software, the folder structure changing was confusing with the new version of the software. But your post put me in the right direction. Thank you.
I will post my solution later
Youâre welcome.
I guess you are âCNuge.1â in that thread?
EDIT
Hmmm ⌠@descartes confirms that getting ABP working can be a challenge:
And thatâs with a device or BSP I like. I can get the B-L072Z-LRWAN1 working with ABP using @bluejediâs LMIC-node on PlatformIO and with Tlera Corps STM32L0 BSP for Arduino. The response from ST shows a considerable degree of Planet Corporate being a geostationary orbit - totally missing the point about updating the documentation, no documentation for the scheduler/timer and generally I find the ST code base something you have to wander around, hacking away at it, until something works which isnât to say at that point you understand it.
If you like PlatformIO, the LMIC-node is the way to go. If you want to use the Semtech code base which has all the bells & whistles then use Tlera Corp, Iâve only used that in Arduino IDE, maybe @onehorse could tell us if itâs good with PlatformIO?
An update:
There is now, at least, a set of YouTube videos for the STM32WL and The Things Stack (TTN V3); but itâs unclear whether thatâs actually the same code as the I-CUBE-LRWAN, and whether any other changes would be required specific to the B-L072Z-LRWAN1 âŚ