Luigi Francesco Cerfeda
Published © GPL3+

LoRaWAN Using Python, Zerynth and The Things Network

In this tutorial, we'll see how to create a LoRaWAN network programmed in Python using Zerynth and connected to The Things Network.

IntermediateFull instructions provided3 hours8,120
LoRaWAN Using Python, Zerynth and The Things Network

Things used in this project

Hardware components

MIKROE Flip & Click
×1
MIKROE LoRa Click
×1
RN2483
Microchip RN2483
×1

Software apps and online services

Zerynth Studio
Zerynth Studio
The Things Stack
The Things Industries The Things Stack

Story

Read more

Schematics

Zerynth LoRa Stack with Microchip, Mikroelektronika, The Things Network

Code

Code snippet #1

Python
import streams
from microchip.rn2483 import rn2483
 
streams.serial()
 
# get deveui specifying serial connection used for device-to-module communication
# and module reset pin
print("DEVEUI: ", rn2483.get_hweui(SERIAL1, D16))

Credits

Luigi Francesco Cerfeda

Luigi Francesco Cerfeda

6 projects • 95 followers
Yet another Tony Stark wannabe

Comments