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

From version 31.3
edited by Xiaoling
on 2022/11/21 17:18
Change comment: There is no comment for this version
To version 33.1
edited by Kilight Cao
on 2022/11/21 17:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Kilight
Content
... ... @@ -37,8 +37,6 @@
37 37  * Support various network structures
38 38  
39 39  
40 -
41 -
42 42  == 1.3 What can you learn from the kit? ==
43 43  
44 44  
... ... @@ -59,8 +59,6 @@
59 59  * Learn different way to connect LoRaWAN network to IoT Server and compare their advantages / disadvantages.
60 60  
61 61  
62 -
63 -
64 64  == 1.4 What parts Dragino LoRa IoT v3 includes? ==
65 65  
66 66  
... ... @@ -87,8 +87,6 @@
87 87  * 20 x dupont cable (male to female)
88 88  
89 89  
90 -
91 -
92 92  = 2. Example 1: Test a LoRaWAN network =
93 93  
94 94  
... ... @@ -176,9 +176,9 @@
176 176  
177 177  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.
178 178  
179 -* **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/]]**
180 180  
181 -* **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]].**
182 182  
183 183  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.
184 184  
... ... @@ -188,30 +188,31 @@
188 188  === 5.1.1 Set up LA66 Module ===
189 189  
190 190  
191 -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:
192 192  
187 +(% class="box infomessage" %)
188 +(((
189 +(% style="color:#037691" %)**AT+FRE=904.100,904.100   ** (%%) ~-~->  TX and RX frequency set: 9041100000
193 193  
194 -(% style="color:#037691" %)**AT+FRE=904.100,904.100   ** (%%) ~-~-->  TX and RX frequency set: 9041100000
191 +(% style="color:#037691" %)**AT+BW=0,0 ** (%%) ~-~->  TX and RX Bandwidth set: 125kHz
195 195  
196 -(% style="color:#037691" %)**AT+BW=0,0 ** (%%) ~-~-->  TX and RX Bandwidth set: 125kHz
193 +(% style="color:#037691" %)**AT+SF=12,12    ** (%%) ~-~->  TX and RX Spreading Factor set: SF10
197 197  
198 -(% style="color:#037691" %)**AT+SF=12,12    ** (%%) ~-~--TX and RX Spreading Factor set: SF10
195 +(% style="color:#037691" %)**AT+CRC=1,1  ** (%%) ~-~->  0: CRC OFF ,1: CRC ON
199 199  
200 -(% style="color:#037691" %)**AT+CRC=1,** (%%) ~-~--0: CRC OFF ,1: CRC ON
197 +(% style="color:#037691" %)**AT+HEADER=0,0**       (%%) ~-~->  Header Type: explicit, explicit
201 201  
202 -(% style="color:#037691" %)**AT+HEADER=0,0**       (%%) ~-~--Header Type: explicit, explicit
199 +(% style="color:#037691" %)**AT+CR=1,** (%%) ~-~->  CR: 4/5, 4/5
203 203  
204 -(% style="color:#037691" %)**AT+CR=1,** (%%) ~-~--CR: 4/5, 4/5
201 +(% style="color:#037691" %)**AT+IQ=0,0**        (%%) ~-~->  Invert IQ: 0,0
205 205  
206 -(% style="color:#037691" %)**AT+IQ=0,0**        (%%) ~-~--Invert IQ: 0,0
203 +(% style="color:#037691" %)**AT+PREAMBLE=8,** (%%) ~-~->  TX and RX Preamble Length set: 8
207 207  
208 -(% style="color:#037691" %)**AT+PREAMBLE=8,8  ** (%%) ~-~--TX and RX Preamble Length set: 8
205 +(% style="color:#037691" %)**AT+SYNCWORD=0**     (%%) ~-~->  Syncword**(0: private,1: public)**
209 209  
210 -(% 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 +)))
211 211  
212 -(% style="color:#037691" %)**AT+RXMOD=6,0   ** (%%) ~-~-->  Rx Timeout and Reply mode
213 -
214 -
215 215  === 5.1.2 Hardware Connection ===
216 216  
217 217  
... ... @@ -224,7 +224,7 @@
224 224  === 5.1.3 Set up Arduino UNO ===
225 225  
226 226  
227 -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]]**
228 228  
229 229  
230 230  (% style="color:blue" %)**Upload the code to UNO:**
... ... @@ -241,9 +241,10 @@
241 241  == 5.2 Set Up LA66 USB ==
242 242  
243 243  
244 -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:
245 245  
246 -
241 +(% class="box infomessage" %)
242 +(((
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
264 +)))
268 268  
269 -
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)
268 +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.
290 +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  
... ... @@ -320,9 +320,9 @@
320 320  
321 321  1. LPS8v2 has LoRaWAN concentrator which doesn't do anything in this example. This example doesn't need this SX1302 concentrator.
322 322  
323 -2. For mass deployment, user can use the LG01v2 instead of LPS8v2+LA66 USB. LG01v2 already include LA66 module inside.
319 + 2. For mass deployment, user can use the LG01v2 instead of LPS8v2+LA66 USB. LG01v2 already include LA66 module inside.
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.
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.
326 326  
327 327  
328 328  = 7. Example 6: Limited LoRaWAN relay =
... ... @@ -346,8 +346,9 @@
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:
350 -
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 +(((
351 351  (% style="color:#037691" %)**AT+CHS=904100000** (%%) ~-~->  Fix frequency
352 352  
353 353  (% style="color:#037691" %)**AT+NJM=0  ** (%%) ~-~->  Set the ABP mode
... ... @@ -355,7 +355,7 @@
355 355  (% style="color:#037691" %)**AT+ADR=0**   (%%) ~-~->  Close ADR
356 356  
357 357  (% style="color:#037691" %)**AT+DR=0 ** (%%) ~-~->  Fix DR=0
358 -
355 +)))
359 359  Set up LA66 USB t work in ABP mode, use fix frequency(904100000) and fix DR0(SF10) to transmit data.
360 360  
361 361  
... ... @@ -362,8 +362,9 @@
362 362  == 7.2 Set up LA66 Shield ==
363 363  
364 364  
365 -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:
366 -
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 +(((
367 367  (% style="color:#037691" %)**AT+FRE=904.100,904.100**(%%)  ~-~-> TX and RX frequency set: 904100000 
368 368  
369 369  (% style="color:#037691" %)**AT+BW=0,0**(%%)  ~-~-> TX and RX Bandwidth set: 125kHz
... ... @@ -385,8 +385,8 @@
385 385  (% style="color:#037691" %)**AT+RXMOD=65535,1 **(%%) ~-~-> Set the Relay mode
386 386  
387 387  (% style="color:#037691" %)**AT+WAITTIME=1000**(%%)  ~-~-> Relay wait time 1000ms
386 +)))
388 388  
389 -
390 390  == 7.3 Uplink test ==
391 391  
392 392  
... ... @@ -397,7 +397,7 @@
397 397  [[image:1669021802668-328.png]]
398 398  
399 399  
400 -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)
401 401  
402 402  [[image:1669021860044-222.png]]
403 403