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 hours4,519
LoRaWAN Using Python, Zerynth and The Things Network

Things used in this project

Hardware components

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

Software apps and online services

Zerynth Studio
Zerynth Studio
The Things Network
The Things Network

Story

Read more

Schematics

Zerynth LoRa Stack with Microchip, Mikroelektronika, The Things Network

Zerynth lora   microchip mikroelektronika the things network mskragckgg

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

5 projects • 72 followers
Yet another Tony Stark wannabe

Comments