Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Mengting Qiu on 2025/06/04 18:42
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -275,7 +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 279 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 280 280 281 281 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -283,8 +283,6 @@ 283 283 [[image:image-20220523174024-3.png]] 284 284 285 285 ((( 286 - 287 - 288 288 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 289 289 ))) 290 290 ... ... @@ -298,7 +298,6 @@ 298 298 299 299 For example if payload is: [[image:image-20220523175847-2.png]] 300 300 301 - 302 302 **The value for the interface is: ** 303 303 304 304 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V ... ... @@ -329,10 +329,8 @@ 329 329 ** DO1 is high in case there is load between DO1 and V+. 330 330 ** DO1 LED is off in both case 331 331 332 - 333 333 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 334 334 335 - 336 336 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 337 337 338 338 ((( ... ... @@ -341,7 +341,6 @@ 341 341 342 342 [[image:image-20220523180452-3.png]] 343 343 344 - 345 345 ((( 346 346 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 347 347 ))) ... ... @@ -357,8 +357,6 @@ 357 357 ))) 358 358 359 359 ((( 360 - 361 - 362 362 **To use counting mode, please run:** 363 363 ))) 364 364 ... ... @@ -377,8 +377,6 @@ 377 377 ))) 378 378 379 379 ((( 380 - 381 - 382 382 (% style="color:#4f81bd" %)**AT Commands for counting:** 383 383 ))) 384 384 ... ... @@ -475,9 +475,9 @@ 475 475 ))) 476 476 477 477 467 + 478 478 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 479 479 480 - 481 481 **LT22222-L**: This mode the DI1 is used as a counting pin. 482 482 483 483 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. ... ... @@ -484,7 +484,6 @@ 484 484 485 485 [[image:image-20220523181903-8.png]] 486 486 487 - 488 488 ((( 489 489 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 490 490 ))) ... ... @@ -500,8 +500,6 @@ 500 500 ))) 501 501 502 502 ((( 503 - 504 - 505 505 **To use this mode, please run:** 506 506 ))) 507 507 ... ... @@ -528,8 +528,6 @@ 528 528 ))) 529 529 530 530 ((( 531 - 532 - 533 533 **Plus below command for AVI1 Counting:** 534 534 ))) 535 535 ... ... @@ -565,14 +565,11 @@ 565 565 566 566 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 567 567 568 - 569 569 **LT22222-L**: This mode the DI1 is used as a counting pin. 570 570 571 571 [[image:image-20220523182334-9.png]] 572 572 573 573 ((( 574 - 575 - 576 576 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 577 577 ))) 578 578 ... ... @@ -587,8 +587,6 @@ 587 587 ))) 588 588 589 589 ((( 590 - 591 - 592 592 **To use this mode, please run:** 593 593 ))) 594 594 ... ... @@ -608,6 +608,8 @@ 608 608 609 609 ((( 610 610 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 590 + 591 + 611 611 ))) 612 612 613 613 ... ... @@ -614,7 +614,6 @@ 614 614 615 615 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 616 616 617 - 618 618 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 619 619 620 620 For example, if user has configured below commands: ... ... @@ -622,14 +622,11 @@ 622 622 * **AT+MOD=1 ** **~-~->** The normal working mode 623 623 * **AT+ADDMOD6=1** **~-~->** Enable trigger 624 624 625 - 626 626 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 627 627 628 628 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 629 629 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.** 630 630 631 - 632 - 633 633 **AT Command to set Trigger Condition**: 634 634 635 635 (% style="color:#4f81bd" %)**Trigger base on voltage**: ... ... @@ -643,7 +643,6 @@ 643 643 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 644 644 645 645 646 - 647 647 (% style="color:#4f81bd" %)**Trigger base on current**: 648 648 649 649 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -653,7 +653,6 @@ 653 653 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 654 654 655 655 656 - 657 657 (% style="color:#4f81bd" %)**Trigger base on DI status**: 658 658 659 659 DI status trigger Flag. ... ... @@ -660,13 +660,12 @@ 660 660 661 661 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 662 662 663 - 664 664 **Example:** 665 665 666 666 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 667 667 668 668 669 -**Downlink Command to set Trigger Condition :**643 +**Downlink Command to set Trigger Condition** 670 670 671 671 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 672 672 ... ... @@ -684,18 +684,14 @@ 684 684 685 685 Yy4 yy4: AC2 or AV2 high limit. 686 686 687 - 688 688 **Example1**: AA 00 13 88 00 00 00 00 00 00 689 689 690 690 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 691 691 692 - 693 693 **Example2**: AA 02 01 00 694 694 695 695 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 696 696 697 - 698 - 699 699 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 700 700 701 701 MOD6 Payload : total 11 bytes payload ... ... @@ -702,7 +702,6 @@ 702 702 703 703 [[image:image-20220524085923-1.png]] 704 704 705 - 706 706 (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 707 707 708 708 [[image:image-20220524090106-2.png]] ... ... @@ -709,8 +709,6 @@ 709 709 710 710 * Each bits shows if the corresponding trigger has been configured. 711 711 712 - 713 - 714 714 **Example:** 715 715 716 716 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -722,8 +722,6 @@ 722 722 723 723 * Each bits shows which status has been trigger on this uplink. 724 724 725 - 726 - 727 727 **Example:** 728 728 729 729 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -735,8 +735,6 @@ 735 735 736 736 * Each bits shows which status has been trigger on this uplink. 737 737 738 - 739 - 740 740 **Example:** 741 741 742 742 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -757,8 +757,6 @@ 757 757 === 3.3.7 Payload Decoder === 758 758 759 759 ((( 760 - 761 - 762 762 **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/]] 763 763 764 764 ... ... @@ -778,8 +778,6 @@ 778 778 779 779 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 780 780 781 - 782 - 783 783 === 3.4.1 Common Commands === 784 784 785 785 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]] ... ... @@ -801,7 +801,6 @@ 801 801 802 802 **Example: **AT+TDC=30000. Means set interval to 30 seconds 803 803 804 - 805 805 * Downlink Payload (prefix 0x01): 806 806 807 807 (% class="box infomessage" %) ... ... @@ -824,7 +824,6 @@ 824 824 825 825 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 826 826 827 - 828 828 * Downlink Payload (prefix 0x0A): 829 829 830 830 (% class="box infomessage" %) ... ... @@ -840,7 +840,6 @@ 840 840 841 841 There is no AT Command to poll uplink 842 842 843 - 844 844 * Downlink Payload (prefix 0x08): 845 845 846 846 (% class="box infomessage" %) ... ... @@ -867,7 +867,6 @@ 867 867 868 868 0: Disable Trigger Mode 869 869 870 - 871 871 * Downlink Payload (prefix 0x0A 06): 872 872 873 873 (% class="box infomessage" %) ... ... @@ -885,7 +885,6 @@ 885 885 886 886 There is no AT Command for this feature. 887 887 888 - 889 889 * Downlink Payload (prefix 0x AB 06): 890 890 891 891 (% class="box infomessage" %) ... ... @@ -906,7 +906,6 @@ 906 906 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 907 907 ))) 908 908 909 - 910 910 **Example:** 911 911 912 912 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) ... ... @@ -935,12 +935,10 @@ 935 935 936 936 b : delay timing. 937 937 938 - 939 939 **Example:** 940 940 941 941 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 942 942 943 - 944 944 * Downlink Payload (prefix 0x09 01 ): 945 945 946 946 (% class="box infomessage" %) ... ... @@ -965,12 +965,10 @@ 965 965 966 966 b : delay timing. 967 967 968 - 969 969 **Example:** 970 970 971 971 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 972 972 973 - 974 974 * Downlink Payload (prefix 0x09 02 ): 975 975 976 976 (% class="box infomessage" %) ... ... @@ -991,7 +991,6 @@ 991 991 **AT+ACLIM. ** 992 992 ))) 993 993 994 - 995 995 * Downlink Payload (prefix 0xAA 01 ): 996 996 997 997 (% class="box infomessage" %) ... ... @@ -1012,7 +1012,6 @@ 1012 1012 **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 1013 1013 ))) 1014 1014 1015 - 1016 1016 * Downlink Payload (prefix 0xAA 00 ): 1017 1017 1018 1018 (% class="box infomessage" %) ... ... @@ -1033,7 +1033,6 @@ 1033 1033 **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 1034 1034 ))) 1035 1035 1036 - 1037 1037 * Downlink Payload (prefix 0xAC ): 1038 1038 1039 1039 (% class="box infomessage" %) ... ... @@ -1049,7 +1049,6 @@ 1049 1049 1050 1050 There is no AT Command to control Digital Output 1051 1051 1052 - 1053 1053 * Downlink Payload (prefix 0x02): 1054 1054 1055 1055 (% class="box infomessage" %) ... ... @@ -1083,7 +1083,6 @@ 1083 1083 1084 1084 There is no AT Command to control Digital Output 1085 1085 1086 - 1087 1087 * Downlink Payload (prefix 0xA9): 1088 1088 1089 1089 (% class="box infomessage" %) ... ... @@ -1103,22 +1103,18 @@ 1103 1103 1104 1104 00: DO pins will change to an inverter state after timeout 1105 1105 1106 - 1107 1107 (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 1108 1108 1109 1109 [[image:image-20220524093238-6.png]] 1110 1110 1111 - 1112 1112 (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 1113 1113 1114 1114 [[image:image-20220524093328-7.png]] 1115 1115 1116 - 1117 1117 (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 1118 1118 1119 1119 [[image:image-20220524093351-8.png]] 1120 1120 1121 - 1122 1122 (% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 1123 1123 1124 1124 Latching time. Unit: ms ... ... @@ -1125,7 +1125,6 @@ 1125 1125 1126 1126 Device will upload a packet if downlink code executes successfully. 1127 1127 1128 - 1129 1129 **Example payload:** 1130 1130 1131 1131 **~1. A9 01 01 01 01 07 D0** ... ... @@ -1146,13 +1146,12 @@ 1146 1146 1147 1147 1148 1148 1149 -=== =3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 === 1150 1150 1151 1151 * AT Command: 1152 1152 1153 1153 There is no AT Command to control Relay Output 1154 1154 1155 - 1156 1156 * Downlink Payload (prefix 0x03): 1157 1157 1158 1158 (% class="box infomessage" %) ... ... @@ -1182,7 +1182,6 @@ 1182 1182 1183 1183 There is no AT Command to control Relay Output 1184 1184 1185 - 1186 1186 * Downlink Payload (prefix 0x05): 1187 1187 1188 1188 (% class="box infomessage" %) ... ... @@ -1200,17 +1200,14 @@ 1200 1200 1201 1201 00: Relays will change to an inverter state after timeout 1202 1202 1203 - 1204 1204 (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status: 1205 1205 1206 1206 [[image:image-20220524093831-10.png]] 1207 1207 1208 - 1209 1209 (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms 1210 1210 1211 1211 Device will upload a packet if downlink code executes successfully. 1212 1212 1213 - 1214 1214 **Example payload:** 1215 1215 1216 1216 **~1. 05 01 11 07 D0** ... ... @@ -1242,7 +1242,6 @@ 1242 1242 **AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1243 1243 ))) 1244 1244 1245 - 1246 1246 * Downlink Payload (prefix 0xA5): 1247 1247 1248 1248 (% class="box infomessage" %) ... ... @@ -1269,7 +1269,6 @@ 1269 1269 1270 1270 Bb cc dd ee: number to be set 1271 1271 1272 - 1273 1273 * Downlink Payload (prefix 0xA8): 1274 1274 1275 1275 (% class="box infomessage" %) ... ... @@ -1322,6 +1322,7 @@ 1322 1322 ))) 1323 1323 1324 1324 1257 + 1325 1325 == 3.5 Integrate with Mydevice == 1326 1326 1327 1327 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: