Connect to LoRaWAN Server
Currently HRU-3601 uses LoRaWAN a communication protocol, and this topic aims to describe how HRU-3601 can be connected to LoRaWAN Server.
Seting up LoRaWAN Gateway
Before that, make sure there is a LoRa Gateway active in your TTN/TTS account.
Confirm configuration information
Refer to Quick Start to go to the configuration page of HRU-3601.
Tip
In order to explain the corresponding positions of various parameters in the server, we will fill in the specific numbers here, and please fill in the actual use according to your own needs.
The details of the introduction of each parameter are as follows:
network access mode
chooseOTAA
.devEui
Your node ID, you can fill in your own, in this case we’ll write “2233445566778898”.appEui
Feel free to fill it out. Here we’ll write “0000000000000000”.appKey
Feel free to fill it out. Here we’ll write “88888888888888888888888888888888”.appIxDutyCycle unit:S
the transmission interval of the LoRa signal.appPort
Feel free to fill it out. Here we’ll write “1”.channel start
Align with the gateway.channel end
Align with the gateway.loraWanClass
The communication mode of LoRaWAN, here we chooseCLASS A
.isTxConfirmed
Whether to wait for server confirmation after sending the message, choosetrue
.adr
The transmit power is adaptive, choosetrue
.
Tip
If you are not familiar with LoRaWAN, try to choose the default and set a simple EUI and KEY.
Registering node on server
Register a new device in TTN or TTS “Applications”,chooseEnter end device specifics manually
.
Select the frequency plan, and fill in the corresponding AppEUI, DevEUi, AppKey, and register the device.
Tip
The joinEui here is the AppEui on the configuration page, which is “0000000000000000”.
After registration is complete, if all is well, you will see the device active.
Click payload formatters
, select Custom Javascript formatter
, and enter decoding at the position in the figure. Download the decoder here: HRU-3601 Related Resources.
Click Save change
and move the mouse to the uplink data output to view the data uploaded by HRU-3601.
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 LoRa node’s sending frequency. We strictly follow LoRaWAN™ 1.0.2 Regional Parameters rB;