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

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

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Kilight
1 +XWiki.Xiaoling
Content
... ... @@ -37,6 +37,8 @@
37 37  * Support various network structures
38 38  
39 39  
40 +
41 +
40 40  == 1.3 What can you learn from the kit? ==
41 41  
42 42  
... ... @@ -57,6 +57,8 @@
57 57  * Learn different way to connect LoRaWAN network to IoT Server and compare their advantages / disadvantages.
58 58  
59 59  
62 +
63 +
60 60  == 1.4 What parts Dragino LoRa IoT v3 includes? ==
61 61  
62 62  
... ... @@ -83,6 +83,8 @@
83 83  * 20 x dupont cable (male to female)
84 84  
85 85  
90 +
91 +
86 86  = 2. Example 1: Test a LoRaWAN network =
87 87  
88 88  
... ... @@ -170,9 +170,9 @@
170 170  
171 171  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.
172 172  
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/]]**
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/]]**
174 174  
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]].**
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]].**
176 176  
177 177  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.
178 178  
... ... @@ -182,31 +182,30 @@
182 182  === 5.1.1 Set up LA66 Module ===
183 183  
184 184  
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:
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:
186 186  
187 -(% class="box infomessage" %)
188 -(((
189 -(% style="color:#037691" %)**AT+FRE=904.100,904.100   ** (%%) ~-~->  TX and RX frequency set: 9041100000
190 190  
191 -(% style="color:#037691" %)**AT+BW=0,0 ** (%%) ~-~->  TX and RX Bandwidth set: 125kHz
194 +(% style="color:#037691" %)**AT+FRE=904.100,904.100   ** (%%) ~-~-->  TX and RX frequency set: 9041100000
192 192  
193 -(% style="color:#037691" %)**AT+SF=12,12    ** (%%) ~-~->  TX and RX Spreading Factor set: SF10
196 +(% style="color:#037691" %)**AT+BW=0,0 ** (%%) ~-~-->  TX and RX Bandwidth set: 125kHz
194 194  
195 -(% style="color:#037691" %)**AT+CRC=1,1  ** (%%) ~-~->  0: CRC OFF ,1: CRC ON
198 +(% style="color:#037691" %)**AT+SF=12,12    ** (%%) ~-~--TX and RX Spreading Factor set: SF10
196 196  
197 -(% style="color:#037691" %)**AT+HEADER=0,0**       (%%) ~-~->  Header Type: explicit, explicit
200 +(% style="color:#037691" %)**AT+CRC=1,** (%%) ~-~--0: CRC OFF ,1: CRC ON
198 198  
199 -(% style="color:#037691" %)**AT+CR=1,** (%%) ~-~->  CR: 4/5, 4/5
202 +(% style="color:#037691" %)**AT+HEADER=0,0**       (%%) ~-~--Header Type: explicit, explicit
200 200  
201 -(% style="color:#037691" %)**AT+IQ=0,0**        (%%) ~-~->  Invert IQ: 0,0
204 +(% style="color:#037691" %)**AT+CR=1,** (%%) ~-~--CR: 4/5, 4/5
202 202  
203 -(% style="color:#037691" %)**AT+PREAMBLE=8,** (%%) ~-~->  TX and RX Preamble Length set: 8
206 +(% style="color:#037691" %)**AT+IQ=0,0**        (%%) ~-~--Invert IQ: 0,0
204 204  
205 -(% style="color:#037691" %)**AT+SYNCWORD=0**     (%%) ~-~->  Syncword**(0: private,1: public)**
208 +(% style="color:#037691" %)**AT+PREAMBLE=8,8  ** (%%) ~-~--TX and RX Preamble Length set: 8
206 206  
207 -(% style="color:#037691" %)**AT+RXMOD=6,0   ** (%%) ~-~->  Rx Timeout and Reply mode
208 -)))
210 +(% style="color:#037691" %)**AT+SYNCWORD=0**     (%%) ~-~-->  Syncword**(0: private,1: public)**
209 209  
212 +(% style="color:#037691" %)**AT+RXMOD=6,0   ** (%%) ~-~-->  Rx Timeout and Reply mode
213 +
214 +
210 210  === 5.1.2 Hardware Connection ===
211 211  
212 212  
... ... @@ -219,7 +219,7 @@
219 219  === 5.1.3 Set up Arduino UNO ===
220 220  
221 221  
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]]**
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]]
223 223  
224 224  
225 225  (% style="color:blue" %)**Upload the code to UNO:**
... ... @@ -236,10 +236,9 @@
236 236  == 5.2 Set Up LA66 USB ==
237 237  
238 238  
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:
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:
240 240  
241 -(% class="box infomessage" %)
242 -(((
246 +
243 243  (% style="color:#037691" %)**AT+FRE=904.100,904.100**(%%)  ~-~->  TX and RX frequency set: 904100000 
244 244  
245 245  (% style="color:#037691" %)**AT+BW=0,0**    (%%) ~-~->  TX and RX Bandwidth set: 125kHz
... ... @@ -261,11 +261,11 @@
261 261  (% style="color:#037691" %)**AT+RXMOD=65535,0**  (%%) ~-~->  Set the receive mode
262 262  
263 263  (% style="color:#037691" %)**AT+RXDAFORM=1**  (%%) ~-~->  ASCII to string
264 -)))
265 265  
269 +
266 266  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.
267 267  
268 -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)
269 269  
270 270  
271 271  [[image:1669020888886-358.png]]
... ... @@ -287,7 +287,7 @@
287 287  Send a message to the LA66 USB control LA66 Shield + UNO external RBG LED through the mobile phone:
288 288  
289 289  
290 -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.
291 291  
292 292  [[image:1669021075655-472.png]]
293 293  
... ... @@ -316,9 +316,9 @@
316 316  
317 317  1. LPS8v2 has LoRaWAN concentrator which doesn't do anything in this example. This example doesn't need this SX1302 concentrator.
318 318  
319 - 2. For mass deployment, user can use the LG01v2 instead of LPS8v2+LA66 USB. LG01v2 already include LA66 module inside.
323 +2. For mass deployment, user can use the LG01v2 instead of LPS8v2+LA66 USB. LG01v2 already include LA66 module inside.
320 320  
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.
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.
322 322  
323 323  
324 324  = 7. Example 6: Limited LoRaWAN relay =
... ... @@ -342,9 +342,8 @@
342 342  == 7.1 Set up LA66 USB ==
343 343  
344 344  
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 -(((
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 +
348 348  (% style="color:#037691" %)**AT+CHS=904100000** (%%) ~-~->  Fix frequency
349 349  
350 350  (% style="color:#037691" %)**AT+NJM=0  ** (%%) ~-~->  Set the ABP mode
... ... @@ -352,7 +352,7 @@
352 352  (% style="color:#037691" %)**AT+ADR=0**   (%%) ~-~->  Close ADR
353 353  
354 354  (% style="color:#037691" %)**AT+DR=0 ** (%%) ~-~->  Fix DR=0
355 -)))
358 +
356 356  Set up LA66 USB t work in ABP mode, use fix frequency(904100000) and fix DR0(SF10) to transmit data.
357 357  
358 358  
... ... @@ -359,9 +359,8 @@
359 359  == 7.2 Set up LA66 Shield ==
360 360  
361 361  
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 -(((
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 +
365 365  (% style="color:#037691" %)**AT+FRE=904.100,904.100**(%%)  ~-~-> TX and RX frequency set: 904100000 
366 366  
367 367  (% style="color:#037691" %)**AT+BW=0,0**(%%)  ~-~-> TX and RX Bandwidth set: 125kHz
... ... @@ -383,8 +383,8 @@
383 383  (% style="color:#037691" %)**AT+RXMOD=65535,1 **(%%) ~-~-> Set the Relay mode
384 384  
385 385  (% style="color:#037691" %)**AT+WAITTIME=1000**(%%)  ~-~-> Relay wait time 1000ms
386 -)))
387 387  
389 +
388 388  == 7.3 Uplink test ==
389 389  
390 390  
... ... @@ -395,7 +395,7 @@
395 395  [[image:1669021802668-328.png]]
396 396  
397 397  
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)
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)
399 399  
400 400  [[image:1669021860044-222.png]]
401 401