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

From version 31.2
edited by Xiaoling
on 2022/11/21 17:14
Change comment: There is no comment for this version
To version 34.1
edited by Edwin Chen
on 2023/04/04 14:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Edwin
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,8 @@
37 37  
38 38  * Support various network structures
39 39  
39 +
40 +
40 40  == 1.3 What can you learn from the kit? ==
41 41  
42 42  
... ... @@ -56,6 +56,8 @@
56 56  
57 57  * Learn different way to connect LoRaWAN network to IoT Server and compare their advantages / disadvantages.
58 58  
60 +
61 +
59 59  == 1.4 What parts Dragino LoRa IoT v3 includes? ==
60 60  
61 61  
... ... @@ -81,6 +81,8 @@
81 81  
82 82  * 20 x dupont cable (male to female)
83 83  
87 +
88 +
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  
100 +
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  
110 +
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  
... ... @@ -120,16 +120,16 @@
120 120  
121 121  TTN v3 stack has the same configure method as the public TTN server. When user test example 2 here. User need to log in the TTNv3 stack in LPS8v2 as per below:
122 122  
123 -**Input URL( __http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address> __) in your browser.**
129 +**Input URL( (% style="background-color:yellow" %)//__http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address>__//(%%)__ __) in your browser.**
124 124  
125 -**Such as  __http:~/~/dragino-54ff12:8080  or http:~/~/<Local-IPV4-Address>__**
131 +**Such as  (% style="background-color:yellow" %)//__http:~/~/dragino-54ff12:8080  or http:~/~/<Local-IPV4-Address>__//(%%)**
126 126  
127 127  
128 128  (% style="color:blue" %)**Login account:**
129 129  
130 -**User ID:  admin**
136 +**User ID:  (% style="background-color:yellow" %)admin(%%)**
131 131  
132 -**Password:  dragino**
138 +**Password:  (% style="background-color:yellow" %)dragino(%%)**
133 133  
134 134  [[image:1669019821266-501.png]]
135 135  
... ... @@ -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/]]**
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/]]**
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]].**
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]].**
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,35 @@
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:
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:
183 183  
190 +(% class="box infomessage" %)
191 +(((
192 +(% 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 RX frequency set: 9041100000
194 +(% 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 RX Bandwidth set: 125kHz
196 +(% style="color:#037691" %)**AT+SF=12,12    ** (%%) ~-~->  TX and RX Spreading Factor set: SF10
188 188  
189 -(% style="color:#037691" %)**AT+SF=12,12    ** (%%) ~-~--TX and RX Spreading Factor set: SF10
198 +(% style="color:#037691" %)**AT+CRC=1,1  ** (%%) ~-~->  0: CRC OFF ,1: CRC ON
190 190  
191 -(% style="color:#037691" %)**AT+CRC=1,** (%%) ~-~--0: CRC OFF ,1: CRC ON
200 +(% style="color:#037691" %)**AT+HEADER=0,0**       (%%) ~-~->  Header Type: explicit, explicit
192 192  
193 -(% style="color:#037691" %)**AT+HEADER=0,0**       (%%) ~-~--Header Type: explicit, explicit
202 +(% style="color:#037691" %)**AT+CR=1,** (%%) ~-~->  CR: 4/5, 4/5
194 194  
195 -(% style="color:#037691" %)**AT+CR=1,** (%%) ~-~--CR: 4/5, 4/5
204 +(% style="color:#037691" %)**AT+IQ=0,0**        (%%) ~-~->  Invert IQ: 0,0
196 196  
197 -(% style="color:#037691" %)**AT+IQ=0,0**        (%%) ~-~--Invert IQ: 0,0
206 +(% style="color:#037691" %)**AT+PREAMBLE=8,** (%%) ~-~->  TX and RX Preamble Length set: 8
198 198  
199 -(% style="color:#037691" %)**AT+PREAMBLE=8,8  ** (%%) ~-~--TX and RX Preamble Length set: 8
208 +(% 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)**
210 +(% style="color:#037691" %)**AT+RXMOD=6,0   ** (%%) ~-~->  Rx Timeout and Reply mode
211 +)))
202 202  
203 -(% style="color:#037691" %)**AT+RXMOD=6,0   ** (%%) ~-~-->  Rx Timeout and Reply mode
204 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]]
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]]**
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:
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:
238 238  
239 -
245 +(% class="box infomessage" %)
246 +(((
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
268 +)))
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)
272 +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.
294 +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.
321 +1. LPS8v2 has LoRaWAN concentrator which doesn't do anything in this example. This example doesn't need this SX1302 concentrator.
316 316  
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.
323 + 2. For mass deployment, user can use the LG01v2 instead of LPS8v2+LA66 USB. LG01v2 already include LA66 module inside.
318 318  
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.
319 319  
327 +
320 320  = 7. Example 6: Limited LoRaWAN relay =
321 321  
322 322  
... ... @@ -338,8 +338,10 @@
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:
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:
342 342  
351 +(% class="box infomessage" %)
352 +(((
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,6 +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
360 +)))
350 350  
351 351  Set up LA66 USB t work in ABP mode, use fix frequency(904100000) and fix DR0(SF10) to transmit data.
352 352  
... ... @@ -354,8 +354,10 @@
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:
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:
358 358  
370 +(% class="box infomessage" %)
371 +(((
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,6 +377,7 @@
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
393 +)))
380 380  
381 381  
382 382  == 7.3 Uplink test ==
... ... @@ -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)
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)
393 393  
394 394  [[image:1669021860044-222.png]]
395 395  
... ... @@ -420,6 +420,15 @@
420 420  [[image:1669021922274-909.png]]
421 421  
422 422  
437 +== 7.3 Limited of using LA66 as relay of LoRaWAN ==
438 +
439 +LA66 is a LoRa End Node module base on SX1262 core. Use it as relay as mentioned above has below limitation:
440 +
441 +1. It only supports LoRa radio with fix frequency, fix DR (Spreading Factor) , Fix bandwidth and
442 +1. This method only support uplinks. It doesn;t work for LoRaWAN Downlink.
443 +1. Capacity depends on how often the end nodes sends send uplinks. The LA66 needs to spends around 1~~3 seconds to relay one packet ( depends on DR. inlcudes RX and TX time).
444 +
445 +
423 423  = 8. Technical Support =
424 424  
425 425  
... ... @@ -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