This project adds LoRaWAN support to the SX127x driver for MicroPython. The activation method ABP is included, which enables an ESP32 running MicroPython to connect to the "The Things Network (TTN)" to send data.
You get these values, from the TTN console, when you register a new device under an application, as explained in the next section. Inside the main.py change also the device_pins dictionary to the corresponding of your board. Finally, the variable payload is the data that will be sent.
3
Upload the code using VSCode and the PyMark extension to the ESP32 running MicroPython.