Connect “STM32 + LoRa” to LoRaWAN Server

简体中文

In this document, all operations and tests must be performed with a standard LoRaWAN Gateway, and at least have 8 channels!

Before this operation, please read this document carefully: “STM32 + LoRa” Node Preparation & Config Parameters .

 

Connect to TTN

Before that, make sure there is a LoRa Gateway active in your TTN’s account.

Register a device

Register a new device in TTN’s “Applications” page. The Device ID, Device EUI, App Key can be generated automatically. users need make sure the relevant parameter in STM32 LoRa node is the same with TTN.

../../_images/0252.png

Config LoRaWAN parameters for STM32 LoRa node correctly, please refer to this document. If all goes well, we will be able to see Device is alive in “DEVICE OVERVIEW”.

../../_images/0343.png

 

Connect to ChirpStack

Coming soon.

 

Connect to HelTec server

Before that, make sure there is a LoRa Gateway active in your HelTec’s account.

Register a device

Select “AppsCreate” in “Apps” to create a new application, fill in the corresponding information and click “CREATE APPLICATION” to complete the application creation.

../../_images/0435.png

Select the newly created application in “AppsList”, and create a new device in the application.

../../_images/0529.png

Config the “Device EUI” and “App Key” related parameters of the node device. The user needs to ensure that the parameters in the STM32 LoRa node are consistent with those configured in the server.

../../_images/0624.png

../../_images/0721.png

Correctly config LoRaWAN parameters for STM32 LoRa node, please refer to this document. If all goes well, we will be able to see the status of the device.

../../_images/0818.png

 

Important Hints

Please double check the following two things:

  1. The LoRaWAN parameters is the same as server;

  2. The listening frequency of your LoRa Gateway is the same as STM32 LoRa node’s sending frequency. We strictly follow LoRaWAN™ 1.0.2 Regional Parameters rB.