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,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,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,11 +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 - 336 336 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 337 337 338 - 339 339 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 340 340 341 341 ((( ... ... @@ -344,7 +344,6 @@ 344 344 345 345 [[image:image-20220523180452-3.png]] 346 346 347 - 348 348 ((( 349 349 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 350 350 ))) ... ... @@ -360,8 +360,6 @@ 360 360 ))) 361 361 362 362 ((( 363 - 364 - 365 365 **To use counting mode, please run:** 366 366 ))) 367 367 ... ... @@ -380,8 +380,6 @@ 380 380 ))) 381 381 382 382 ((( 383 - 384 - 385 385 (% style="color:#4f81bd" %)**AT Commands for counting:** 386 386 ))) 387 387 ... ... @@ -478,9 +478,9 @@ 478 478 ))) 479 479 480 480 467 + 481 481 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 482 482 483 - 484 484 **LT22222-L**: This mode the DI1 is used as a counting pin. 485 485 486 486 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. ... ... @@ -487,7 +487,6 @@ 487 487 488 488 [[image:image-20220523181903-8.png]] 489 489 490 - 491 491 ((( 492 492 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 493 493 ))) ... ... @@ -503,8 +503,6 @@ 503 503 ))) 504 504 505 505 ((( 506 - 507 - 508 508 **To use this mode, please run:** 509 509 ))) 510 510 ... ... @@ -531,8 +531,6 @@ 531 531 ))) 532 532 533 533 ((( 534 - 535 - 536 536 **Plus below command for AVI1 Counting:** 537 537 ))) 538 538 ... ... @@ -568,14 +568,11 @@ 568 568 569 569 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 570 570 571 - 572 572 **LT22222-L**: This mode the DI1 is used as a counting pin. 573 573 574 574 [[image:image-20220523182334-9.png]] 575 575 576 576 ((( 577 - 578 - 579 579 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 580 580 ))) 581 581 ... ... @@ -590,8 +590,6 @@ 590 590 ))) 591 591 592 592 ((( 593 - 594 - 595 595 **To use this mode, please run:** 596 596 ))) 597 597 ... ... @@ -611,6 +611,8 @@ 611 611 612 612 ((( 613 613 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 590 + 591 + 614 614 ))) 615 615 616 616 ... ... @@ -617,7 +617,6 @@ 617 617 618 618 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 619 619 620 - 621 621 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 622 622 623 623 For example, if user has configured below commands: ... ... @@ -681,17 +681,14 @@ 681 681 682 682 Yy4 yy4: AC2 or AV2 high limit. 683 683 684 - 685 685 **Example1**: AA 00 13 88 00 00 00 00 00 00 686 686 687 687 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 688 688 689 - 690 690 **Example2**: AA 02 01 00 691 691 692 692 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 693 693 694 - 695 695 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 696 696 697 697 MOD6 Payload : total 11 bytes payload ... ... @@ -698,7 +698,6 @@ 698 698 699 699 [[image:image-20220524085923-1.png]] 700 700 701 - 702 702 (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 703 703 704 704 [[image:image-20220524090106-2.png]] ... ... @@ -747,8 +747,6 @@ 747 747 === 3.3.7 Payload Decoder === 748 748 749 749 ((( 750 - 751 - 752 752 **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/]] 753 753 754 754 ... ... @@ -768,9 +768,6 @@ 768 768 769 769 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 770 770 771 - 772 - 773 - 774 774 === 3.4.1 Common Commands === 775 775 776 776 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]] ... ... @@ -792,7 +792,6 @@ 792 792 793 793 **Example: **AT+TDC=30000. Means set interval to 30 seconds 794 794 795 - 796 796 * Downlink Payload (prefix 0x01): 797 797 798 798 (% class="box infomessage" %) ... ... @@ -815,7 +815,6 @@ 815 815 816 816 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 817 817 818 - 819 819 * Downlink Payload (prefix 0x0A): 820 820 821 821 (% class="box infomessage" %) ... ... @@ -831,7 +831,6 @@ 831 831 832 832 There is no AT Command to poll uplink 833 833 834 - 835 835 * Downlink Payload (prefix 0x08): 836 836 837 837 (% class="box infomessage" %) ... ... @@ -858,7 +858,6 @@ 858 858 859 859 0: Disable Trigger Mode 860 860 861 - 862 862 * Downlink Payload (prefix 0x0A 06): 863 863 864 864 (% class="box infomessage" %) ... ... @@ -876,7 +876,6 @@ 876 876 877 877 There is no AT Command for this feature. 878 878 879 - 880 880 * Downlink Payload (prefix 0x AB 06): 881 881 882 882 (% class="box infomessage" %) ... ... @@ -897,7 +897,6 @@ 897 897 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 898 898 ))) 899 899 900 - 901 901 **Example:** 902 902 903 903 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) ... ... @@ -926,12 +926,10 @@ 926 926 927 927 b : delay timing. 928 928 929 - 930 930 **Example:** 931 931 932 932 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 933 933 934 - 935 935 * Downlink Payload (prefix 0x09 01 ): 936 936 937 937 (% class="box infomessage" %) ... ... @@ -956,12 +956,10 @@ 956 956 957 957 b : delay timing. 958 958 959 - 960 960 **Example:** 961 961 962 962 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 963 963 964 - 965 965 * Downlink Payload (prefix 0x09 02 ): 966 966 967 967 (% class="box infomessage" %) ... ... @@ -982,7 +982,6 @@ 982 982 **AT+ACLIM. ** 983 983 ))) 984 984 985 - 986 986 * Downlink Payload (prefix 0xAA 01 ): 987 987 988 988 (% class="box infomessage" %) ... ... @@ -1003,7 +1003,6 @@ 1003 1003 **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 1004 1004 ))) 1005 1005 1006 - 1007 1007 * Downlink Payload (prefix 0xAA 00 ): 1008 1008 1009 1009 (% class="box infomessage" %) ... ... @@ -1024,7 +1024,6 @@ 1024 1024 **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 1025 1025 ))) 1026 1026 1027 - 1028 1028 * Downlink Payload (prefix 0xAC ): 1029 1029 1030 1030 (% class="box infomessage" %) ... ... @@ -1040,7 +1040,6 @@ 1040 1040 1041 1041 There is no AT Command to control Digital Output 1042 1042 1043 - 1044 1044 * Downlink Payload (prefix 0x02): 1045 1045 1046 1046 (% class="box infomessage" %) ... ... @@ -1074,7 +1074,6 @@ 1074 1074 1075 1075 There is no AT Command to control Digital Output 1076 1076 1077 - 1078 1078 * Downlink Payload (prefix 0xA9): 1079 1079 1080 1080 (% class="box infomessage" %) ... ... @@ -1094,22 +1094,18 @@ 1094 1094 1095 1095 00: DO pins will change to an inverter state after timeout 1096 1096 1097 - 1098 1098 (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 1099 1099 1100 1100 [[image:image-20220524093238-6.png]] 1101 1101 1102 - 1103 1103 (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 1104 1104 1105 1105 [[image:image-20220524093328-7.png]] 1106 1106 1107 - 1108 1108 (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 1109 1109 1110 1110 [[image:image-20220524093351-8.png]] 1111 1111 1112 - 1113 1113 (% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 1114 1114 1115 1115 Latching time. Unit: ms ... ... @@ -1116,7 +1116,6 @@ 1116 1116 1117 1117 Device will upload a packet if downlink code executes successfully. 1118 1118 1119 - 1120 1120 **Example payload:** 1121 1121 1122 1122 **~1. A9 01 01 01 01 07 D0** ... ... @@ -1137,13 +1137,12 @@ 1137 1137 1138 1138 1139 1139 1140 -=== =3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 === 1141 1141 1142 1142 * AT Command: 1143 1143 1144 1144 There is no AT Command to control Relay Output 1145 1145 1146 - 1147 1147 * Downlink Payload (prefix 0x03): 1148 1148 1149 1149 (% class="box infomessage" %) ... ... @@ -1173,7 +1173,6 @@ 1173 1173 1174 1174 There is no AT Command to control Relay Output 1175 1175 1176 - 1177 1177 * Downlink Payload (prefix 0x05): 1178 1178 1179 1179 (% class="box infomessage" %) ... ... @@ -1191,17 +1191,14 @@ 1191 1191 1192 1192 00: Relays will change to an inverter state after timeout 1193 1193 1194 - 1195 1195 (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status: 1196 1196 1197 1197 [[image:image-20220524093831-10.png]] 1198 1198 1199 - 1200 1200 (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms 1201 1201 1202 1202 Device will upload a packet if downlink code executes successfully. 1203 1203 1204 - 1205 1205 **Example payload:** 1206 1206 1207 1207 **~1. 05 01 11 07 D0** ... ... @@ -1233,7 +1233,6 @@ 1233 1233 **AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1234 1234 ))) 1235 1235 1236 - 1237 1237 * Downlink Payload (prefix 0xA5): 1238 1238 1239 1239 (% class="box infomessage" %) ... ... @@ -1260,7 +1260,6 @@ 1260 1260 1261 1261 Bb cc dd ee: number to be set 1262 1262 1263 - 1264 1264 * Downlink Payload (prefix 0xA8): 1265 1265 1266 1266 (% class="box infomessage" %) ... ... @@ -1313,6 +1313,7 @@ 1313 1313 ))) 1314 1314 1315 1315 1257 + 1316 1316 == 3.5 Integrate with Mydevice == 1317 1317 1318 1318 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: