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,7 +327,6 @@ 327 327 328 328 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 329 329 330 - 331 331 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 332 332 333 333 ((( ... ... @@ -336,7 +336,6 @@ 336 336 337 337 [[image:image-20220523180452-3.png]] 338 338 339 - 340 340 ((( 341 341 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 342 342 ))) ... ... @@ -352,8 +352,6 @@ 352 352 ))) 353 353 354 354 ((( 355 - 356 - 357 357 **To use counting mode, please run:** 358 358 ))) 359 359 ... ... @@ -372,8 +372,6 @@ 372 372 ))) 373 373 374 374 ((( 375 - 376 - 377 377 (% style="color:#4f81bd" %)**AT Commands for counting:** 378 378 ))) 379 379 ... ... @@ -470,9 +470,9 @@ 470 470 ))) 471 471 472 472 467 + 473 473 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 474 474 475 - 476 476 **LT22222-L**: This mode the DI1 is used as a counting pin. 477 477 478 478 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. ... ... @@ -479,7 +479,6 @@ 479 479 480 480 [[image:image-20220523181903-8.png]] 481 481 482 - 483 483 ((( 484 484 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 485 485 ))) ... ... @@ -495,8 +495,6 @@ 495 495 ))) 496 496 497 497 ((( 498 - 499 - 500 500 **To use this mode, please run:** 501 501 ))) 502 502 ... ... @@ -523,8 +523,6 @@ 523 523 ))) 524 524 525 525 ((( 526 - 527 - 528 528 **Plus below command for AVI1 Counting:** 529 529 ))) 530 530 ... ... @@ -560,14 +560,11 @@ 560 560 561 561 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 562 562 563 - 564 564 **LT22222-L**: This mode the DI1 is used as a counting pin. 565 565 566 566 [[image:image-20220523182334-9.png]] 567 567 568 568 ((( 569 - 570 - 571 571 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 572 572 ))) 573 573 ... ... @@ -582,8 +582,6 @@ 582 582 ))) 583 583 584 584 ((( 585 - 586 - 587 587 **To use this mode, please run:** 588 588 ))) 589 589 ... ... @@ -603,6 +603,8 @@ 603 603 604 604 ((( 605 605 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 590 + 591 + 606 606 ))) 607 607 608 608 ... ... @@ -609,7 +609,6 @@ 609 609 610 610 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 611 611 612 - 613 613 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 614 614 615 615 For example, if user has configured below commands: ... ... @@ -617,13 +617,11 @@ 617 617 * **AT+MOD=1 ** **~-~->** The normal working mode 618 618 * **AT+ADDMOD6=1** **~-~->** Enable trigger 619 619 620 - 621 621 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 622 622 623 623 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 624 624 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.** 625 625 626 - 627 627 **AT Command to set Trigger Condition**: 628 628 629 629 (% style="color:#4f81bd" %)**Trigger base on voltage**: ... ... @@ -675,17 +675,14 @@ 675 675 676 676 Yy4 yy4: AC2 or AV2 high limit. 677 677 678 - 679 679 **Example1**: AA 00 13 88 00 00 00 00 00 00 680 680 681 681 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 682 682 683 - 684 684 **Example2**: AA 02 01 00 685 685 686 686 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 687 687 688 - 689 689 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 690 690 691 691 MOD6 Payload : total 11 bytes payload ... ... @@ -692,7 +692,6 @@ 692 692 693 693 [[image:image-20220524085923-1.png]] 694 694 695 - 696 696 (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 697 697 698 698 [[image:image-20220524090106-2.png]] ... ... @@ -699,7 +699,6 @@ 699 699 700 700 * Each bits shows if the corresponding trigger has been configured. 701 701 702 - 703 703 **Example:** 704 704 705 705 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -711,7 +711,6 @@ 711 711 712 712 * Each bits shows which status has been trigger on this uplink. 713 713 714 - 715 715 **Example:** 716 716 717 717 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -723,7 +723,6 @@ 723 723 724 724 * Each bits shows which status has been trigger on this uplink. 725 725 726 - 727 727 **Example:** 728 728 729 729 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -744,8 +744,6 @@ 744 744 === 3.3.7 Payload Decoder === 745 745 746 746 ((( 747 - 748 - 749 749 **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/]] 750 750 751 751 ... ... @@ -765,8 +765,6 @@ 765 765 766 766 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 767 767 768 - 769 - 770 770 === 3.4.1 Common Commands === 771 771 772 772 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]] ... ... @@ -788,7 +788,6 @@ 788 788 789 789 **Example: **AT+TDC=30000. Means set interval to 30 seconds 790 790 791 - 792 792 * Downlink Payload (prefix 0x01): 793 793 794 794 (% class="box infomessage" %) ... ... @@ -811,7 +811,6 @@ 811 811 812 812 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 813 813 814 - 815 815 * Downlink Payload (prefix 0x0A): 816 816 817 817 (% class="box infomessage" %) ... ... @@ -827,7 +827,6 @@ 827 827 828 828 There is no AT Command to poll uplink 829 829 830 - 831 831 * Downlink Payload (prefix 0x08): 832 832 833 833 (% class="box infomessage" %) ... ... @@ -854,7 +854,6 @@ 854 854 855 855 0: Disable Trigger Mode 856 856 857 - 858 858 * Downlink Payload (prefix 0x0A 06): 859 859 860 860 (% class="box infomessage" %) ... ... @@ -872,7 +872,6 @@ 872 872 873 873 There is no AT Command for this feature. 874 874 875 - 876 876 * Downlink Payload (prefix 0x AB 06): 877 877 878 878 (% class="box infomessage" %) ... ... @@ -893,7 +893,6 @@ 893 893 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 894 894 ))) 895 895 896 - 897 897 **Example:** 898 898 899 899 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) ... ... @@ -922,12 +922,10 @@ 922 922 923 923 b : delay timing. 924 924 925 - 926 926 **Example:** 927 927 928 928 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 929 929 930 - 931 931 * Downlink Payload (prefix 0x09 01 ): 932 932 933 933 (% class="box infomessage" %) ... ... @@ -952,12 +952,10 @@ 952 952 953 953 b : delay timing. 954 954 955 - 956 956 **Example:** 957 957 958 958 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 959 959 960 - 961 961 * Downlink Payload (prefix 0x09 02 ): 962 962 963 963 (% class="box infomessage" %) ... ... @@ -978,7 +978,6 @@ 978 978 **AT+ACLIM. ** 979 979 ))) 980 980 981 - 982 982 * Downlink Payload (prefix 0xAA 01 ): 983 983 984 984 (% class="box infomessage" %) ... ... @@ -999,7 +999,6 @@ 999 999 **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 1000 1000 ))) 1001 1001 1002 - 1003 1003 * Downlink Payload (prefix 0xAA 00 ): 1004 1004 1005 1005 (% class="box infomessage" %) ... ... @@ -1020,7 +1020,6 @@ 1020 1020 **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 1021 1021 ))) 1022 1022 1023 - 1024 1024 * Downlink Payload (prefix 0xAC ): 1025 1025 1026 1026 (% class="box infomessage" %) ... ... @@ -1036,7 +1036,6 @@ 1036 1036 1037 1037 There is no AT Command to control Digital Output 1038 1038 1039 - 1040 1040 * Downlink Payload (prefix 0x02): 1041 1041 1042 1042 (% class="box infomessage" %) ... ... @@ -1070,7 +1070,6 @@ 1070 1070 1071 1071 There is no AT Command to control Digital Output 1072 1072 1073 - 1074 1074 * Downlink Payload (prefix 0xA9): 1075 1075 1076 1076 (% class="box infomessage" %) ... ... @@ -1090,22 +1090,18 @@ 1090 1090 1091 1091 00: DO pins will change to an inverter state after timeout 1092 1092 1093 - 1094 1094 (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 1095 1095 1096 1096 [[image:image-20220524093238-6.png]] 1097 1097 1098 - 1099 1099 (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 1100 1100 1101 1101 [[image:image-20220524093328-7.png]] 1102 1102 1103 - 1104 1104 (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 1105 1105 1106 1106 [[image:image-20220524093351-8.png]] 1107 1107 1108 - 1109 1109 (% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 1110 1110 1111 1111 Latching time. Unit: ms ... ... @@ -1112,7 +1112,6 @@ 1112 1112 1113 1113 Device will upload a packet if downlink code executes successfully. 1114 1114 1115 - 1116 1116 **Example payload:** 1117 1117 1118 1118 **~1. A9 01 01 01 01 07 D0** ... ... @@ -1133,13 +1133,12 @@ 1133 1133 1134 1134 1135 1135 1136 -=== =3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 === 1137 1137 1138 1138 * AT Command: 1139 1139 1140 1140 There is no AT Command to control Relay Output 1141 1141 1142 - 1143 1143 * Downlink Payload (prefix 0x03): 1144 1144 1145 1145 (% class="box infomessage" %) ... ... @@ -1169,7 +1169,6 @@ 1169 1169 1170 1170 There is no AT Command to control Relay Output 1171 1171 1172 - 1173 1173 * Downlink Payload (prefix 0x05): 1174 1174 1175 1175 (% class="box infomessage" %) ... ... @@ -1187,17 +1187,14 @@ 1187 1187 1188 1188 00: Relays will change to an inverter state after timeout 1189 1189 1190 - 1191 1191 (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status: 1192 1192 1193 1193 [[image:image-20220524093831-10.png]] 1194 1194 1195 - 1196 1196 (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms 1197 1197 1198 1198 Device will upload a packet if downlink code executes successfully. 1199 1199 1200 - 1201 1201 **Example payload:** 1202 1202 1203 1203 **~1. 05 01 11 07 D0** ... ... @@ -1229,7 +1229,6 @@ 1229 1229 **AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1230 1230 ))) 1231 1231 1232 - 1233 1233 * Downlink Payload (prefix 0xA5): 1234 1234 1235 1235 (% class="box infomessage" %) ... ... @@ -1256,7 +1256,6 @@ 1256 1256 1257 1257 Bb cc dd ee: number to be set 1258 1258 1259 - 1260 1260 * Downlink Payload (prefix 0xA8): 1261 1261 1262 1262 (% class="box infomessage" %) ... ... @@ -1309,16 +1309,17 @@ 1309 1309 ))) 1310 1310 1311 1311 1257 + 1312 1312 == 3.5 Integrate with Mydevice == 1313 1313 1314 1314 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: 1315 1315 1316 1316 ((( 1317 - (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the network at this time.1263 +**Step 1**: Be sure that your device is programmed and properly connected to the network at this time. 1318 1318 ))) 1319 1319 1320 1320 ((( 1321 - (% style="color:blue" %)**Step 2**(%%): To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps:1267 +**Step 2**: To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps: 1322 1322 ))) 1323 1323 1324 1324 [[image:1653356737703-362.png||height="232" width="732"]] ... ... @@ -1325,13 +1325,12 @@ 1325 1325 1326 1326 [[image:image-20220524094641-11.png||height="390" width="723"]] 1327 1327 1328 - 1329 1329 [[image:image-20220524094641-12.png||height="402" width="718"]] 1330 1330 1331 1331 1332 - (% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.1277 +**Step 3**: Create an account or log in Mydevices. 1333 1333 1334 - (% style="color:blue" %)**Step 4**(%%): Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %)1279 +**Step 4**: Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %) 1335 1335 1336 1336 Search under The things network 1337 1337 ... ... @@ -1338,21 +1338,16 @@ 1338 1338 [[image:1653356838789-523.png||height="337" width="740"]] 1339 1339 1340 1340 1341 - 1342 1342 After added, the sensor data arrive TTN, it will also arrive and show in Mydevices. 1343 1343 1344 1344 [[image:image-20220524094909-1.png||height="335" width="729"]] 1345 1345 1346 - 1347 1347 [[image:image-20220524094909-2.png||height="337" width="729"]] 1348 1348 1349 - 1350 1350 [[image:image-20220524094909-3.png||height="338" width="727"]] 1351 1351 1352 - 1353 1353 [[image:image-20220524094909-4.png||height="339" width="728"]](% style="display:none" %) 1354 1354 1355 - 1356 1356 [[image:image-20220524094909-5.png||height="341" width="734"]] 1357 1357 1358 1358