Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -327,6 +327,7 @@ 327 327 328 328 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 329 329 330 + 330 330 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 331 331 332 332 ((( ... ... @@ -335,6 +335,7 @@ 335 335 336 336 [[image:image-20220523180452-3.png]] 337 337 339 + 338 338 ((( 339 339 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 340 340 ))) ... ... @@ -350,6 +350,8 @@ 350 350 ))) 351 351 352 352 ((( 355 + 356 + 353 353 **To use counting mode, please run:** 354 354 ))) 355 355 ... ... @@ -368,6 +368,8 @@ 368 368 ))) 369 369 370 370 ((( 375 + 376 + 371 371 (% style="color:#4f81bd" %)**AT Commands for counting:** 372 372 ))) 373 373 ... ... @@ -464,9 +464,9 @@ 464 464 ))) 465 465 466 466 467 - 468 468 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 469 469 475 + 470 470 **LT22222-L**: This mode the DI1 is used as a counting pin. 471 471 472 472 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. ... ... @@ -473,6 +473,7 @@ 473 473 474 474 [[image:image-20220523181903-8.png]] 475 475 482 + 476 476 ((( 477 477 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 478 478 ))) ... ... @@ -488,6 +488,8 @@ 488 488 ))) 489 489 490 490 ((( 498 + 499 + 491 491 **To use this mode, please run:** 492 492 ))) 493 493 ... ... @@ -514,6 +514,8 @@ 514 514 ))) 515 515 516 516 ((( 526 + 527 + 517 517 **Plus below command for AVI1 Counting:** 518 518 ))) 519 519 ... ... @@ -549,11 +549,14 @@ 549 549 550 550 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 551 551 563 + 552 552 **LT22222-L**: This mode the DI1 is used as a counting pin. 553 553 554 554 [[image:image-20220523182334-9.png]] 555 555 556 556 ((( 569 + 570 + 557 557 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 558 558 ))) 559 559 ... ... @@ -568,6 +568,8 @@ 568 568 ))) 569 569 570 570 ((( 585 + 586 + 571 571 **To use this mode, please run:** 572 572 ))) 573 573 ... ... @@ -587,8 +587,6 @@ 587 587 588 588 ((( 589 589 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 590 - 591 - 592 592 ))) 593 593 594 594 ... ... @@ -595,6 +595,7 @@ 595 595 596 596 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 597 597 612 + 598 598 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 599 599 600 600 For example, if user has configured below commands: ... ... @@ -602,11 +602,13 @@ 602 602 * **AT+MOD=1 ** **~-~->** The normal working mode 603 603 * **AT+ADDMOD6=1** **~-~->** Enable trigger 604 604 620 + 605 605 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 606 606 607 607 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 608 608 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.** 609 609 626 + 610 610 **AT Command to set Trigger Condition**: 611 611 612 612 (% style="color:#4f81bd" %)**Trigger base on voltage**: ... ... @@ -658,14 +658,17 @@ 658 658 659 659 Yy4 yy4: AC2 or AV2 high limit. 660 660 678 + 661 661 **Example1**: AA 00 13 88 00 00 00 00 00 00 662 662 663 663 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 664 664 683 + 665 665 **Example2**: AA 02 01 00 666 666 667 667 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 668 668 688 + 669 669 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 670 670 671 671 MOD6 Payload : total 11 bytes payload ... ... @@ -672,6 +672,7 @@ 672 672 673 673 [[image:image-20220524085923-1.png]] 674 674 695 + 675 675 (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 676 676 677 677 [[image:image-20220524090106-2.png]] ... ... @@ -678,6 +678,7 @@ 678 678 679 679 * Each bits shows if the corresponding trigger has been configured. 680 680 702 + 681 681 **Example:** 682 682 683 683 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -689,6 +689,7 @@ 689 689 690 690 * Each bits shows which status has been trigger on this uplink. 691 691 714 + 692 692 **Example:** 693 693 694 694 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -700,6 +700,7 @@ 700 700 701 701 * Each bits shows which status has been trigger on this uplink. 702 702 726 + 703 703 **Example:** 704 704 705 705 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -720,6 +720,8 @@ 720 720 === 3.3.7 Payload Decoder === 721 721 722 722 ((( 747 + 748 + 723 723 **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/]] 724 724 725 725 ... ... @@ -739,6 +739,8 @@ 739 739 740 740 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 741 741 768 + 769 + 742 742 === 3.4.1 Common Commands === 743 743 744 744 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]] ... ... @@ -760,6 +760,7 @@ 760 760 761 761 **Example: **AT+TDC=30000. Means set interval to 30 seconds 762 762 791 + 763 763 * Downlink Payload (prefix 0x01): 764 764 765 765 (% class="box infomessage" %) ... ... @@ -782,6 +782,7 @@ 782 782 783 783 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 784 784 814 + 785 785 * Downlink Payload (prefix 0x0A): 786 786 787 787 (% class="box infomessage" %) ... ... @@ -797,6 +797,7 @@ 797 797 798 798 There is no AT Command to poll uplink 799 799 830 + 800 800 * Downlink Payload (prefix 0x08): 801 801 802 802 (% class="box infomessage" %) ... ... @@ -823,6 +823,7 @@ 823 823 824 824 0: Disable Trigger Mode 825 825 857 + 826 826 * Downlink Payload (prefix 0x0A 06): 827 827 828 828 (% class="box infomessage" %) ... ... @@ -840,6 +840,7 @@ 840 840 841 841 There is no AT Command for this feature. 842 842 875 + 843 843 * Downlink Payload (prefix 0x AB 06): 844 844 845 845 (% class="box infomessage" %) ... ... @@ -860,6 +860,7 @@ 860 860 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 861 861 ))) 862 862 896 + 863 863 **Example:** 864 864 865 865 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) ... ... @@ -888,10 +888,12 @@ 888 888 889 889 b : delay timing. 890 890 925 + 891 891 **Example:** 892 892 893 893 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 894 894 930 + 895 895 * Downlink Payload (prefix 0x09 01 ): 896 896 897 897 (% class="box infomessage" %) ... ... @@ -916,10 +916,12 @@ 916 916 917 917 b : delay timing. 918 918 955 + 919 919 **Example:** 920 920 921 921 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 922 922 960 + 923 923 * Downlink Payload (prefix 0x09 02 ): 924 924 925 925 (% class="box infomessage" %) ... ... @@ -940,6 +940,7 @@ 940 940 **AT+ACLIM. ** 941 941 ))) 942 942 981 + 943 943 * Downlink Payload (prefix 0xAA 01 ): 944 944 945 945 (% class="box infomessage" %) ... ... @@ -960,6 +960,7 @@ 960 960 **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 961 961 ))) 962 962 1002 + 963 963 * Downlink Payload (prefix 0xAA 00 ): 964 964 965 965 (% class="box infomessage" %) ... ... @@ -980,6 +980,7 @@ 980 980 **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 981 981 ))) 982 982 1023 + 983 983 * Downlink Payload (prefix 0xAC ): 984 984 985 985 (% class="box infomessage" %) ... ... @@ -995,6 +995,7 @@ 995 995 996 996 There is no AT Command to control Digital Output 997 997 1039 + 998 998 * Downlink Payload (prefix 0x02): 999 999 1000 1000 (% class="box infomessage" %) ... ... @@ -1028,6 +1028,7 @@ 1028 1028 1029 1029 There is no AT Command to control Digital Output 1030 1030 1073 + 1031 1031 * Downlink Payload (prefix 0xA9): 1032 1032 1033 1033 (% class="box infomessage" %) ... ... @@ -1047,18 +1047,22 @@ 1047 1047 1048 1048 00: DO pins will change to an inverter state after timeout 1049 1049 1093 + 1050 1050 (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 1051 1051 1052 1052 [[image:image-20220524093238-6.png]] 1053 1053 1098 + 1054 1054 (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 1055 1055 1056 1056 [[image:image-20220524093328-7.png]] 1057 1057 1103 + 1058 1058 (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 1059 1059 1060 1060 [[image:image-20220524093351-8.png]] 1061 1061 1108 + 1062 1062 (% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 1063 1063 1064 1064 Latching time. Unit: ms ... ... @@ -1065,6 +1065,7 @@ 1065 1065 1066 1066 Device will upload a packet if downlink code executes successfully. 1067 1067 1115 + 1068 1068 **Example payload:** 1069 1069 1070 1070 **~1. A9 01 01 01 01 07 D0** ... ... @@ -1085,12 +1085,13 @@ 1085 1085 1086 1086 1087 1087 1088 -=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 === 1136 +==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1089 1089 1090 1090 * AT Command: 1091 1091 1092 1092 There is no AT Command to control Relay Output 1093 1093 1142 + 1094 1094 * Downlink Payload (prefix 0x03): 1095 1095 1096 1096 (% class="box infomessage" %) ... ... @@ -1120,6 +1120,7 @@ 1120 1120 1121 1121 There is no AT Command to control Relay Output 1122 1122 1172 + 1123 1123 * Downlink Payload (prefix 0x05): 1124 1124 1125 1125 (% class="box infomessage" %) ... ... @@ -1137,10 +1137,12 @@ 1137 1137 1138 1138 00: Relays will change to an inverter state after timeout 1139 1139 1190 + 1140 1140 (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status: 1141 1141 1142 1142 [[image:image-20220524093831-10.png]] 1143 1143 1195 + 1144 1144 (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms 1145 1145 1146 1146 Device will upload a packet if downlink code executes successfully. ... ... @@ -1177,6 +1177,7 @@ 1177 1177 **AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1178 1178 ))) 1179 1179 1232 + 1180 1180 * Downlink Payload (prefix 0xA5): 1181 1181 1182 1182 (% class="box infomessage" %) ... ... @@ -1203,6 +1203,7 @@ 1203 1203 1204 1204 Bb cc dd ee: number to be set 1205 1205 1259 + 1206 1206 * Downlink Payload (prefix 0xA8): 1207 1207 1208 1208 (% class="box infomessage" %)