RFM95W lorawan stack ?

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
User avatar
philwilkinson40
Posts: 63
Joined: Tue Nov 14, 2017 3:11 am
Location: Perth, Australia

RFM95W lorawan stack ?

Post by philwilkinson40 » Sat Dec 09, 2017 9:37 am

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...

User avatar
on4aa
Posts: 70
Joined: Sat Nov 11, 2017 8:41 pm
Location: Europe
Contact:

Re: RFM95W lorawan stack ?

Post by on4aa » Sun Dec 24, 2017 3:50 am

For the sake of completeness, the RFM95W module employs a Semtech SX1276 chip.
I am also interested in this.
Serge

User avatar
on4aa
Posts: 70
Joined: Sat Nov 11, 2017 8:41 pm
Location: Europe
Contact:

Re: RFM95W lorawan stack ?

Post by on4aa » Sun Dec 24, 2017 3:58 am

Here are the only two links on this forum concerning the SX127x: Mind you, these are plain LoRa projects; not LoRaWAN!
Serge

User avatar
on4aa
Posts: 70
Joined: Sat Nov 11, 2017 8:41 pm
Location: Europe
Contact:

Re: RFM95W lorawan stack ?

Post by on4aa » Wed Dec 27, 2017 9:54 pm

Here is a LoRaWAN implementation for Python — not MicroPython — on Raspberry Pi.

This may provide some coding inspiration, though.
Serge

User avatar
on4aa
Posts: 70
Joined: Sat Nov 11, 2017 8:41 pm
Location: Europe
Contact:

Re: RFM95W lorawan stack ?

Post by on4aa » Sat Jan 06, 2018 7:18 am

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.
Serge

User avatar
philwilkinson40
Posts: 63
Joined: Tue Nov 14, 2017 3:11 am
Location: Perth, Australia

Re: RFM95W lorawan stack ?

Post by philwilkinson40 » Sun Jan 07, 2018 7:36 am

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:

User avatar
tuupola
Posts: 54
Joined: Sun Sep 17, 2017 12:10 am
Contact:

Re: RFM95W lorawan stack ?

Post by tuupola » Sun Feb 04, 2018 12:41 pm

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.

User avatar
tuupola
Posts: 54
Joined: Sun Sep 17, 2017 12:10 am
Contact:

Re: RFM95W lorawan stack ?

Post by tuupola » Sun Feb 04, 2018 1:35 pm

You can find the originals from GitHub. Untainted by GPL and still BSD licensed.

mallagant
Posts: 1
Joined: Sat Jul 20, 2019 10:11 am

Re: RFM95W lorawan stack ?

Post by mallagant » Sat Jul 20, 2019 10:23 am

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

Post Reply