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
-
... ... @@ -235,7 +235,7 @@ 235 235 ))) 236 236 237 237 ((( 238 - (% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LT IO controller.238 +**Step 1**: Create a device in TTN with the OTAA keys from LT IO controller. 239 239 ))) 240 240 241 241 ((( ... ... @@ -244,7 +244,6 @@ 244 244 245 245 [[image:1653297924498-393.png]] 246 246 247 - 248 248 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 249 249 250 250 Add APP EUI in the application. ... ... @@ -258,7 +258,7 @@ 258 258 259 259 260 260 ((( 261 - (% 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.260 +**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. 262 262 ))) 263 263 264 264 [[image:1653298044601-602.png||height="405" width="709"]] ... ... @@ -276,7 +276,6 @@ 276 276 * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 277 277 * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 278 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,7 +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 319 **LT22222-L:** 320 320 321 321 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -331,10 +331,8 @@ 331 331 ** DO1 is high in case there is load between DO1 and V+. 332 332 ** DO1 LED is off in both case 333 333 334 - 335 335 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 336 336 337 - 338 338 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 339 339 340 340 ((( ... ... @@ -343,7 +343,6 @@ 343 343 344 344 [[image:image-20220523180452-3.png]] 345 345 346 - 347 347 ((( 348 348 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 349 349 ))) ... ... @@ -359,8 +359,6 @@ 359 359 ))) 360 360 361 361 ((( 362 - 363 - 364 364 **To use counting mode, please run:** 365 365 ))) 366 366 ... ... @@ -379,8 +379,6 @@ 379 379 ))) 380 380 381 381 ((( 382 - 383 - 384 384 (% style="color:#4f81bd" %)**AT Commands for counting:** 385 385 ))) 386 386 ... ... @@ -477,9 +477,9 @@ 477 477 ))) 478 478 479 479 467 + 480 480 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 481 481 482 - 483 483 **LT22222-L**: This mode the DI1 is used as a counting pin. 484 484 485 485 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. ... ... @@ -486,7 +486,6 @@ 486 486 487 487 [[image:image-20220523181903-8.png]] 488 488 489 - 490 490 ((( 491 491 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 492 492 ))) ... ... @@ -502,8 +502,6 @@ 502 502 ))) 503 503 504 504 ((( 505 - 506 - 507 507 **To use this mode, please run:** 508 508 ))) 509 509 ... ... @@ -530,8 +530,6 @@ 530 530 ))) 531 531 532 532 ((( 533 - 534 - 535 535 **Plus below command for AVI1 Counting:** 536 536 ))) 537 537 ... ... @@ -567,14 +567,11 @@ 567 567 568 568 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 569 569 570 - 571 571 **LT22222-L**: This mode the DI1 is used as a counting pin. 572 572 573 573 [[image:image-20220523182334-9.png]] 574 574 575 575 ((( 576 - 577 - 578 578 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 579 579 ))) 580 580 ... ... @@ -589,8 +589,6 @@ 589 589 ))) 590 590 591 591 ((( 592 - 593 - 594 594 **To use this mode, please run:** 595 595 ))) 596 596 ... ... @@ -610,6 +610,8 @@ 610 610 611 611 ((( 612 612 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 590 + 591 + 613 613 ))) 614 614 615 615 ... ... @@ -616,7 +616,6 @@ 616 616 617 617 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 618 618 619 - 620 620 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 621 621 622 622 For example, if user has configured below commands: ... ... @@ -629,7 +629,6 @@ 629 629 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 630 630 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.** 631 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,7 +709,6 @@ 709 709 710 710 * Each bits shows if the corresponding trigger has been configured. 711 711 712 - 713 713 **Example:** 714 714 715 715 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -721,7 +721,6 @@ 721 721 722 722 * Each bits shows which status has been trigger on this uplink. 723 723 724 - 725 725 **Example:** 726 726 727 727 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -733,7 +733,6 @@ 733 733 734 734 * Each bits shows which status has been trigger on this uplink. 735 735 736 - 737 737 **Example:** 738 738 739 739 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -754,8 +754,6 @@ 754 754 === 3.3.7 Payload Decoder === 755 755 756 756 ((( 757 - 758 - 759 759 **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/]] 760 760 761 761 ... ... @@ -775,7 +775,6 @@ 775 775 776 776 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 777 777 778 - 779 779 === 3.4.1 Common Commands === 780 780 781 781 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]] ... ... @@ -797,7 +797,6 @@ 797 797 798 798 **Example: **AT+TDC=30000. Means set interval to 30 seconds 799 799 800 - 801 801 * Downlink Payload (prefix 0x01): 802 802 803 803 (% class="box infomessage" %) ... ... @@ -820,7 +820,6 @@ 820 820 821 821 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 822 822 823 - 824 824 * Downlink Payload (prefix 0x0A): 825 825 826 826 (% class="box infomessage" %) ... ... @@ -836,7 +836,6 @@ 836 836 837 837 There is no AT Command to poll uplink 838 838 839 - 840 840 * Downlink Payload (prefix 0x08): 841 841 842 842 (% class="box infomessage" %) ... ... @@ -863,7 +863,6 @@ 863 863 864 864 0: Disable Trigger Mode 865 865 866 - 867 867 * Downlink Payload (prefix 0x0A 06): 868 868 869 869 (% class="box infomessage" %) ... ... @@ -881,7 +881,6 @@ 881 881 882 882 There is no AT Command for this feature. 883 883 884 - 885 885 * Downlink Payload (prefix 0x AB 06): 886 886 887 887 (% class="box infomessage" %) ... ... @@ -902,7 +902,6 @@ 902 902 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 903 903 ))) 904 904 905 - 906 906 **Example:** 907 907 908 908 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) ... ... @@ -931,12 +931,10 @@ 931 931 932 932 b : delay timing. 933 933 934 - 935 935 **Example:** 936 936 937 937 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 938 938 939 - 940 940 * Downlink Payload (prefix 0x09 01 ): 941 941 942 942 (% class="box infomessage" %) ... ... @@ -961,12 +961,10 @@ 961 961 962 962 b : delay timing. 963 963 964 - 965 965 **Example:** 966 966 967 967 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 968 968 969 - 970 970 * Downlink Payload (prefix 0x09 02 ): 971 971 972 972 (% class="box infomessage" %) ... ... @@ -987,7 +987,6 @@ 987 987 **AT+ACLIM. ** 988 988 ))) 989 989 990 - 991 991 * Downlink Payload (prefix 0xAA 01 ): 992 992 993 993 (% class="box infomessage" %) ... ... @@ -1008,7 +1008,6 @@ 1008 1008 **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 1009 1009 ))) 1010 1010 1011 - 1012 1012 * Downlink Payload (prefix 0xAA 00 ): 1013 1013 1014 1014 (% class="box infomessage" %) ... ... @@ -1029,7 +1029,6 @@ 1029 1029 **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 1030 1030 ))) 1031 1031 1032 - 1033 1033 * Downlink Payload (prefix 0xAC ): 1034 1034 1035 1035 (% class="box infomessage" %) ... ... @@ -1045,7 +1045,6 @@ 1045 1045 1046 1046 There is no AT Command to control Digital Output 1047 1047 1048 - 1049 1049 * Downlink Payload (prefix 0x02): 1050 1050 1051 1051 (% class="box infomessage" %) ... ... @@ -1079,7 +1079,6 @@ 1079 1079 1080 1080 There is no AT Command to control Digital Output 1081 1081 1082 - 1083 1083 * Downlink Payload (prefix 0xA9): 1084 1084 1085 1085 (% class="box infomessage" %) ... ... @@ -1099,22 +1099,18 @@ 1099 1099 1100 1100 00: DO pins will change to an inverter state after timeout 1101 1101 1102 - 1103 1103 (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 1104 1104 1105 1105 [[image:image-20220524093238-6.png]] 1106 1106 1107 - 1108 1108 (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 1109 1109 1110 1110 [[image:image-20220524093328-7.png]] 1111 1111 1112 - 1113 1113 (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 1114 1114 1115 1115 [[image:image-20220524093351-8.png]] 1116 1116 1117 - 1118 1118 (% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 1119 1119 1120 1120 Latching time. Unit: ms ... ... @@ -1121,7 +1121,6 @@ 1121 1121 1122 1122 Device will upload a packet if downlink code executes successfully. 1123 1123 1124 - 1125 1125 **Example payload:** 1126 1126 1127 1127 **~1. A9 01 01 01 01 07 D0** ... ... @@ -1142,13 +1142,12 @@ 1142 1142 1143 1143 1144 1144 1145 -=== =3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 === 1146 1146 1147 1147 * AT Command: 1148 1148 1149 1149 There is no AT Command to control Relay Output 1150 1150 1151 - 1152 1152 * Downlink Payload (prefix 0x03): 1153 1153 1154 1154 (% class="box infomessage" %) ... ... @@ -1178,7 +1178,6 @@ 1178 1178 1179 1179 There is no AT Command to control Relay Output 1180 1180 1181 - 1182 1182 * Downlink Payload (prefix 0x05): 1183 1183 1184 1184 (% class="box infomessage" %) ... ... @@ -1238,7 +1238,6 @@ 1238 1238 **AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1239 1239 ))) 1240 1240 1241 - 1242 1242 * Downlink Payload (prefix 0xA5): 1243 1243 1244 1244 (% class="box infomessage" %) ... ... @@ -1265,7 +1265,6 @@ 1265 1265 1266 1266 Bb cc dd ee: number to be set 1267 1267 1268 - 1269 1269 * Downlink Payload (prefix 0xA8): 1270 1270 1271 1271 (% class="box infomessage" %)