Last modified by Mengting Qiu on 2025/06/04 18:42

From version 122.1
edited by Bei Jinggeng
on 2023/06/08 10:19
Change comment: There is no comment for this version
To version 86.1
edited by Bei Jinggeng
on 2022/07/14 14:00
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -20,13 +20,11 @@
20 20  (((
21 21  
22 22  
23 -(((
24 24  The Dragino (% style="color:blue" %)**LT series I/O Modules**(%%) are Long Range LoRaWAN I/O Controller. It contains different I/O Interfaces such as:** (% style="color:blue" %)analog current Input, analog voltage input(%%)**(% style="color:blue" %), **relay output**, **digital input**(%%) and (% style="color:blue" %)**digital output**(%%) etc. The LT I/O Modules are designed to simplify the installation of I/O monitoring.
25 25  )))
26 -)))
27 27  
28 28  (((
29 -The LT I/O Controllers allows the user to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, building automation, and so on.
27 +The LT I/O Controllers allows the user to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, smartphone detection, building automation, and so on.
30 30  )))
31 31  
32 32  (((
... ... @@ -38,13 +38,11 @@
38 38  )))
39 39  
40 40  (((
41 -1) If user's area has LoRaWAN service coverage, they can just install the I/O controller and configure it to connect the LoRaWAN provider via wireless.
39 +1) If users area has LoRaWAN service coverage, they can just install the I/O controller and configure it to connect the LoRaWAN provider via wireless.
42 42  )))
43 43  
44 44  (((
45 45  2) User can set up a LoRaWAN gateway locally and configure the controller to connect to the gateway via wireless.
46 -
47 -
48 48  )))
49 49  
50 50  (((
... ... @@ -53,16 +53,17 @@
53 53  
54 54  )))
55 55  
52 +
56 56  == 1.2  Specifications ==
57 57  
58 58  (((
59 59  
60 60  
61 -(% style="color:#037691" %)**Hardware System:**
58 +**Hardware System:**
62 62  )))
63 63  
64 64  * (((
65 -STM32L072xxxx MCU
62 +STM32L072CZT6 MCU
66 66  )))
67 67  * (((
68 68  SX1276/78 Wireless Chip 
... ... @@ -83,7 +83,7 @@
83 83  (((
84 84  
85 85  
86 -(% style="color:#037691" %)**Interface for Model: LT22222-L:**
83 +**Interface for Model: LT22222-L:**
87 87  )))
88 88  
89 89  * (((
... ... @@ -108,7 +108,7 @@
108 108  (((
109 109  
110 110  
111 -(% style="color:#037691" %)**LoRa Spec:**
108 +**LoRa Spec:**
112 112  )))
113 113  
114 114  * (((
... ... @@ -174,47 +174,28 @@
174 174  
175 175  == 1.3 Features ==
176 176  
177 -
178 178  * LoRaWAN Class A & Class C protocol
179 -
180 180  * Optional Customized LoRa Protocol
181 -
182 -* Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865/MA869
183 -
176 +* Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865
184 184  * AT Commands to change parameters
185 -
186 186  * Remote configure parameters via LoRa Downlink
187 -
188 188  * Firmware upgradable via program port
189 -
190 190  * Counting
191 191  
192 -
193 193  == 1.4  Applications ==
194 194  
195 -
196 196  * Smart Buildings & Home Automation
197 -
198 198  * Logistics and Supply Chain Management
199 -
200 200  * Smart Metering
201 -
202 202  * Smart Agriculture
203 -
204 204  * Smart Cities
205 -
206 206  * Smart Factory
207 207  
208 -
209 209  == 1.5 Hardware Variants ==
210 210  
211 -
212 -(% border="1" style="background-color:#f2f2f2; width:500px" %)
213 -|(% style="background-color:#d9e2f3; color:#0070c0; width:103px" %)**Model**|(% style="background-color:#d9e2f3; color:#0070c0; width:131px" %)**Photo**|(% style="background-color:#d9e2f3; color:#0070c0; width:334px" %)**Description**
214 -|(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)(((
215 -(% style="text-align:center" %)
216 -[[image:image-20230424115112-1.png||height="106" width="58"]]
217 -)))|(% style="width:334px" %)(((
193 +(% border="1" style="background-color:#f7faff; width:500px" %)
194 +|(% style="width:103px" %)**Model**|(% style="width:131px" %)**Photo**|(% style="width:334px" %)**Description**
195 +|(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)[[image:1653296302983-697.png]]|(% style="width:334px" %)(((
218 218  * 2 x Digital Input (Bi-direction)
219 219  * 2 x Digital Output
220 220  * 2 x Relay Output (5A@250VAC / 30VDC)
... ... @@ -223,28 +223,22 @@
223 223  * 1 x Counting Port
224 224  )))
225 225  
226 -
227 227  = 2. Power ON Device =
228 228  
229 -
230 -(((
231 231  The LT controller can be powered by 7 ~~ 24V DC power source. Connect VIN to Power Input V+ and GND to power input V- to power the LT controller.
232 -)))
233 233  
234 234  (((
235 235  PWR will on when device is properly powered.
236 -
237 -
238 238  )))
239 239  
240 240  [[image:1653297104069-180.png]]
241 241  
242 242  
215 +
243 243  = 3. Operation Mode =
244 244  
245 245  == 3.1 How it works? ==
246 246  
247 -
248 248  (((
249 249  The LT is configured as LoRaWAN OTAA Class C mode by default. It has OTAA keys to join network. To connect a local LoRaWAN network, user just need to input the OTAA keys in the network server and power on the LT. It will auto join the network via OTAA. For LT-22222-L, the LED will show the Join status: After power on (% style="color:green" %)**TX LED**(%%) will fast blink 5 times, LT-22222-L will enter working mode and start to JOIN LoRaWAN network. (% style="color:green" %)**TX LED**(%%) will be on for 5 seconds after joined in network. When there is message from server, the RX LED will be on for 1 second. 
250 250  )))
... ... @@ -256,11 +256,8 @@
256 256  
257 257  == 3.2 Example to join LoRaWAN network ==
258 258  
259 -
260 260  (((
261 261  This chapter shows an example for how to join the TTN LoRaWAN Network. Below is the network structure, we use our LG308 as LoRaWAN gateway here. 
262 -
263 -
264 264  )))
265 265  
266 266  [[image:image-20220523172350-1.png||height="266" width="864"]]
... ... @@ -268,8 +268,6 @@
268 268  
269 269  (((
270 270  The LG308 is already set to connect to [[TTN network >>url:https://www.thethingsnetwork.org/]]. So what we need to do now is only configure register this device to TTN:
271 -
272 -
273 273  )))
274 274  
275 275  (((
... ... @@ -280,34 +280,31 @@
280 280  Each LT is shipped with a sticker with the default device EUI as below:
281 281  )))
282 282  
283 -[[image:image-20230425173427-2.png||height="246" width="530"]]
250 +[[image:1653297924498-393.png]]
284 284  
285 285  
286 286  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
287 287  
288 -**Add APP EUI in the application.**
255 +Add APP EUI in the application.
289 289  
290 290  [[image:1653297955910-247.png||height="321" width="716"]]
291 291  
292 292  
293 -**Add APP KEY and DEV EUI**
260 +Add APP KEY and DEV EUI
294 294  
295 295  [[image:1653298023685-319.png]]
296 296  
297 297  
298 -
299 299  (((
300 300  (% style="color:blue" %)**Step 2**(%%): Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
301 -
302 -
303 303  )))
304 304  
305 305  [[image:1653298044601-602.png||height="405" width="709"]]
306 306  
307 307  
272 +
308 308  == 3.3 Uplink Payload ==
309 309  
310 -
311 311  There are five working modes + one interrupt mode on LT for different type application:
312 312  
313 313  * (% style="color:blue" %)**MOD1**(%%): (default setting): 2 x ACI + 2AVI + DI + DO + RO
... ... @@ -317,48 +317,25 @@
317 317  * (% style="color:blue" %)**MOD5**(%%): Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
318 318  * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5
319 319  
320 -
321 321  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
322 322  
286 +The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
323 323  
324 -(((
325 -The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. (% style="display:none" %)
288 +[[image:image-20220523174024-3.png]]
326 326  
327 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
328 -|**Size(bytes)(% style="display:none" %) (%%)**|**2**|**2**|**2**|**2**|**1**|**1**|**1**
329 -|Value|(((
330 -AVI1
331 -voltage
332 -)))|(((
333 -AVI2
334 -voltage
335 -)))|(((
336 -ACI1
337 -Current
338 -)))|(((
339 -ACI2
340 -Current
341 -)))|DIDORO*|(((
342 -Reserve
343 -)))|MOD
344 -)))
345 -
346 346  (((
347 347  
348 348  
349 349  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
350 -
351 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
352 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
353 -|RO1|RO2|DI3|DI2|DI1|DO3|DO2|DO1
354 354  )))
355 355  
296 +[[image:image-20220523174254-4.png]]
356 356  
357 357  * RO is for relay. ROx=1 : close,ROx=0 always open.
358 358  * DI is for digital input. DIx=1: high or float, DIx=0: low.
359 359  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
360 360  
361 -(% style="color:red" %)**Note: DI3 and DO3 bit are not valid for LT-22222-L**
302 +(% style="color:red" %)Note: DI3 and DO3 bit are not valid for LT-22222-L
362 362  
363 363  For example if payload is: [[image:image-20220523175847-2.png]]
364 364  
... ... @@ -393,43 +393,30 @@
393 393  ** DO1 is high in case there is load between DO1 and V+.
394 394  ** DO1 LED is off in both case
395 395  
396 -
397 397  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
398 398  
399 399  
400 -(((
401 401  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
402 -)))
403 403  
404 404  (((
405 405  Total : 11 bytes payload
344 +)))
406 406  
407 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
408 -|**Size(bytes)**|**4**|**4**|**1**|**1**|**1**
409 -|Value|COUNT1|COUNT2 |DIDORO*|(((
410 -Reserve
346 +[[image:image-20220523180452-3.png]]
411 411  
412 -
413 -)))|MOD
414 -)))
415 415  
416 416  (((
417 -
418 -
419 419  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
420 -
421 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
422 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
423 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
424 -
425 -RO is for relay. ROx=1 : close,ROx=0 always open.
426 426  )))
427 427  
353 +[[image:image-20220523180506-4.png]]
354 +
355 +* RO is for relay. ROx=1 : close,ROx=0 always open.
428 428  * FIRST: Indicate this is the first packet after join network.
429 429  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
430 430  
431 431  (((
432 -(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L.**
360 +(% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.
433 433  )))
434 434  
435 435  (((
... ... @@ -441,22 +441,16 @@
441 441  (% class="box infomessage" %)
442 442  (((
443 443  (((
444 -(((
445 445  **AT+MOD=2**
446 -)))
447 447  
448 -(((
449 449  **ATZ**
450 450  )))
451 451  )))
452 -)))
453 453  
454 454  (((
455 455  
456 456  
457 457  (% style="color:#4f81bd" %)**AT Commands for counting:**
458 -
459 -
460 460  )))
461 461  
462 462  (((
... ... @@ -477,29 +477,20 @@
477 477  )))
478 478  
479 479  
402 +
480 480  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
481 481  
482 -
483 483  **LT22222-L**: This mode the DI1 is used as a counting pin.
484 484  
485 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
486 -|**Size(bytes)**|**4**|**2**|**2**|**1**|**1**|**1**
487 -|Value|COUNT1|(((
488 -ACI1 Current
489 -)))|(((
490 -ACI2 Current
491 -)))|DIDORO*|Reserve|MOD
407 +[[image:image-20220523181246-5.png]]
492 492  
493 493  (((
494 494  
495 495  
496 496  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
497 -
498 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
499 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
500 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
501 501  )))
502 502  
415 +[[image:image-20220523181301-6.png]]
503 503  
504 504  * RO is for relay. ROx=1 : close,ROx=0 always open.
505 505  * FIRST: Indicate this is the first packet after join network.
... ... @@ -506,7 +506,7 @@
506 506  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
507 507  
508 508  (((
509 -(% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.**
422 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
510 510  )))
511 511  
512 512  
... ... @@ -517,15 +517,11 @@
517 517  (% class="box infomessage" %)
518 518  (((
519 519  (((
520 -(((
521 521  **AT+MOD=3**
522 -)))
523 523  
524 -(((
525 525  **ATZ**
526 526  )))
527 527  )))
528 -)))
529 529  
530 530  (((
531 531  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
... ... @@ -532,34 +532,22 @@
532 532  )))
533 533  
534 534  
444 +
535 535  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
536 536  
537 537  
538 -(((
539 539  **LT22222-L**: This mode the DI1 is used as a counting pin.
540 -)))
541 541  
542 -(((
543 543  The AVI1 is also used for counting. AVI1 is used to monitor the voltage. It will check the voltage **every 60s**, if voltage is higher or lower than VOLMAX mV, the AVI1 Counting increase 1, so AVI1 counting can be used to measure a machine working hour.
544 544  
545 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
546 -|**Size(bytes)**|**4**|**4**|**1**|**1**|**1**
547 -|Value|COUNT1|AVI1 Counting|DIDORO*|(((
548 -Reserve
452 +[[image:image-20220523181903-8.png]]
549 549  
550 -
551 -)))|MOD
552 -)))
553 553  
554 -
555 555  (((
556 556  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
557 -
558 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
559 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
560 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
561 561  )))
562 562  
459 +[[image:image-20220523181727-7.png]]
563 563  
564 564  * RO is for relay. ROx=1 : close,ROx=0 always open.
565 565  * FIRST: Indicate this is the first packet after join network.
... ... @@ -566,7 +566,7 @@
566 566  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
567 567  
568 568  (((
569 -(% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.**
466 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
570 570  )))
571 571  
572 572  (((
... ... @@ -578,17 +578,14 @@
578 578  (% class="box infomessage" %)
579 579  (((
580 580  (((
581 -(((
582 582  **AT+MOD=4**
583 -)))
584 584  
585 -(((
586 586  **ATZ**
587 587  )))
588 588  )))
589 -)))
590 590  
591 591  
485 +
592 592  (((
593 593  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
594 594  )))
... ... @@ -609,34 +609,18 @@
609 609  )))
610 610  
611 611  
506 +
612 612  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
613 613  
614 614  
615 615  **LT22222-L**: This mode the DI1 is used as a counting pin.
616 616  
617 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
618 -|**Size(bytes)**|**2**|**2**|**2**|**2**|**1**|**1**|**1**
619 -|Value|(((
620 -AVI1
621 -voltage
622 -)))|(((
623 -AVI2
624 -voltage
625 -)))|(((
626 -ACI1
627 -Current
628 -)))|COUNT1|DIDORO*|(((
629 -Reserve
630 -)))|MOD
512 +[[image:image-20220523182334-9.png]]
631 631  
632 632  (((
633 633  
634 634  
635 635  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
636 -
637 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
638 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
639 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
640 640  )))
641 641  
642 642  * RO is for relay. ROx=1 : close,ROx=0 always open.
... ... @@ -646,7 +646,7 @@
646 646  )))
647 647  
648 648  (((
649 -(% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.**
527 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
650 650  )))
651 651  
652 652  (((
... ... @@ -658,15 +658,11 @@
658 658  (% class="box infomessage" %)
659 659  (((
660 660  (((
661 -(((
662 662  **AT+MOD=5**
663 -)))
664 664  
665 -(((
666 666  **ATZ**
667 667  )))
668 668  )))
669 -)))
670 670  
671 671  (((
672 672  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
... ... @@ -673,6 +673,7 @@
673 673  )))
674 674  
675 675  
550 +
676 676  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
677 677  
678 678  
... ... @@ -695,7 +695,6 @@
695 695  
696 696  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
697 697  
698 -
699 699  **Example:**
700 700  
701 701  AT+AVLIM=3000,6000,0,2000   (If AVI1 voltage lower than 3v or higher than 6v. or AV2 voltage is higher than 2v, LT will trigger Uplink)
... ... @@ -708,7 +708,6 @@
708 708  
709 709  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
710 710  
711 -
712 712  **Example:**
713 713  
714 714  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
... ... @@ -761,51 +761,12 @@
761 761  
762 762  MOD6 Payload : total 11 bytes payload
763 763  
764 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
765 -|**Size(bytes)**|**1**|**1**|**1**|**6**|**1**|**1**
766 -|Value|(((
767 -TRI_A
768 -FLAG
769 -)))|(((
770 -TRI_A
771 -Status
772 -)))|(((
773 -TRI_DI
774 -FLAG+STA
775 -)))|Reserve|Enable/Disable MOD6|(((
776 -MOD
777 -(6)
778 -)))
637 +[[image:image-20220524085923-1.png]]
779 779  
639 +
780 780  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
781 781  
782 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
783 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
784 -|(((
785 -AV1_
786 -LOW
787 -)))|(((
788 -AV1_
789 -HIGH
790 -)))|(((
791 -AV2_
792 -LOW
793 -)))|(((
794 -AV2_
795 -HIGH
796 -)))|(((
797 -AC1_
798 -LOW
799 -)))|(((
800 -AC1_
801 -HIGH
802 -)))|(((
803 -AC2_
804 -LOW
805 -)))|(((
806 -AC2_
807 -HIGH
808 -)))
642 +[[image:image-20220524090106-2.png]]
809 809  
810 810  * Each bits shows if the corresponding trigger has been configured.
811 811  
... ... @@ -816,33 +816,7 @@
816 816  
817 817  (% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below
818 818  
819 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
820 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
821 -|(((
822 -AV1_
823 -LOW
824 -)))|(((
825 -AV1_
826 -HIGH
827 -)))|(((
828 -AV2_
829 -LOW
830 -)))|(((
831 -AV2_
832 -HIGH
833 -)))|(((
834 -AC1_
835 -LOW
836 -)))|(((
837 -AC1_
838 -HIGH
839 -)))|(((
840 -AC2_
841 -LOW
842 -)))|(((
843 -AC2_
844 -HIGH
845 -)))
653 +[[image:image-20220524090249-3.png]]
846 846  
847 847  * Each bits shows which status has been trigger on this uplink.
848 848  
... ... @@ -853,9 +853,7 @@
853 853  
854 854  (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
855 855  
856 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
857 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
858 -|N/A|N/A|N/A|N/A|DI2_STATUS|DI2_FLAG|DI1_STATUS|DI1_FLAG
664 +[[image:image-20220524090456-4.png]]
859 859  
860 860  * Each bits shows which status has been trigger on this uplink.
861 861  
... ... @@ -875,51 +875,46 @@
875 875  When device got this command, it will send the MOD6 payload.
876 876  
877 877  
684 +
878 878  === 3.3.7 Payload Decoder ===
879 879  
880 880  (((
881 881  
882 882  
883 -**Decoder for TTN/loraserver/ChirpStack**:  [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]
690 +**Decoder for TTN/loraserver/ChirpStack**: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/]]
691 +
692 +
884 884  )))
885 885  
886 886  
887 887  == 3.4 ​Configure LT via AT or Downlink ==
888 888  
889 -
890 -(((
891 891  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
892 -)))
893 893  
894 894  (((
895 -(((
896 896  There are two kinds of Commands:
897 897  )))
898 -)))
899 899  
900 -* (% style="color:blue" %)**Common Commands**(%%): They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
704 +* (% style="color:#4f81bd" %)**Common Commands**(%%): They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
901 901  
902 -* (% style="color:blue" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
706 +* (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
903 903  
904 -
905 905  === 3.4.1 Common Commands ===
906 906  
907 -
908 -(((
909 909  They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
910 -)))
911 911  
912 912  
713 +
913 913  === 3.4.2 Sensor related commands ===
914 914  
716 +
915 915  ==== 3.4.2.1 Set Transmit Interval ====
916 916  
917 -
918 918  Set device uplink interval.
919 919  
920 920  * (% style="color:#037691" %)**AT Command:**
921 921  
922 -(% style="color:blue" %)**AT+TDC=N **
723 +**AT+TDC=N **
923 923  
924 924  
925 925  **Example: **AT+TDC=30000. Means set interval to 30 seconds
... ... @@ -927,18 +927,18 @@
927 927  
928 928  * (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
929 929  
930 -(% style="color:blue" %)**0x01 aa bb cc  **(%%)** ~/~/ Same as AT+TDC=0x(aa bb cc)**
731 +**0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
931 931  
932 932  
933 933  
735 +
934 934  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
935 935  
936 -
937 937  Set work mode.
938 938  
939 939  * (% style="color:#037691" %)**AT Command:**
940 940  
941 -(% style="color:blue" %)**AT+MOD=N  **
742 +**AT+MOD=N  **
942 942  
943 943  
944 944  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
... ... @@ -946,13 +946,13 @@
946 946  
947 947  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
948 948  
949 -(% style="color:blue" %)**0x0A aa  **(%%)** ** ~/~/ Same as AT+MOD=aa
750 +**0x0A aa    ** ~/~/ Same as AT+MOD=aa
950 950  
951 951  
952 952  
754 +
953 953  ==== 3.4.2.3 Poll an uplink ====
954 954  
955 -
956 956  * (% style="color:#037691" %)**AT Command:**
957 957  
958 958  There is no AT Command to poll uplink
... ... @@ -960,36 +960,35 @@
960 960  
961 961  * (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**
962 962  
963 -(% style="color:blue" %)**0x08 FF  **(%%)** **~/~/ Poll an uplink
764 +**0x08 FF     **~/~/ Poll an uplink
964 964  
965 -
966 966  **Example**: 0x08FF, ask device to send an Uplink
967 967  
968 968  
969 969  
770 +
970 970  ==== 3.4.2.4 Enable Trigger Mode ====
971 971  
972 -
973 973  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
974 974  
975 975  * (% style="color:#037691" %)**AT Command:**
976 976  
977 -(% style="color:blue" %)**AT+ADDMOD6=1 or 0**
777 +**AT+ADDMOD6=1 or 0**
978 978  
979 -(% style="color:red" %)**1:** (%%)Enable Trigger Mode
779 +1: Enable Trigger Mode
980 980  
981 -(% style="color:red" %)**0: **(%%)Disable Trigger Mode
781 +0: Disable Trigger Mode
982 982  
983 983  
984 984  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):**
985 985  
986 -(% style="color:blue" %)**0x0A 06 aa    **(%%) ~/~/ Same as AT+ADDMOD6=aa
786 +**0x0A 06 aa    ** ~/~/ Same as AT+ADDMOD6=aa
987 987  
988 988  
989 989  
790 +
990 990  ==== 3.4.2.5 Poll trigger settings ====
991 991  
992 -
993 993  Poll trigger settings,
994 994  
995 995  * (% style="color:#037691" %)**AT Command:**
... ... @@ -999,18 +999,18 @@
999 999  
1000 1000  * (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):**
1001 1001  
1002 -(% style="color:blue" %)**0xAB 06  ** (%%) ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command
802 +**0xAB 06         **~/~/ Poll trigger settings, device will uplink trigger settings once receive this command
1003 1003  
1004 1004  
1005 1005  
806 +
1006 1006  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
1007 1007  
1008 -
1009 1009  Enable Disable DI1/DI2/DI2 as trigger,
1010 1010  
1011 1011  * (% style="color:#037691" %)**AT Command:**
1012 1012  
1013 -(% style="color:blue" %)**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
813 +**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
1014 1014  
1015 1015  
1016 1016  **Example:**
... ... @@ -1019,22 +1019,22 @@
1019 1019  
1020 1020  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):**
1021 1021  
1022 -(% style="color:blue" %)**0xAA 02 aa bb   ** (%%) ~/~/ Same as AT+DTRI=aa,bb
822 +**0xAA 02 aa bb        **~/~/ Same as AT+DTRI=aa,bb
1023 1023  
1024 1024  
1025 1025  
826 +
1026 1026  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
1027 1027  
1028 -
1029 1029  Set DI1 or DI3(for LT-33222-L) trigger.
1030 1030  
1031 1031  * (% style="color:#037691" %)**AT Command:**
1032 1032  
1033 -(% style="color:blue" %)**AT+TRIG1=a,b**
833 +**AT+TRIG1=a,b**
1034 1034  
1035 -(% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
835 +a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
1036 1036  
1037 -(% style="color:red" %)**b :** (%%)delay timing.
837 +b : delay timing.
1038 1038  
1039 1039  
1040 1040  **Example:**
... ... @@ -1043,25 +1043,22 @@
1043 1043  
1044 1044  
1045 1045  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
846 +* **0x09 01 aa bb cc    ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
1046 1046  
1047 -(% style="color:blue" %)**0x09 01 aa bb cc    ** (%%) ~/~/ same as AT+TRIG1=aa,0x(bb cc)
1048 -
1049 -
1050 -
1051 1051  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
1052 1052  
1053 -
1054 1054  Set DI2 trigger.
1055 1055  
1056 1056  * (% style="color:#037691" %)**AT Command:**
1057 1057  
1058 -(% style="color:blue" %)**AT+TRIG2=a,b**
854 +**AT+TRIG2=a,b**
1059 1059  
1060 -(% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
1061 1061  
1062 -(% style="color:red" %)**b :** (%%)delay timing.
857 +a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
1063 1063  
859 +b : delay timing.
1064 1064  
861 +
1065 1065  **Example:**
1066 1066  
1067 1067  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
... ... @@ -1069,67 +1069,67 @@
1069 1069  
1070 1070  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**
1071 1071  
1072 -(% style="color:blue" %)**0x09 02 aa bb cc   ** (%%)~/~/ same as AT+TRIG2=aa,0x(bb cc)
869 +**0x09 02 aa bb cc           **~/~/ same as AT+TRIG1=aa,0x(bb cc)
1073 1073  
1074 1074  
1075 1075  
873 +
1076 1076  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
1077 1077  
1078 -
1079 1079  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1080 1080  
1081 1081  * (% style="color:#037691" %)**AT Command**
1082 1082  
1083 -(% style="color:blue" %)**AT+ACLIM**
880 +**AT+ACLIM**
1084 1084  
1085 1085  
1086 1086  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**
1087 1087  
1088 -(% style="color:blue" %)**0x AA 01 aa bb cc dd ee ff gg hh        ** (%%) ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
885 +**0x AA 01 aa bb cc dd ee ff gg hh        ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1089 1089  
1090 1090  
1091 1091  
889 +
1092 1092  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
1093 1093  
1094 -
1095 1095  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1096 1096  
1097 1097  * (% style="color:#037691" %)**AT Command**
1098 1098  
1099 -(% style="color:blue" %)**AT+AVLIM    **(%%)** See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
896 +**AT+AVLIM  See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1100 1100  
1101 1101  
1102 1102  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**
1103 1103  
1104 -(% style="color:blue" %)**0x AA 00 aa bb cc dd ee ff gg hh    ** (%%) ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
901 +**0x AA 00 aa bb cc dd ee ff gg hh    ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1105 1105  
1106 1106  
1107 1107  
905 +
1108 1108  ==== 3.4.2.11 Trigger – Set minimum interval ====
1109 1109  
1110 -
1111 1111  Set AV and AC trigger minimum interval, system won't response to the second trigger within this set time after the first trigger.
1112 1112  
1113 1113  * (% style="color:#037691" %)**AT Command**
1114 1114  
1115 -(% style="color:blue" %)**AT+ATDC=5        ** (%%)Device won't response the second trigger within 5 minute after the first trigger.
912 +**AT+ATDC=5        ** Device won't response the second trigger within 5 minute after the first trigger.
1116 1116  
1117 1117  
1118 1118  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
1119 1119  
1120 -(% style="color:blue" %)**0x AC aa bb   **(%%) ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
917 +**0x AC aa bb   ** ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
1121 1121  
1122 1122  (((
1123 1123  
1124 1124  
1125 -(% style="color:red" %)**Note: ATDC setting must be more than 5min**
922 +(% style="color:red" %)Note: ATDC setting must be more than 5min
1126 1126  )))
1127 1127  
1128 1128  
1129 1129  
927 +
1130 1130  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
1131 1131  
1132 -
1133 1133  * (% style="color:#037691" %)**AT Command**
1134 1134  
1135 1135  There is no AT Command to control Digital Output
... ... @@ -1136,7 +1136,7 @@
1136 1136  
1137 1137  
1138 1138  * (% style="color:#037691" %)**Downlink Payload (prefix 0x02)**
1139 -* (% style="color:blue" %)**0x02 aa bb cc     ** (%%)~/~/ Set DO1/DO2/DO3 output
936 +* **0x02 aa bb cc     **~/~/ Set DO1/DO2/DO3 output
1140 1140  
1141 1141  (((
1142 1142  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
... ... @@ -1144,28 +1144,23 @@
1144 1144  
1145 1145  (((
1146 1146  01: Low,  00: High ,  11: No action
1147 -
1148 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
1149 -|(% style="background-color:#d9e2f3; color:#0070c0" %)**Downlink Code**|(% style="background-color:#d9e2f3; color:#0070c0" %)**DO1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**DO2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**DO3**
1150 -|02  01  00  11|Low|High|No Action
1151 -|02  00  11  01|High|No Action|Low
1152 -|02  11  01  00|No Action|Low|High
1153 1153  )))
1154 1154  
946 +[[image:image-20220524092754-5.png]]
1155 1155  
1156 1156  (((
1157 -(% style="color:red" %)**Note: For LT-22222-L, there is no DO3, the last byte can use any value.**
949 +(% style="color:red" %)Note: For LT-22222-L, there is no DO3, the last byte can use any value.
1158 1158  )))
1159 1159  
1160 1160  (((
1161 -(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
953 +(% style="color:red" %)Device will upload a packet if downlink code executes successfully.
1162 1162  )))
1163 1163  
1164 1164  
1165 1165  
958 +
1166 1166  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1167 1167  
1168 -
1169 1169  * (% style="color:#037691" %)**AT Command**
1170 1170  
1171 1171  There is no AT Command to control Digital Output
... ... @@ -1173,7 +1173,7 @@
1173 1173  
1174 1174  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**
1175 1175  
1176 -(% style="color:blue" %)**0xA9 aa bb cc     **(%%) ~/~/ Set DO1/DO2/DO3 output with time control
968 +**0xA9 aa bb cc     **~/~/ Set DO1/DO2/DO3 output with time control
1177 1177  
1178 1178  
1179 1179  This is to control the digital output time of DO pin. Include four bytes:
... ... @@ -1189,41 +1189,26 @@
1189 1189  
1190 1190  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1191 1191  
1192 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1193 -|(% style="background-color:#d9e2f3; color:#0070c0" %)**Second Byte**|(% style="background-color:#d9e2f3; color:#0070c0" %)**Status**
1194 -|0x01|DO1 set to low
1195 -|0x00|DO1 set to high
1196 -|0x11|DO1 NO Action
984 +[[image:image-20220524093238-6.png]]
1197 1197  
986 +
1198 1198  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1199 1199  
1200 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1201 -|(% style="background-color:#d9e2f3; color:#0070c0" %)**Second Byte**|(% style="background-color:#d9e2f3; color:#0070c0" %)**Status**
1202 -|0x01|DO2 set to low
1203 -|0x00|DO2 set to high
1204 -|0x11|DO2 NO Action
989 +[[image:image-20220524093328-7.png]]
1205 1205  
991 +
1206 1206  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1207 1207  
1208 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1209 -|(% style="background-color:#d9e2f3; color:#0070c0" %)**Second Byte**|(% style="background-color:#d9e2f3; color:#0070c0" %)**Status**
1210 -|0x01|DO3 set to low
1211 -|0x00|DO3 set to high
1212 -|0x11|DO3 NO Action
994 +[[image:image-20220524093351-8.png]]
1213 1213  
1214 -(% style="color:#4f81bd" %)**Sixth and Seventh and Eighth and Ninth Byte**:(%%) Latching time. Unit: ms
1215 1215  
997 +(% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1216 1216  
1217 -(% style="color:red" %)**Note: **
999 + Latching time. Unit: ms
1218 1218  
1219 - Since Firmware v1.6.0, the latch time support 4 bytes and 2 bytes
1001 +Device will upload a packet if downlink code executes successfully.
1220 1220  
1221 - Before Firmwre v1.6.0 the latch time only suport 2 bytes.
1222 1222  
1223 -
1224 -(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1225 -
1226 -
1227 1227  **Example payload:**
1228 1228  
1229 1229  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1244,8 +1244,8 @@
1244 1244  
1245 1245  
1246 1246  
1247 -==== 3.4.2. 14 Relay ~-~- Control Relay Output RO1/RO2 ====
1248 1248  
1025 +==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1249 1249  
1250 1250  * (% style="color:#037691" %)**AT Command:**
1251 1251  
... ... @@ -1254,7 +1254,7 @@
1254 1254  
1255 1255  * (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1256 1256  
1257 -(% style="color:blue" %)**0x03 aa bb     ** (%%)~/~/ Set RO1/RO2 output
1034 +**0x03 aa bb     **~/~/ Set RO1/RO2 output
1258 1258  
1259 1259  
1260 1260  (((
... ... @@ -1263,30 +1263,19 @@
1263 1263  
1264 1264  (((
1265 1265  01: Close ,  00: Open , 11: No action
1266 -
1267 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:320px" %)
1268 -|(% style="background-color:#d9e2f3; color:#0070c0" %)**Downlink Code**|(% style="background-color:#d9e2f3; color:#0070c0" %)**RO1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**RO2**
1269 -|03  00  11|Open|No Action
1270 -|03  01  11|Close|No Action
1271 -|03  11  00|No Action|Open
1272 -|03  11  01|No Action|Close
1273 -|03  00  00|Open|Open
1274 -|03  01  01|Close|Close
1275 -|03  01  00|Close|Open
1276 -|03  00  01|Open|Close
1277 1277  )))
1278 1278  
1279 1279  (((
1280 -
1046 +[[image:image-20220524093724-9.png]]
1281 1281  )))
1282 1282  
1283 -(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1049 +Device will upload a packet if downlink code executes successfully.
1284 1284  
1285 1285  
1286 1286  
1053 +
1287 1287  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1288 1288  
1289 -
1290 1290  * (% style="color:#037691" %)**AT Command:**
1291 1291  
1292 1292  There is no AT Command to control Relay Output
... ... @@ -1294,7 +1294,7 @@
1294 1294  
1295 1295  * (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1296 1296  
1297 -(% style="color:blue" %)**0x05 aa bb cc dd     ** (%%)~/~/ Set RO1/RO2 relay with time control
1063 +**0x05 aa bb cc dd     **~/~/ Set RO1/RO2 relay with time control
1298 1298  
1299 1299  
1300 1300  This is to control the relay output time of relay. Include four bytes:
... ... @@ -1310,25 +1310,17 @@
1310 1310  
1311 1311  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1312 1312  
1313 -[[image:image-20221008095908-1.png||height="364" width="564"]]
1079 +[[image:image-20220714135731-1.png||height="406" width="627"]]
1314 1314  
1315 1315  
1316 -(% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms
1082 +(% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1317 1317  
1084 +Device will upload a packet if downlink code executes successfully.
1318 1318  
1319 -(% style="color:red" %)**Note:**
1320 1320  
1321 - Since Firmware v1.6.0, the latch time support 4 bytes and 2 bytes
1322 -
1323 - Before Firmwre v1.6.0 the latch time only suport 2 bytes.
1324 -
1325 -
1326 -(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1327 -
1328 -
1329 1329  **Example payload:**
1330 1330  
1331 -**~1. 05 01 11 07 D0**
1089 +**~1. 05 01 11 07 D**
1332 1332  
1333 1333  Relay1 and Relay 2 will be set to NC , last 2 seconds, then change back to original state.
1334 1334  
... ... @@ -1346,180 +1346,82 @@
1346 1346  
1347 1347  
1348 1348  
1107 +
1349 1349  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1350 1350  
1351 -
1352 1352  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1353 1353  
1354 1354  * (% style="color:#037691" %)**AT Command:**
1355 1355  
1356 -(% style="color:blue" %)**AT+VOLMAX   ** (%%)~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1114 +**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1357 1357  
1358 1358  
1359 1359  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1360 1360  
1361 -(% style="color:blue" %)**0xA5 aa bb cc   ** (%%)~/~/ Same as AT+VOLMAX=(aa bb),cc
1119 +**0xA5 aa bb cc   **~/~/ Same as AT+VOLMAX=(aa bb),cc
1362 1362  
1363 1363  
1364 1364  
1123 +
1365 1365  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1366 1366  
1367 -
1368 1368  * (% style="color:#037691" %)**AT Command:**
1369 1369  
1370 -(% style="color:blue" %)**AT+SETCNT=aa,(bb cc dd ee) **
1128 +**AT+SETCNT=aa,(bb cc dd ee) **
1371 1371  
1372 -(% style="color:red" %)**aa:**(%%) 1: Set count1; 2: Set count2; 3: Set AV1 count
1130 +aa: 1: Set count1,
1373 1373  
1374 -(% style="color:red" %)**bb cc dd ee: **(%%)number to be set
1132 +2: Set count2,
1375 1375  
1134 +3: Set AV1 count
1376 1376  
1136 +Bb cc dd ee: number to be set
1137 +
1138 +
1377 1377  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**
1378 1378  
1379 -(% style="color:blue" %)**0x A8 aa bb cc dd ee     ** (%%)~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1141 +**0x A8 aa bb cc dd ee     **~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1380 1380  
1381 1381  
1382 1382  
1145 +
1383 1383  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1384 1384  
1385 -
1386 1386  Clear counting for counting mode
1387 1387  
1388 1388  * (% style="color:#037691" %)**AT Command:**
1389 1389  
1390 -(% style="color:blue" %)**AT+CLRCOUNT **(%%) ~/~/ clear all counting
1152 +**AT+CLRCOUNT ** ~/~/ clear all counting
1391 1391  
1392 1392  
1393 1393  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1394 1394  
1395 -(% style="color:blue" %)**0x A6 01    ** (%%)~/~/ clear all counting
1157 +**0x A6 01    ** ~/~/ clear all counting
1396 1396  
1397 1397  
1398 1398  
1161 +
1399 1399  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1400 1400  
1401 -
1402 1402  * (% style="color:#037691" %)**AT Command:**
1403 1403  
1404 -(% style="color:blue" %)**AT+COUTIME=60  **(%%)~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1166 +**AT+COUTIME=60  **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1405 1405  
1406 1406  
1407 1407  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):**
1408 1408  
1409 -(% style="color:blue" %)**0x A7 aa bb cc     ** (%%)~/~/ same as AT+COUTIME =aa bb cc,
1171 +**0x A7 aa bb cc     **~/~/ same as AT+COUTIME =aa bb cc,
1410 1410  
1411 1411  (((
1412 1412  range: aa bb cc:0 to 16777215,  (unit:second)
1413 -)))
1414 1414  
1415 -
1416 -
1417 -==== 3.4.2.20 Reset save RO DO state ====
1418 -
1419 -
1420 -* (% style="color:#037691" %)**AT Command:**
1421 -
1422 -(% style="color:blue" %)**AT+RODORESET=1    **(%%)~/~/ RODO will close when the device joining the network. (default)
1423 -
1424 -(% style="color:blue" %)**AT+RODORESET=0    **(%%)~/~/ After the device is reset, the previously saved RODO state (only MOD2 to MOD5) is read, and its state is not changed when it is reconnected to the network.
1425 -
1426 -
1427 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAD):**
1428 -
1429 -(% style="color:blue" %)**0x AD aa      ** (%%)~/~/ same as AT+RODORET =aa
1430 -
1431 -
1432 -
1433 -==== 3.4.2.21 Encrypted payload ====
1434 -
1435 -
1436 -* (% style="color:#037691" %)**AT Command:**
1437 -
1438 -(% style="color:blue" %)**AT+DECRYPT=1  ** (%%)~/~/ The payload is uploaded without encryption
1439 -
1440 -(% style="color:blue" %)**AT+DECRYPT=0    **(%%)~/~/  Encrypt when uploading payload (default)
1441 -
1442 -
1443 -
1444 -==== 3.4.2.22 Get sensor value ====
1445 -
1446 -
1447 -* (% style="color:#037691" %)**AT Command:**
1448 -
1449 -(% style="color:blue" %)**AT+GETSENSORVALUE=0    **(%%)~/~/ The serial port gets the reading of the current sensor
1450 -
1451 -(% style="color:blue" %)**AT+GETSENSORVALUE=1    **(%%)~/~/ The serial port gets the current sensor reading and uploads it.
1452 -
1453 -
1454 -
1455 -==== 3.4.2.23 Resets the downlink packet count ====
1456 -
1457 -
1458 -* (% style="color:#037691" %)**AT Command:**
1459 -
1460 -(% style="color:blue" %)**AT+DISFCNTCHECK=0   **(%%)~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node will no longer receive downlink packets (default)
1461 -
1462 -(% style="color:blue" %)**AT+DISFCNTCHECK=1   **(%%)~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node resets the downlink packet count and keeps it consistent with the server downlink packet count.
1463 -
1464 -
1465 -
1466 -==== 3.4.2.24 When the limit bytes are exceeded, upload in batches ====
1467 -
1468 -
1469 -* (% style="color:#037691" %)**AT Command:**
1470 -
1471 -(% style="color:blue" %)**AT+DISMACANS=0**   (%%) ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of 11 bytes (DR0 of US915, DR2 of AS923, DR2 of AU195), the node will send a packet with a payload of 00 and a port of 4. (default)
1472 -
1473 -(% style="color:blue" %)**AT+DISMACANS=1**  (%%) ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of the DR, the node will ignore the MACANS and not reply, and only upload the payload part.
1474 -
1475 -
1476 -* (% style="color:#037691" %)**Downlink Payload **(%%)**:**
1477 -
1478 -(% style="color:blue" %)**0x21 00 01 ** (%%) ~/~/ Set  the DISMACANS=1
1479 -
1480 -
1481 -
1482 -==== 3.4.2.25 Copy downlink to uplink ====
1483 -
1484 -
1485 -* (% style="color:#037691" %)**AT Command**(%%)**:**
1486 -
1487 -(% style="color:blue" %)**AT+RPL=5**   (%%) ~/~/ After receiving the package from the server, it will immediately upload the content of the package to the server, the port number is 100.
1488 -
1489 -Example:**aa xx xx xx xx**         ~/~/ aa indicates whether the configuration has changed, 00 is yes, 01 is no; xx xx xx xx are the bytes sent.
1490 -
1491 -
1492 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173747-6.png?width=1124&height=165&rev=1.1||alt="image-20220823173747-6.png"]]
1493 -
1494 -For example, sending 11 22 33 44 55 66 77 will return invalid configuration 00 11 22 33 44 55 66 77.
1495 -
1496 -
1497 -
1498 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173833-7.png?width=1124&height=149&rev=1.1||alt="image-20220823173833-7.png"]]
1499 -
1500 -For example, if 01 00 02 58 is issued, a valid configuration of 01 01 00 02 58 will be returned.
1501 -
1502 -
1503 -
1504 -==== 3.4.2.26 Query version number and frequency band 、TDC ====
1505 -
1506 -
1507 -* (((
1508 -(% style="color:#037691" %)**Downlink Payload**(%%)**:**
1509 -
1510 -(% style="color:blue" %)**26 01  ** (%%) ~/~/  Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time.
1511 -
1512 1512  
1513 1513  )))
1514 1514  
1515 -**Example:**
1516 1516  
1517 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173929-8.png?width=1205&height=76&rev=1.1||alt="image-20220823173929-8.png"]]
1518 1518  
1519 -
1520 1520  == 3.5 Integrate with Mydevice ==
1521 1521  
1522 -
1523 1523  Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices. Below are the steps:
1524 1524  
1525 1525  (((
... ... @@ -1528,20 +1528,19 @@
1528 1528  
1529 1529  (((
1530 1530  (% style="color:blue" %)**Step 2**(%%): To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps:
1531 -
1532 -
1533 1533  )))
1534 1534  
1535 -[[image:image-20220719105525-1.png||height="377" width="677"]]
1193 +[[image:1653356737703-362.png||height="232" width="732"]]
1536 1536  
1195 +[[image:image-20220524094641-11.png||height="390" width="723"]]
1537 1537  
1538 1538  
1539 -[[image:image-20220719110247-2.png||height="388" width="683"]]
1198 +[[image:image-20220524094641-12.png||height="402" width="718"]]
1540 1540  
1541 1541  
1542 1542  (% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.
1543 1543  
1544 -(% style="color:blue" %)**Step 4**(%%): Search LT-22222-L(for both LT-22222-L) and add DevEUI.(% style="display:none" %)
1203 +(% style="color:blue" %)**Step 4**(%%): Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %)
1545 1545  
1546 1546  Search under The things network
1547 1547  
... ... @@ -1566,19 +1566,19 @@
1566 1566  [[image:image-20220524094909-5.png||height="341" width="734"]]
1567 1567  
1568 1568  
1228 +
1569 1569  == 3.6 Interface Detail ==
1570 1570  
1571 1571  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
1572 1572  
1573 -
1574 1574  Support NPN Type sensor
1575 1575  
1576 1576  [[image:1653356991268-289.png]]
1577 1577  
1578 1578  
1238 +
1579 1579  === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) ===
1580 1580  
1581 -
1582 1582  (((
1583 1583  The DI port of LT-22222-L can support NPN or PNP output sensor.
1584 1584  )))
... ... @@ -1585,9 +1585,7 @@
1585 1585  
1586 1586  (((
1587 1587  (((
1588 -Internal circuit as below, the NEC2501 is a photocoupler, the Active current (from NEC2501 pin 1 to pin 2 is 1ma and the max current is 50mA. When there is active current pass NEC2501 pin1 to pin2. The DI will be active high.
1589 -
1590 -
1247 +Internal circuit as below, the NEC2501 is a photocoupler, the Active current (from NEC2501 pin 1 to pin 2 is 1ma and the max current is 50mA. When there is active current pass NEC2501 pin1 to pin2. The DI will be active high
1591 1591  )))
1592 1592  )))
1593 1593  
... ... @@ -1612,10 +1612,10 @@
1612 1612  )))
1613 1613  
1614 1614  * (((
1615 -Connect sensor's output to DI1-
1272 +Connect sensors output to DI1-
1616 1616  )))
1617 1617  * (((
1618 -Connect sensor's VCC to DI1+.
1275 +Connect sensors VCC to DI1+.
1619 1619  )))
1620 1620  
1621 1621  (((
... ... @@ -1623,11 +1623,11 @@
1623 1623  )))
1624 1624  
1625 1625  (((
1626 -[[image:1653968155772-850.png||height="23" width="19"]]**= DI1**+** / 1K.**
1283 +[[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 1K.**
1627 1627  )))
1628 1628  
1629 1629  (((
1630 -If** DI1+ **= **12v**, the [[image:1653968155772-850.png||height="23" width="19"]]= 12mA , So the LT-22222-L will be able to detect this active signal.
1287 +If DI1+ = 12v, the [[image:1653968155772-850.png||height="23" width="19"]]= 12mA , So the LT-22222-L will be able to detect this active signal.
1631 1631  )))
1632 1632  
1633 1633  (((
... ... @@ -1643,10 +1643,10 @@
1643 1643  )))
1644 1644  
1645 1645  * (((
1646 -Connect sensor's output to DI1+
1303 +Connect sensors output to DI1+
1647 1647  )))
1648 1648  * (((
1649 -Connect sensor's GND DI1-.
1306 +Connect sensors GND DI1-.
1650 1650  )))
1651 1651  
1652 1652  (((
... ... @@ -1674,10 +1674,10 @@
1674 1674  )))
1675 1675  
1676 1676  * (((
1677 -Connect sensor's output to DI1+ with a serial 50K resistor
1334 +Connect sensors output to DI1+ with a serial 50K resistor
1678 1678  )))
1679 1679  * (((
1680 -Connect sensor's GND DI1-.
1337 +Connect sensors GND DI1-.
1681 1681  )))
1682 1682  
1683 1683  (((
... ... @@ -1693,19 +1693,17 @@
1693 1693  )))
1694 1694  
1695 1695  
1353 +
1696 1696  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1697 1697  
1356 +NPN output: GND or Float. Max voltage can apply to output pin is 36v.
1698 1698  
1699 -(% style="color:blue" %)**NPN output**(%%): GND or Float. Max voltage can apply to output pin is 36v.
1700 -
1701 -(% style="color:red" %)**Note: DO pins go to float when device is power off.**
1702 -
1703 1703  [[image:1653357531600-905.png]]
1704 1704  
1705 1705  
1361 +
1706 1706  === 3.6.4 Analog Input Interface ===
1707 1707  
1708 -
1709 1709  The analog input interface is as below. The LT will measure the IN2 voltage so to calculate the current pass the Load. The formula is:
1710 1710  
1711 1711  
... ... @@ -1718,14 +1718,15 @@
1718 1718  We take the wind speed sensor as an example for reference only.
1719 1719  
1720 1720  
1721 -(% style="color:blue" %)**Specifications of the wind speed sensor:**
1376 +**Specifications of the wind speed sensor:**
1722 1722  
1723 -(% style="color:red" %)**Red:  12~~24v**
1378 +Red:  12~~24v
1724 1724  
1725 -(% style="color:#ffc000" %)**Yellow:  4~~20mA**
1380 +Yellow:  4~~20mA
1726 1726  
1727 -**Black:  GND**
1382 +Black:  GND
1728 1728  
1384 +
1729 1729  **Connection diagram:**
1730 1730  
1731 1731  [[image:1653357640609-758.png]]
... ... @@ -1733,89 +1733,31 @@
1733 1733  [[image:1653357648330-671.png||height="155" width="733"]]
1734 1734  
1735 1735  
1736 -Example connected to a regulated power supply to measure voltage
1737 1737  
1738 -[[image:image-20230608101532-1.png||height="606" width="447"]]
1739 -
1740 -[[image:image-20230608101608-2.jpeg||height="379" width="284"]]
1741 -
1742 -[[image:image-20230608101722-3.png||height="102" width="1139"]]
1743 -
1744 -
1745 -(% style="color:blue; font-weight:bold" %)**Specifications of the regulated power**(%%) (% style="color:blue" %)**:**
1746 -
1747 -(% style="color:red" %)**Red:  12~~24v**
1748 -
1749 -**Black:  GND**
1750 -
1751 -
1752 1752  === 3.6.5 Relay Output ===
1753 1753  
1754 -
1755 1755  (((
1756 -The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device's Power Line to in serial of RO1_1 and RO_2. Such as below:
1757 -
1758 -**Note**: RO pins go to Open(NO) when device is power off.
1396 +The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device’s Power Line to in serial of RO1_1 and RO_2. Such as below:
1759 1759  )))
1760 1760  
1761 1761  [[image:image-20220524100215-9.png]]
1762 1762  
1763 -
1764 1764  [[image:image-20220524100215-10.png||height="382" width="723"]]
1765 1765  
1766 1766  
1404 +
1767 1767  == 3.7 LEDs Indicators ==
1768 1768  
1407 +[[image:image-20220524100748-11.png]]
1769 1769  
1770 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
1771 -|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**LEDs**|(% style="background-color:#d9e2f3; color:#0070c0; width:470px" %)**Feature**
1772 -|**PWR**|Always on if there is power
1773 -|**SYS**|(((
1774 -After device is powered on, the SYS will **fast blink in GREEN** for 5 times, means RS485-LN start to join LoRaWAN network. If join success, SYS will be **on GREEN for 5 seconds. **SYS will **blink Blue** on every upload and **blink Green** once receive a downlink message.
1775 -)))
1776 -|**TX**|(((
1777 -(((
1778 -Device boot: TX blinks 5 times.
1779 -)))
1780 1780  
1781 -(((
1782 -Successful join network: TX ON for 5 seconds.
1783 -)))
1784 1784  
1785 -(((
1786 -Transmit a LoRa packet: TX blinks once
1787 -)))
1788 -)))
1789 -|**RX**|RX blinks once when receive a packet.
1790 -|**DO1**|
1791 -|**DO2**|
1792 -|**DO3**|
1793 -|**DI2**|(((
1794 -For LT-22222-L: ON when DI2 is high, LOW when DI2 is low
1795 -)))
1796 -|**DI2**|(((
1797 -For LT-22222-L: ON when DI2 is high, LOW when DI2 is low
1798 -)))
1799 -|**DI2**|(((
1800 -For LT-22222-L: ON when DI2 is high, LOW when DI2 is low
1801 -)))
1802 -|**RO1**|
1803 -|**RO2**|
1804 -
1805 -
1806 1806  = 4. Use AT Command =
1807 1807  
1808 1808  == 4.1 Access AT Command ==
1809 1809  
1810 -
1811 -(((
1812 1812  LT supports AT Command set. User can use a USB to TTL adapter plus the 3.5mm Program Cable to connect to LT for using AT command, as below.
1813 -)))
1814 1814  
1815 -(((
1816 -
1817 -)))
1818 -
1819 1819  [[image:1653358238933-385.png]]
1820 1820  
1821 1821  
... ... @@ -1843,7 +1843,7 @@
1843 1843  )))
1844 1844  
1845 1845  (((
1846 -AT+<CMD>=?       :  Get the value
1444 +AT+<CMD>=?       : Get the value
1847 1847  )))
1848 1848  
1849 1849  (((
... ... @@ -1871,11 +1871,11 @@
1871 1871  )))
1872 1872  
1873 1873  (((
1874 -AT+APPSKEY:  Get or Set the Application Session Key
1472 +AT+APPSKEY: Get or Set the Application Session Key
1875 1875  )))
1876 1876  
1877 1877  (((
1878 -AT+APPEUI:  Get or Set the Application EUI
1476 +AT+APPEUI: Get or Set the Application EUI
1879 1879  )))
1880 1880  
1881 1881  (((
... ... @@ -1887,7 +1887,7 @@
1887 1887  )))
1888 1888  
1889 1889  (((
1890 -AT+DR:  Get or Set the Data Rate. (0-7 corresponding to DR_X)  
1488 +AT+DR: Get or Set the Data Rate. (0-7 corresponding to DR_X)  
1891 1891  )))
1892 1892  
1893 1893  (((
... ... @@ -1923,7 +1923,7 @@
1923 1923  )))
1924 1924  
1925 1925  (((
1926 -AT+NJM:  Get or Set the Network Join Mode. (0: ABP, 1: OTAA)
1524 +AT+NJM: Get or Set the Network Join Mode. (0: ABP, 1: OTAA)
1927 1927  )))
1928 1928  
1929 1929  (((
... ... @@ -1967,7 +1967,7 @@
1967 1967  )))
1968 1968  
1969 1969  (((
1970 -AT+VER:  Get current image version and Frequency Band
1568 +AT+VER: Get current image version and Frequency Band
1971 1971  )))
1972 1972  
1973 1973  (((
... ... @@ -1975,7 +1975,7 @@
1975 1975  )))
1976 1976  
1977 1977  (((
1978 -AT+CFS:  Get confirmation status of the last AT+SEND (0-1)
1576 +AT+CFS: Get confirmation status of the last AT+SEND (0-1)
1979 1979  )))
1980 1980  
1981 1981  (((
... ... @@ -2015,6 +2015,7 @@
2015 2015  )))
2016 2016  
2017 2017  
1616 +
2018 2018  == 4.2 Common AT Command Sequence ==
2019 2019  
2020 2020  === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
... ... @@ -2022,101 +2022,98 @@
2022 2022  (((
2023 2023  
2024 2024  
2025 -(((
2026 -(% style="color:blue" %)**If device has not joined network yet:**
1624 +**If device has not joined network yet:**
2027 2027  )))
2028 -)))
2029 2029  
2030 2030  (((
2031 -(% style="background-color:#dcdcdc" %)**123456**
1628 +(% style="background-color:#dcdcdc" %)123456
2032 2032  )))
2033 2033  
2034 2034  (((
2035 -(% style="background-color:#dcdcdc" %)**AT+FDR**
1632 +(% style="background-color:#dcdcdc" %)AT+FDR
2036 2036  )))
2037 2037  
2038 2038  (((
2039 -(% style="background-color:#dcdcdc" %)**123456**
1636 +(% style="background-color:#dcdcdc" %)123456
2040 2040  )))
2041 2041  
2042 2042  (((
2043 -(% style="background-color:#dcdcdc" %)**AT+NJM=0**
1640 +(% style="background-color:#dcdcdc" %)AT+NJM=0
2044 2044  )))
2045 2045  
2046 2046  (((
2047 -(% style="background-color:#dcdcdc" %)**ATZ**
1644 +(% style="background-color:#dcdcdc" %)ATZ
2048 2048  )))
2049 2049  
2050 2050  
2051 2051  (((
2052 -(% style="color:blue" %)**If device already joined network:**
1649 +**If device already joined network:**
2053 2053  )))
2054 2054  
2055 2055  (((
2056 -(% style="background-color:#dcdcdc" %)**AT+NJM=0**
1653 +(% style="background-color:#dcdcdc" %)AT+NJM=0
2057 2057  )))
2058 2058  
2059 2059  (((
2060 -(% style="background-color:#dcdcdc" %)**ATZ**
1657 +(% style="background-color:#dcdcdc" %)ATZ
2061 2061  )))
2062 2062  
2063 2063  
1661 +
2064 2064  === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) ===
2065 2065  
2066 2066  (((
2067 2067  
2068 2068  
2069 -(((
2070 -(% style="background-color:#dcdcdc" %)**123456**(%%)  ~/~/ Enter Password to have AT access.
1667 +(% style="background-color:#dcdcdc" %)123456(%%)  Enter Password to have AT access.
2071 2071  )))
2072 -)))
2073 2073  
2074 2074  (((
2075 -(% style="background-color:#dcdcdc" %)** AT+FDR**(%%)  ~/~/ Reset Parameters to Factory Default, Keys Reserve
1671 +(% style="background-color:#dcdcdc" %) AT+FDR(%%)   Reset Parameters to Factory Default, Keys Reserve
2076 2076  )))
2077 2077  
2078 2078  (((
2079 -(% style="background-color:#dcdcdc" %)** 123456**(%%)  ~/~/ Enter Password to have AT access.
1675 +(% style="background-color:#dcdcdc" %) 123456(%%)  Enter Password to have AT access.
2080 2080  )))
2081 2081  
2082 2082  (((
2083 -(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%)  ~/~/ Set to work in CLASS C
1679 +(% style="background-color:#dcdcdc" %) AT+CLASS=C(%%) Set to work in CLASS C
2084 2084  )))
2085 2085  
2086 2086  (((
2087 -(% style="background-color:#dcdcdc" %)** AT+NJM=0**(%%)  ~/~/ Set to ABP mode
1683 +(% style="background-color:#dcdcdc" %) AT+NJM=0(%%)  Set to ABP mode
2088 2088  )))
2089 2089  
2090 2090  (((
2091 -(% style="background-color:#dcdcdc" %) **AT+ADR=0**(%%)  ~/~/ Set the Adaptive Data Rate Off
1687 +(% style="background-color:#dcdcdc" %) AT+ADR=0(%%)  Set the Adaptive Data Rate Off
2092 2092  )))
2093 2093  
2094 2094  (((
2095 -(% style="background-color:#dcdcdc" %)** AT+DR=5**(%%)  ~/~/ Set Data Rate
1691 +(% style="background-color:#dcdcdc" %) AT+DR=5(%%)  Set Data Rate
2096 2096  )))
2097 2097  
2098 2098  (((
2099 -(% style="background-color:#dcdcdc" %)** AT+TDC=60000**(%%)  ~/~/ Set transmit interval to 60 seconds
1695 +(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%)  Set transmit interval to 60 seconds
2100 2100  )))
2101 2101  
2102 2102  (((
2103 -(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%)  ~/~/ Set transmit frequency to 868.4Mhz
1699 +(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%)  Set transmit frequency to 868.4Mhz
2104 2104  )))
2105 2105  
2106 2106  (((
2107 -(% style="background-color:#dcdcdc" %)** AT+RX2FQ=868400000**(%%)  ~/~/ Set RX2Frequency to 868.4Mhz (according to the result from server)
1703 +(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%)  Set RX2Frequency to 868.4Mhz (according to the result from server)
2108 2108  )))
2109 2109  
2110 2110  (((
2111 -(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2DR to match the downlink DR from server. see below
1707 +(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%)  Set RX2DR to match the downlink DR from server. see below
2112 2112  )))
2113 2113  
2114 2114  (((
2115 -(% style="background-color:#dcdcdc" %)** AT+DADDR=26 01 1A F1** (%%) ~/~/ Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.
1711 +(% style="background-color:#dcdcdc" %) AT+DADDR=26 01 1A F1 (%%) Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.
2116 2116  )))
2117 2117  
2118 2118  (((
2119 -(% style="background-color:#dcdcdc" %)** ATZ**         (%%) ~/~/ Reset MCU
1715 +(% style="background-color:#dcdcdc" %) ATZ         (%%) Reset MCU
2120 2120  
2121 2121  
2122 2122  )))
... ... @@ -2126,16 +2126,10 @@
2126 2126  )))
2127 2127  
2128 2128  (((
2129 -**~1. Make sure the device is set to ABP mode in the IoT Server.**
2130 -
2131 -**2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.**
2132 -
2133 -**3. Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer [[this link>>url:http://www.dragino.com/downloads/index.php?
2134 -dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.**
2135 -
2136 -**4. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5.**
2137 -
2138 -
1725 +(% style="color:red" %)1. Make sure the device is set to ABP mode in the IoT Server.
1726 +2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.
1727 +3. Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer [[this link>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.
1728 +4. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5
2139 2139  )))
2140 2140  
2141 2141  (((
... ... @@ -2146,30 +2146,19 @@
2146 2146  
2147 2147  )))
2148 2148  
1739 +
2149 2149  === 4.2.3 Change to Class A ===
2150 2150  
1742 +If sensor JOINED
1743 +(% style="background-color:#dcdcdc" %)AT+CLASS=A
1744 +ATZ
2151 2151  
2152 -(((
2153 -(% style="color:blue" %)**If sensor JOINED:**
2154 2154  
2155 -(% style="background-color:#dcdcdc" %)**AT+CLASS=A
2156 -ATZ**
2157 -)))
1747 += 5. FAQ =
2158 2158  
1749 +== 5.1 How to upgrade the image? ==
2159 2159  
2160 -= 5. Case Study =
2161 2161  
2162 -== 5.1 Counting how many objects pass in Flow Line ==
2163 -
2164 -
2165 -Reference Link: [[How to set up to count objects pass in flow line>>How to set up to count objects pass in flow line]]?
2166 -
2167 -
2168 -= 6. FAQ =
2169 -
2170 -== 6.1 How to upgrade the image? ==
2171 -
2172 -
2173 2173  The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to:
2174 2174  
2175 2175  * Support new features
... ... @@ -2183,38 +2183,31 @@
2183 2183  
2184 2184  (((
2185 2185  (% style="color:blue" %)**Step1**(%%)**:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]].
2186 -(% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>url:https://www.dropbox.com/sh/g99v0fxcltn9r1y/AADKXQ2v5ZT-S3sxdmbvE7UAa/LT-22222-L/image?dl=0&subfolder_nav_tracking=1]].
1765 +(% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].
2187 2187  (% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update.
2188 2188  
2189 2189  
2190 -(((
2191 2191  (% style="color:blue" %)**For LT-22222-L**(%%):
2192 2192  Hold down the PRO button and then momentarily press the RST reset button and the (% style="color:red" %)**DO1 led**(%%) will change from OFF to ON. When (% style="color:red" %)**DO1 LED**(%%) is on, it means the device is in download mode.
2193 2193  )))
2194 2194  
2195 -
2196 -)))
2197 -
2198 2198   [[image:image-20220524103407-12.png]]
2199 2199  
2200 -
2201 2201  [[image:image-20220524103429-13.png]]
2202 2202  
2203 -
2204 2204  [[image:image-20220524104033-15.png]]
2205 2205  
2206 2206  
2207 2207  (% style="color:red" %)**Notice**(%%): In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is:
2208 2208  
2209 -
2210 2210  [[image:1653360054704-518.png||height="186" width="745"]]
2211 2211  
2212 2212  
2213 2213  (((
2214 2214  (((
2215 -== 6.2 How to change the LoRa Frequency Bands/Region? ==
2216 -
2217 2217  
1788 +
1789 +== 5.2 How to change the LoRa Frequency Bands/Region? ==
2218 2218  )))
2219 2219  )))
2220 2220  
... ... @@ -2225,9 +2225,7 @@
2225 2225  (((
2226 2226  
2227 2227  
2228 -== 6.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? ==
2229 -
2230 -
1800 +== 5.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? ==
2231 2231  )))
2232 2232  
2233 2233  (((
... ... @@ -2245,39 +2245,33 @@
2245 2245  )))
2246 2246  
2247 2247  (((
2248 -(% style="color:blue" %)**Step1**(%%):  Log in TTN, Create an ABP device in the application and input the network session key (NETSKEY), app session key (APPSKEY) from the device.
2249 -
2250 -
1818 +(% style="color:#4f81bd" %)**Step1**(%%): Log in TTN, Create an ABP device in the application and input the network session key (NETSKEY), app session key (APPSKEY) from the device.
2251 2251  )))
2252 2252  
2253 2253  (((
2254 2254  [[image:1653360231087-571.png||height="401" width="727"]]
2255 -
2256 -
2257 2257  )))
2258 2258  
2259 2259  (((
2260 -(% style="color:red" %)**Note: user just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN.**
1826 +(% style="color:red" %)Note: user just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN.
2261 2261  )))
2262 2262  
2263 2263  
2264 -
2265 2265  (((
2266 -(% style="color:blue" %)**Step2**(%%)**:  **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
2267 -
2268 -
1831 +(% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
2269 2269  )))
2270 2270  
2271 2271  (((
2272 -(% style="background-color:#dcdcdc" %)**123456** (%%) :  Enter Password to have AT access.
2273 -(% style="background-color:#dcdcdc" %)**AT+FDR**(%%)  :  Reset Parameters to Factory Default, Keys Reserve
2274 -(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) :  Set to ABP mode
2275 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) :  Set the Adaptive Data Rate Off
2276 -(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) :  Set Data Rate (Set AT+DR=3 for 915 band)
2277 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) :  Set transmit interval to 60 seconds
2278 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4Mhz
2279 -(% style="background-color:#dcdcdc" %)**AT+DADDR=26 01 1A F1**(%%)  :  Set Device Address to 26 01 1A F1
2280 -(% style="background-color:#dcdcdc" %)**ATZ**        (%%) :  Reset MCU
1835 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1836 +(% style="background-color:#dcdcdc" %)AT+FDR(%%)  Reset Parameters to Factory Default, Keys Reserve
1837 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1838 +(% style="background-color:#dcdcdc" %)AT+NJM=0 (%%) Set to ABP mode
1839 +(% style="background-color:#dcdcdc" %)AT+ADR=0 (%%) Set the Adaptive Data Rate Off
1840 +(% style="background-color:#dcdcdc" %)AT+DR=5 (%%) Set Data Rate (Set AT+DR=3 for 915 band)
1841 +(% style="background-color:#dcdcdc" %)AT+TDC=60000 (%%) Set transmit interval to 60 seconds
1842 +(% style="background-color:#dcdcdc" %)AT+CHS=868400000(%%)  Set transmit frequency to 868.4Mhz
1843 +(% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%)  Set Device Address to 26 01 1A F1
1844 +(% style="background-color:#dcdcdc" %)ATZ        (%%) Reset MCU
2281 2281  )))
2282 2282  
2283 2283  
... ... @@ -2288,31 +2288,22 @@
2288 2288  [[image:1653360498588-932.png||height="485" width="726"]]
2289 2289  
2290 2290  
2291 -== 6.4 How to change the uplink interval ==
1855 +== 5.4 Can I see counting event in Serial? ==
2292 2292  
2293 -
2294 -Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/]]
2295 -
2296 -
2297 -== 6.5 Can I see counting event in Serial? ==
2298 -
2299 -
2300 2300  (((
2301 -User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesn't support AT+DEBUG. User can update to latest firmware first.
1858 +User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesnt support AT+DEBUG. User can update to latest firmware first.
2302 2302  
2303 2303  
2304 -== 6.6 Can i use point to point communication for LT-22222-L? ==
1861 +== 5.5 Can i use point to point communication for LT-22222-L? ==
2305 2305  
1863 +Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]
2306 2306  
2307 -Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]  ,this is [[firmware>>https://github.com/dragino/LT-22222-L/releases]].
2308 -
2309 2309  
2310 2310  )))
2311 2311  
2312 2312  (((
2313 -== 6.7 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
1869 +== 5.Why does the relay output become the default and open relay after the lt22222 is powered off? ==
2314 2314  
2315 -
2316 2316  If the device is not shut down, but directly powered off.
2317 2317  
2318 2318  It will default that this is a power-off state.
... ... @@ -2322,29 +2322,12 @@
2322 2322  After restart, the status before power failure will be read from flash.
2323 2323  
2324 2324  
2325 -== 6.8 Can i set up LT-22222-L as a NC(Normal Close) Relay? ==
2326 -
2327 -
2328 -LT-22222-L built-in relay is NO (Normal Open). User can use an external relay to achieve Normal Close purpose. Diagram as below:
2329 -
2330 -
2331 -[[image:image-20221006170630-1.png||height="610" width="945"]]
2332 -
2333 -
2334 -== 6.9 Can LT22222-L save RO state? ==
2335 -
2336 -
2337 -Firmware version needs to be no less than 1.6.0.
2338 -
2339 -
2340 -= 7. Trouble Shooting =
1880 += 6. Trouble Shooting =
2341 2341  )))
2342 2342  
2343 2343  (((
2344 2344  (((
2345 -== 7.1 Downlink doesn't work, how to solve it? ==
2346 -
2347 -
1885 +== 6.1 Downlink doesn't work, how to solve it? ==
2348 2348  )))
2349 2349  )))
2350 2350  
... ... @@ -2355,9 +2355,7 @@
2355 2355  (((
2356 2356  
2357 2357  
2358 -== 7.2 Have trouble to upload image. ==
2359 -
2360 -
1896 +== 6.2 Have trouble to upload image. ==
2361 2361  )))
2362 2362  
2363 2363  (((
... ... @@ -2367,9 +2367,7 @@
2367 2367  (((
2368 2368  
2369 2369  
2370 -== 7.3 Why I can't join TTN in US915 /AU915 bands? ==
2371 -
2372 -
1906 +== 6.3 Why I can't join TTN in US915 /AU915 bands? ==
2373 2373  )))
2374 2374  
2375 2375  (((
... ... @@ -2377,7 +2377,7 @@
2377 2377  )))
2378 2378  
2379 2379  
2380 -= 8. Order Info =
1914 += 7. Order Info =
2381 2381  
2382 2382  
2383 2383  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
... ... @@ -2395,9 +2395,11 @@
2395 2395  * (% style="color:red" %)**CN779**(%%):  LT with frequency bands CN779
2396 2396  
2397 2397  
2398 -= 9. Packing Info =
2399 2399  
2400 2400  
1934 += 8. Packing Info =
1935 +
1936 +
2401 2401  **Package Includes**:
2402 2402  
2403 2403  * LT-22222-L I/O Controller x 1
... ... @@ -2413,22 +2413,22 @@
2413 2413  * Weight / pcs : 170g
2414 2414  
2415 2415  
2416 -= 10. Support =
2417 2417  
2418 2418  
1954 += 9. Support =
1955 +
2419 2419  * (((
2420 2420  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.
2421 2421  )))
2422 2422  * (((
2423 -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.cc>>mailto:Support@dragino.cc]]
2424 -
2425 -
2426 -
1960 +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/LT系列/support@dragino.com]]
2427 2427  )))
2428 2428  
2429 -= 11. Reference​​​​​ =
2430 2430  
2431 2431  
1965 += 10. Reference​​​​​ =
1966 +
2432 2432  * LT-22222-L: [[http:~~/~~/www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]]
2433 -* [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]]
1968 +* [[Image Download>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]
1969 +* [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]]
2434 2434  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
image-20220719105525-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -165.5 KB
Content
image-20220719110247-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -52.9 KB
Content
image-20221006170630-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -486.5 KB
Content
image-20221008095908-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -41.8 KB
Content
image-20221112174847-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -102.6 KB
Content
image-20230424115112-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -27.1 KB
Content
image-20230425173351-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -207.8 KB
Content
image-20230425173427-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -150.1 KB
Content
image-20230426161322-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -15.2 KB
Content
image-20230608101532-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -563.0 KB
Content
image-20230608101608-2.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -287.8 KB
Content
image-20230608101722-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -25.4 KB
Content