Hi! Beginner willing to learn here.
As part of a project, I try to figure out how to connect to TTN my LoRa 32 V3 flashed with MicroPython.
I already connected in LoRaWANN to TTN in Arduino IDE with the examples provided in the lib, but I am having a hard time doing the same in MicroPython.
I was wondering if any of you succeeded in doing so?
As far as I can understand, Adafruit’s lib for that isn’t compatible anymore with TTN since 2021, since they forced migration to Stack V3.
I did find other implementations on GitHub, but I am struggling to figure all this out on my own without much documentation since I have little experience with microcontrollers and such specific libraries, especially if it needs heavy porting.
The repo GereZoltan/LoRaWAN mentioned on the TTN forum looks very promising, it mentions Chipstark, but I don’t see why it wouldn’t work with TTN as well. The issue is that the TTN post ends there, and I am having a hard time understanding how to try the provided code. I took a look at the paper published by its author, but it doesn’t go too much in depth in the code.
Of course, I edited the pins accordingly with the V3.2’s pin map: CS = const(8) / DIO1 = const(14) / BUSY = const(13) / RESET = const(12) / and LED_PIN = const(35)
I edited the rest to match European settings, it looks ok, I may be missing something.
How should I go from there?
Am I missing something important? Maybe my file tree isn’t right?
Do you have LoRaWAN projects that you wouldn’t mind to share so I can take a look at your implementation and the library you are using and try to learn something from there?
Thank you.