Wiki source code of LA66 LoRaWAN Module

Version 100.2 by Xiaoling on 2022/07/19 11:34

Hide last authors
Xiaoling 87.2 1
2
Xiaoling 87.13 3 **Table of Contents:**
4
Edwin Chen 1.1 5 {{toc/}}
6
7
Edwin Chen 6.1 8
Xiaoling 87.2 9 = 1.  LA66 LoRaWAN Module =
10
11
12 == 1.1  What is LA66 LoRaWAN Module ==
13
14
Xiaoling 100.2 15
Xiaoling 87.15 16 (((
Xiaoling 100.2 17 (((
18 [[image:image-20220719093358-2.png||height="145" width="220"]](% style="color:blue" %)** **
19 )))
Edwin Chen 88.2 20
Xiaoling 100.2 21 (((
22
23 )))
24
25 (((
Edwin Chen 65.1 26 (% style="color:blue" %)**Dragino LA66**(%%) is a small wireless LoRaWAN module that offers a very compelling mix of long-range, low power consumption, and secure data transmission. It is designed to facilitate developers to quickly deploy industrial-level LoRaWAN and IoT solutions. It helps users to turn the idea into a practical application and make the Internet of Things a reality. It is easy to create and connect your things everywhere.
Xiaoling 87.15 27 )))
Xiaoling 100.2 28 )))
Edwin Chen 1.1 29
Xiaoling 87.15 30 (((
Xiaoling 100.2 31 (((
Edwin Chen 65.1 32 (% style="color:blue" %)**LA66**(%%) is a ready-to-use module that includes the (% style="color:blue" %)**LoRaWAN v1.0.4 protocol**(%%). The LoRaWAN stack used in LA66 is used in more than 1 million LoRaWAN End Devices deployed world widely. This mature LoRaWAN stack greatly reduces the risk to make stable LoRaWAN Sensors to support different LoRaWAN servers and different countries' standards. External MCU can use AT command to call LA66 and start to transmit data via the LoRaWAN protocol.
Xiaoling 87.15 33 )))
Xiaoling 100.2 34 )))
Edwin Chen 1.1 35
Xiaoling 87.15 36 (((
Xiaoling 100.2 37 (((
Edwin Chen 65.1 38 Each LA66 module includes a (% style="color:blue" %)**world-unique OTAA key**(%%) for LoRaWAN registration.
Xiaoling 87.15 39 )))
Edwin Chen 1.1 40
Xiaoling 87.15 41 (((
Edwin Chen 65.1 42 Besides the support of the LoRaWAN protocol, LA66 also supports (% style="color:blue" %)**open-source peer-to-peer LoRa Protocol**(%%) for the none-LoRaWAN application.
Xiaoling 87.15 43 )))
Xiaoling 100.2 44 )))
Edwin Chen 1.1 45
Xiaoling 87.15 46 (((
Xiaoling 100.2 47 (((
Edwin Chen 65.1 48 LA66 is equipped with (% style="color:blue" %)**TCXO crystal**(%%) which ensures the module can achieve stable performance in extreme temperatures.
Xiaoling 87.15 49 )))
Xiaoling 100.2 50 )))
Edwin Chen 1.1 51
Edwin Chen 67.1 52
Xiaoling 100.2 53
54
Xiaoling 87.2 55 == 1.2  Features ==
Edwin Chen 64.1 56
Edwin Chen 68.1 57 * Support LoRaWAN v1.0.4 protocol
58 * Support peer-to-peer protocol
59 * TCXO crystal to ensure RF performance on low temperature
60 * SMD Antenna pad and i-pex antenna connector
61 * Available in different frequency LoRaWAN frequency bands.
62 * World-wide unique OTAA keys.
Edwin Chen 69.1 63 * AT Command via UART-TTL interface
64 * Firmware upgradable via UART interface
65 * Ultra-long RF range
Edwin Chen 64.1 66
Xiaoling 98.3 67
68
Xiaoling 87.2 69 == 1.3  Specification ==
70
Edwin Chen 68.1 71 * CPU: 32-bit 48 MHz
72 * Flash: 256KB
73 * RAM: 64KB
Edwin Chen 66.1 74 * Input Power Range: 1.8v ~~ 3.7v
75 * Power Consumption: < 4uA.
76 * Frequency Range: 150 MHz ~~ 960 MHz
77 * Maximum Power +22 dBm constant RF output
78 * High sensitivity: -148 dBm
79 * Temperature:
80 ** Storage: -55 ~~ +125℃
81 ** Operating: -40 ~~ +85℃
82 * Humidity:
83 ** Storage: 5 ~~ 95% (Non-Condensing)
84 ** Operating: 10 ~~ 95% (Non-Condensing)
85 * LoRa Tx Current: <90 mA at +17 dBm, 108 mA at +22 dBm
86 * LoRa Rx current: <9 mA
87 * I/O Voltage: 3.3v
Edwin Chen 1.1 88
Xiaoling 93.2 89
Xiaoling 98.2 90
Xiaoling 87.2 91 == 1.4  AT Command ==
92
Xiaoling 98.2 93
Edwin Chen 66.1 94 AT Command is valid over Main TXD and Main RXD. Serial Baud Rate is 9600. AT commands can be found in AT Command documents.
Edwin Chen 1.1 95
Edwin Chen 3.1 96
Xiaoling 98.4 97
Xiaoling 87.2 98 == 1.5  Dimension ==
Edwin Chen 3.1 99
Xiaoling 98.2 100 [[image:image-20220718094750-3.png]]
Edwin Chen 3.1 101
102
Edwin Chen 5.1 103
Xiaoling 98.2 104
Xiaoling 87.2 105 == 1.6  Pin Mapping ==
106
107
Xiaoling 100.2 108 [[image:image-20220719093156-1.png]]
Edwin Chen 5.1 109
110
Xiaoling 87.2 111
112 == 1.7  Land Pattern ==
113
Edwin Chen 5.1 114 [[image:image-20220517072821-2.png]]
115
116
117
Xiaoling 87.2 118 = 2.  LA66 LoRaWAN Shield =
Edwin Chen 6.1 119
120
Xiaoling 87.2 121 == 2.1  Overview ==
122
Edwin Chen 90.1 123
124
Xiaoling 100.2 125 (((
126 [[image:image-20220715000826-2.png||height="145" width="220"]]
127 )))
Edwin Chen 90.1 128
Xiaoling 100.2 129 (((
130
131 )))
132
133 (((
Edwin Chen 71.1 134 LA66 LoRaWAN Shield is the Arduino shield base on LA66. Users can use LA66 LoRaWAN Shield to rapidly add LoRaWAN or peer-to-peer LoRa wireless function to  Arduino projects.
Xiaoling 100.2 135 )))
Edwin Chen 71.1 136
Edwin Chen 90.1 137 (((
Xiaoling 100.2 138 (((
139 (% style="color:blue" %)**LA66**(%%) is a ready-to-use module that includes the (% style="color:blue" %)**LoRaWAN v1.0.4 protocol**(%%). The LoRaWAN stack used in LA66 is used in more than 1 million LoRaWAN End Devices deployed world widely.  This mature LoRaWAN stack greatly reduces the risk to make stable LoRaWAN Sensors to support different LoRaWAN servers and different countries' standards. External MCU can use AT command to call LA66 and start to transmit data via the LoRaWAN protocol.
Edwin Chen 90.1 140 )))
Xiaoling 100.2 141 )))
Edwin Chen 71.1 142
Edwin Chen 90.1 143 (((
Xiaoling 100.2 144 (((
Edwin Chen 90.1 145 Each LA66 module includes a (% style="color:blue" %)**world-unique OTAA key**(%%) for LoRaWAN registration.
146 )))
Xiaoling 100.2 147 )))
Edwin Chen 90.1 148
149 (((
Xiaoling 100.2 150 (((
Edwin Chen 90.1 151 Besides the support of the LoRaWAN protocol, LA66 also supports (% style="color:blue" %)**open-source peer-to-peer LoRa Protocol**(%%) for the none-LoRaWAN application.
152 )))
Xiaoling 100.2 153 )))
Edwin Chen 90.1 154
155 (((
Xiaoling 100.2 156 (((
Edwin Chen 90.1 157 LA66 is equipped with (% style="color:blue" %)**TCXO crystal**(%%) which ensures the module can achieve stable performance in extreme temperatures.
158 )))
Xiaoling 100.2 159 )))
Edwin Chen 90.1 160
161
Xiaoling 100.2 162
163
Xiaoling 87.2 164 == 2.2  Features ==
Edwin Chen 71.1 165
166 * Arduino Shield base on LA66 LoRaWAN module
167 * Support LoRaWAN v1.0.4 protocol
168 * Support peer-to-peer protocol
169 * TCXO crystal to ensure RF performance on low temperature
170 * SMA connector
171 * Available in different frequency LoRaWAN frequency bands.
172 * World-wide unique OTAA keys.
173 * AT Command via UART-TTL interface
174 * Firmware upgradable via UART interface
175 * Ultra-long RF range
176
Xiaoling 100.2 177
178
179
Xiaoling 87.2 180 == 2.3  Specification ==
181
Edwin Chen 71.1 182 * CPU: 32-bit 48 MHz
183 * Flash: 256KB
184 * RAM: 64KB
185 * Input Power Range: 1.8v ~~ 3.7v
186 * Power Consumption: < 4uA.
187 * Frequency Range: 150 MHz ~~ 960 MHz
188 * Maximum Power +22 dBm constant RF output
189 * High sensitivity: -148 dBm
190 * Temperature:
191 ** Storage: -55 ~~ +125℃
192 ** Operating: -40 ~~ +85℃
193 * Humidity:
194 ** Storage: 5 ~~ 95% (Non-Condensing)
195 ** Operating: 10 ~~ 95% (Non-Condensing)
196 * LoRa Tx Current: <90 mA at +17 dBm, 108 mA at +22 dBm
197 * LoRa Rx current: <9 mA
198 * I/O Voltage: 3.3v
199
Xiaoling 100.2 200
201
202
Xiaoling 87.2 203 == 2.4  Pin Mapping & LED ==
Edwin Chen 11.1 204
205
206
Xiaoling 87.2 207 == 2.5  Example: Use AT Command to communicate with LA66 module via Arduino UNO. ==
Edwin Chen 11.1 208
209
Xiaoling 87.2 210
211 == 2.6  Example: Join TTN network and send an uplink message, get downlink message. ==
212
213
214
215 == 2.7  Example: Log Temperature Sensor(DHT11) and send data to TTN, show it in DataCake. ==
216
217
218
219 == 2.8  Upgrade Firmware of LA66 LoRaWAN Shield ==
220
221
222 === 2.8.1  Items needed for update ===
223
Edwin Chen 74.1 224 1. LA66 LoRaWAN Shield
225 1. Arduino
226 1. USB TO TTL Adapter
Edwin Chen 13.1 227
Edwin Chen 75.1 228 [[image:image-20220602100052-2.png||height="385" width="600"]]
Herong Lu 20.1 229
230
Xiaoling 87.2 231 === 2.8.2  Connection ===
Herong Lu 20.1 232
Xiaoling 87.2 233
Edwin Chen 75.1 234 [[image:image-20220602101311-3.png||height="276" width="600"]]
Herong Lu 20.1 235
236
Xiaoling 87.17 237 (((
Xiaoling 87.2 238 (% style="color:blue" %)**LA66 LoRaWAN Shield**(%%)  **<->** (% style="color:blue" %)**USB TTL**
Xiaoling 87.17 239 )))
Xiaoling 87.2 240
Xiaoling 87.16 241 (((
Xiaoling 87.2 242 (% style="background-color:yellow" %)**GND  <-> GND
Xiaoling 87.8 243 TXD  <->  TXD
244 RXD  <->  RXD**
Xiaoling 87.16 245 )))
Xiaoling 87.2 246
247
Edwin Chen 77.1 248 Put a jumper cap on JP6 of LA66 LoRaWAN Shield. ( the jumper is to power on LA66 module)
Herong Lu 20.1 249
Edwin Chen 75.1 250 Connect USB TTL Adapter to PC after connecting the wires
Herong Lu 20.1 251
252
Edwin Chen 75.1 253 [[image:image-20220602102240-4.png||height="304" width="600"]]
Herong Lu 20.1 254
255
Xiaoling 87.2 256 === 2.8.3  Upgrade steps ===
Herong Lu 20.1 257
258
Xiaoling 87.2 259 ==== 1.  Switch SW1 to put in ISP position ====
260
261
Edwin Chen 75.1 262 [[image:image-20220602102824-5.png||height="306" width="600"]]
Herong Lu 32.1 263
264
Xiaoling 87.9 265
Xiaoling 87.2 266 ==== 2.  Press the RST switch once ====
Herong Lu 32.1 267
Xiaoling 87.10 268
Edwin Chen 75.1 269 [[image:image-20220602104701-12.png||height="285" width="600"]]
Herong Lu 32.1 270
Edwin Chen 75.1 271
Xiaoling 87.9 272
Xiaoling 87.2 273 ==== 3.  Open the Upgrade tool (Tremo Programmer) in PC and Upgrade ====
Edwin Chen 75.1 274
Herong Lu 39.1 275
Xiaoling 87.18 276 (((
Xiaoling 87.2 277 (% style="color:blue" %)**1. Software download link:  [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/Utility/LSN50N/>>https://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/Utility/LSN50N/]]**
Xiaoling 87.18 278 )))
Xiaoling 87.2 279
280
Herong Lu 32.1 281 [[image:image-20220602103227-6.png]]
282
Xiaoling 87.2 283
Herong Lu 32.1 284 [[image:image-20220602103357-7.png]]
285
286
Xiaoling 87.2 287
Edwin Chen 76.1 288 (% class="wikigeneratedid" id="HSelecttheCOMportcorrespondingtoUSBTTL" %)
Xiaoling 87.2 289 (% style="color:blue" %)**2. Select the COM port corresponding to USB TTL**
Edwin Chen 76.1 290
Xiaoling 87.2 291
Herong Lu 32.1 292 [[image:image-20220602103844-8.png]]
293
294
Xiaoling 87.2 295
Edwin Chen 76.1 296 (% class="wikigeneratedid" id="HSelectthebinfiletoburn" %)
Xiaoling 87.2 297 (% style="color:blue" %)**3. Select the bin file to burn**
Edwin Chen 76.1 298
Xiaoling 87.2 299
Herong Lu 32.1 300 [[image:image-20220602104144-9.png]]
301
Xiaoling 87.2 302
Herong Lu 32.1 303 [[image:image-20220602104251-10.png]]
304
Xiaoling 87.2 305
Herong Lu 32.1 306 [[image:image-20220602104402-11.png]]
307
308
Xiaoling 87.2 309
Edwin Chen 76.1 310 (% class="wikigeneratedid" id="HClicktostartthedownload" %)
Xiaoling 87.2 311 (% style="color:blue" %)**4. Click to start the download**
Edwin Chen 76.1 312
Herong Lu 32.1 313 [[image:image-20220602104923-13.png]]
314
315
Xiaoling 87.10 316
Edwin Chen 76.1 317 (% class="wikigeneratedid" id="HThefollowingfigureappearstoprovethattheburningisinprogress" %)
Xiaoling 87.2 318 (% style="color:blue" %)**5. Check update process**
Edwin Chen 76.1 319
Xiaoling 87.2 320
Herong Lu 32.1 321 [[image:image-20220602104948-14.png]]
322
323
Xiaoling 87.2 324
Edwin Chen 76.1 325 (% class="wikigeneratedid" id="HThefollowingpictureappearstoprovethattheburningissuccessful" %)
Xiaoling 87.2 326 (% style="color:blue" %)**The following picture shows that the burning is successful**
Edwin Chen 76.1 327
Herong Lu 32.1 328 [[image:image-20220602105251-15.png]]
329
Edwin Chen 72.1 330
331
Xiaoling 87.2 332 = 3.  LA66 USB LoRaWAN Adapter =
Edwin Chen 6.1 333
Edwin Chen 7.1 334
Xiaoling 87.2 335 == 3.1  Overview ==
336
Edwin Chen 93.1 337 [[image:image-20220715001142-3.png||height="145" width="220"]]
338
Edwin Chen 91.1 339 (% style="color:blue" %)**LA66 USB LoRaWAN Adapter**(%%) is designed to fast turn USB devices to support LoRaWAN wireless features. It combines a CP2101 USB TTL Chip and LA66 LoRaWAN module which can easy to add LoRaWAN wireless feature to PC / Mobile phone or an embedded device that has USB Interface.
Herong Lu 52.1 340
Edwin Chen 90.1 341 (% style="color:blue" %)**LA66**(%%) is a ready-to-use module that includes the (% style="color:blue" %)**LoRaWAN v1.0.4 protocol**(%%). The LoRaWAN stack used in LA66 is used in more than 1 million LoRaWAN End Devices deployed world widely. This mature LoRaWAN stack greatly reduces the risk to make stable LoRaWAN Sensors to support different LoRaWAN servers and different countries' standards. External MCU can use AT command to call LA66 and start to transmit data via the LoRaWAN protocol.
Edwin Chen 73.1 342
Edwin Chen 90.1 343 Each LA66 module includes a (% style="color:blue" %)**world-unique OTAA key**(%%) for LoRaWAN registration.
344
345 Besides the support of the LoRaWAN protocol, LA66 also supports (% style="color:blue" %)**open-source peer-to-peer LoRa Protocol**(%%) for the none-LoRaWAN application.
346
347 LA66 is equipped with (% style="color:blue" %)**TCXO crystal**(%%) which ensures the module can achieve stable performance in extreme temperatures.
348
349
Xiaoling 87.2 350 == 3.2  Features ==
Edwin Chen 73.1 351
352 * LoRaWAN USB adapter base on LA66 LoRaWAN module
353 * Ultra-long RF range
354 * Support LoRaWAN v1.0.4 protocol
355 * Support peer-to-peer protocol
356 * TCXO crystal to ensure RF performance on low temperature
357 * Spring RF antenna
358 * Available in different frequency LoRaWAN frequency bands.
359 * World-wide unique OTAA keys.
360 * AT Command via UART-TTL interface
361 * Firmware upgradable via UART interface
Xiaoling 93.3 362 * Open Source Mobile App for LoRaWAN signal detect and GPS tracking.
Edwin Chen 73.1 363
Xiaoling 100.2 364
365
Xiaoling 87.3 366 == 3.3  Specification ==
Edwin Chen 73.1 367
368 * CPU: 32-bit 48 MHz
369 * Flash: 256KB
370 * RAM: 64KB
371 * Input Power Range: 5v
372 * Frequency Range: 150 MHz ~~ 960 MHz
373 * Maximum Power +22 dBm constant RF output
374 * High sensitivity: -148 dBm
375 * Temperature:
376 ** Storage: -55 ~~ +125℃
377 ** Operating: -40 ~~ +85℃
378 * Humidity:
379 ** Storage: 5 ~~ 95% (Non-Condensing)
380 ** Operating: 10 ~~ 95% (Non-Condensing)
381 * LoRa Tx Current: <90 mA at +17 dBm, 108 mA at +22 dBm
382 * LoRa Rx current: <9 mA
383
Xiaoling 100.2 384
385
Xiaoling 87.3 386 == 3.4  Pin Mapping & LED ==
Edwin Chen 7.1 387
388
Xiaoling 87.3 389
390 == 3.5  Example: Send & Get Messages via LoRaWAN in PC ==
391
392
Edwin Chen 78.2 393 Assume user already input the LA66 USB LoRaWAN Adapter OTAA Keys in TTN and there is already TTN network coverage.
Herong Lu 58.1 394
395
Xiaoling 87.3 396 (% style="color:blue" %)**1. Connect the LA66 USB LoRaWAN adapter to PC**
397
398
Edwin Chen 78.2 399 [[image:image-20220602171217-1.png||height="538" width="800"]]
400
Xiaoling 87.3 401
Herong Lu 58.1 402 Open the serial port tool
403
404 [[image:image-20220602161617-8.png]]
405
Edwin Chen 78.2 406 [[image:image-20220602161718-9.png||height="457" width="800"]]
Herong Lu 58.1 407
408
409
Xiaoling 87.3 410 (% style="color:blue" %)**2. Press the reset switch RST on the LA66 USB LoRaWAN Adapter to reset it.**
411
Edwin Chen 78.2 412 The following picture appears to prove that the LA66 USB LoRaWAN Adapter successfully Join the LoRaWAN network
Herong Lu 58.1 413
Xiaoling 87.3 414
Edwin Chen 78.2 415 [[image:image-20220602161935-10.png||height="498" width="800"]]
Herong Lu 58.1 416
Edwin Chen 78.2 417
418
Xiaoling 87.3 419 (% style="color:blue" %)**3. See Uplink Command**
Edwin Chen 78.2 420
Xiaoling 87.3 421 Command format: (% style="color:#4472c4" %)** AT+SENDB=<confirn_status>,<Fport>,<data_len>,<data>**
422
Herong Lu 58.1 423 example: AT+SENDB=01,02,8,05820802581ea0a5
424
Edwin Chen 78.2 425 [[image:image-20220602162157-11.png||height="497" width="800"]]
Herong Lu 58.1 426
427
428
Xiaoling 87.3 429 (% style="color:blue" %)**4. Check to see if TTN received the message**
430
Edwin Chen 78.2 431 [[image:image-20220602162331-12.png||height="420" width="800"]]
432
433
434
Xiaoling 87.3 435 == 3.6  Example: Send PC's CPU/RAM usage to TTN via python ==
Edwin Chen 81.1 436
Xiaoling 87.3 437
Edwin Chen 87.1 438 **Use python as an example:**[[https:~~/~~/github.com/dragino/LA66/blob/main/Send_information_to_TTN_WindosPC.py>>https://github.com/dragino/LA66/blob/main/Send_information_to_TTN_WindosPC.py]]
Edwin Chen 81.1 439
440
Xiaoling 87.3 441 (% style="color:red" %)**Preconditions:**
Edwin Chen 81.1 442
Xiaoling 87.3 443 (% style="color:red" %)**1. LA66 USB LoRaWAN Adapter works fine**
Edwin Chen 81.1 444
Xiaoling 87.3 445 (% style="color:red" %)**2. LA66 USB LoRaWAN Adapter  is registered with TTN**
Edwin Chen 81.1 446
447
448
Xiaoling 87.3 449 (% style="color:blue" %)**Steps for usage:**
450
451 (% style="color:blue" %)**1.**(%%) Press the reset switch RESET on the LA66 USB LoRaWAN Adapter
452
453 (% style="color:blue" %)**2.**(%%) Run the python script in PC and see the TTN
454
Edwin Chen 81.1 455 [[image:image-20220602115852-3.png||height="450" width="1187"]]
456
457
458
Xiaoling 87.4 459 == 3.7  Example: Send & Get Messages via LoRaWAN in RPi ==
Edwin Chen 11.1 460
Xiaoling 87.4 461
Edwin Chen 79.1 462 Assume user already input the LA66 USB LoRaWAN Adapter OTAA Keys in TTN and there is already TTN network coverage.
Edwin Chen 12.1 463
Edwin Chen 79.1 464
Xiaoling 87.5 465 (% style="color:blue" %)**1. Connect the LA66 USB LoRaWAN Adapter to the Raspberry Pi**
Xiaoling 87.4 466
Edwin Chen 78.2 467 [[image:image-20220602171233-2.png||height="538" width="800"]]
Herong Lu 43.1 468
Herong Lu 52.1 469
470
Xiaoling 87.4 471 (% style="color:blue" %)**2. Install Minicom in RPi.**
472
Edwin Chen 79.1 473 (% id="cke_bm_509388S" style="display:none" %) (%%)Enter the following command in the RPi terminal
Herong Lu 52.1 474
Xiaoling 87.4 475 (% style="background-color:yellow" %)**apt update**
Herong Lu 52.1 476
Xiaoling 87.4 477 (% style="background-color:yellow" %)**apt install minicom**
Herong Lu 52.1 478
479
Edwin Chen 79.1 480 Use minicom to connect to the RPI's terminal
Herong Lu 52.1 481
Edwin Chen 79.1 482 [[image:image-20220602153146-3.png||height="439" width="500"]]
Herong Lu 52.1 483
484
Xiaoling 87.4 485
Xiaoling 87.11 486 (% style="color:blue" %)**3. Press the reset switch RST on the LA66 USB LoRaWAN Adapter.**
Edwin Chen 8.1 487
Xiaoling 87.11 488 The following picture appears to prove that the LA66 USB LoRaWAN Adapter successfully entered the network.
489
490
Edwin Chen 79.1 491 [[image:image-20220602154928-5.png||height="436" width="500"]]
Herong Lu 46.1 492
493
494
Xiaoling 87.4 495 (% style="color:blue" %)**4. Send Uplink message**
Herong Lu 46.1 496
Xiaoling 87.5 497 Format: (% style="color:#4472c4" %)**AT+SENDB=<confirn_status>,<Fport>,<data_len>,<data>**
Xiaoling 87.4 498
Edwin Chen 79.1 499 example: AT+SENDB=01,02,8,05820802581ea0a5
Herong Lu 46.1 500
Xiaoling 87.4 501
Edwin Chen 79.1 502 [[image:image-20220602160339-6.png||height="517" width="600"]]
503
Xiaoling 87.4 504
505
Edwin Chen 79.1 506 Check to see if TTN received the message
507
508 [[image:image-20220602160627-7.png||height="369" width="800"]]
509
510
511
Xiaoling 87.4 512 == 3.8  Example: LA66 USB Module got a message from LA66 LoRa Shield and send the sensor data to NodeRed. ==
Edwin Chen 11.1 513
Edwin Chen 13.1 514
Herong Lu 63.1 515
Xiaoling 87.4 516 == 3.9  Upgrade Firmware of LA66 USB LoRaWAN Adapter ==
Edwin Chen 73.1 517
518
519
520
Xiaoling 87.4 521 = 4.  Order Info =
Edwin Chen 73.1 522
Xiaoling 87.4 523
Xiaoling 87.5 524 **Part Number:**  (% style="color:blue" %)**LA66-XXX**(%%), (% style="color:blue" %)**LA66-LoRaWAN-Shield-XXX** (%%) **or**  (% style="color:blue" %)**LA66-USB-LoRaWAN-Adapter-XXX**
Xiaoling 87.4 525
526
Xiaoling 87.5 527 (% style="color:blue" %)**XXX**(%%): The default frequency band
Edwin Chen 86.1 528
Xiaoling 87.5 529 * (% style="color:red" %)**AS923**(%%):  LoRaWAN AS923 band
530 * (% style="color:red" %)**AU915**(%%):  LoRaWAN AU915 band
531 * (% style="color:red" %)**EU433**(%%):  LoRaWAN EU433 band
532 * (% style="color:red" %)**EU868**(%%):  LoRaWAN EU868 band
533 * (% style="color:red" %)**KR920**(%%):  LoRaWAN KR920 band
534 * (% style="color:red" %)**US915**(%%):  LoRaWAN US915 band
535 * (% style="color:red" %)**IN865**(%%):  LoRaWAN IN865 band
536 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
537 * (% style="color:red" %)**PP**(%%):  Peer to Peer LoRa Protocol
Edwin Chen 73.1 538
Xiaoling 87.4 539 = 5.  Reference =
540
Edwin Chen 78.1 541 * Hardware Design File for LA66 LoRaWAN Shield, LA66 USB LoRaWAN Adapter : [[Download>>https://www.dropbox.com/sh/a3wbmdcvqjxaqw5/AADZfvAiykJTK624RgMquH86a?dl=0]]