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

From version 104.1
edited by Xiaoling
on 2022/11/12 17:48
Change comment: Uploaded new attachment "image-20221112174847-1.png", version {1}
To version 126.1
edited by Edwin Chen
on 2023/06/17 09:43
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Edwin
Content
... ... @@ -15,7 +15,6 @@
15 15  
16 16  = 1.Introduction =
17 17  
18 -
19 19  == 1.1 What is LT Series I/O Controller ==
20 20  
21 21  (((
... ... @@ -27,7 +27,7 @@
27 27  )))
28 28  
29 29  (((
30 -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.
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.
31 31  )))
32 32  
33 33  (((
... ... @@ -54,7 +54,6 @@
54 54  
55 55  )))
56 56  
57 -
58 58  == 1.2  Specifications ==
59 59  
60 60  (((
... ... @@ -64,7 +64,7 @@
64 64  )))
65 65  
66 66  * (((
67 -STM32L072CZT6 MCU
65 +STM32L072xxxx MCU
68 68  )))
69 69  * (((
70 70  SX1276/78 Wireless Chip 
... ... @@ -171,7 +171,6 @@
171 171  Packet engine up to 256 bytes with CRC.
172 172  
173 173  
174 -
175 175  
176 176  )))
177 177  
... ... @@ -179,11 +179,17 @@
179 179  
180 180  
181 181  * LoRaWAN Class A & Class C protocol
179 +
182 182  * Optional Customized LoRa Protocol
181 +
183 183  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865/MA869
183 +
184 184  * AT Commands to change parameters
185 +
185 185  * Remote configure parameters via LoRa Downlink
187 +
186 186  * Firmware upgradable via program port
189 +
187 187  * Counting
188 188  
189 189  == 1.4  Applications ==
... ... @@ -190,18 +190,26 @@
190 190  
191 191  
192 192  * Smart Buildings & Home Automation
196 +
193 193  * Logistics and Supply Chain Management
198 +
194 194  * Smart Metering
200 +
195 195  * Smart Agriculture
202 +
196 196  * Smart Cities
204 +
197 197  * Smart Factory
198 198  
199 199  == 1.5 Hardware Variants ==
200 200  
201 201  
202 -(% border="1" style="background-color:#f7faff; width:500px" %)
203 -|(% style="width:103px" %)**Model**|(% style="width:131px" %)**Photo**|(% style="width:334px" %)**Description**
204 -|(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)[[image:1653296302983-697.png]]|(% style="width:334px" %)(((
210 +(% border="1" style="background-color:#f2f2f2; width:500px" %)
211 +|(% 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**
212 +|(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)(((
213 +(% style="text-align:center" %)
214 +[[image:image-20230424115112-1.png||height="106" width="58"]]
215 +)))|(% style="width:334px" %)(((
205 205  * 2 x Digital Input (Bi-direction)
206 206  * 2 x Digital Output
207 207  * 2 x Relay Output (5A@250VAC / 30VDC)
... ... @@ -226,10 +226,8 @@
226 226  [[image:1653297104069-180.png]]
227 227  
228 228  
229 -
230 230  = 3. Operation Mode =
231 231  
232 -
233 233  == 3.1 How it works? ==
234 234  
235 235  
... ... @@ -242,7 +242,6 @@
242 242  )))
243 243  
244 244  
245 -
246 246  == 3.2 Example to join LoRaWAN network ==
247 247  
248 248  
... ... @@ -269,7 +269,7 @@
269 269  Each LT is shipped with a sticker with the default device EUI as below:
270 270  )))
271 271  
272 -[[image:1653297924498-393.png]]
280 +[[image:image-20230425173427-2.png||height="246" width="530"]]
273 273  
274 274  
275 275  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
... ... @@ -294,7 +294,6 @@
294 294  [[image:1653298044601-602.png||height="405" width="709"]]
295 295  
296 296  
297 -
298 298  == 3.3 Uplink Payload ==
299 299  
300 300  
... ... @@ -301,30 +301,46 @@
301 301  There are five working modes + one interrupt mode on LT for different type application:
302 302  
303 303  * (% style="color:blue" %)**MOD1**(%%): (default setting): 2 x ACI + 2AVI + DI + DO + RO
311 +
304 304  * (% style="color:blue" %)**MOD2**(%%): Double DI Counting + DO + RO
313 +
305 305  * (% style="color:blue" %)**MOD3**(%%): Single DI Counting + 2 x ACI + DO + RO
315 +
306 306  * (% style="color:blue" %)**MOD4**(%%): Single DI Counting + 1 x Voltage Counting + DO + RO
317 +
307 307  * (% style="color:blue" %)**MOD5**(%%): Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
319 +
308 308  * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5
309 309  
310 -
311 311  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
312 312  
313 313  
314 314  (((
315 -The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
326 +The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. (% style="display:none" %)
327 +
328 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
329 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**
330 +|Value|(((
331 +AVI1 voltage
332 +)))|(((
333 +AVI2 voltage
334 +)))|(((
335 +ACI1 Current
336 +)))|(((
337 +ACI2 Current
338 +)))|DIDORO*|(((
339 +Reserve
340 +)))|MOD
316 316  )))
317 317  
318 -[[image:image-20220523174024-3.png]]
319 -
320 320  (((
321 -
322 -
323 323  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
345 +
346 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
347 +|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
348 +|RO1|RO2|DI3|DI2|DI1|DO3|DO2|DO1
324 324  )))
325 325  
326 -[[image:image-20220523174254-4.png]]
327 -
328 328  * RO is for relay. ROx=1 : close,ROx=0 always open.
329 329  * DI is for digital input. DIx=1: high or float, DIx=0: low.
330 330  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
... ... @@ -364,7 +364,6 @@
364 364  ** DO1 is high in case there is load between DO1 and V+.
365 365  ** DO1 LED is off in both case
366 366  
367 -
368 368  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
369 369  
370 370  
... ... @@ -374,18 +374,24 @@
374 374  
375 375  (((
376 376  Total : 11 bytes payload
399 +
400 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
401 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**
402 +|Value|COUNT1|COUNT2 |DIDORO*|(((
403 +Reserve
404 +)))|MOD
377 377  )))
378 378  
379 -[[image:image-20220523180452-3.png]]
380 -
381 -
382 382  (((
383 383  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
384 -)))
385 385  
386 -[[image:image-20220523180506-4.png]]
410 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
411 +|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
412 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
387 387  
388 -* RO is for relay. ROx=1 : close,ROx=0 always open.
414 +RO is for relay. ROx=1 : close,ROx=0 always open.
415 +)))
416 +
389 389  * FIRST: Indicate this is the first packet after join network.
390 390  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
391 391  
... ... @@ -416,14 +416,11 @@
416 416  
417 417  
418 418  (% style="color:#4f81bd" %)**AT Commands for counting:**
419 -
420 -
421 421  )))
422 422  
423 423  (((
424 424  **For LT22222-L:**
425 425  
426 -
427 427  (% style="color:blue" %)**AT+TRIG1=0,100**(%%)**  (set DI1 port to trigger on low level, valid signal is 100ms) **
428 428  
429 429  (% style="color:blue" %)**AT+TRIG1=1,100**(%%)**  (set DI1 port to trigger on high level, valid signal is 100ms ) **
... ... @@ -438,22 +438,27 @@
438 438  )))
439 439  
440 440  
441 -
442 442  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
443 443  
444 444  
445 445  **LT22222-L**: This mode the DI1 is used as a counting pin.
446 446  
447 -[[image:image-20220523181246-5.png]]
471 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
472 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**
473 +|Value|COUNT1|(((
474 +ACI1 Current
475 +)))|(((
476 +ACI2 Current
477 +)))|DIDORO*|Reserve|MOD
448 448  
449 449  (((
450 -
451 -
452 452  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
481 +
482 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
483 +|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
484 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
453 453  )))
454 454  
455 -[[image:image-20220523181301-6.png]]
456 -
457 457  * RO is for relay. ROx=1 : close,ROx=0 always open.
458 458  * FIRST: Indicate this is the first packet after join network.
459 459  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
... ... @@ -485,7 +485,6 @@
485 485  )))
486 486  
487 487  
488 -
489 489  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
490 490  
491 491  
... ... @@ -495,17 +495,22 @@
495 495  
496 496  (((
497 497  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.
527 +
528 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
529 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**
530 +|Value|COUNT1|AVI1 Counting|DIDORO*|(((
531 +Reserve
532 +)))|MOD
498 498  )))
499 499  
500 -[[image:image-20220523181903-8.png]]
501 -
502 -
503 503  (((
504 504  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
537 +
538 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
539 +|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
540 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
505 505  )))
506 506  
507 -[[image:image-20220523181727-7.png]]
508 -
509 509  * RO is for relay. ROx=1 : close,ROx=0 always open.
510 510  * FIRST: Indicate this is the first packet after join network.
511 511  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
... ... @@ -539,11 +539,8 @@
539 539  )))
540 540  
541 541  (((
542 -
543 -
544 544  **Plus below command for AVI1 Counting:**
545 545  
546 -
547 547  (% style="color:blue" %)**AT+SETCNT=3,60**(%%)**  (set AVI Count to 60)**
548 548  
549 549  (% style="color:blue" %)**AT+VOLMAX=20000**(%%)**  (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
... ... @@ -554,18 +554,29 @@
554 554  )))
555 555  
556 556  
557 -
558 558  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
559 559  
560 560  
561 561  **LT22222-L**: This mode the DI1 is used as a counting pin.
562 562  
563 -[[image:image-20220523182334-9.png]]
593 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
594 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**
595 +|Value|(((
596 +AVI1 voltage
597 +)))|(((
598 +AVI2 voltage
599 +)))|(((
600 +ACI1 Current
601 +)))|COUNT1|DIDORO*|(((
602 +Reserve
603 +)))|MOD
564 564  
565 565  (((
566 -
567 -
568 568  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
607 +
608 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
609 +|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
610 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
569 569  )))
570 570  
571 571  * RO is for relay. ROx=1 : close,ROx=0 always open.
... ... @@ -602,7 +602,6 @@
602 602  )))
603 603  
604 604  
605 -
606 606  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
607 607  
608 608  
... ... @@ -657,7 +657,6 @@
657 657  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
658 658  
659 659  
660 -
661 661  (% style="color:#037691" %)**Downlink Command to set Trigger Condition:**
662 662  
663 663  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
... ... @@ -692,12 +692,39 @@
692 692  
693 693  MOD6 Payload : total 11 bytes payload
694 694  
695 -[[image:image-20220524085923-1.png]]
735 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
736 +|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:110px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**6**|(% style="background-color:#d9e2f3; color:#0070c0; width:110px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**1**
737 +|Value|(((
738 +TRI_A FLAG
739 +)))|(((
740 +TRI_A Status
741 +)))|(((
742 +TRI_DI FLAG+STA
743 +)))|Reserve|Enable/Disable MOD6|(((
744 +MOD(6)
745 +)))
696 696  
697 -
698 698  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
699 699  
700 -[[image:image-20220524090106-2.png]]
749 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
750 +|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
751 +|(((
752 +AV1_LOW
753 +)))|(((
754 +AV1_HIGH
755 +)))|(((
756 +AV2_LOW
757 +)))|(((
758 +AV2_HIGH
759 +)))|(((
760 +AC1_LOW
761 +)))|(((
762 +AC1_HIGH
763 +)))|(((
764 +AC2_LOW
765 +)))|(((
766 +AC2_HIGH
767 +)))
701 701  
702 702  * Each bits shows if the corresponding trigger has been configured.
703 703  
... ... @@ -706,10 +706,27 @@
706 706  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
707 707  
708 708  
709 -
710 710  (% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below
711 711  
712 -[[image:image-20220524090249-3.png]]
778 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
779 +|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
780 +|(((
781 +AV1_LOW
782 +)))|(((
783 +AV1_HIGH
784 +)))|(((
785 +AV2_LOW
786 +)))|(((
787 +AV2_HIGH
788 +)))|(((
789 +AC1_LOW
790 +)))|(((
791 +AC1_HIGH
792 +)))|(((
793 +AC2_LOW
794 +)))|(((
795 +AC2_HIGH
796 +)))
713 713  
714 714  * Each bits shows which status has been trigger on this uplink.
715 715  
... ... @@ -718,10 +718,11 @@
718 718  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
719 719  
720 720  
721 -
722 722  (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
723 723  
724 -[[image:image-20220524090456-4.png]]
807 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
808 +|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
809 +|N/A|N/A|N/A|N/A|DI2_STATUS|DI2_FLAG|DI1_STATUS|DI1_FLAG
725 725  
726 726  * Each bits shows which status has been trigger on this uplink.
727 727  
... ... @@ -732,7 +732,6 @@
732 732  00000101: Means both DI1 and DI2 trigger are enabled.
733 733  
734 734  
735 -
736 736  (% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable.
737 737  
738 738  Downlink command to poll MOD6 status:
... ... @@ -742,7 +742,6 @@
742 742  When device got this command, it will send the MOD6 payload.
743 743  
744 744  
745 -
746 746  === 3.3.7 Payload Decoder ===
747 747  
748 748  (((
... ... @@ -752,7 +752,6 @@
752 752  )))
753 753  
754 754  
755 -
756 756  == 3.4 ​Configure LT via AT or Downlink ==
757 757  
758 758  
... ... @@ -778,10 +778,8 @@
778 778  )))
779 779  
780 780  
781 -
782 782  === 3.4.2 Sensor related commands ===
783 783  
784 -
785 785  ==== 3.4.2.1 Set Transmit Interval ====
786 786  
787 787  
... ... @@ -806,14 +806,10 @@
806 806  
807 807  Set work mode.
808 808  
809 -* (% style="color:#037691" %)**AT Command:**
889 +* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+MOD=N  **
810 810  
811 -(% style="color:blue" %)**AT+MOD=N  **
812 -
813 -
814 814  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
815 815  
816 -
817 817  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
818 818  
819 819  (% style="color:blue" %)**0x0A aa  **(%%)** ** ~/~/ Same as AT+MOD=aa
... ... @@ -823,16 +823,12 @@
823 823  ==== 3.4.2.3 Poll an uplink ====
824 824  
825 825  
826 -* (% style="color:#037691" %)**AT Command:**
902 +* (% style="color:#037691" %)**AT Command:**(%%) There is no AT Command to poll uplink
827 827  
828 -There is no AT Command to poll uplink
829 -
830 -
831 831  * (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**
832 832  
833 833  (% style="color:blue" %)**0x08 FF  **(%%)** **~/~/ Poll an uplink
834 834  
835 -
836 836  **Example**: 0x08FF, ask device to send an Uplink
837 837  
838 838  
... ... @@ -842,10 +842,8 @@
842 842  
843 843  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
844 844  
845 -* (% style="color:#037691" %)**AT Command:**
917 +* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+ADDMOD6=1 or 0**
846 846  
847 -(% style="color:blue" %)**AT+ADDMOD6=1 or 0**
848 -
849 849  (% style="color:red" %)**1:** (%%)Enable Trigger Mode
850 850  
851 851  (% style="color:red" %)**0: **(%%)Disable Trigger Mode
... ... @@ -857,17 +857,15 @@
857 857  
858 858  
859 859  
860 -
861 861  ==== 3.4.2.5 Poll trigger settings ====
862 862  
863 863  
864 -Poll trigger settings,
933 +Poll trigger settings
865 865  
866 866  * (% style="color:#037691" %)**AT Command:**
867 867  
868 868  There is no AT Command for this feature.
869 869  
870 -
871 871  * (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):**
872 872  
873 873  (% style="color:blue" %)**0xAB 06  ** (%%) ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command
... ... @@ -879,15 +879,11 @@
879 879  
880 880  Enable Disable DI1/DI2/DI2 as trigger,
881 881  
882 -* (% style="color:#037691" %)**AT Command:**
950 +* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
883 883  
884 -(% style="color:blue" %)**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
952 +**Example:** AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
885 885  
886 886  
887 -**Example:**
888 -
889 -AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
890 -
891 891  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):**
892 892  
893 893  (% style="color:blue" %)**0xAA 02 aa bb   ** (%%) ~/~/ Same as AT+DTRI=aa,bb
... ... @@ -899,20 +899,15 @@
899 899  
900 900  Set DI1 or DI3(for LT-33222-L) trigger.
901 901  
902 -* (% style="color:#037691" %)**AT Command:**
966 +* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+TRIG1=a,b**
903 903  
904 -(% style="color:blue" %)**AT+TRIG1=a,b**
905 -
906 906  (% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
907 907  
908 908  (% style="color:red" %)**b :** (%%)delay timing.
909 909  
972 +**Example:** AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
910 910  
911 -**Example:**
912 912  
913 -AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
914 -
915 -
916 916  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
917 917  
918 918  (% style="color:blue" %)**0x09 01 aa bb cc    ** (%%) ~/~/ same as AT+TRIG1=aa,0x(bb cc)
... ... @@ -924,23 +924,18 @@
924 924  
925 925  Set DI2 trigger.
926 926  
927 -* (% style="color:#037691" %)**AT Command:**
986 +* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+TRIG2=a,b**
928 928  
929 -(% style="color:blue" %)**AT+TRIG2=a,b**
930 -
931 931  (% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
932 932  
933 933  (% style="color:red" %)**b :** (%%)delay timing.
934 934  
992 +**Example:** AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
935 935  
936 -**Example:**
937 937  
938 -AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
939 -
940 -
941 941  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**
942 942  
943 -(% style="color:blue" %)**0x09 02 aa bb cc   ** (%%)~/~/ same as AT+TRIG1=aa,0x(bb cc)
997 +(% style="color:blue" %)**0x09 02 aa bb cc   ** (%%)~/~/ same as AT+TRIG2=aa,0x(bb cc)
944 944  
945 945  
946 946  
... ... @@ -949,11 +949,8 @@
949 949  
950 950  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
951 951  
952 -* (% style="color:#037691" %)**AT Command**
1006 +* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+ACLIM**
953 953  
954 -(% style="color:blue" %)**AT+ACLIM**
955 -
956 -
957 957  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**
958 958  
959 959  (% 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"]]
... ... @@ -965,11 +965,8 @@
965 965  
966 966  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
967 967  
968 -* (% style="color:#037691" %)**AT Command**
1019 +* (% style="color:#037691" %)**AT Command**(%%): (% style="color:blue" %)**AT+AVLIM    **(%%)** See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
969 969  
970 -(% style="color:blue" %)**AT+AVLIM    **(%%)** See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
971 -
972 -
973 973  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**
974 974  
975 975  (% 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"]]
... ... @@ -981,18 +981,13 @@
981 981  
982 982  Set AV and AC trigger minimum interval, system won't response to the second trigger within this set time after the first trigger.
983 983  
984 -* (% style="color:#037691" %)**AT Command**
1032 +* (% style="color:#037691" %)**AT Command**(%%): (% style="color:blue" %)**AT+ATDC=5        ** ~/~/ (%%)Device won't response the second trigger within 5 minute after the first trigger.
985 985  
986 -(% style="color:blue" %)**AT+ATDC=5        ** (%%)Device won't response the second trigger within 5 minute after the first trigger.
987 -
988 -
989 989  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
990 990  
991 991  (% style="color:blue" %)**0x AC aa bb   **(%%) ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
992 992  
993 993  (((
994 -
995 -
996 996  (% style="color:red" %)**Note: ATDC setting must be more than 5min**
997 997  )))
998 998  
... ... @@ -1007,8 +1007,9 @@
1007 1007  
1008 1008  
1009 1009  * (% style="color:#037691" %)**Downlink Payload (prefix 0x02)**
1010 -* (% style="color:blue" %)**0x02 aa bb cc     ** (%%)~/~/ Set DO1/DO2/DO3 output
1011 1011  
1054 +(% style="color:blue" %)**0x02 aa bb cc     ** (%%)~/~/ Set DO1/DO2/DO3 output
1055 +
1012 1012  (((
1013 1013  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
1014 1014  )))
... ... @@ -1015,10 +1015,14 @@
1015 1015  
1016 1016  (((
1017 1017  01: Low,  00: High ,  11: No action
1062 +
1063 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
1064 +|(% 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**
1065 +|02  01  00  11|Low|High|No Action
1066 +|02  00  11  01|High|No Action|Low
1067 +|02  11  01  00|No Action|Low|High
1018 1018  )))
1019 1019  
1020 -[[image:image-20220524092754-5.png]]
1021 -
1022 1022  (((
1023 1023  (% style="color:red" %)**Note: For LT-22222-L, there is no DO3, the last byte can use any value.**
1024 1024  )))
... ... @@ -1055,23 +1055,37 @@
1055 1055  
1056 1056  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1057 1057  
1058 -[[image:image-20220524093238-6.png]]
1106 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1107 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Second Byte**|(% style="background-color:#d9e2f3; color:#0070c0" %)**Status**
1108 +|0x01|DO1 set to low
1109 +|0x00|DO1 set to high
1110 +|0x11|DO1 NO Action
1059 1059  
1060 -
1061 1061  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1062 1062  
1063 -[[image:image-20220524093328-7.png]]
1114 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1115 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Second Byte**|(% style="background-color:#d9e2f3; color:#0070c0" %)**Status**
1116 +|0x01|DO2 set to low
1117 +|0x00|DO2 set to high
1118 +|0x11|DO2 NO Action
1064 1064  
1065 -
1066 1066  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1067 1067  
1068 -[[image:image-20220524093351-8.png]]
1122 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1123 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Second Byte**|(% style="background-color:#d9e2f3; color:#0070c0" %)**Status**
1124 +|0x01|DO3 set to low
1125 +|0x00|DO3 set to high
1126 +|0x11|DO3 NO Action
1069 1069  
1128 +(% style="color:#4f81bd" %)**Sixth and Seventh and Eighth and Ninth Byte**:(%%) Latching time. Unit: ms
1070 1070  
1071 -(% style="color:#4f81bd" %)**Sixth and Seventh and Eighth and Ninth Byte**:
1072 1072  
1073 - Latching time. Unit: ms
1131 +(% style="color:red" %)**Note: **
1074 1074  
1133 + Since Firmware v1.6.0, the latch time support 4 bytes and 2 bytes
1134 +
1135 + Before Firmwre v1.6.0 the latch time only suport 2 bytes.
1136 +
1075 1075  (% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1076 1076  
1077 1077  
... ... @@ -1095,7 +1095,7 @@
1095 1095  
1096 1096  
1097 1097  
1098 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1160 +==== 3.4.2. 14 Relay ~-~- Control Relay Output RO1/RO2 ====
1099 1099  
1100 1100  
1101 1101  * (% style="color:#037691" %)**AT Command:**
... ... @@ -1114,10 +1114,17 @@
1114 1114  
1115 1115  (((
1116 1116  01: Close ,  00: Open , 11: No action
1117 -)))
1118 1118  
1119 -(((
1120 -[[image:image-20220524093724-9.png]]
1180 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:320px" %)
1181 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Downlink Code**|(% style="background-color:#d9e2f3; color:#0070c0" %)**RO1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**RO2**
1182 +|03  00  11|Open|No Action
1183 +|03  01  11|Close|No Action
1184 +|03  11  00|No Action|Open
1185 +|03  11  01|No Action|Close
1186 +|03  00  00|Open|Open
1187 +|03  01  01|Close|Close
1188 +|03  01  00|Close|Open
1189 +|03  00  01|Open|Close
1121 1121  )))
1122 1122  
1123 1123  (% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
... ... @@ -1124,7 +1124,6 @@
1124 1124  
1125 1125  
1126 1126  
1127 -
1128 1128  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1129 1129  
1130 1130  
... ... @@ -1156,12 +1156,20 @@
1156 1156  
1157 1157  (% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms
1158 1158  
1227 +
1228 +(% style="color:red" %)**Note:**
1229 +
1230 + Since Firmware v1.6.0, the latch time support 4 bytes and 2 bytes
1231 +
1232 + Before Firmwre v1.6.0 the latch time only suport 2 bytes.
1233 +
1234 +
1159 1159  (% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1160 1160  
1161 1161  
1162 1162  **Example payload:**
1163 1163  
1164 -**~1. 05 01 11 07 D**
1240 +**~1. 05 01 11 07 D0**
1165 1165  
1166 1166  Relay1 and Relay 2 will be set to NC , last 2 seconds, then change back to original state.
1167 1167  
... ... @@ -1184,11 +1184,8 @@
1184 1184  
1185 1185  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1186 1186  
1187 -* (% style="color:#037691" %)**AT Command:**
1263 +* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+VOLMAX   ** (%%)~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1188 1188  
1189 -(% style="color:blue" %)**AT+VOLMAX   ** (%%)~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1190 -
1191 -
1192 1192  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1193 1193  
1194 1194  (% style="color:blue" %)**0xA5 aa bb cc   ** (%%)~/~/ Same as AT+VOLMAX=(aa bb),cc
... ... @@ -1198,10 +1198,8 @@
1198 1198  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1199 1199  
1200 1200  
1201 -* (% style="color:#037691" %)**AT Command:**
1274 +* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+SETCNT=aa,(bb cc dd ee) **
1202 1202  
1203 -(% style="color:blue" %)**AT+SETCNT=aa,(bb cc dd ee) **
1204 -
1205 1205  (% style="color:red" %)**aa:**(%%) 1: Set count1; 2: Set count2; 3: Set AV1 count
1206 1206  
1207 1207  (% style="color:red" %)**bb cc dd ee: **(%%)number to be set
... ... @@ -1218,11 +1218,8 @@
1218 1218  
1219 1219  Clear counting for counting mode
1220 1220  
1221 -* (% style="color:#037691" %)**AT Command:**
1292 +* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+CLRCOUNT         **(%%) ~/~/ clear all counting
1222 1222  
1223 -(% style="color:blue" %)**AT+CLRCOUNT **(%%) ~/~/ clear all counting
1224 -
1225 -
1226 1226  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1227 1227  
1228 1228  (% style="color:blue" %)**0x A6 01    ** (%%)~/~/ clear all counting
... ... @@ -1247,14 +1247,14 @@
1247 1247  
1248 1248  
1249 1249  
1250 -==== 3.4.2.20 Reset save DR DO state ====
1318 +==== 3.4.2.20 Reset save RO DO state ====
1251 1251  
1252 1252  
1253 1253  * (% style="color:#037691" %)**AT Command:**
1254 1254  
1255 -(% style="color:blue" %)**AT+RODORET=1    **(%%)~/~/ RODO will close when the device joining the network. (default)
1323 +(% style="color:blue" %)**AT+RODORESET=1    **(%%)~/~/ RODO will close when the device joining the network. (default)
1256 1256  
1257 -(% style="color:blue" %)**AT+RODORET=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.
1325 +(% 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.
1258 1258  
1259 1259  
1260 1260  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAD):**
... ... @@ -1296,7 +1296,6 @@
1296 1296  
1297 1297  
1298 1298  
1299 -
1300 1300  ==== 3.4.2.24 When the limit bytes are exceeded, upload in batches ====
1301 1301  
1302 1302  
... ... @@ -1313,7 +1313,6 @@
1313 1313  
1314 1314  
1315 1315  
1316 -
1317 1317  ==== 3.4.2.25 Copy downlink to uplink ====
1318 1318  
1319 1319  
... ... @@ -1352,7 +1352,6 @@
1352 1352  [[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"]]
1353 1353  
1354 1354  
1355 -
1356 1356  == 3.5 Integrate with Mydevice ==
1357 1357  
1358 1358  
... ... @@ -1377,7 +1377,7 @@
1377 1377  
1378 1378  (% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.
1379 1379  
1380 -(% style="color:blue" %)**Step 4**(%%): Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %)
1445 +(% style="color:blue" %)**Step 4**(%%): Search LT-22222-L(for both LT-22222-L) and add DevEUI.(% style="display:none" %)
1381 1381  
1382 1382  Search under The things network
1383 1383  
... ... @@ -1402,10 +1402,8 @@
1402 1402  [[image:image-20220524094909-5.png||height="341" width="734"]]
1403 1403  
1404 1404  
1405 -
1406 1406  == 3.6 Interface Detail ==
1407 1407  
1408 -
1409 1409  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
1410 1410  
1411 1411  
... ... @@ -1414,17 +1414,16 @@
1414 1414  [[image:1653356991268-289.png]]
1415 1415  
1416 1416  
1417 -
1418 1418  === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) ===
1419 1419  
1420 1420  
1421 1421  (((
1422 -The DI port of LT-22222-L can support NPN or PNP output sensor.
1484 +The DI port of LT-22222-L can support **NPN** or **PNP** or **Dry Contact** output sensor.
1423 1423  )))
1424 1424  
1425 1425  (((
1426 1426  (((
1427 -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.
1489 +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). (% class="mark" %)When there is active current pass NEC2501 pin1 to pin2. The DI will be active high and DI LED status will change.
1428 1428  
1429 1429  
1430 1430  )))
... ... @@ -1471,8 +1471,6 @@
1471 1471  
1472 1472  (((
1473 1473  
1474 -
1475 -
1476 1476  )))
1477 1477  
1478 1478  (((
... ... @@ -1504,8 +1504,6 @@
1504 1504  
1505 1505  (((
1506 1506  
1507 -
1508 -
1509 1509  )))
1510 1510  
1511 1511  (((
... ... @@ -1536,16 +1536,26 @@
1536 1536  )))
1537 1537  
1538 1538  
1597 +(% style="color:blue" %)**Example4**(%%): Connect to Dry Contact sensor
1539 1539  
1599 +From above DI ports circuit, we can see that active the photocoupler will need to have a voltage difference between DI+ and DI- port. While the Dry Contact sensor is a passive component which can't provide this voltage difference.
1600 +
1601 +To detect a Dry Contact, we can provide a power source to one pin of the Dry Contact. Below is a reference connection.
1602 +
1603 +[[image:image-20230616235145-1.png]]
1604 +
1605 +
1606 +
1540 1540  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1541 1541  
1542 1542  
1543 -NPN output: GND or Float. Max voltage can apply to output pin is 36v.
1610 +(% style="color:blue" %)**NPN output**(%%): GND or Float. Max voltage can apply to output pin is 36v.
1544 1544  
1612 +(% style="color:red" %)**Note: DO pins go to float when device is power off.**
1613 +
1545 1545  [[image:1653357531600-905.png]]
1546 1546  
1547 1547  
1548 -
1549 1549  === 3.6.4 Analog Input Interface ===
1550 1550  
1551 1551  
... ... @@ -1563,13 +1563,12 @@
1563 1563  
1564 1564  (% style="color:blue" %)**Specifications of the wind speed sensor:**
1565 1565  
1566 -**Red:  12~~24v**
1634 +(% style="color:red" %)**Red:  12~~24v**
1567 1567  
1568 -**Yellow:  4~~20mA**
1636 +(% style="color:#ffc000" %)**Yellow:  4~~20mA**
1569 1569  
1570 1570  **Black:  GND**
1571 1571  
1572 -
1573 1573  **Connection diagram:**
1574 1574  
1575 1575  [[image:1653357640609-758.png]]
... ... @@ -1577,12 +1577,29 @@
1577 1577  [[image:1653357648330-671.png||height="155" width="733"]]
1578 1578  
1579 1579  
1647 +Example connected to a regulated power supply to measure voltage
1580 1580  
1649 +[[image:image-20230608101532-1.png||height="606" width="447"]]
1650 +
1651 +[[image:image-20230608101608-2.jpeg||height="379" width="284"]]
1652 +
1653 +[[image:image-20230608101722-3.png||height="102" width="1139"]]
1654 +
1655 +
1656 +(% style="color:blue; font-weight:bold" %)**Specifications of the regulated power**(%%) (% style="color:blue" %)**:**
1657 +
1658 +(% style="color:red" %)**Red:  12~~24v**
1659 +
1660 +**Black:  GND**
1661 +
1662 +
1581 1581  === 3.6.5 Relay Output ===
1582 1582  
1583 1583  
1584 1584  (((
1585 -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:
1667 +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:
1668 +
1669 +**Note**: RO pins go to Open(NO) when device is power off.
1586 1586  )))
1587 1587  
1588 1588  [[image:image-20220524100215-9.png]]
... ... @@ -1591,17 +1591,46 @@
1591 1591  [[image:image-20220524100215-10.png||height="382" width="723"]]
1592 1592  
1593 1593  
1594 -
1595 1595  == 3.7 LEDs Indicators ==
1596 1596  
1597 1597  
1598 -[[image:image-20220524100748-11.png]]
1681 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
1682 +|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**LEDs**|(% style="background-color:#d9e2f3; color:#0070c0; width:470px" %)**Feature**
1683 +|**PWR**|Always on if there is power
1684 +|**SYS**|(((
1685 +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.
1686 +)))
1687 +|**TX**|(((
1688 +(((
1689 +Device boot: TX blinks 5 times.
1690 +)))
1599 1599  
1692 +(((
1693 +Successful join network: TX ON for 5 seconds.
1694 +)))
1600 1600  
1696 +(((
1697 +Transmit a LoRa packet: TX blinks once
1698 +)))
1699 +)))
1700 +|**RX**|RX blinks once when receive a packet.
1701 +|**DO1**|
1702 +|**DO2**|
1703 +|**DO3**|
1704 +|**DI2**|(((
1705 +For LT-22222-L: ON when DI2 is high, LOW when DI2 is low
1706 +)))
1707 +|**DI2**|(((
1708 +For LT-22222-L: ON when DI2 is high, LOW when DI2 is low
1709 +)))
1710 +|**DI2**|(((
1711 +For LT-22222-L: ON when DI2 is high, LOW when DI2 is low
1712 +)))
1713 +|**RO1**|
1714 +|**RO2**|
1601 1601  
1602 1602  = 4. Use AT Command =
1603 1603  
1604 -
1605 1605  == 4.1 Access AT Command ==
1606 1606  
1607 1607  
... ... @@ -1812,10 +1812,8 @@
1812 1812  )))
1813 1813  
1814 1814  
1815 -
1816 1816  == 4.2 Common AT Command Sequence ==
1817 1817  
1818 -
1819 1819  === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
1820 1820  
1821 1821  (((
... ... @@ -1860,7 +1860,6 @@
1860 1860  )))
1861 1861  
1862 1862  
1863 -
1864 1864  === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) ===
1865 1865  
1866 1866  (((
... ... @@ -1933,7 +1933,7 @@
1933 1933  **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?
1934 1934  dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.**
1935 1935  
1936 -**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**
2046 +**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.**
1937 1937  
1938 1938  
1939 1939  )))
... ... @@ -1946,7 +1946,6 @@
1946 1946  
1947 1947  )))
1948 1948  
1949 -
1950 1950  === 4.2.3 Change to Class A ===
1951 1951  
1952 1952  
... ... @@ -1958,13 +1958,19 @@
1958 1958  )))
1959 1959  
1960 1960  
2070 += 5. Case Study =
1961 1961  
1962 -= 5. FAQ =
2072 +== 5.1 Counting how many objects pass in Flow Line ==
1963 1963  
1964 1964  
1965 -== 5.1 How to upgrade the image? ==
2075 +Reference Link: [[How to set up to count objects pass in flow line>>How to set up to count objects pass in flow line]]?
1966 1966  
1967 1967  
2078 += 6. FAQ =
2079 +
2080 +== 6.1 How to upgrade the image? ==
2081 +
2082 +
1968 1968  The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to:
1969 1969  
1970 1970  * Support new features
... ... @@ -1978,7 +1978,7 @@
1978 1978  
1979 1979  (((
1980 1980  (% 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]].
1981 -(% 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]].
2096 +(% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AACrbrDN0AqLHbBat0ViWx5Da/LT-22222-L/Firmware?dl=0&subfolder_nav_tracking=1]].
1982 1982  (% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update.
1983 1983  
1984 1984  
... ... @@ -1992,8 +1992,10 @@
1992 1992  
1993 1993   [[image:image-20220524103407-12.png]]
1994 1994  
2110 +
1995 1995  [[image:image-20220524103429-13.png]]
1996 1996  
2113 +
1997 1997  [[image:image-20220524104033-15.png]]
1998 1998  
1999 1999  
... ... @@ -2005,10 +2005,8 @@
2005 2005  
2006 2006  (((
2007 2007  (((
2008 -
2125 +== 6.2 How to change the LoRa Frequency Bands/Region? ==
2009 2009  
2010 -== 5.2 How to change the LoRa Frequency Bands/Region? ==
2011 -
2012 2012  
2013 2013  )))
2014 2014  )))
... ... @@ -2020,9 +2020,8 @@
2020 2020  (((
2021 2021  
2022 2022  
2138 +== 6.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? ==
2023 2023  
2024 -== 5.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? ==
2025 -
2026 2026  
2027 2027  )))
2028 2028  
... ... @@ -2084,26 +2084,29 @@
2084 2084  [[image:1653360498588-932.png||height="485" width="726"]]
2085 2085  
2086 2086  
2201 +== 6.4 How to change the uplink interval? ==
2087 2087  
2088 -== 5.4 Can I see counting event in Serial? ==
2089 2089  
2204 +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/]]
2090 2090  
2091 -(((
2092 -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.
2093 2093  
2207 +== 6.5 Can I see counting event in Serial? ==
2094 2094  
2095 2095  
2096 -== 5.5 Can i use point to point communication for LT-22222-L? ==
2210 +(((
2211 +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.
2097 2097  
2098 2098  
2099 -Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]  ,this is [[firmware>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AADKXQ2v5ZT-S3sxdmbvE7UAa/LT-22222-L/image?dl=0&subfolder_nav_tracking=1]].
2214 +== 6.6 Can i use point to point communication for LT-22222-L? ==
2100 2100  
2101 2101  
2217 +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]].
2218 +
2102 2102  
2103 2103  )))
2104 2104  
2105 2105  (((
2106 -== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
2223 +== 6.7 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
2107 2107  
2108 2108  
2109 2109  If the device is not shut down, but directly powered off.
... ... @@ -2115,10 +2115,9 @@
2115 2115  After restart, the status before power failure will be read from flash.
2116 2116  
2117 2117  
2235 +== 6.8 Can i set up LT-22222-L as a NC(Normal Close) Relay? ==
2118 2118  
2119 -== 5.7 Can i set up LT-22222-L as a NC(Normal Close) Relay? ==
2120 2120  
2121 -
2122 2122  LT-22222-L built-in relay is NO (Normal Open). User can use an external relay to achieve Normal Close purpose. Diagram as below:
2123 2123  
2124 2124  
... ... @@ -2125,19 +2125,18 @@
2125 2125  [[image:image-20221006170630-1.png||height="610" width="945"]]
2126 2126  
2127 2127  
2128 -== 5.Can LT22222 save RO state? ==
2244 +== 6.9 Can LT22222-L save RO state? ==
2129 2129  
2246 +
2130 2130  Firmware version needs to be no less than 1.6.0.
2131 2131  
2132 2132  
2133 -= 6. Trouble Shooting =
2134 -
2135 -
2250 += 7. Trouble Shooting =
2136 2136  )))
2137 2137  
2138 2138  (((
2139 2139  (((
2140 -== 6.1 Downlink doesn't work, how to solve it? ==
2255 +== 7.1 Downlink doesn't work, how to solve it? ==
2141 2141  
2142 2142  
2143 2143  )))
... ... @@ -2150,9 +2150,8 @@
2150 2150  (((
2151 2151  
2152 2152  
2268 +== 7.2 Have trouble to upload image. ==
2153 2153  
2154 -== 6.2 Have trouble to upload image. ==
2155 -
2156 2156  
2157 2157  )))
2158 2158  
... ... @@ -2163,9 +2163,8 @@
2163 2163  (((
2164 2164  
2165 2165  
2280 +== 7.3 Why I can't join TTN in US915 /AU915 bands? ==
2166 2166  
2167 -== 6.3 Why I can't join TTN in US915 /AU915 bands? ==
2168 -
2169 2169  
2170 2170  )))
2171 2171  
... ... @@ -2174,10 +2174,9 @@
2174 2174  )))
2175 2175  
2176 2176  
2290 += 8. Order Info =
2177 2177  
2178 -= 7. Order Info =
2179 2179  
2180 -
2181 2181  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
2182 2182  
2183 2183  (% style="color:#4f81bd" %)**XXX:**
... ... @@ -2192,7 +2192,7 @@
2192 2192  * (% style="color:red" %)**IN865**(%%):  LT with frequency bands IN865
2193 2193  * (% style="color:red" %)**CN779**(%%):  LT with frequency bands CN779
2194 2194  
2195 -= 8. Packing Info =
2307 += 9. Packing Info =
2196 2196  
2197 2197  
2198 2198  **Package Includes**:
... ... @@ -2209,25 +2209,24 @@
2209 2209  * Package Size / pcs : 14.5 x 8 x 5 cm
2210 2210  * Weight / pcs : 170g
2211 2211  
2212 -
2324 += 10. Support =
2213 2213  
2214 -= 9. Support =
2215 2215  
2216 -
2217 2217  * (((
2218 2218  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.
2219 2219  )))
2220 2220  * (((
2221 -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]]
2331 +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]]
2222 2222  
2223 2223  
2224 -
2225 2225  
2226 2226  )))
2227 2227  
2228 -= 10. Reference​​​​​ =
2337 += 11. Reference​​​​​ =
2229 2229  
2230 2230  
2231 2231  * 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]]
2232 2232  * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]]
2233 2233  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
2343 +
2344 +
image-20230424115112-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +27.1 KB
Content
image-20230425173351-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +207.8 KB
Content
image-20230425173427-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +150.1 KB
Content
image-20230426161322-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +15.2 KB
Content
image-20230608101532-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +563.0 KB
Content
image-20230608101608-2.jpeg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +287.8 KB
Content
image-20230608101722-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +25.4 KB
Content
image-20230616235145-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +19.4 KB
Content