Last modified by Xiaoling on 2023/07/24 09:53

From version 33.2
edited by Xiaoling
on 2022/11/21 18:05
Change comment: There is no comment for this version
To version 31.2
edited by Xiaoling
on 2022/11/21 17:14
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,14 +2,15 @@
2 2  [[image:1669017918121-199.png||height="359" width="358"]]
3 3  
4 4  
5 -**Table of Contents:**
6 6  
7 -{{toc/}}
8 8  
9 9  
10 10  
11 11  
12 12  
11 +
12 +
13 +
13 13  = 1. Overview =
14 14  
15 15  == 1.1 What is Dragino LoRaWAN IoT Kit v3? ==
... ... @@ -36,8 +36,6 @@
36 36  
37 37  * Support various network structures
38 38  
39 -
40 -
41 41  == 1.3 What can you learn from the kit? ==
42 42  
43 43  
... ... @@ -57,8 +57,6 @@
57 57  
58 58  * Learn different way to connect LoRaWAN network to IoT Server and compare their advantages / disadvantages.
59 59  
60 -
61 -
62 62  == 1.4 What parts Dragino LoRa IoT v3 includes? ==
63 63  
64 64  
... ... @@ -84,8 +84,6 @@
84 84  
85 85  * 20 x dupont cable (male to female)
86 86  
87 -
88 -
89 89  = 2. Example 1: Test a LoRaWAN network =
90 90  
91 91  
... ... @@ -97,7 +97,6 @@
97 97  [[image:1669019691933-772.png]]
98 98  
99 99  
100 -
101 101  (% style="color:blue" %)**STEPS:**
102 102  
103 103  ~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]]” 
... ... @@ -107,12 +107,12 @@
107 107  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]]”
108 108  
109 109  
110 -
111 111  (% style="color:blue" %)**Result:**
112 112  
113 113   [[image:1669019732684-677.png]]
114 114  
115 115  
109 +
116 116  = 3. Example 2: Test Built-In LoRaWAN Server =
117 117  
118 118  
... ... @@ -173,9 +173,9 @@
173 173  
174 174  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.
175 175  
176 -* (% 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/]]**
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/]]**
177 177  
178 -* (% 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]].**
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]].**
179 179  
180 180  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.
181 181  
... ... @@ -185,35 +185,35 @@
185 185  === 5.1.1 Set up LA66 Module ===
186 186  
187 187  
188 -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:
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:
189 189  
190 -(% class="box infomessage" %)
191 -(((
192 -(% style="color:#037691" %)**AT+FRE=904.100,904.100   ** (%%) ~-~->  TX and RX frequency set: 9041100000
193 193  
194 -(% style="color:#037691" %)**AT+BW=0,0 ** (%%) ~-~->  TX and RX Bandwidth set: 125kHz
185 +(% style="color:#037691" %)**AT+FRE=904.100,904.100   ** (%%) ~-~-->  TX and RX frequency set: 9041100000
195 195  
196 -(% style="color:#037691" %)**AT+SF=12,12    ** (%%) ~-~->  TX and RX Spreading Factor set: SF10
187 +(% style="color:#037691" %)**AT+BW=0,0 ** (%%) ~-~-->  TX and RX Bandwidth set: 125kHz
197 197  
198 -(% style="color:#037691" %)**AT+CRC=1,1  ** (%%) ~-~->  0: CRC OFF ,1: CRC ON
189 +(% style="color:#037691" %)**AT+SF=12,12    ** (%%) ~-~--TX and RX Spreading Factor set: SF10
199 199  
200 -(% style="color:#037691" %)**AT+HEADER=0,0**       (%%) ~-~->  Header Type: explicit, explicit
191 +(% style="color:#037691" %)**AT+CRC=1,** (%%) ~-~--0: CRC OFF ,1: CRC ON
201 201  
202 -(% style="color:#037691" %)**AT+CR=1,** (%%) ~-~->  CR: 4/5, 4/5
193 +(% style="color:#037691" %)**AT+HEADER=0,0**       (%%) ~-~--Header Type: explicit, explicit
203 203  
204 -(% style="color:#037691" %)**AT+IQ=0,0**        (%%) ~-~->  Invert IQ: 0,0
195 +(% style="color:#037691" %)**AT+CR=1,** (%%) ~-~--CR: 4/5, 4/5
205 205  
206 -(% style="color:#037691" %)**AT+PREAMBLE=8,** (%%) ~-~->  TX and RX Preamble Length set: 8
197 +(% style="color:#037691" %)**AT+IQ=0,0**        (%%) ~-~--Invert IQ: 0,0
207 207  
208 -(% style="color:#037691" %)**AT+SYNCWORD=0**     (%%) ~-~->  Syncword**(0: private,1: public)**
199 +(% style="color:#037691" %)**AT+PREAMBLE=8,8  ** (%%) ~-~--TX and RX Preamble Length set: 8
209 209  
210 -(% style="color:#037691" %)**AT+RXMOD=6,0   ** (%%) ~-~->  Rx Timeout and Reply mode
211 -)))
201 +(% style="color:#037691" %)**AT+SYNCWORD=0**     (%%) ~-~-->  Syncword**(0: private,1: public)**
212 212  
203 +(% style="color:#037691" %)**AT+RXMOD=6,0   ** (%%) ~-~-->  Rx Timeout and Reply mode
213 213  
205 +
206 +
214 214  === 5.1.2 Hardware Connection ===
215 215  
216 216  
210 +
217 217  [[image:1669020260360-253.png]]
218 218  
219 219  
... ... @@ -223,7 +223,7 @@
223 223  === 5.1.3 Set up Arduino UNO ===
224 224  
225 225  
226 -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]]**
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]]
227 227  
228 228  
229 229  (% style="color:blue" %)**Upload the code to UNO:**
... ... @@ -240,10 +240,9 @@
240 240  == 5.2 Set Up LA66 USB ==
241 241  
242 242  
243 -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:
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:
244 244  
245 -(% class="box infomessage" %)
246 -(((
239 +
247 247  (% style="color:#037691" %)**AT+FRE=904.100,904.100**(%%)  ~-~->  TX and RX frequency set: 904100000 
248 248  
249 249  (% style="color:#037691" %)**AT+BW=0,0**    (%%) ~-~->  TX and RX Bandwidth set: 125kHz
... ... @@ -265,11 +265,11 @@
265 265  (% style="color:#037691" %)**AT+RXMOD=65535,0**  (%%) ~-~->  Set the receive mode
266 266  
267 267  (% style="color:#037691" %)**AT+RXDAFORM=1**  (%%) ~-~->  ASCII to string
268 -)))
269 269  
262 +
270 270  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.
271 271  
272 -For example, **[[USB Serial Console>>url:https://play.google.com/store/apps/details?id=jp.sugnakys.usbserialconsole]]** (Android Version Only)
265 +For example, [[USB Serial Console>>url:https://play.google.com/store/apps/details?id=jp.sugnakys.usbserialconsole]] (Android Version Only)
273 273  
274 274  
275 275  [[image:1669020888886-358.png]]
... ... @@ -291,7 +291,7 @@
291 291  Send a message to the LA66 USB control LA66 Shield + UNO external RBG LED through the mobile phone:
292 292  
293 293  
294 -For example, if you send (% style="color:blue" %)**AT+SEND=1,000101,2,0**(%%) the RBG LED will light up red.
287 +For example, if you send (% style="color:blue" %)**AT+SEND=1,000101,2,0** the (%%)RBG LED will light up red.
295 295  
296 296  [[image:1669021075655-472.png]]
297 297  
... ... @@ -318,13 +318,12 @@
318 318  
319 319  (% style="color:red" %)**Notice:**
320 320  
321 -1. LPS8v2 has LoRaWAN concentrator which doesn't do anything in this example. This example doesn't need this SX1302 concentrator.
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.
322 322  
323 - 2. For mass deployment, user can use the LG01v2 instead of LPS8v2+LA66 USB. LG01v2 already include LA66 module inside.
317 +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.
324 324  
325 -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.
326 326  
327 -
328 328  = 7. Example 6: Limited LoRaWAN relay =
329 329  
330 330  
... ... @@ -346,10 +346,8 @@
346 346  == 7.1 Set up LA66 USB ==
347 347  
348 348  
349 -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:
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:
350 350  
351 -(% class="box infomessage" %)
352 -(((
353 353  (% style="color:#037691" %)**AT+CHS=904100000** (%%) ~-~->  Fix frequency
354 354  
355 355  (% style="color:#037691" %)**AT+NJM=0  ** (%%) ~-~->  Set the ABP mode
... ... @@ -357,7 +357,6 @@
357 357  (% style="color:#037691" %)**AT+ADR=0**   (%%) ~-~->  Close ADR
358 358  
359 359  (% style="color:#037691" %)**AT+DR=0 ** (%%) ~-~->  Fix DR=0
360 -)))
361 361  
362 362  Set up LA66 USB t work in ABP mode, use fix frequency(904100000) and fix DR0(SF10) to transmit data.
363 363  
... ... @@ -365,10 +365,8 @@
365 365  == 7.2 Set up LA66 Shield ==
366 366  
367 367  
368 -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:
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:
369 369  
370 -(% class="box infomessage" %)
371 -(((
372 372  (% style="color:#037691" %)**AT+FRE=904.100,904.100**(%%)  ~-~-> TX and RX frequency set: 904100000 
373 373  
374 374  (% style="color:#037691" %)**AT+BW=0,0**(%%)  ~-~-> TX and RX Bandwidth set: 125kHz
... ... @@ -390,7 +390,6 @@
390 390  (% style="color:#037691" %)**AT+RXMOD=65535,1 **(%%) ~-~-> Set the Relay mode
391 391  
392 392  (% style="color:#037691" %)**AT+WAITTIME=1000**(%%)  ~-~-> Relay wait time 1000ms
393 -)))
394 394  
395 395  
396 396  == 7.3 Uplink test ==
... ... @@ -403,7 +403,7 @@
403 403  [[image:1669021802668-328.png]]
404 404  
405 405  
406 -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)
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)
407 407  
408 408  [[image:1669021860044-222.png]]
409 409