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

From version 77.99
edited by Xiaoling
on 2022/06/10 09:32
Change comment: There is no comment for this version
To version 77.64
edited by Xiaoling
on 2022/06/10 09:17
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -275,8 +275,6 @@
275 275  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
276 276  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
277 277  
278 -
279 -
280 280  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
281 281  
282 282  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -284,8 +284,6 @@
284 284  [[image:image-20220523174024-3.png]]
285 285  
286 286  (((
287 -
288 -
289 289  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
290 290  )))
291 291  
... ... @@ -299,7 +299,6 @@
299 299  
300 300  For example if payload is: [[image:image-20220523175847-2.png]]
301 301  
302 -
303 303  **The value for the interface is:  **
304 304  
305 305  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
... ... @@ -315,8 +315,6 @@
315 315  * [1] RO1 relay channel is close and the RO1 LED is ON.
316 316  * [0] RO2 relay channel is open and RO2 LED is OFF;
317 317  
318 -
319 -
320 320  **LT22222-L:**
321 321  
322 322  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -332,11 +332,8 @@
332 332  ** DO1 is high in case there is load between DO1 and V+.
333 333  ** DO1 LED is off in both case
334 334  
335 -
336 -
337 337  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
338 338  
339 -
340 340  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
341 341  
342 342  (((
... ... @@ -345,7 +345,6 @@
345 345  
346 346  [[image:image-20220523180452-3.png]]
347 347  
348 -
349 349  (((
350 350  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
351 351  )))
... ... @@ -361,8 +361,6 @@
361 361  )))
362 362  
363 363  (((
364 -
365 -
366 366  **To use counting mode, please run:**
367 367  )))
368 368  
... ... @@ -381,8 +381,6 @@
381 381  )))
382 382  
383 383  (((
384 -
385 -
386 386  (% style="color:#4f81bd" %)**AT Commands for counting:**
387 387  )))
388 388  
... ... @@ -479,9 +479,9 @@
479 479  )))
480 480  
481 481  
467 +
482 482  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
483 483  
484 -
485 485  **LT22222-L**: This mode the DI1 is used as a counting pin.
486 486  
487 487  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.
... ... @@ -488,7 +488,6 @@
488 488  
489 489  [[image:image-20220523181903-8.png]]
490 490  
491 -
492 492  (((
493 493  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
494 494  )))
... ... @@ -504,8 +504,6 @@
504 504  )))
505 505  
506 506  (((
507 -
508 -
509 509  **To use this mode, please run:**
510 510  )))
511 511  
... ... @@ -532,8 +532,6 @@
532 532  )))
533 533  
534 534  (((
535 -
536 -
537 537  **Plus below command for AVI1 Counting:**
538 538  )))
539 539  
... ... @@ -569,14 +569,11 @@
569 569  
570 570  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
571 571  
572 -
573 573  **LT22222-L**: This mode the DI1 is used as a counting pin.
574 574  
575 575  [[image:image-20220523182334-9.png]]
576 576  
577 577  (((
578 -
579 -
580 580  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
581 581  )))
582 582  
... ... @@ -591,8 +591,6 @@
591 591  )))
592 592  
593 593  (((
594 -
595 -
596 596  **To use this mode, please run:**
597 597  )))
598 598  
... ... @@ -612,6 +612,8 @@
612 612  
613 613  (((
614 614  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
590 +
591 +
615 615  )))
616 616  
617 617  
... ... @@ -618,7 +618,6 @@
618 618  
619 619  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
620 620  
621 -
622 622  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
623 623  
624 624  For example, if user has configured below commands:
... ... @@ -626,14 +626,11 @@
626 626  * **AT+MOD=1 ** **~-~->** The normal working mode
627 627  * **AT+ADDMOD6=1**   **~-~->** Enable trigger
628 628  
629 -
630 630  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
631 631  
632 632  1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN (% style="color:#4f81bd" %)**unconfirmed**(%%) data type
633 633  1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN (% style="color:#4f81bd" %)**CONFIRMED data type.**
634 634  
635 -
636 -
637 637  **AT Command to set Trigger Condition**:
638 638  
639 639  (% style="color:#4f81bd" %)**Trigger base on voltage**:
... ... @@ -647,7 +647,6 @@
647 647  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
648 648  
649 649  
650 -
651 651  (% style="color:#4f81bd" %)**Trigger base on current**:
652 652  
653 653  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -657,7 +657,6 @@
657 657  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
658 658  
659 659  
660 -
661 661  (% style="color:#4f81bd" %)**Trigger base on DI status**:
662 662  
663 663  DI status trigger Flag.
... ... @@ -664,13 +664,12 @@
664 664  
665 665  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
666 666  
667 -
668 668  **Example:**
669 669  
670 670  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
671 671  
672 672  
673 -**Downlink Command to set Trigger Condition:**
643 +**Downlink Command to set Trigger Condition**
674 674  
675 675  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
676 676  
... ... @@ -688,18 +688,14 @@
688 688  
689 689   Yy4 yy4: AC2 or AV2 high limit.
690 690  
691 -
692 692  **Example1**: AA 00 13 88 00 00 00 00 00 00
693 693  
694 694  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
695 695  
696 -
697 697  **Example2**: AA 02 01 00
698 698  
699 699  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
700 700  
701 -
702 -
703 703  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
704 704  
705 705  MOD6 Payload : total 11 bytes payload
... ... @@ -706,7 +706,6 @@
706 706  
707 707  [[image:image-20220524085923-1.png]]
708 708  
709 -
710 710  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
711 711  
712 712  [[image:image-20220524090106-2.png]]
... ... @@ -713,8 +713,6 @@
713 713  
714 714  * Each bits shows if the corresponding trigger has been configured.
715 715  
716 -
717 -
718 718  **Example:**
719 719  
720 720  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
... ... @@ -726,8 +726,6 @@
726 726  
727 727  * Each bits shows which status has been trigger on this uplink.
728 728  
729 -
730 -
731 731  **Example:**
732 732  
733 733  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
... ... @@ -739,8 +739,6 @@
739 739  
740 740  * Each bits shows which status has been trigger on this uplink.
741 741  
742 -
743 -
744 744  **Example:**
745 745  
746 746  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
... ... @@ -761,8 +761,6 @@
761 761  === 3.3.7 Payload Decoder ===
762 762  
763 763  (((
764 -
765 -
766 766  **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/]]
767 767  
768 768  
... ... @@ -782,8 +782,6 @@
782 782  
783 783  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
784 784  
785 -
786 -
787 787  === 3.4.1 Common Commands ===
788 788  
789 789  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]]
... ... @@ -805,7 +805,6 @@
805 805  
806 806  **Example: **AT+TDC=30000. Means set interval to 30 seconds
807 807  
808 -
809 809  * Downlink Payload (prefix 0x01):
810 810  
811 811  (% class="box infomessage" %)
... ... @@ -828,7 +828,6 @@
828 828  
829 829  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
830 830  
831 -
832 832  * Downlink Payload (prefix 0x0A):
833 833  
834 834  (% class="box infomessage" %)
... ... @@ -844,7 +844,6 @@
844 844  
845 845  There is no AT Command to poll uplink
846 846  
847 -
848 848  * Downlink Payload (prefix 0x08):
849 849  
850 850  (% class="box infomessage" %)
... ... @@ -871,7 +871,6 @@
871 871  
872 872  0: Disable Trigger Mode
873 873  
874 -
875 875  * Downlink Payload (prefix 0x0A 06):
876 876  
877 877  (% class="box infomessage" %)
... ... @@ -889,7 +889,6 @@
889 889  
890 890  There is no AT Command for this feature.
891 891  
892 -
893 893  * Downlink Payload (prefix 0x AB 06):
894 894  
895 895  (% class="box infomessage" %)
... ... @@ -910,7 +910,6 @@
910 910  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
911 911  )))
912 912  
913 -
914 914  **Example:**
915 915  
916 916  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
... ... @@ -939,12 +939,10 @@
939 939  
940 940  b : delay timing.
941 941  
942 -
943 943  **Example:**
944 944  
945 945  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
946 946  
947 -
948 948  * Downlink Payload (prefix 0x09 01 ):
949 949  
950 950  (% class="box infomessage" %)
... ... @@ -969,12 +969,10 @@
969 969  
970 970  b : delay timing.
971 971  
972 -
973 973  **Example:**
974 974  
975 975  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
976 976  
977 -
978 978  * Downlink Payload (prefix 0x09 02 ):
979 979  
980 980  (% class="box infomessage" %)
... ... @@ -995,7 +995,6 @@
995 995  **AT+ACLIM. **
996 996  )))
997 997  
998 -
999 999  * Downlink Payload (prefix 0xAA 01 ):
1000 1000  
1001 1001  (% class="box infomessage" %)
... ... @@ -1016,7 +1016,6 @@
1016 1016  **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1017 1017  )))
1018 1018  
1019 -
1020 1020  * Downlink Payload (prefix 0xAA 00 ):
1021 1021  
1022 1022  (% class="box infomessage" %)
... ... @@ -1037,7 +1037,6 @@
1037 1037  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1038 1038  )))
1039 1039  
1040 -
1041 1041  * Downlink Payload (prefix 0xAC ):
1042 1042  
1043 1043  (% class="box infomessage" %)
... ... @@ -1053,7 +1053,6 @@
1053 1053  
1054 1054  There is no AT Command to control Digital Output
1055 1055  
1056 -
1057 1057  * Downlink Payload (prefix 0x02):
1058 1058  
1059 1059  (% class="box infomessage" %)
... ... @@ -1087,7 +1087,6 @@
1087 1087  
1088 1088  There is no AT Command to control Digital Output
1089 1089  
1090 -
1091 1091  * Downlink Payload (prefix 0xA9):
1092 1092  
1093 1093  (% class="box infomessage" %)
... ... @@ -1107,22 +1107,18 @@
1107 1107  
1108 1108  00: DO pins will change to an inverter state after timeout 
1109 1109  
1110 -
1111 1111  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1112 1112  
1113 1113  [[image:image-20220524093238-6.png]]
1114 1114  
1115 -
1116 1116  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1117 1117  
1118 1118  [[image:image-20220524093328-7.png]]
1119 1119  
1120 -
1121 1121  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1122 1122  
1123 1123  [[image:image-20220524093351-8.png]]
1124 1124  
1125 -
1126 1126  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1127 1127  
1128 1128   Latching time. Unit: ms
... ... @@ -1129,7 +1129,6 @@
1129 1129  
1130 1130  Device will upload a packet if downlink code executes successfully.
1131 1131  
1132 -
1133 1133  **Example payload:**
1134 1134  
1135 1135  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1150,13 +1150,12 @@
1150 1150  
1151 1151  
1152 1152  
1153 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1154 1154  
1155 1155  * AT Command:
1156 1156  
1157 1157  There is no AT Command to control Relay Output
1158 1158  
1159 -
1160 1160  * Downlink Payload (prefix 0x03):
1161 1161  
1162 1162  (% class="box infomessage" %)