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
-
... ... @@ -181,6 +181,8 @@ 181 181 * Firmware upgradable via program port 182 182 * Counting 183 183 184 + 185 + 184 184 == 1.4 Applications == 185 185 186 186 * Smart Buildings & Home Automation ... ... @@ -190,6 +190,8 @@ 190 190 * Smart Cities 191 191 * Smart Factory 192 192 195 + 196 + 193 193 == 1.5 Hardware Variants == 194 194 195 195 (% border="1" style="background-color:#f7faff; width:500px" %) ... ... @@ -203,6 +203,7 @@ 203 203 * 1 x Counting Port 204 204 ))) 205 205 210 + 206 206 = 2. Power ON Device = 207 207 208 208 The LT controller can be powered by 7 ~~ 24V DC power source. Connect VIN to Power Input V+ and GND to power input V- to power the LT controller. ... ... @@ -283,6 +283,8 @@ 283 283 * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 284 284 * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 285 285 291 + 292 + 286 286 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 287 287 288 288 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -336,6 +336,8 @@ 336 336 ** DO1 is high in case there is load between DO1 and V+. 337 337 ** DO1 LED is off in both case 338 338 346 + 347 + 339 339 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 340 340 341 341 ... ... @@ -372,12 +372,7 @@ 372 372 ((( 373 373 ((( 374 374 **AT+MOD=2** 375 -))) 376 -))) 377 377 378 -(% class="box infomessage" %) 379 -((( 380 -((( 381 381 **ATZ** 382 382 ))) 383 383 ))) ... ... @@ -396,40 +396,15 @@ 396 396 ((( 397 397 ((( 398 398 **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 399 -))) 400 -))) 401 401 402 -(% class="box infomessage" %) 403 -((( 404 -((( 405 405 **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 406 -))) 407 -))) 408 408 409 -(% class="box infomessage" %) 410 -((( 411 -((( 412 412 **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 413 -))) 414 -))) 415 415 416 -(% class="box infomessage" %) 417 -((( 418 -((( 419 419 **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 420 -))) 421 -))) 422 422 423 -(% class="box infomessage" %) 424 -((( 425 -((( 426 426 **AT+SETCNT=1,60 (Set COUNT1 value to 60)** 427 -))) 428 -))) 429 429 430 -(% class="box infomessage" %) 431 -((( 432 -((( 433 433 **AT+SETCNT=2,60 (Set COUNT2 value to 60)** 434 434 ))) 435 435 ))) ... ... @@ -464,12 +464,7 @@ 464 464 ((( 465 465 ((( 466 466 **AT+MOD=3** 467 -))) 468 -))) 469 469 470 -(% class="box infomessage" %) 471 -((( 472 -((( 473 473 **ATZ** 474 474 ))) 475 475 ))) ... ... @@ -514,20 +514,13 @@ 514 514 ((( 515 515 ((( 516 516 **AT+MOD=4** 517 -))) 518 -))) 519 519 520 -(% class="box infomessage" %) 521 -((( 522 -((( 523 523 **ATZ** 524 524 ))) 525 525 ))) 526 526 527 -((( 528 - 529 -))) 530 530 497 + 531 531 ((( 532 532 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 533 533 ))) ... ... @@ -541,33 +541,17 @@ 541 541 (% class="box infomessage" %) 542 542 ((( 543 543 ((( 544 -**AT+SETCNT=3,60 (set AVI Count to 60)** 545 -))) 546 -))) 511 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (set AVI Count to 60)** 547 547 548 -(% class="box infomessage" %) 549 -((( 550 -((( 551 -**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 552 -))) 553 -))) 513 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 554 554 555 -(% class="box infomessage" %) 556 -((( 557 -((( 558 -**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 559 -))) 560 -))) 515 +(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)** (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 561 561 562 -(% class="box infomessage" %) 563 -((( 564 -((( 565 -**AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 517 +(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)** (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 566 566 ))) 567 567 ))) 568 568 569 569 570 - 571 571 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 572 572 573 573 ... ... @@ -601,12 +601,7 @@ 601 601 ((( 602 602 ((( 603 603 **AT+MOD=5** 604 -))) 605 -))) 606 606 607 -(% class="box infomessage" %) 608 -((( 609 -((( 610 610 **ATZ** 611 611 ))) 612 612 ))) ... ... @@ -632,7 +632,7 @@ 632 632 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 633 633 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.** 634 634 635 -**AT Command to set Trigger Condition**: 581 +(% style="color:#037691" %)**AT Command to set Trigger Condition**: 636 636 637 637 (% style="color:#4f81bd" %)**Trigger base on voltage**: 638 638 ... ... @@ -668,7 +668,7 @@ 668 668 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 669 669 670 670 671 -**Downlink Command to set Trigger Condition:** 617 +(% style="color:#037691" %)**Downlink Command to set Trigger Condition:** 672 672 673 673 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 674 674 ... ... @@ -773,6 +773,8 @@ 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 722 + 723 + 776 776 === 3.4.1 Common Commands === 777 777 778 778 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]] ... ... @@ -785,7 +785,7 @@ 785 785 786 786 Set device uplink interval. 787 787 788 -* AT Command: 736 +* (% style="color:#037691" %)**AT Command:** 789 789 790 790 (% class="box infomessage" %) 791 791 ((( ... ... @@ -795,7 +795,7 @@ 795 795 **Example: **AT+TDC=30000. Means set interval to 30 seconds 796 796 797 797 798 -* Downlink Payload (prefix 0x01): 746 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):** 799 799 800 800 (% class="box infomessage" %) 801 801 ((( ... ... @@ -808,7 +808,7 @@ 808 808 809 809 Set work mode. 810 810 811 -* AT Command: 759 +* (% style="color:#037691" %)**AT Command:** 812 812 813 813 (% class="box infomessage" %) 814 814 ((( ... ... @@ -818,7 +818,7 @@ 818 818 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 819 819 820 820 821 -* Downlink Payload (prefix 0x0A): 769 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):** 822 822 823 823 (% class="box infomessage" %) 824 824 ((( ... ... @@ -829,12 +829,12 @@ 829 829 830 830 ==== 3.4.2.3 Poll an uplink ==== 831 831 832 -* AT Command: 780 +* (% style="color:#037691" %)AT Command: 833 833 834 834 There is no AT Command to poll uplink 835 835 836 836 837 -* Downlink Payload (prefix 0x08): 785 +* (% style="color:#037691" %)Downlink Payload (prefix 0x08): 838 838 839 839 (% class="box infomessage" %) 840 840 ((( ... ... @@ -849,7 +849,7 @@ 849 849 850 850 Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 851 851 852 -* AT Command: 800 +* (% style="color:#037691" %)AT Command: 853 853 854 854 (% class="box infomessage" %) 855 855 ((( ... ... @@ -861,7 +861,7 @@ 861 861 0: Disable Trigger Mode 862 862 863 863 864 -* Downlink Payload (prefix 0x0A 06): 812 +* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06): 865 865 866 866 (% class="box infomessage" %) 867 867 ((( ... ... @@ -874,12 +874,12 @@ 874 874 875 875 Poll trigger settings, 876 876 877 -* AT Command: 825 +* (% style="color:#037691" %)AT Command: 878 878 879 879 There is no AT Command for this feature. 880 880 881 881 882 -* Downlink Payload (prefix 0x AB 06): 830 +* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06): 883 883 884 884 (% class="box infomessage" %) 885 885 ((( ... ... @@ -892,7 +892,7 @@ 892 892 893 893 Enable Disable DI1/DI2/DI2 as trigger, 894 894 895 -* AT Command: 843 +* (% style="color:#037691" %)AT Command: 896 896 897 897 (% class="box infomessage" %) 898 898 ((( ... ... @@ -904,7 +904,7 @@ 904 904 905 905 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 906 906 907 -* Downlink Payload (prefix 0xAA 02): 855 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02): 908 908 909 909 (% class="box infomessage" %) 910 910 ((( ... ... @@ -917,7 +917,7 @@ 917 917 918 918 Set DI1 or DI3(for LT-33222-L) trigger. 919 919 920 -* AT Command: 868 +* (% style="color:#037691" %)AT Command: 921 921 922 922 (% class="box infomessage" %) 923 923 ((( ... ... @@ -934,7 +934,7 @@ 934 934 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 935 935 936 936 937 -* Downlink Payload (prefix 0x09 01 ): 885 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 01 ): 938 938 939 939 (% class="box infomessage" %) 940 940 ((( ... ... @@ -947,7 +947,7 @@ 947 947 948 948 Set DI2 trigger. 949 949 950 -* AT Command: 898 +* (% style="color:#037691" %)AT Command: 951 951 952 952 (% class="box infomessage" %) 953 953 ((( ... ... @@ -964,7 +964,7 @@ 964 964 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 965 965 966 966 967 -* Downlink Payload (prefix 0x09 02 ): 915 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 02 ): 968 968 969 969 (% class="box infomessage" %) 970 970 ((( ... ... @@ -977,7 +977,7 @@ 977 977 978 978 Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 979 979 980 -* AT Command: 928 +* (% style="color:#037691" %)AT Command: 981 981 982 982 (% class="box infomessage" %) 983 983 ((( ... ... @@ -985,7 +985,7 @@ 985 985 ))) 986 986 987 987 988 -* Downlink Payload (prefix 0xAA 01 ): 936 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 01 ): 989 989 990 990 (% class="box infomessage" %) 991 991 ((( ... ... @@ -998,7 +998,7 @@ 998 998 999 999 Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1000 1000 1001 -* AT Command: 949 +* (% style="color:#037691" %)AT Command: 1002 1002 1003 1003 (% class="box infomessage" %) 1004 1004 ((( ... ... @@ -1006,7 +1006,7 @@ 1006 1006 ))) 1007 1007 1008 1008 1009 -* Downlink Payload (prefix 0xAA 00 ): 957 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 00 ): 1010 1010 1011 1011 (% class="box infomessage" %) 1012 1012 ((( ... ... @@ -1019,7 +1019,7 @@ 1019 1019 1020 1020 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. 1021 1021 1022 -* AT Command: 970 +* (% style="color:#037691" %)AT Command: 1023 1023 1024 1024 (% class="box infomessage" %) 1025 1025 ((( ... ... @@ -1027,7 +1027,7 @@ 1027 1027 ))) 1028 1028 1029 1029 1030 -* Downlink Payload (prefix 0xAC ): 978 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAC ): 1031 1031 1032 1032 (% class="box infomessage" %) 1033 1033 ((( ... ... @@ -1038,12 +1038,12 @@ 1038 1038 1039 1039 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 1040 1040 1041 -* AT Command: 989 +* (% style="color:#037691" %)AT Command: 1042 1042 1043 1043 There is no AT Command to control Digital Output 1044 1044 1045 1045 1046 -* Downlink Payload (prefix 0x02): 994 +* (% style="color:#037691" %)Downlink Payload (prefix 0x02): 1047 1047 1048 1048 (% class="box infomessage" %) 1049 1049 ((( ... ... @@ -1072,12 +1072,12 @@ 1072 1072 1073 1073 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 1074 1074 1075 -* AT Command: 1023 +* (% style="color:#037691" %)AT Command: 1076 1076 1077 1077 There is no AT Command to control Digital Output 1078 1078 1079 1079 1080 -* Downlink Payload (prefix 0xA9): 1028 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA9): 1081 1081 1082 1082 (% class="box infomessage" %) 1083 1083 ((( ... ... @@ -1141,12 +1141,12 @@ 1141 1141 1142 1142 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1143 1143 1144 -* AT Command: 1092 +* (% style="color:#037691" %)AT Command: 1145 1145 1146 1146 There is no AT Command to control Relay Output 1147 1147 1148 1148 1149 -* Downlink Payload (prefix 0x03): 1097 +* (% style="color:#037691" %)Downlink Payload (prefix 0x03): 1150 1150 1151 1151 (% class="box infomessage" %) 1152 1152 ((( ... ... @@ -1171,18 +1171,16 @@ 1171 1171 1172 1172 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1173 1173 1174 -* AT Command: 1122 +* (% style="color:#037691" %)AT Command: 1175 1175 1176 1176 There is no AT Command to control Relay Output 1177 1177 1178 1178 1179 -* Downlink Payload (prefix 0x05): 1127 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):** 1180 1180 1181 -(% class="box infomessage" %) 1182 -((( 1183 -**0x05 aa bb cc dd ~/~/ Set RO1/RO2 relay with time control:** 1184 -))) 1129 +**0x05 aa bb cc dd **~/~/ Set RO1/RO2 relay with time control 1185 1185 1131 + 1186 1186 This is to control the relay output time of relay. Include four bytes: 1187 1187 1188 1188 (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05) ... ... @@ -1224,35 +1224,28 @@ 1224 1224 1225 1225 1226 1226 1173 + 1227 1227 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1228 1228 1229 1229 When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1230 1230 1231 -* AT Command: 1178 +* (% style="color:#037691" %)**AT Command:** 1232 1232 1233 -(% class="box infomessage" %) 1234 -((( 1235 -**AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1236 -))) 1180 +(% style="color:#037691" %)****(%%)**AT+VOLMAX ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1237 1237 1238 1238 1239 -* Downlink Payload (prefix 0xA5): 1183 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):** 1240 1240 1241 -(% class="box infomessage" %) 1242 -((( 1243 -**0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1244 -))) 1185 +**0xA5 aa bb cc **~/~/ Same as AT+VOLMAX=(aa bb),cc 1245 1245 1246 1246 1247 1247 1189 + 1248 1248 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1249 1249 1250 -* AT Command: 1192 +* (% style="color:#037691" %)**AT Command:** 1251 1251 1252 -(% class="box infomessage" %) 1253 -((( 1254 -**AT+SETCNT=aa,(bb cc dd ee) ** 1255 -))) 1194 +(% style="color:#037691" %)****(%%)**AT+SETCNT=aa,(bb cc dd ee) ** 1256 1256 1257 1257 aa: 1: Set count1, 1258 1258 ... ... @@ -1263,51 +1263,40 @@ 1263 1263 Bb cc dd ee: number to be set 1264 1264 1265 1265 1266 -* Downlink Payload (prefix 0xA8): 1205 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):** 1267 1267 1268 -(% class="box infomessage" %) 1269 -((( 1270 -**0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1271 -))) 1207 +**0x A8 aa bb cc dd ee **~/~/ same as AT+SETCNT=aa,(bb cc dd ee) 1272 1272 1273 1273 1274 1274 1211 + 1275 1275 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1276 1276 1277 1277 Clear counting for counting mode 1278 1278 1279 -* AT Command: 1216 +* (% style="color:#037691" %)**AT Command:** 1280 1280 1281 -(% class="box infomessage" %) 1282 -((( 1283 -**AT+CLRCOUNT ~/~/ clear all counting** 1284 -))) 1218 +(% style="color:#037691" %)(%%)**AT+CLRCOUNT ** ~/~/ clear all counting 1285 1285 1286 -* Downlink Payload (prefix 0xA6): 1287 1287 1288 -(% class="box infomessage" %) 1289 -((( 1290 -**0x A6 01 ~/~/ clear all counting,** 1291 -))) 1221 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):** 1292 1292 1223 +**0x A6 01 ** ~/~/ clear all counting 1293 1293 1294 1294 1226 + 1227 + 1295 1295 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1296 1296 1297 -* AT Command: 1230 +* (% style="color:#037691" %)**AT Command:** 1298 1298 1299 -(% class="box infomessage" %) 1300 -((( 1301 -**AT+COUTIME=60 ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)** 1302 -))) 1232 +**AT+COUTIME=60 **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 1303 1303 1304 -* Downlink Payload (prefix 0xA7): 1305 1305 1306 -(% class="box infomessage" %) 1307 -((( 1308 -**0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1309 -))) 1235 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):** 1310 1310 1237 +**0x A7 aa bb cc **~/~/ same as AT+COUTIME =aa bb cc, 1238 + 1311 1311 ((( 1312 1312 range: aa bb cc:0 to 16777215, (unit:second) 1313 1313 ... ... @@ -1315,6 +1315,7 @@ 1315 1315 ))) 1316 1316 1317 1317 1246 + 1318 1318 == 3.5 Integrate with Mydevice == 1319 1319 1320 1320 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: