LoRaWAN
HRI-4851L is a DTU device using LoRaWAN protocol, and its network access must also rely on LoRaWAN gateway and server.
Connect to TTN/TTS
Before that, make sure there is a LoRa Gateway active in your TTN/TTS account.
Configure End Device
Quickstart and entry into configuration mode for the HRI-4851L is available here: Quickstar.
Tip
The parameters need to be reconfigured after firmware upgrade.
Go to the configuration page of HRI-4851L and configure the information of the device according to your requirements, pay attention to the red part, you will register the LoRaWAN server with this information.
The default port of uplink and downlink is
2
;The power is adaptively determined by the
ADR
when theADR
is on;When
Adr
is on, the DR Option is the DR Used for network access request, and whenADR
is off, the DR Is the DR For network access and uplink data;INTERVAL
is RS-485 query instruction cycles in seconds. Each RS-485 instruction supports up to 32bytes, and if multiple 485 instructions are enabled, the interval between each two instructions is 5S;Channel
performs multiple channel Settings, separated by whitespace, such as “0-2 5 10-17”.
Register a device
Register a new device in TTN or TTS “Applications” page. Select the corresponding Brand, Model, Hardware Version, Firmware Version, Region.
Select the frequency plan, and fill in the corresponding AppEUI, DevEUi, AppKey, and register the device.
After registration is complete, if all is well, you will see the device active.
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;