Changes for page LoRaWAN IoT Kit v3 User Manual
Last modified by Xiaoling on 2023/07/24 09:53
From version 31.2
edited by Xiaoling
on 2022/11/21 17:14
on 2022/11/21 17:14
Change comment:
There is no comment for this version
To version 33.1
edited by Kilight Cao
on 2022/11/21 17:59
on 2022/11/21 17:59
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. Xiaoling1 +XWiki.Kilight - Content
-
... ... @@ -2,15 +2,14 @@ 2 2 [[image:1669017918121-199.png||height="359" width="358"]] 3 3 4 4 5 +**Table of Contents:** 5 5 7 +{{toc/}} 6 6 7 7 8 8 9 9 10 10 11 - 12 - 13 - 14 14 = 1. Overview = 15 15 16 16 == 1.1 What is Dragino LoRaWAN IoT Kit v3? == ... ... @@ -37,6 +37,7 @@ 37 37 38 38 * Support various network structures 39 39 39 + 40 40 == 1.3 What can you learn from the kit? == 41 41 42 42 ... ... @@ -56,6 +56,7 @@ 56 56 57 57 * Learn different way to connect LoRaWAN network to IoT Server and compare their advantages / disadvantages. 58 58 59 + 59 59 == 1.4 What parts Dragino LoRa IoT v3 includes? == 60 60 61 61 ... ... @@ -81,6 +81,7 @@ 81 81 82 82 * 20 x dupont cable (male to female) 83 83 85 + 84 84 = 2. Example 1: Test a LoRaWAN network = 85 85 86 86 ... ... @@ -92,6 +92,7 @@ 92 92 [[image:1669019691933-772.png]] 93 93 94 94 97 + 95 95 (% style="color:blue" %)**STEPS:** 96 96 97 97 ~1. Register LPS8v2 gateway to TTN so provide a LoRaWAN coverage. See section “[[Gateway Registration for Semtech UDP ~~-~~-~> Primary LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20TTN/#H2.A0GatewayRegistrationforSemtechUDP]]” ... ... @@ -101,12 +101,12 @@ 101 101 3. Register LA66 USB to TTN and track people location. See “[[Example: Use of LA66 USB LoRaWAN Adapter and mobile APP>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/#H1.9A0Example:UseofA0LA66USBLoRaWANAdapterandmobileAPP]]” 102 102 103 103 107 + 104 104 (% style="color:blue" %)**Result:** 105 105 106 106 [[image:1669019732684-677.png]] 107 107 108 108 109 - 110 110 = 3. Example 2: Test Built-In LoRaWAN Server = 111 111 112 112 ... ... @@ -167,9 +167,9 @@ 167 167 168 168 In this example, the end nodes LA66 Shield and LA66 USB are not use LoRaWAN protocol. Users need to flash them with the firmware support private LoRa. 169 169 170 -* **Software Location: [[LA66 Peer to Peer firmware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/Instruction%20for%20LA66%20Peer%20to%20Peer%20firmware/]]** 173 +* (% style="color:blue" %)**Software Location:**(%%)** [[LA66 Peer to Peer firmware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/Instruction%20for%20LA66%20Peer%20to%20Peer%20firmware/]]** 171 171 172 -* **How to Flash Firmware: [[For LA66 Shield>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/#H1.9A0UpgradeFirmwareofLA66LoRaWANShield]] , For [[LA66 USB>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/#H1.10A0UpgradeFirmwareofLA66USBLoRaWANAdapter]].** 175 +* (% style="color:blue" %)**How to Flash Firmware: **(%%)** [[For LA66 Shield>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/#H1.9A0UpgradeFirmwareofLA66LoRaWANShield]] , For [[LA66 USB>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/#H1.10A0UpgradeFirmwareofLA66USBLoRaWANAdapter]].** 173 173 174 174 This example will show how to get Temperature sensor value from LA66 Shield and send it to LA66 USB. LA66 USB is connected to mobile phone. So user can see the temperature value in mobile phone directly . User can also send message from mobile phone to LA66 to control the RGB LED. 175 175 ... ... @@ -179,35 +179,34 @@ 179 179 === 5.1.1 Set up LA66 Module === 180 180 181 181 182 -LA66 Module is loaded with the firmware [[LA66 Peer to Peer firmware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/Instruction%20for%20LA66%20Peer%20to%20Peer%20firmware/]] and user can use AT Command to set up LA66 with below parameters: 185 +LA66 Module is loaded with the firmware **[[LA66 Peer to Peer firmware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/Instruction%20for%20LA66%20Peer%20to%20Peer%20firmware/]]** and user can use AT Command to set up LA66 with below parameters: 183 183 187 +(% class="box infomessage" %) 188 +((( 189 +(% style="color:#037691" %)**AT+FRE=904.100,904.100 ** (%%) ~-~-> TX and RX frequency set: 9041100000 184 184 185 -(% style="color:#037691" %)**AT+ FRE=904.100,904.100** (%%) ~-~--> TX and RXfrequencyset:9041100000191 +(% style="color:#037691" %)**AT+BW=0,0 ** (%%) ~-~-> TX and RX Bandwidth set: 125kHz 186 186 187 -(% style="color:#037691" %)**AT+ BW=0,0**-> TX and RXBandwidthset: 125kHz193 +(% style="color:#037691" %)**AT+SF=12,12 ** (%%) ~-~-> TX and RX Spreading Factor set: SF10 188 188 189 -(% style="color:#037691" %)**AT+ SF=12,12->TXandRXSpreadingFactorset:SF10195 +(% style="color:#037691" %)**AT+CRC=1,1 ** (%%) ~-~-> 0: CRC OFF ,1: CRC ON 190 190 191 -(% style="color:#037691" %)**AT+ CRC=1,1**->0:CRC OFF,1:CRC ON197 +(% style="color:#037691" %)**AT+HEADER=0,0** (%%) ~-~-> Header Type: explicit, explicit 192 192 193 -(% style="color:#037691" %)**AT+ HEADER=0,0**->Header Type:explicit,explicit199 +(% style="color:#037691" %)**AT+CR=1,1 ** (%%) ~-~-> CR: 4/5, 4/5 194 194 195 -(% style="color:#037691" %)**AT+ CR=1,1**->CR:4/5,4/5201 +(% style="color:#037691" %)**AT+IQ=0,0** (%%) ~-~-> Invert IQ: 0,0 196 196 197 -(% style="color:#037691" %)**AT+ IQ=0,0**->InvertIQ:0,0203 +(% style="color:#037691" %)**AT+PREAMBLE=8,8 ** (%%) ~-~-> TX and RX Preamble Length set: 8 198 198 199 -(% style="color:#037691" %)**AT+ PREAMBLE=8,8** (%%)->TX andRX Preamble Length set:8205 +(% style="color:#037691" %)**AT+SYNCWORD=0** (%%) ~-~-> Syncword**(0: private,1: public)** 200 200 201 -(% style="color:#037691" %)**AT+SYNCWORD=0** (%%) ~-~--> Syncword**(0: private,1: public)** 207 +(% style="color:#037691" %)**AT+RXMOD=6,0 ** (%%) ~-~-> Rx Timeout and Reply mode 208 +))) 202 202 203 -(% style="color:#037691" %)**AT+RXMOD=6,0 ** (%%) ~-~--> Rx Timeout and Reply mode 204 - 205 - 206 - 207 207 === 5.1.2 Hardware Connection === 208 208 209 209 210 - 211 211 [[image:1669020260360-253.png]] 212 212 213 213 ... ... @@ -217,7 +217,7 @@ 217 217 === 5.1.3 Set up Arduino UNO === 218 218 219 219 220 -The sketch for this example is [[Log-Temperature-Sensor-and- Control-RBG-LED.ino>>url:https://www.dropbox.com/sh/r5l3h5fhifrqbxn/AACgNoQ-aYnvWOxGwUDWxNlFa?dl=0]] 222 +The sketch for this example is **[[Log-Temperature-Sensor-and- Control-RBG-LED.ino>>url:https://www.dropbox.com/sh/r5l3h5fhifrqbxn/AACgNoQ-aYnvWOxGwUDWxNlFa?dl=0]]** 221 221 222 222 223 223 (% style="color:blue" %)**Upload the code to UNO:** ... ... @@ -234,9 +234,10 @@ 234 234 == 5.2 Set Up LA66 USB == 235 235 236 236 237 -LA66 USB is loaded with the firmware [[LA66 Peer to Peer firmware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/Instruction%20for%20LA66%20Peer%20to%20Peer%20firmware/]] and user can use AT Command to set up LA66 USB with below parameters: 239 +LA66 USB is loaded with the firmware **[[LA66 Peer to Peer firmware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/Instruction%20for%20LA66%20Peer%20to%20Peer%20firmware/]]** and user can use AT Command to set up LA66 USB with below parameters: 238 238 239 - 241 +(% class="box infomessage" %) 242 +((( 240 240 (% style="color:#037691" %)**AT+FRE=904.100,904.100**(%%) ~-~-> TX and RX frequency set: 904100000 241 241 242 242 (% style="color:#037691" %)**AT+BW=0,0** (%%) ~-~-> TX and RX Bandwidth set: 125kHz ... ... @@ -258,11 +258,11 @@ 258 258 (% style="color:#037691" %)**AT+RXMOD=65535,0** (%%) ~-~-> Set the receive mode 259 259 260 260 (% style="color:#037691" %)**AT+RXDAFORM=1** (%%) ~-~-> ASCII to string 264 +))) 261 261 262 - 263 263 Users using USB to Type-C adapter is needed to connect to a Mobile phone, Users need to download the USB Serial APP in their phones. 264 264 265 -For example, [[USB Serial Console>>url:https://play.google.com/store/apps/details?id=jp.sugnakys.usbserialconsole]] (Android Version Only) 268 +For example, **[[USB Serial Console>>url:https://play.google.com/store/apps/details?id=jp.sugnakys.usbserialconsole]]** (Android Version Only) 266 266 267 267 268 268 [[image:1669020888886-358.png]] ... ... @@ -284,7 +284,7 @@ 284 284 Send a message to the LA66 USB control LA66 Shield + UNO external RBG LED through the mobile phone: 285 285 286 286 287 -For example, if you send (% style="color:blue" %)**AT+SEND=1,000101,2,0** the (%%)RBG LED will light up red.290 +For example, if you send (% style="color:blue" %)**AT+SEND=1,000101,2,0**(%%) the RBG LED will light up red. 288 288 289 289 [[image:1669021075655-472.png]] 290 290 ... ... @@ -311,12 +311,13 @@ 311 311 312 312 (% style="color:red" %)**Notice:** 313 313 314 -~1. LPS8v2 has LoRaWAN concentrator which doesn't do anything in this example. This example doesn't need this SX1302 concentrator. 315 -2. For mass deployment, user can use the LG01v2 instead of LPS8v2+LA66 USB. LG01v2 already include LA66 module inside. 317 +1. LPS8v2 has LoRaWAN concentrator which doesn't do anything in this example. This example doesn't need this SX1302 concentrator. 316 316 317 - Usecancheck[[THISLINK>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/LG01v2/#H5.2Example:LG01v2]] for aninstruction of thisxample.Inthelink it usesLG01v2asxample,the use forLPS8v2+LA66 USBisthesameasLG01v2.319 + 2. For mass deployment, user can use the LG01v2 instead of LPS8v2+LA66 USB. LG01v2 already include LA66 module inside. 318 318 321 +Use can check **[[THIS LINK>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/LG01v2/#H5.2Example:LG01v2]]** for an instruction of this example. In the link it uses LG01v2 as example, the use for LPS8v2+LA66 USB is the same as LG01v2. 319 319 323 + 320 320 = 7. Example 6: Limited LoRaWAN relay = 321 321 322 322 ... ... @@ -338,8 +338,9 @@ 338 338 == 7.1 Set up LA66 USB == 339 339 340 340 341 -LA66 USB is loaded with the firmware [[LA66 USB use LoRaWAN firmware>>url:https://www.dropbox.com/sh/els49fz9rd6fu1y/AAAt-kKIvXu1ZOK0hWysq97na?dl=0]] and user can use AT Command to set up LA66 with below parameters: 342 - 345 +LA66 USB is loaded with the firmware **[[LA66 USB use LoRaWAN firmware>>url:https://www.dropbox.com/sh/els49fz9rd6fu1y/AAAt-kKIvXu1ZOK0hWysq97na?dl=0]]** and user can use AT Command to set up LA66 with below parameters: 346 +(% class="box infomessage" %) 347 +((( 343 343 (% style="color:#037691" %)**AT+CHS=904100000** (%%) ~-~-> Fix frequency 344 344 345 345 (% style="color:#037691" %)**AT+NJM=0 ** (%%) ~-~-> Set the ABP mode ... ... @@ -347,7 +347,7 @@ 347 347 (% style="color:#037691" %)**AT+ADR=0** (%%) ~-~-> Close ADR 348 348 349 349 (% style="color:#037691" %)**AT+DR=0 ** (%%) ~-~-> Fix DR=0 350 - 355 +))) 351 351 Set up LA66 USB t work in ABP mode, use fix frequency(904100000) and fix DR0(SF10) to transmit data. 352 352 353 353 ... ... @@ -354,8 +354,9 @@ 354 354 == 7.2 Set up LA66 Shield == 355 355 356 356 357 -LA66 Shield is loaded with the firmware [[LA66 Shield use Point to Point firmware>>url:https://www.dropbox.com/sh/els49fz9rd6fu1y/AAAt-kKIvXu1ZOK0hWysq97na?dl=0]], LA66 Shield as Relay needs to be configured as follows: 358 - 362 +LA66 Shield is loaded with the firmware **[[LA66 Shield use Point to Point firmware>>url:https://www.dropbox.com/sh/els49fz9rd6fu1y/AAAt-kKIvXu1ZOK0hWysq97na?dl=0]]**, LA66 Shield as Relay needs to be configured as follows: 363 +(% class="box infomessage" %) 364 +((( 359 359 (% style="color:#037691" %)**AT+FRE=904.100,904.100**(%%) ~-~-> TX and RX frequency set: 904100000 360 360 361 361 (% style="color:#037691" %)**AT+BW=0,0**(%%) ~-~-> TX and RX Bandwidth set: 125kHz ... ... @@ -377,8 +377,8 @@ 377 377 (% style="color:#037691" %)**AT+RXMOD=65535,1 **(%%) ~-~-> Set the Relay mode 378 378 379 379 (% style="color:#037691" %)**AT+WAITTIME=1000**(%%) ~-~-> Relay wait time 1000ms 386 +))) 380 380 381 - 382 382 == 7.3 Uplink test == 383 383 384 384 ... ... @@ -389,7 +389,7 @@ 389 389 [[image:1669021802668-328.png]] 390 390 391 391 392 -In addition, users can also access LA66 USB using the mobile app [[Download Link for Android apk >>url:https://www.dropbox.com/sh/zxwx16qb777uvkz/AABE_P8coGCQ4DAC8enH4bUya?dl=0]] (Android Version Only) 398 +In addition, users can also access LA66 USB using the mobile app **[[Download Link for Android apk >>url:https://www.dropbox.com/sh/zxwx16qb777uvkz/AABE_P8coGCQ4DAC8enH4bUya?dl=0]]** (Android Version Only) 393 393 394 394 [[image:1669021860044-222.png]] 395 395 ... ... @@ -428,7 +428,6 @@ 428 428 * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LG02/support@dragino.com]] 429 429 430 430 431 - 432 432 = 9. Reference = 433 433 434 434