Connect to LoRaWAN Server
This topic describes how to connect the Sensor Hub for Industry to the LoRaWAN server.
Configure End Device
Quickstart and entry into configuration mode for the HRI-362X is available here: Quickstar.
Tip
The parameters need to be reconfigured after firmware upgrade.
Configure LoRa Gateway
You can find our recommended gateway on the Heltec official website or shopping website, and find the gateway configuration method in Documents page.
We highly recommend the following three gateways:
HT-M02: Suitable for industry or field, with edge computing capabilities.
HT-M01s: Standard indoor LoRa gateway with built-in screen.
HT-M7603: Indoor high cost performance gateway.
Register a LoRa Gateway
For registering the gateway, please refer to the Connect to LoRaWAN Server section of the corresponding gateway’s manual on the Documents page.
Connect to TTN/TTS
Register End Device
Create a new Application, All the options are free to fill in.
Click the
register end device
.
Choose the way to register the node, it is recommended to
Enter end device specifics manually
, Select the frequency plan, LoRaWAN version, and fill in the corresponding joinEUI, clickconfirmed
.
Tip
joinEUI corresponds to AppEUI on the device.
Tip
As of November 2023, Heltec’s products use LoRaWAN1.0.2 revision B.
Fill in the
DevEUI
andAppKey
of the device; TheEnd device ID
is automatically generated by the server. Click onRegister end divece
.
Click
General Setting
to check whether the configuration is correct, drop down to theNetwork layer
option, clickExpand
, and continue to check.
Tip
The General Setting option is On the upper right corner. Be careful not to choose the wrong one. The General Setting option on the left is used to change the parameters of the Application.
Tip
The default is Class_A after registration, and if the node is Class_C or Class_B, it needs to be selected and saved here.
After registration is complete, if all is well, you will see the device active.
Parsing
Click
payload formatters
, selectCustom Javascript formatter
, and enter decoding at the position in the figure. Download the decoder here: https://resource.heltec.cn/download/Sensor%20Hub%20for%20industry.
Click
Save change
and move the mouse to the uplink data output to view the data uploaded by HRU-3601.
Connect to ChirpStack
Register a new device in ChirpStack’s “Applications” page. Enter the device name, description, DevEUI. Select Device-profile.
Enter the Application key of the device.
After registration is complete, if all is well, you will see the device active.
Important Hints
Please double check the following two things:
The LoRaWAN parameters is the same as server!
The listening frequency of your LoRa Gateway is the same as ESP32 LoRa node’s sending frequency. We strictly follow LoRaWAN™ 1.0.2 Regional Parameters rB;