Changes for page Limitation of the use of LG01/LG02 with LoRaWAN node
Last modified by Xiaoling on 2023/05/29 08:40
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -7,20 +7,29 @@ 7 7 8 8 = 1. Limitation for LG01. LG02, OLG01, OLG01-N, OLG02 = 9 9 10 -Single Channels gateway are mainly used for private LoRa protocol. Not recommend for LoRaWAN protocol. Below models has such limitation: 10 +((( 11 + 11 11 13 +Single Channels gateway are mainly used for private LoRa protocol. Not recommend for LoRaWAN protocol.Below models has such limitation: 14 +))) 12 12 13 13 * ((( 14 14 LG01-P, LG01-S, OLG01-N, LG01-N, OLG01-N, LoRa GPS HAT, LG02, OLG02 15 15 ))) 16 16 20 +((( 17 17 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. 22 +))) 18 18 19 -(% style="color:red" %)Important Notice: (%%) 24 +((( 25 + 26 +))) 20 20 21 - 28 +((( 22 22 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. 23 23 31 + 32 +))) 24 24 25 25 = 2. Set Up Dragino End Node to work for Single Channel Gateway such as LG01/LG02 = 26 26 ... ... @@ -27,16 +27,17 @@ 27 27 28 28 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**. 29 29 30 - 39 +((( 31 31 Assume we have a LG02 working in the frequency 868400000 for receive frequency, below is the step up Dragino's End node. 32 32 42 + 43 +))) 33 33 34 -== 2.1 Step 45 +== 2.1 Step1: Creat ABP device in LoRaWAN Server == 35 35 36 36 37 37 Log in TTN, Create an ABP device in the application and input the network session key (NETSKEY), app session key (APPSKEY) from the device. 38 38 39 - 40 40 [[image:image-20220527164521-1.png]] 41 41 42 42 Create ABP device ... ... @@ -49,41 +49,35 @@ 49 49 50 50 ))) 51 51 52 -== 2.2 Step 62 +== 2.2 Step2: Configure End Node radio parameters == 53 53 54 54 55 55 Run AT Command to make LoRaWAN End Node to work in Single frequency & ABP mode. Below is the AT commands: 56 56 57 -* (% style="color:blue" %)**AT+FDR**(%%) Reset Parameters to Factory Default, Keys Reserve 67 +* AT+FDR Reset Parameters to Factory Default, Keys Reserve 68 +* AT+NJM=0 Set to ABP mode ~-~-> This must be 0 69 +* AT+ADR=0 Set the Adaptive Data Rate Off ~-~-> This must be 0 70 +* AT+DR=5 Set Data Rate (Set AT+DR=3 for 915 band) ~-~-> Can use other DR but need to match the gateway setting. 71 +* AT+CHS=868400000 Set transmit frequency to 868.4Mhz ~-~-> Can use other Frequency but need to match the gateway setting. 72 +* AT+DADDR=26 01 1A F1 Set Device Address to 26 01 1A F1 ~-~-> Make sure this match Server setting 73 +* ATZ Reset MCU 58 58 59 -* (% style="color:blue" %)**AT+NJM=0** (%%) Set to ABP mode ~-~-> This must be 0 60 60 61 - *(%style="color:blue"%)**AT+ADR=0**(%%) Set the AdaptiveData Rate Off ~-~-> This mustbe076 +As shown in below: 62 62 63 -* (% 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. 64 - 65 -* (% style="color:blue" %)**AT+CHS=868400000**(%%) Set transmit frequency to 868.4Mhz ~-~-> Can use other Frequency but need to match the gateway setting. 66 - 67 -* (% style="color:blue" %)**AT+DADDR=26 01 1A F1** (%%) Set Device Address to 26 01 1A F1 ~-~-> Make sure this match Server setting 68 - 69 -* (% style="color:blue" %)**ATZ** (%%) Reset MCU 70 - 71 -**As shown in below:** 72 - 73 - 74 74 [[image:image-20220601111608-1.png]] 75 75 76 76 Configure Device 77 77 78 78 79 -== 2.3 Step 83 +== 2.3 Step3: Configure Gateway == 80 80 81 81 82 82 Configure gateway so it can receive the packet sent from End Node: 83 83 84 -* (% style="color:blue" %)**RX frequency: 868400000 ** (%%) ~-~-> Must same as the End Node **AT+CHS** settings. 88 +* RX frequency: 868400000 ~-~-> Must same as the End Node AT+CHS settings. 89 +* 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). 85 85 86 -* (% 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). 87 87 88 88 [[image:image-20220527164647-3.png]] 89 89 ... ... @@ -95,10 +95,6 @@ 95 95 96 96 For connecting a standard LoRaWAN devices. Please use the recommend LoRaWAN gateway: 97 97 98 -* (% 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]] 99 - 100 -* (% 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]] 101 - 102 -* (% 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]] 103 - 104 -* (% 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]] 102 +1. LG308: Indoor Gateway base on SX1301. [[http:~~/~~/www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]] 103 +1. LPS8: Indoor Gateway base on SX1308. [[http:~~/~~/www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]] 104 +1. DLOS8: Outdoor gateway base on SX1301. [[http:~~/~~/www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]]