How to set up LoRa with Arduino? (Chirpstack / The Things Network)

 





Let me start with: what is Lora?

LoRa is a physical proprietary radio communication technique. It is based on spread spectrum modulation techniques derived from chirp spread spectrum technology. It was developed by Cycleo, a company of Grenoble, France, later acquired by Semtech. LoRaWAN defines the communication protocol and system architecture.[Wikipedia]

How to interface Arduino Nano to Lora?



Do the necessary setup in chirpstack or Things Network, and then get the required keys from there. You need to configure those keys in the Arduino program.

LoRaWAN supports two modes of activating an end device: ABP (Activation By Personalization) and OTAA (Over-The-Air Activation).


ABP (Activation By Personalization)

You need to replace NWKSKEY, APPSKEY, and DEVADDR in the program.

code 


OTAA (Over-The-Air Activation)

You need to replace APPEUI, DEVEUI, and APPKEY in the program.

code


Comments

Popular Posts