Hide last authors
Xiaoling 1.3 1 (% class="wikigeneratedid" %)
Xiaoling 9.3 2 **Table of** **Contents:**
Xiaoling 1.2 3
Xiaoling 1.5 4 {{toc/}}
5
Xiaoling 2.2 6
7
Xiaoling 1.3 8 = 1. Limitation for LG01. LG02, OLG01, OLG01-N, OLG02 =
9
Xiaoling 12.2 10
Xiaoling 9.5 11 Single Channels gateway are mainly used for private LoRa protocol. Not recommend for LoRaWAN protocol. Below models has such limitation:
Xiaoling 1.2 12
Edwin Chen 11.1 13
Xiaoling 1.6 14 * (((
15 LG01-P, LG01-S, OLG01-N, LG01-N, OLG01-N, LoRa GPS HAT, LG02, OLG02
16 )))
Xiaoling 1.2 17
18 The single channel gateway has limitation to use with standard LoRaWAN sensor. In single channel gateway, the gateway can only set to work at one frequency and one data rate. A standard LoRaWAN Sensor can works in different frequency (3~~72 depends on the frequency bands) and different data rates. So Single channel gateway will lost most of packets because the frequency and data rate mismatch.
19
Xiaoling 1.7 20
Xiaoling 12.2 21 (% style="color:red" %)**Important Notice: Single or Dual Channel gateway will decreae the LoRaWAN network performance and cause the higher fail rate for OTAA Join and Downlink message. So not recommend to use them in LoRaWAN network.**
Edwin Chen 11.1 22
Edwin Chen 12.1 23
Xiaoling 1.2 24 In the chapter 3.6.2 of [[IoT Kit tutorial:>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_IoT_Kit/v2-Kit/&file=Single%20Channel%20LoRa%20IoT%20Kit%20v2%20User%20Manual_v1.0.1.pdf]], There are detail explanation of this limitation, There is library which for Arduino Like end node to overcome this issue. Some other LoRaWAN sensors, when work with Single Channel Gateway. we need to do some special configure like: Below set up instruction or [[Video Instruction to set End node to work in Single Frequency & Fix Data Rates>>url:https://www.youtube.com/watch?v=32eLnlYoLoI]] For a general LoRaWAN sensor, please see if similar setting (Set to work in single frequency and fix data rate) is possible. Otherwise, there will be problem for communication due to the limitation.
Xiaoling 2.2 25
Xiaoling 1.2 26
Xiaoling 1.3 27 = 2. Set Up Dragino End Node to work for Single Channel Gateway such as LG01/LG02 =
Xiaoling 1.2 28
Xiaoling 8.6 29
Xiaoling 2.2 30 To work with single channel gateway, users need to set Dragino End Device to work in (% style="color:#037691" %)**ABP mode**(%%) and (% style="color:#037691" %)**transmit in only one frequency**.
Xiaoling 1.2 31
32 Assume we have a LG02 working in the frequency 868400000 for receive frequency, below is the step up Dragino's End node.
Xiaoling 2.2 33
Xiaoling 1.2 34
Xiaoling 9.6 35 == 2.1 Step 1 : Creat ABP device in LoRaWAN Server ==
Xiaoling 1.2 36
Xiaoling 8.5 37
Xiaoling 1.2 38 Log in TTN, Create an ABP device in the application and input the network session key (NETSKEY), app session key (APPSKEY) from the device.
39
Xiaoling 9.5 40
Xiaoling 3.2 41 [[image:image-20220527164521-1.png]]
Xiaoling 1.2 42
43 Create ABP device
44
Xiaoling 9.3 45
Xiaoling 1.8 46 (% style="color: red;" %)
47 (((
Xiaoling 3.2 48 **Note: User just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN.**
49
50
Xiaoling 1.8 51 )))
Xiaoling 1.2 52
Xiaoling 9.6 53 == 2.2 Step 2 : Configure End Node radio parameters ==
Xiaoling 1.2 54
Xiaoling 8.3 55
Xiaoling 1.2 56 Run AT Command to make LoRaWAN End Node to work in Single frequency & ABP mode. Below is the AT commands:
57
Xiaoling 10.3 58 * (% style="color:blue" %)**AT+FDR**(%%)  Reset Parameters to Factory Default, Keys Reserve
Xiaoling 10.2 59
Xiaoling 10.3 60 * (% style="color:blue" %)**AT+NJM=0** (%%) Set to ABP mode  ~-~->  This must be 0
Xiaoling 10.2 61
Xiaoling 10.3 62 * (% style="color:blue" %)**AT+ADR=0**(%%)  Set the Adaptive Data Rate Off  ~-~->  This must be 0
Xiaoling 10.2 63
Xiaoling 10.3 64 * (% style="color:blue" %)**AT+DR=5**(%%)  Set Data Rate (Set AT+DR=3 for 915 band)  ~-~->  Can use other DR but need to match the gateway setting.
Xiaoling 10.2 65
Xiaoling 10.3 66 * (% style="color:blue" %)**AT+CHS=868400000**(%%)  Set transmit frequency to 868.4Mhz  ~-~->  Can use other Frequency but need to match the gateway setting.
Xiaoling 10.2 67
Xiaoling 10.3 68 * (% style="color:blue" %)**AT+DADDR=26 01 1A F1**  (%%) Set Device Address to 26 01 1A F1  ~-~->  Make sure this match Server setting
Xiaoling 10.2 69
Xiaoling 10.3 70 * (% style="color:blue" %)**ATZ** (%%) Reset MCU
Xiaoling 1.2 71
Xiaoling 10.2 72 **As shown in below:**
Xiaoling 9.3 73
Xiaoling 1.2 74
Xiaoling 8.2 75 [[image:image-20220601111608-1.png]]
Xiaoling 1.2 76
77 Configure Device
78
Xiaoling 5.2 79
Xiaoling 9.6 80 == 2.3 Step 3 : Configure Gateway ==
Xiaoling 8.4 81
Xiaoling 9.5 82
Xiaoling 1.2 83 Configure gateway so it can receive the packet sent from End Node:
84
Xiaoling 10.3 85 * (% style="color:blue" %)**RX frequency: 868400000 ** (%%) ~-~->  Must same as the End Node **AT+CHS** settings.
Xiaoling 1.2 86
Xiaoling 10.3 87 * (% style="color:blue" %)**SF: 7** (%%) ~-~->  Must match the End Node DR settings. More about this please check [[LoRaWAN Region setting>>url:https://lora-alliance.org/sites/default/files/2018-07/lorawan_regional_parameters_v1.0.3reva_0.pdf]]. The End Node us EU868 frequency band, the DR5 equal to SF7/ Bandwidth 125Khz, so we need to set **SF=7** here (ABove document Page 16).
Xiaoling 9.3 88
Xiaoling 5.2 89 [[image:image-20220527164647-3.png]]
Xiaoling 1.2 90
91 Configure Gateway
92
Xiaoling 5.2 93
Xiaoling 1.3 94 = 3. Recommand Gateway for LoRaWAN application =
Xiaoling 1.2 95
Xiaoling 9.2 96
Xiaoling 1.2 97 For connecting a standard LoRaWAN devices. Please use the recommend LoRaWAN gateway:
98
Xiaoling 10.3 99 * (% style="color:blue" %)**LPS8v2:** (%%)Dragino 2nd generation Indoor Multi-Channel LoRaWAN Gateway. [[https:~~/~~/www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html >>https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]]
Xiaoling 10.2 100
Xiaoling 10.3 101 * (% style="color:blue" %)**LPS8N:**(%%)  Indoor Multi-Channel LoRaWAN Gateway. [[https:~~/~~/www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html >>https://www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html]]
Xiaoling 10.2 102
Xiaoling 10.3 103 * (% style="color:blue" %)**LG308N:**(%%)  Indoor Multi-Channel LoRaWAN Gateway. [[https:~~/~~/www.dragino.com/products/lora-lorawan-gateway/item/229-lg308n.html >>https://www.dragino.com/products/lora-lorawan-gateway/item/229-lg308n.html]]
Xiaoling 10.2 104
Xiaoling 10.3 105 * (% style="color:blue" %)**DLOS8N:** (%%)Outdoor Multi-Channel LoRaWAN Gateway.  [[https:~~/~~/www.dragino.com/products/lora-lorawan-gateway/item/225-dlos8n.html>>https://www.dragino.com/products/lora-lorawan-gateway/item/225-dlos8n.html]]
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0