Page 1 of 1

RFM95W lorawan stack ?

Posted: Sat Dec 09, 2017 9:37 am
by philwilkinson40
Hi All, I have put together a RFM95W shield for WEMOS D1 mini.
https://github.com/TheNitek/WeMos-Lora
The use case is a remote sensor periodically sending a very small amount of information. A low power wide area network protocol like LoRaWAN ticks the right boxes.

I have been able to run the set up using various Arduino sketches written by others. for example
http://things4u.github.io/

After having played with Pycom's LoPy I see the huge benefit of being able to tweak and play with different parameters on the fly with Micropython.
I just wondered if the forum is aware of anyone having attempted a full lorawan stack for the ESP8266 with RFM9# chip?

Apologies everyone, I don't seem to have rights to use BBCode yet so no active hyperlinks or photos...

Re: RFM95W lorawan stack ?

Posted: Sun Dec 24, 2017 3:50 am
by on4aa
For the sake of completeness, the RFM95W module employs a Semtech SX1276 chip.
I am also interested in this.

Re: RFM95W lorawan stack ?

Posted: Sun Dec 24, 2017 3:58 am
by on4aa
Here are the only two links on this forum concerning the SX127x: Mind you, these are plain LoRa projects; not LoRaWAN!

Re: RFM95W lorawan stack ?

Posted: Wed Dec 27, 2017 9:54 pm
by on4aa
Here is a LoRaWAN implementation for Python — not MicroPython — on Raspberry Pi.

This may provide some coding inspiration, though.

Re: RFM95W lorawan stack ?

Posted: Sat Jan 06, 2018 7:18 am
by on4aa
Here might be what we have been looking for.
Someone made a modified version of Pycom's MicroPython (originally written for the LoPy) adapted for any ESP32 with an SX1272 LoRa module. LoRaWAN reportedly is supported.

Re: RFM95W lorawan stack ?

Posted: Sun Jan 07, 2018 7:36 am
by philwilkinson40
thanks for the links @on4aa, I will try and dive into aizukanne's fork of Pycom.

But as a beginner, I really don't have the expertise to take, understand and use a module in this early stage of development.

It seems I may be stuck using Arduino for a while, or perhaps stick with my trusty LoPy instead! :lol:

Re: RFM95W lorawan stack ?

Posted: Sun Feb 04, 2018 12:41 pm
by tuupola
Pycom relicensed everything to GPL so it is unusable for many. What is interesting though that the original LoRa drives by Semtech seem to be BSD licensed.

Re: RFM95W lorawan stack ?

Posted: Sun Feb 04, 2018 1:35 pm
by tuupola
You can find the originals from GitHub. Untainted by GPL and still BSD licensed.

Re: RFM95W lorawan stack ?

Posted: Sat Jul 20, 2019 10:23 am
by mallagant
Hello,

I have made port of Lorawan stack to Micropython based on jeroennijhif Python implementation.

Please see https://github.com/mallagant/uLoRaWAN

I still have to validate that all functions works properly, but creating and reading packet worked fine. Also have to test if LoRa works and receive data on TTN.

Any comments, tests or help is welcome.

Cheers
Richard