Changes for page Limitation of the use of LG01/LG02 with LoRaWAN node
Last modified by Xiaoling on 2023/05/29 08:40
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -10,7 +10,7 @@ 10 10 ((( 11 11 12 12 13 -Single Channels gateway are mainly used for private LoRa protocol. Not recommend for LoRaWAN protocol.Below models has such limitation: 13 +Single Channels gateway are mainly used for private LoRa protocol. Not recommend for LoRaWAN protocol. Below models has such limitation: 14 14 ))) 15 15 16 16 * ((( ... ... @@ -28,6 +28,7 @@ 28 28 ((( 29 29 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. 30 30 31 + 31 31 32 32 ))) 33 33 ... ... @@ -39,14 +39,16 @@ 39 39 ((( 40 40 Assume we have a LG02 working in the frequency 868400000 for receive frequency, below is the step up Dragino's End node. 41 41 43 + 42 42 43 43 ))) 44 44 45 -== 2.1 Step1: Creat ABP device in LoRaWAN Server == 47 +== 2.1 Step 1 : Creat ABP device in LoRaWAN Server == 46 46 47 47 48 48 Log in TTN, Create an ABP device in the application and input the network session key (NETSKEY), app session key (APPSKEY) from the device. 49 49 52 + 50 50 [[image:image-20220527164521-1.png]] 51 51 52 52 Create ABP device ... ... @@ -56,39 +56,44 @@ 56 56 ((( 57 57 **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.** 58 58 62 + 59 59 60 60 ))) 61 61 62 -== 2.2 Step2: Configure End Node radio parameters == 66 +== 2.2 Step 2 : Configure End Node radio parameters == 63 63 64 64 65 65 Run AT Command to make LoRaWAN End Node to work in Single frequency & ABP mode. Below is the AT commands: 66 66 67 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 72 +* AT+NJM=0 Set to ABP mode ~-~-> This must be 0 73 +* AT+ADR=0 Set the Adaptive Data Rate Off ~-~-> This must be 0 74 +* AT+DR=5 Set Data Rate (Set AT+DR=3 for 915 band) ~-~-> Can use other DR but need to match the gateway setting. 75 +* AT+CHS=868400000 Set transmit frequency to 868.4Mhz ~-~-> Can use other Frequency but need to match the gateway setting. 76 +* AT+DADDR=26 01 1A F1 Set Device Address to 26 01 1A F1 ~-~-> Make sure this match Server setting 73 73 * ATZ Reset MCU 74 74 75 75 80 + 76 76 As shown in below: 77 77 83 + 78 78 [[image:image-20220601111608-1.png]] 79 79 80 80 Configure Device 81 81 82 82 83 -== 2.3 Step3: Configure Gateway == 84 84 90 +== 2.3 Step 3 : Configure Gateway == 85 85 92 + 86 86 Configure gateway so it can receive the packet sent from End Node: 87 87 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). 95 +* RX frequency: 868400000 ~-~-> Must same as the End Node AT+CHS settings. 96 +* 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). 90 90 91 91 99 + 92 92 [[image:image-20220527164647-3.png]] 93 93 94 94 Configure Gateway