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: ... ... @@ -655,13 +655,12 @@ 655 655 656 656 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 657 657 658 - 659 659 **Example:** 660 660 661 661 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 662 662 663 663 664 -**Downlink Command to set Trigger Condition :**643 +**Downlink Command to set Trigger Condition** 665 665 666 666 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 667 667 ... ... @@ -679,18 +679,14 @@ 679 679 680 680 Yy4 yy4: AC2 or AV2 high limit. 681 681 682 - 683 683 **Example1**: AA 00 13 88 00 00 00 00 00 00 684 684 685 685 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 686 686 687 - 688 688 **Example2**: AA 02 01 00 689 689 690 690 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 691 691 692 - 693 - 694 694 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 695 695 696 696 MOD6 Payload : total 11 bytes payload ... ... @@ -697,7 +697,6 @@ 697 697 698 698 [[image:image-20220524085923-1.png]] 699 699 700 - 701 701 (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 702 702 703 703 [[image:image-20220524090106-2.png]] ... ... @@ -704,8 +704,6 @@ 704 704 705 705 * Each bits shows if the corresponding trigger has been configured. 706 706 707 - 708 - 709 709 **Example:** 710 710 711 711 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -717,8 +717,6 @@ 717 717 718 718 * Each bits shows which status has been trigger on this uplink. 719 719 720 - 721 - 722 722 **Example:** 723 723 724 724 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -730,8 +730,6 @@ 730 730 731 731 * Each bits shows which status has been trigger on this uplink. 732 732 733 - 734 - 735 735 **Example:** 736 736 737 737 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -752,8 +752,6 @@ 752 752 === 3.3.7 Payload Decoder === 753 753 754 754 ((( 755 - 756 - 757 757 **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/]] 758 758 759 759 ... ... @@ -773,8 +773,6 @@ 773 773 774 774 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 775 775 776 - 777 - 778 778 === 3.4.1 Common Commands === 779 779 780 780 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]] ... ... @@ -796,7 +796,6 @@ 796 796 797 797 **Example: **AT+TDC=30000. Means set interval to 30 seconds 798 798 799 - 800 800 * Downlink Payload (prefix 0x01): 801 801 802 802 (% class="box infomessage" %) ... ... @@ -819,7 +819,6 @@ 819 819 820 820 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 821 821 822 - 823 823 * Downlink Payload (prefix 0x0A): 824 824 825 825 (% class="box infomessage" %) ... ... @@ -835,7 +835,6 @@ 835 835 836 836 There is no AT Command to poll uplink 837 837 838 - 839 839 * Downlink Payload (prefix 0x08): 840 840 841 841 (% class="box infomessage" %) ... ... @@ -862,7 +862,6 @@ 862 862 863 863 0: Disable Trigger Mode 864 864 865 - 866 866 * Downlink Payload (prefix 0x0A 06): 867 867 868 868 (% class="box infomessage" %) ... ... @@ -880,7 +880,6 @@ 880 880 881 881 There is no AT Command for this feature. 882 882 883 - 884 884 * Downlink Payload (prefix 0x AB 06): 885 885 886 886 (% class="box infomessage" %) ... ... @@ -901,7 +901,6 @@ 901 901 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 902 902 ))) 903 903 904 - 905 905 **Example:** 906 906 907 907 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) ... ... @@ -930,12 +930,10 @@ 930 930 931 931 b : delay timing. 932 932 933 - 934 934 **Example:** 935 935 936 936 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 937 937 938 - 939 939 * Downlink Payload (prefix 0x09 01 ): 940 940 941 941 (% class="box infomessage" %) ... ... @@ -960,12 +960,10 @@ 960 960 961 961 b : delay timing. 962 962 963 - 964 964 **Example:** 965 965 966 966 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 967 967 968 - 969 969 * Downlink Payload (prefix 0x09 02 ): 970 970 971 971 (% class="box infomessage" %) ... ... @@ -986,7 +986,6 @@ 986 986 **AT+ACLIM. ** 987 987 ))) 988 988 989 - 990 990 * Downlink Payload (prefix 0xAA 01 ): 991 991 992 992 (% class="box infomessage" %) ... ... @@ -1007,7 +1007,6 @@ 1007 1007 **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 1008 1008 ))) 1009 1009 1010 - 1011 1011 * Downlink Payload (prefix 0xAA 00 ): 1012 1012 1013 1013 (% class="box infomessage" %) ... ... @@ -1028,7 +1028,6 @@ 1028 1028 **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 1029 1029 ))) 1030 1030 1031 - 1032 1032 * Downlink Payload (prefix 0xAC ): 1033 1033 1034 1034 (% class="box infomessage" %) ... ... @@ -1044,7 +1044,6 @@ 1044 1044 1045 1045 There is no AT Command to control Digital Output 1046 1046 1047 - 1048 1048 * Downlink Payload (prefix 0x02): 1049 1049 1050 1050 (% class="box infomessage" %) ... ... @@ -1078,7 +1078,6 @@ 1078 1078 1079 1079 There is no AT Command to control Digital Output 1080 1080 1081 - 1082 1082 * Downlink Payload (prefix 0xA9): 1083 1083 1084 1084 (% class="box infomessage" %) ... ... @@ -1098,22 +1098,18 @@ 1098 1098 1099 1099 00: DO pins will change to an inverter state after timeout 1100 1100 1101 - 1102 1102 (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 1103 1103 1104 1104 [[image:image-20220524093238-6.png]] 1105 1105 1106 - 1107 1107 (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 1108 1108 1109 1109 [[image:image-20220524093328-7.png]] 1110 1110 1111 - 1112 1112 (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 1113 1113 1114 1114 [[image:image-20220524093351-8.png]] 1115 1115 1116 - 1117 1117 (% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 1118 1118 1119 1119 Latching time. Unit: ms ... ... @@ -1120,7 +1120,6 @@ 1120 1120 1121 1121 Device will upload a packet if downlink code executes successfully. 1122 1122 1123 - 1124 1124 **Example payload:** 1125 1125 1126 1126 **~1. A9 01 01 01 01 07 D0** ... ... @@ -1141,13 +1141,12 @@ 1141 1141 1142 1142 1143 1143 1144 -=== =3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 === 1145 1145 1146 1146 * AT Command: 1147 1147 1148 1148 There is no AT Command to control Relay Output 1149 1149 1150 - 1151 1151 * Downlink Payload (prefix 0x03): 1152 1152 1153 1153 (% class="box infomessage" %) ... ... @@ -1177,7 +1177,6 @@ 1177 1177 1178 1178 There is no AT Command to control Relay Output 1179 1179 1180 - 1181 1181 * Downlink Payload (prefix 0x05): 1182 1182 1183 1183 (% class="box infomessage" %) ... ... @@ -1195,17 +1195,14 @@ 1195 1195 1196 1196 00: Relays will change to an inverter state after timeout 1197 1197 1198 - 1199 1199 (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status: 1200 1200 1201 1201 [[image:image-20220524093831-10.png]] 1202 1202 1203 - 1204 1204 (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms 1205 1205 1206 1206 Device will upload a packet if downlink code executes successfully. 1207 1207 1208 - 1209 1209 **Example payload:** 1210 1210 1211 1211 **~1. 05 01 11 07 D0** ... ... @@ -1237,7 +1237,6 @@ 1237 1237 **AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1238 1238 ))) 1239 1239 1240 - 1241 1241 * Downlink Payload (prefix 0xA5): 1242 1242 1243 1243 (% class="box infomessage" %) ... ... @@ -1264,7 +1264,6 @@ 1264 1264 1265 1265 Bb cc dd ee: number to be set 1266 1266 1267 - 1268 1268 * Downlink Payload (prefix 0xA8): 1269 1269 1270 1270 (% class="box infomessage" %) ... ... @@ -1317,16 +1317,17 @@ 1317 1317 ))) 1318 1318 1319 1319 1257 + 1320 1320 == 3.5 Integrate with Mydevice == 1321 1321 1322 1322 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: 1323 1323 1324 1324 ((( 1325 - (% 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. 1326 1326 ))) 1327 1327 1328 1328 ((( 1329 - (% 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: 1330 1330 ))) 1331 1331 1332 1332 [[image:1653356737703-362.png||height="232" width="732"]] ... ... @@ -1333,13 +1333,12 @@ 1333 1333 1334 1334 [[image:image-20220524094641-11.png||height="390" width="723"]] 1335 1335 1336 - 1337 1337 [[image:image-20220524094641-12.png||height="402" width="718"]] 1338 1338 1339 1339 1340 - (% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.1277 +**Step 3**: Create an account or log in Mydevices. 1341 1341 1342 - (% 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" %) 1343 1343 1344 1344 Search under The things network 1345 1345