Skip to content

LoRaWAN, Raspberry Pi Pico, HOPERF Module RFM95W, The Things Network V3 #3

@jbinko

Description

@jbinko

I wanted to document the configuration steps for European region, TTNv3 and for RFM95.
Based on the articles here:
https://www.raspberrypi.org/blog/how-to-add-lorawan-to-raspberry-pi-pico/
https://www.hackster.io/sandeep-mistry/connect-your-adafruit-feather-rp2040-to-the-things-network-5c0c84

I started with draft of the documentation here:
https://github.com/jbinko/jbinko.github.io/tree/master/RFM95W

But I cannot make it run.
I did exactly what I wrote in the documentation and I believe it is correct based on articles above.
Not sure if I’m missing something specific for European region (like MAC version, Regional Parameters, Tx Power, etc), or source code of pico lorawan project changed meanwhile, TTN changed meanwhile and is not compatible. Not sure.
I tried couple of options/tweaks but it is not able to join TTN network. It always timeouts on Joining LoRaWAN network.
If I use the same RFM module with Arduino + Arduino library I can connect with TTN just fine.
So HW should be OK.

I also received different value for JoinEUI but I guess it is OK and how the library works.
Maybe some more detailed debugging option can help.

Please, if you have any guidance what might be wrong, please let me know.
I guess it is some detail which I didn’t find for my last two weeks of explorations.

Pico LoRaWAN - OTAA - Temperature + LED

Initilizating LoRaWAN ... DevEui : E6-60-58-38-XX-XX-XX-XX
JoinEui : 3B-3A-01-10-XX-XX-XX-XX
Pin : 00-00-00-00

success!
Joining LoRaWAN network ...

=========== MLME-Request ============
MLME_JOIN
=====================================

STATUS : OK

=========== MLME-Confirm ============

STATUS : Rx 2 timeout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions