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

From version 37.1
edited by Kilight Cao
on 2023/07/18 16:14
Change comment: There is no comment for this version
To version 15.1
edited by Xiaoling
on 2022/11/21 16:54
Change comment: Uploaded new attachment "1669020888886-358.png", version {1}

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Kilight
1 +XWiki.Xiaoling
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? ==
... ... @@ -37,6 +37,7 @@
37 37  * Support various network structures
38 38  
39 39  
41 +
40 40  == 1.3 What can you learn from the kit? ==
41 41  
42 42  
... ... @@ -60,8 +60,8 @@
60 60  == 1.4 What parts Dragino LoRa IoT v3 includes? ==
61 61  
62 62  
65 +[[image:1669019631002-626.png]]
63 63  
64 -[[image:image-20230718161437-3.png]]
65 65  
66 66  
67 67  (% style="color:blue" %)**LoRaWAN IoT Kit v3 Packing List**:
... ... @@ -83,6 +83,7 @@
83 83  * 20 x dupont cable (male to female)
84 84  
85 85  
88 +
86 86  = 2. Example 1: Test a LoRaWAN network =
87 87  
88 88  
... ... @@ -94,7 +94,6 @@
94 94  [[image:1669019691933-772.png]]
95 95  
96 96  
97 -
98 98  (% style="color:blue" %)**STEPS:**
99 99  
100 100  ~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]]” 
... ... @@ -104,223 +104,208 @@
104 104  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]]”
105 105  
106 106  
107 -
108 108  (% style="color:blue" %)**Result:**
109 109  
110 110   [[image:1669019732684-677.png]]
111 111  
112 112  
114 +
113 113  = 3. Example 2: Test Built-In LoRaWAN Server =
114 114  
115 -
116 116  This example describes how to use LPS8v2, LA66 Shield & LA66 USB to set up a LoRaWAN network and connect it to built-in LoRaWAN Server in. It also shows how to use external application server to monitor / manage the LoRa Nodes.
117 117  
119 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png]]
118 118  
119 -[[image:1669019757521-444.png]]
120 -
121 -
122 122  This example is almost the same as Example1, the difference is that this example use the built-in LoRaWAN server (TTNv3 Stack) in LPS8v2. While Example 1 use the public TTN server.
123 123  
123 +
124 124  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:
125 125  
126 -**Input URL( (% style="background-color:yellow" %)//__http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address>__//(%%)__ __) in your browser.**
127 127  
128 -**Such as  (% style="background-color:yellow" %)//__http:~/~/dragino-54ff12:8080  or http:~/~/<Local-IPV4-Address>__//(%%)**
127 +Input URL( __http:~/~/<hostname>:8080 or http:~/~/<local-IPV4-address> __) in your browser.
129 129  
129 +Such as  __http:~/~/dragino-54ff12:8080  or http:~/~/<Local-IPV4-Address>__
130 130  
131 131  (% style="color:blue" %)**Login account:**
132 132  
133 -**User ID:  (% style="background-color:yellow" %)admin(%%)**
133 +User ID:  admin
134 134  
135 -**Password:  (% style="background-color:yellow" %)dragino(%%)**
135 +Password:  dragino
136 136  
137 -[[image:1669019821266-501.png]]
137 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png||alt="image-20220725171719-1.png"]]
138 138  
139 139  
140 +
140 140  = 4. Example 3: Test Built-in LoRaWAN server and Application server =
141 141  
142 -
143 143  This example describes how to use LPS8v2, LA66 Shield & LA66 USB to set up a LoRaWAN network and connect it to built-in LoRaWAN Server in. It also shows how to use external application server to monitor / manage the LoRa Nodes.
144 144  
145 145  
146 -[[image:1669019855783-448.png]]
146 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png]]
147 147  
148 -
149 149  This example is quite similiar as Example2, the difference is that this example use the built-in Application server (Node-Red) in LPS8v2. While Example 2 use the public Node-Red
150 150  
150 +
151 151  Below is the Node-Red access instruction of LPS8v2:
152 152  
153 -You can access the gateway's built-in AS server of Node-Red via the **URL(__http:~/~/<hostname>:1880 or http:~/~/<local-IPV4-address>__)** in your browser.
153 +You can access the gateway's built-in AS server of Node-Red via the URL(__http:~/~/<hostname>:1880 or http:~/~/<local-IPV4-address>__) in your browser.
154 154  
155 -**Such as __http:~/~/dragino-54ff12:1880  or [[http:~~/~~/<Local-IPV4-Address~>>>http://<Local-IPV4-Address>]]__**
155 +Such as __http:~/~/dragino-54ff12:1880  or http:~/~/<Local-IPV4-Address>__
156 156  
157 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png||alt="image-20220725172124-3.png"]]
157 157  
158 -[[image:1669019884655-805.png]]
159 159  
160 160  
161 161  = 5. Example 4: Peer to Peer Test on end node =
162 162  
163 -
164 164  This example describes how to test peer to peer communicate between LoRa End Node.
165 165  
165 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png]]
166 166  
167 -[[image:1669019964124-630.png]]
168 -
169 -
170 170  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.
171 171  
172 -* (% 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/]]**
169 +* 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 173  
174 -* (% 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]].**
171 +* 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 175  
176 176  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.
177 177  
178 178  
176 +
179 179  == 5.1 Set Up LA66 Shield + UNO ==
180 180  
181 181  === 5.1.1 Set up LA66 Module ===
182 182  
181 +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  
184 -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 185  
186 -(% class="box infomessage" %)
187 -(((
188 -(% style="color:#037691" %)**AT+FRE=904.100,904.100   ** (%%) ~-~->  TX and RX frequency set: 9041100000
184 +AT+FRE=904.100,904.100  ~-~--> TX and RX frequency set: 9041100000
189 189  
190 -(% style="color:#037691" %)**AT+BW=0,0 ** (%%) ~-~->  TX and RX Bandwidth set: 125kHz
186 +AT+BW=0,0  ~-~--> TX and RX Bandwidth set: 125kHz
191 191  
192 -(% style="color:#037691" %)**AT+SF=12,12    ** (%%) ~-~->  TX and RX Spreading Factor set: SF10
188 +AT+SF=12,12  ~-~--> TX and RX Spreading Factor set: SF10
193 193  
194 -(% style="color:#037691" %)**AT+CRC=1,1  ** (%%) ~-~->  0: CRC OFF ,1: CRC ON
190 +AT+CRC=1,1  ~-~--> 0: CRC OFF ,1: CRC ON
195 195  
196 -(% style="color:#037691" %)**AT+HEADER=0,0**       (%%) ~-~->  Header Type: explicit, explicit
192 +AT+HEADER=0,0  ~-~--> Header Type: explicit, explicit
197 197  
198 -(% style="color:#037691" %)**AT+CR=1,1  ** (%%) ~-~->  CR: 4/5, 4/5
194 +AT+CR=1,1  ~-~--> CR: 4/5, 4/5
199 199  
200 -(% style="color:#037691" %)**AT+IQ=0,0**        (%%) ~-~->  Invert IQ: 0,0
196 +AT+IQ=0,0  ~-~--> Invert IQ: 0,0
201 201  
202 -(% style="color:#037691" %)**AT+PREAMBLE=8,8  ** (%%) ~-~->  TX and RX Preamble Length set: 8
198 +AT+PREAMBLE=8,8  ~-~--> TX and RX Preamble Length set: 8
203 203  
204 -(% style="color:#037691" %)**AT+SYNCWORD=0**     (%%) ~-~->  Syncword**(0: private,1: public)**
200 +AT+SYNCWORD=0  ~-~--> Syncword**(0: private,1: public)**
205 205  
206 -(% style="color:#037691" %)**AT+RXMOD=6,0   ** (%%) ~-~->  Rx Timeout and Reply mode
207 -)))
202 +AT+RXMOD=6,0  ~-~--> Rx Timeout and Reply mode
208 208  
209 209  
205 +
210 210  === 5.1.2 Hardware Connection ===
211 211  
208 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]]
212 212  
213 -[[image:1669020260360-253.png]]
210 +There is a sensor DHT11 (Temperature & Humidity sensor) and LED RGB connected to LA66 Shield + UNO. Please use the connection as we show in the photo.
214 214  
215 215  
216 -There is a sensor DHT11 (Temperature & Humidity sensor) and LED RGB connected to LA66 Shield + UNO. Please use the connection as we show in the photo.
217 217  
218 218  
219 219  === 5.1.3 Set up Arduino UNO ===
220 220  
217 +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 -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  
220 +Upload the code to UNO:
224 224  
225 -(% style="color:blue" %)**Upload the code to UNO:**
222 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.png]]
226 226  
227 -[[image:1669020288319-334.png]]
228 228  
225 +Check the LA66 Shield data: [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image012.png]]
229 229  
230 230  
231 -(% style="color:blue" %)**Check the LA66 Shield data:**
232 -
233 -[[image:1669020309356-484.png]]
234 -
235 -
236 236  == 5.2 Set Up LA66 USB ==
237 237  
230 +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 -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 -(((
243 -(% style="color:#037691" %)**AT+FRE=904.100,904.100**(%%)  ~-~->  TX and RX frequency set: 904100000 
233 +AT+FRE=904.100,904.100  ~-~->TX and RX frequency set: 904100000 
244 244  
245 -(% style="color:#037691" %)**AT+BW=0,0**    (%%) ~-~->  TX and RX Bandwidth set: 125kHz
235 +AT+BW=0,0     ~-~->TX and RX Bandwidth set: 125kHz
246 246  
247 -(% style="color:#037691" %)**AT+SF=10,10**  (%%) ~-~->  TX and RX Spreading Factor set: SF10 
237 +AT+SF=10,10   ~-~->TX and RX Spreading Factor set: SF10 
248 248  
249 -(% style="color:#037691" %)**AT+CRC=1,1** (%%) ~-~->  0: CRC OFF ,1: CRC ON
239 +AT+CRC=1,1     ~-~->0: CRC OFF ,1: CRC ON
250 250  
251 -(% style="color:#037691" %)**AT+HEADER=0,0**  (%%) ~-~->  Header Type: explicit, explicit
241 +AT+HEADER=0,0     ~-~->Header Type: explicit, explicit
252 252  
253 -(% style="color:#037691" %)**AT+CR=1,1**   (%%) ~-~->  CR: 4/5, 4/5
243 +AT+CR=1,1       ~-~->CR: 4/5, 4/5
254 254  
255 -(% style="color:#037691" %)**AT+IQ=0,0**    (%%) ~-~->  Invert IQ: 0,0
245 +AT+IQ=0,0       ~-~->Invert IQ: 0,0
256 256  
257 -(% style="color:#037691" %)**AT+PREAMBLE=8,8**  (%%) ~-~->  TX and RX Preamble Length set: 8
247 +AT+PREAMBLE=8,8 ~-~->TX and RX Preamble Length set: 8
258 258  
259 -(% style="color:#037691" %)**AT+SYNCWORD=0**   (%%) ~-~->  Syncword**(0: private,1: public)**
249 +AT+SYNCWORD=0  ~-~->Syncword**(0: private,1: public)**
260 260  
261 -(% style="color:#037691" %)**AT+RXMOD=65535,0**  (%%) ~-~->  Set the receive mode
251 +AT+RXMOD=65535,0      ~-~->Set the receive mode
262 262  
263 -(% style="color:#037691" %)**AT+RXDAFORM=1**  (%%) ~-~->  ASCII to string
264 -)))
253 +AT+RXDAFORM=1  ~-~->ASCII to string
265 265  
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)
257 +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 -[[image:1669020888886-358.png]]
260 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.png]]
272 272  
273 273  
274 274  The serial port configuration for LA66 USB is as follows:
275 275  
276 - [[image:1669021003598-788.png]] [[image:1669021009003-965.png]]
265 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image014.jpg]] [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.jpg]]
277 277  
278 -(% style="display:none" %) (%%)
279 279  
268 +
280 280  == 5.3 Test result ==
281 281  
282 -
283 283  Users can view the temperature and humidity information received by LA66 USB in the mobile APP
284 284  
285 - [[image:1669021002246-577.png]] [[image:1669021002645-501.png]]
273 + [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image016.png]] [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.jpg]]
286 286  
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.
278 +For example, if you send AT+SEND=1,000101,2,0 the RBG LED will light up red.
291 291  
292 -[[image:1669021075655-472.png]]
280 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png]]
293 293  
282 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.jpg]]
294 294  
295 -[[image:1669021098924-484.png]]
296 296  
297 297  
286 +
298 298  = 6. Example 5: Peer to Peer Test and plot the data in LPS8v2 =
299 299  
300 -
301 301  This example describes how to test peer to peer communicate between LoRa End Node and LoRa Gateway.
302 302  
291 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png]]
303 303  
304 -[[image:1669021294907-277.png]]
305 -
306 -
307 307  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.
308 308  
309 -* (% 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/]]**
295 +* (% 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/]]
310 310  
311 -* (% 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]].**
297 +* (% 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]].
312 312  
313 313  This example will show how to get Temperature sensor value from LA66 Shield and send it to LA66 USB. LA66 USB is connected to LPS8v2. LPS8v2 will receive the data from LA66 USB and plot the data in the built-in Node-Red server.
314 314  
315 315  (% style="color:red" %)**Notice:**
316 316  
317 -1. LPS8v2 has LoRaWAN concentrator which doesn't do anything in this example. This example doesn't need this SX1302 concentrator.
303 +1. LPS8v2 has LoRaWAN concentrator which doesn’t do anything in this example. This example doesn’t need this SX1302 concentrator.
304 +2. For mass deployment, user can use the LG01v2 instead of LPS8v2+LA66 USB. LG01v2 already include LA66 module inside.
318 318  
319 - 2. For mass deployment, user can use the LG01v2 instead of LPS8v2+LA66 USB. LG01v2 already include LA66 module inside.
306 +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.
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.
322 322  
323 323  
310 +
324 324  = 7. Example 6: Limited LoRaWAN relay =
325 325  
326 326  
... ... @@ -327,136 +327,118 @@
327 327  This example describes a limited LoRaWAN relay method with the use of LA66 module.
328 328  
329 329  
330 -[[image:1669021378154-590.png]]
317 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png]]
331 331  
332 332  
333 333  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.
334 334  
335 -* (% style="color:blue" %)**Software Location**(%%): **[[LA66 USB use LoRaWAN firmware>>url:https://www.dropbox.com/sh/els49fz9rd6fu1y/AAAt-kKIvXu1ZOK0hWysq97na?dl=0]], [[LA66 Shield use Point to Point firmware>>url:https://www.dropbox.com/sh/els49fz9rd6fu1y/AAAt-kKIvXu1ZOK0hWysq97na?dl=0]].**
322 +* (% style="color:blue" %)**Software Location**(%%): [[LA66 USB use LoRaWAN firmware>>url:https://www.dropbox.com/sh/els49fz9rd6fu1y/AAAt-kKIvXu1ZOK0hWysq97na?dl=0]], [[LA66 Shield use Point to Point firmware>>url:https://www.dropbox.com/sh/els49fz9rd6fu1y/AAAt-kKIvXu1ZOK0hWysq97na?dl=0]].
336 336  
337 -* (% 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]].**
324 +* (% 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]].
338 338  
339 -(% style="color:red" %)**Note: LA66 USB use a LoRaWAN version firmware and user need to set it to work in fix frequency, fix DR and ABP mode. LA66 already register to TTNv3 in ABP mode.**
326 +(% style="color:red" %)Note: LA66 USB use a LoRaWAN version firmware and user need to set it to work in fix frequency, fix DR and ABP mode. LA66 already register to TTNv3 in ABP mode.
340 340  
341 341  
342 342  == 7.1 Set up LA66 USB ==
343 343  
331 +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:
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:
333 +AT+CHS=904100000    ~-~-> Fix frequency
346 346  
347 -(% class="box infomessage" %)
348 -(((
349 -(% style="color:#037691" %)**AT+CHS=904100000** (%%) ~-~->  Fix frequency
335 +AT+NJM=0            ~-~->Set the ABP mode
350 350  
351 -(% style="color:#037691" %)**AT+NJM=0  ** (%%) ~-~->  Set the ABP mode
337 +AT+ADR=0            ~-~->Close ADR
352 352  
353 -(% style="color:#037691" %)**AT+ADR=0**   (%%) ~-~->  Close ADR
339 +AT+DR=0             ~-~-> Fix DR=0
354 354  
355 -(% style="color:#037691" %)**AT+DR=0 ** (%%) ~-~->  Fix DR=0
356 -)))
357 -
358 358  Set up LA66 USB t work in ABP mode, use fix frequency(904100000) and fix DR0(SF10) to transmit data.
359 359  
360 360  
344 +
361 361  == 7.2 Set up LA66 Shield ==
362 362  
347 +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 363  
364 -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:
349 +AT+FRE=904.100,904.100  ~-~->TX and RX frequency set: 904100000 
365 365  
366 -(% class="box infomessage" %)
367 -(((
368 -(% style="color:#037691" %)**AT+FRE=904.100,904.100**(%%)  ~-~-> TX and RX frequency set: 904100000 
351 +AT+BW=0,0     ~-~->TX and RX Bandwidth set: 125kHz
369 369  
370 -(% style="color:#037691" %)**AT+BW=0,0**(%%)  ~-~-> TX and RX Bandwidth set: 125kHz
353 +AT+SF=10,1  ~-~->TX and RX Spreading Factor set: SF10(corresponding toDR=0)
371 371  
372 -(% style="color:#037691" %)**AT+SF=10,10**(%%)  ~-~-> TX and RX Spreading Factor set: SF10(corresponding toDR=0)
355 +AT+CRC=1,1     ~-~->0: CRC OFF ,1: CRC ON
373 373  
374 -(% style="color:#037691" %)**AT+CRC=1,1**(%%)  ~-~-> 0: CRC OFF ,1: CRC ON
357 +AT+HEADER=0,0     ~-~->Header Type: explicit, explicit
375 375  
376 -(% style="color:#037691" %)**AT+HEADER=0,0**(%%)  ~-~-> Header Type: explicit, explicit
359 +AT+CR=1,1       ~-~->CR: 4/5, 4/5
377 377  
378 -(% style="color:#037691" %)**AT+CR=1,1**(%%)  ~-~-> CR: 4/5, 4/5
361 +AT+IQ=0,0       ~-~->Invert IQ: 0,0
379 379  
380 -(% style="color:#037691" %)**AT+IQ=0,0**(%%)  ~-~-> Invert IQ: 0,0
363 +AT+PREAMBLE=8,8 ~-~->TX and RX Preamble Length set: 8
381 381  
382 -(% style="color:#037691" %)**AT+PREAMBLE=8,8**(%%)  ~-~-> TX and RX Preamble Length set: 8
365 +AT+SYNCWORD=1  ~-~->Syncword**(0: private,1: public)**
383 383  
384 -(% style="color:#037691" %)**AT+SYNCWORD=1**(%%)  ~-~-> Syncword**(0: private,1: public)**
367 +AT+RXMOD=65535,     ~-~->Set the Relay mode
385 385  
386 -(% style="color:#037691" %)**AT+RXMOD=65535,1 **(%%) ~-~-> Set the Relay mode
369 +AT+WAITTIME=1000      ~-~->Relay wait time 1000ms
387 387  
388 -(% style="color:#037691" %)**AT+WAITTIME=1000**(%%)  ~-~-> Relay wait time 1000ms
389 -)))
390 390  
391 391  
392 392  == 7.3 Uplink test ==
393 393  
375 +Users can connect to the LA66 USB using the serial port tool and enter the AT command: AT+SENDB=01,02,8,05820802581ea0a5
394 394  
395 -Users can connect to the LA66 USB using the serial port tool and enter the (% style="color:blue" %)**AT command: AT+SENDB=01,02,8,05820802581ea0a5**
377 +Command format:  AT+SENDB=<confirn_status>,<Fport>,<data_len>,<data>
396 396  
397 -(% style="color:#037691" %)**Command format:  AT+SENDB=<confirn_status>,<Fport>,<data_len>,<data>**
379 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]]
398 398  
399 -[[image:1669021802668-328.png]]
400 400  
382 +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 -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)
384 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.jpg]]
403 403  
404 -[[image:1669021860044-222.png]]
405 405  
406 406  
407 407  == 7.4 Test result ==
408 408  
409 -
410 410  See two duplicate messages on Gateway Traffic.
411 411  
412 -[[image:1669021878786-276.png]]
392 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]]
413 413  
414 414  
415 -
416 416  Bring LA66 USB and walk to a remote location to get the max distance. At this point,RSSi=-134 SNR=13.8, Go back 100 meters and put the LA66 Shield (Relay) in the location, Due to the following examples, there may be errors in the test in the urban area.
417 417  
418 -[[image:1669021889556-608.png]]
397 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]]
419 419  
420 420  
421 421  
422 -Without Relay, the LA66 USB can reach about 833meters.
401 +Without Relay, the LA66 USB can reach about 833meters. [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]]
423 423  
424 -[[image:1669021903207-809.png]]
425 -
426 -
427 -
428 428  With Relay, the LA66 USB can reach around 2km.
429 429  
430 -[[image:1669021922274-909.png]]
405 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image027.jpg]]
431 431  
432 432  
433 -== 7.5 Limited of using LA66 as relay of LoRaWAN ==
434 434  
435 435  
436 -LA66 is a LoRa End Node module base on SX1262 core. Use it as relay as mentioned above has below limitation:
437 437  
438 -1. It only supports LoRa radio with fix frequency, fix DR (Spreading Factor) , Fix bandwidth and
439 -1. This method only support uplinks. It doesn;t work for LoRaWAN Downlink.
440 -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).
441 441  
442 -
443 443  = 8. Technical Support =
444 444  
445 -
446 446  * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
447 447  
448 -* 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]]
416 +* 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
449 449  
418 +[[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LG02/support@dragino.com]]
450 450  
451 -= 9. Reference =
452 452  
453 453  
454 -**1. [[LoRaWAN official website. And Technicel document for LoRaWAN.>>url:https://lora-alliance.org/lorawan-for-developers]]**
422 += 9. Reference =
455 455  
456 -**2. [[LoRa Low Energy design guide>>url:https://www.semtech.com/uploads/documents/LoraLowEnergyDesign_STD.pdf]] and [[Calculator Tool>>url:https://www.semtech.com/uploads/documents/SX1272LoRaCalculatorSetup1_1.zip]].**
424 +1. [[LoRaWAN official website. And Technicel document for LoRaWAN.>>url:https://lora-alliance.org/lorawan-for-developers]]
457 457  
458 -**3. About Distance: [[LoRa Modem Design Guide>>url:https://www.semtech.com/uploads/documents/LoraDesignGuide_STD.pdf]]**
426 +2. [[LoRa Low Energy design guide>>url:https://www.semtech.com/uploads/documents/LoraLowEnergyDesign_STD.pdf]] and [[Calculator Tool>>url:https://www.semtech.com/uploads/documents/SX1272LoRaCalculatorSetup1_1.zip]].
459 459  
460 -**4. User Manual: [[LPS8v2>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/]], [[LA66 LoRaWAN Shield>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/]] , [[LA66 USB LoRaWAN Adapter>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/]]**
428 +3. About Distance: [[LoRa Modem Design Guide>>url:https://www.semtech.com/uploads/documents/LoraDesignGuide_STD.pdf]]
461 461  
462 -
430 +4. User Manual: [[LPS8v2>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0C/]], [[LA66 LoRaWAN Shield>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/]] , [[LA66 USB LoRaWAN Adapter>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/]]
431 +
1669021002246-577.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -160.4 KB
Content
1669021002645-501.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -52.1 KB
Content
1669021003598-788.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -32.8 KB
Content
1669021009003-965.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -49.7 KB
Content
1669021075655-472.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -86.5 KB
Content
1669021098924-484.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -900.9 KB
Content
1669021294907-277.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -143.8 KB
Content
1669021378154-590.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -88.9 KB
Content
1669021802668-328.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -122.0 KB
Content
1669021860044-222.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -86.1 KB
Content
1669021878786-276.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -316.4 KB
Content
1669021889556-608.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -114.5 KB
Content
1669021903207-809.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -249.1 KB
Content
1669021922274-909.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -376.4 KB
Content
image-20221121165511-2.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -33.5 KB
Content
image-20221121165511-3.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -46.7 KB
Content
image-20230718154517-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -155.8 KB
Content
image-20230718161437-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -155.8 KB
Content