Skip to content

lemariva/uPyLoRaWAN

 
 

Repository files navigation

uPyLoraWAN

The ESP32, Raspberry PI Pico, and M5Stack using MicroPython meet LoRaWAN.

Check out these articles for more information:

⚠️ Nowadays (20210215) you need to extend the MicroPython version to include support for encryption. To do that, check out this tutorial, and this repository lemariva/micropython-pico-mbedtls.

Video

M5Stack Atom Matrix running MicroPython meets LoRaWAN

Setup

Use VSCode and the PyMakr extension to upload the code. If you are new on MicroPython, this tutorial can help you to install the firmware on a ESP32.

Follow these steps to deploy the project:

  1. Rename the file config.sample.py to config.py
  2. Configure the SPI pins to connect to the SX127x module. I've included the following example connections:
  3. Configure the devaddr, nwkey, and app of the ttn_config variable following the instruction from this link.

Hardware

Revision

  • 0.2v - first commit with LoRaWAN support

Licenses

  • Apache 2.0

Results

Two screenshots from the TTN website: application data gateway traffic

References

About

ESP32 using MicroPython meets LoRa and LoRaWAN.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages