/uPyLoRaWAN

Hold initial code for micropython and lorawan

Primary LanguagePythonApache License 2.0Apache-2.0

uPyLoraWAN

The ESP32 and M5Stack using MicroPython meet LoRaWAN.

Check out these articles for more information:

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