<
From version < 82.15 >
edited by Xiaoling
on 2022/06/20 11:47
To version < 81.1 >
edited by Xiaoling
on 2022/06/10 10:20
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -19,8 +19,6 @@
19 19  == 1.1 What is LT Series I/O Controller ==
20 20  
21 21  (((
22 -
23 -
24 24  The Dragino (% style="color:blue" %)**LT series I/O Modules**(%%) are Long Range LoRaWAN I/O Controller. It contains different I/O Interfaces such as:** (% style="color:blue" %)analog current Input, analog voltage input(%%)**(% style="color:blue" %), **relay output**, **digital input**(%%) and (% style="color:blue" %)**digital output**(%%) etc. The LT I/O Modules are designed to simplify the installation of I/O monitoring.
25 25  )))
26 26  
... ... @@ -165,12 +165,10 @@
165 165  )))
166 166  * (((
167 167  Packet engine up to 256 bytes with CRC.
166 +)))
168 168  
169 169  
170 170  
171 -
172 -)))
173 -
174 174  == 1.3 Features ==
175 175  
176 176  * LoRaWAN Class A & Class C protocol
... ... @@ -208,6 +208,7 @@
208 208  )))
209 209  
210 210  
207 +
211 211  = 2. Power ON Device =
212 212  
213 213  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.
... ... @@ -288,8 +288,6 @@
288 288  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
289 289  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
290 290  
291 -
292 -
293 293  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
294 294  
295 295  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -343,8 +343,6 @@
343 343  ** DO1 is high in case there is load between DO1 and V+.
344 344  ** DO1 LED is off in both case
345 345  
346 -
347 -
348 348  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
349 349  
350 350  
... ... @@ -381,7 +381,12 @@
381 381  (((
382 382  (((
383 383  **AT+MOD=2**
377 +)))
378 +)))
384 384  
380 +(% class="box infomessage" %)
381 +(((
382 +(((
385 385  **ATZ**
386 386  )))
387 387  )))
... ... @@ -400,15 +400,40 @@
400 400  (((
401 401  (((
402 402  **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
401 +)))
402 +)))
403 403  
404 +(% class="box infomessage" %)
405 +(((
406 +(((
404 404  **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
408 +)))
409 +)))
405 405  
411 +(% class="box infomessage" %)
412 +(((
413 +(((
406 406  **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
415 +)))
416 +)))
407 407  
418 +(% class="box infomessage" %)
419 +(((
420 +(((
408 408  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
422 +)))
423 +)))
409 409  
425 +(% class="box infomessage" %)
426 +(((
427 +(((
410 410  **AT+SETCNT=1,60   (Set COUNT1 value to 60)**
429 +)))
430 +)))
411 411  
432 +(% class="box infomessage" %)
433 +(((
434 +(((
412 412  **AT+SETCNT=2,60   (Set COUNT2 value to 60)**
413 413  )))
414 414  )))
... ... @@ -443,7 +443,12 @@
443 443  (((
444 444  (((
445 445  **AT+MOD=3**
469 +)))
470 +)))
446 446  
472 +(% class="box infomessage" %)
473 +(((
474 +(((
447 447  **ATZ**
448 448  )))
449 449  )))
... ... @@ -488,13 +488,20 @@
488 488  (((
489 489  (((
490 490  **AT+MOD=4**
519 +)))
520 +)))
491 491  
522 +(% class="box infomessage" %)
523 +(((
524 +(((
492 492  **ATZ**
493 493  )))
494 494  )))
495 495  
529 +(((
530 +
531 +)))
496 496  
497 -
498 498  (((
499 499  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
500 500  )))
... ... @@ -508,17 +508,33 @@
508 508  (% class="box infomessage" %)
509 509  (((
510 510  (((
511 -(% style="color:blue" %)**AT+SETCNT=3,60**(%%)**   (set AVI Count to 60)**
546 +**AT+SETCNT=3,60   (set AVI Count to 60)**
547 +)))
548 +)))
512 512  
513 -(% style="color:blue" %)**AT+VOLMAX=20000**(%%)**   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
550 +(% class="box infomessage" %)
551 +(((
552 +(((
553 +**AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
554 +)))
555 +)))
514 514  
515 -(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)**   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
557 +(% class="box infomessage" %)
558 +(((
559 +(((
560 +**AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
561 +)))
562 +)))
516 516  
517 -(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)**   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
564 +(% class="box infomessage" %)
565 +(((
566 +(((
567 +**AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
518 518  )))
519 519  )))
520 520  
521 521  
572 +
522 522  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
523 523  
524 524  
... ... @@ -552,7 +552,12 @@
552 552  (((
553 553  (((
554 554  **AT+MOD=5**
606 +)))
607 +)))
555 555  
609 +(% class="box infomessage" %)
610 +(((
611 +(((
556 556  **ATZ**
557 557  )))
558 558  )))
... ... @@ -578,7 +578,7 @@
578 578  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
579 579  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.**
580 580  
581 -(% style="color:#037691" %)**AT Command to set Trigger Condition**:
637 +**AT Command to set Trigger Condition**:
582 582  
583 583  (% style="color:#4f81bd" %)**Trigger base on voltage**:
584 584  
... ... @@ -614,7 +614,7 @@
614 614  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
615 615  
616 616  
617 -(% style="color:#037691" %)**Downlink Command to set Trigger Condition:**
673 +**Downlink Command to set Trigger Condition:**
618 618  
619 619  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
620 620  
... ... @@ -719,8 +719,6 @@
719 719  
720 720  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
721 721  
722 -
723 -
724 724  === 3.4.1 Common Commands ===
725 725  
726 726  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]]
... ... @@ -733,7 +733,7 @@
733 733  
734 734  Set device uplink interval.
735 735  
736 -* (% style="color:#037691" %)**AT Command:**
790 +* AT Command:
737 737  
738 738  (% class="box infomessage" %)
739 739  (((
... ... @@ -743,7 +743,7 @@
743 743  **Example: **AT+TDC=30000. Means set interval to 30 seconds
744 744  
745 745  
746 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
800 +* Downlink Payload (prefix 0x01):
747 747  
748 748  (% class="box infomessage" %)
749 749  (((
... ... @@ -756,7 +756,7 @@
756 756  
757 757  Set work mode.
758 758  
759 -* (% style="color:#037691" %)**AT Command:**
813 +* AT Command:
760 760  
761 761  (% class="box infomessage" %)
762 762  (((
... ... @@ -766,7 +766,7 @@
766 766  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
767 767  
768 768  
769 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
823 +* Downlink Payload (prefix 0x0A):
770 770  
771 771  (% class="box infomessage" %)
772 772  (((
... ... @@ -777,12 +777,12 @@
777 777  
778 778  ==== 3.4.2.3 Poll an uplink ====
779 779  
780 -* (% style="color:#037691" %)AT Command:
834 +* AT Command:
781 781  
782 782  There is no AT Command to poll uplink
783 783  
784 784  
785 -* (% style="color:#037691" %)Downlink Payload (prefix 0x08):
839 +* Downlink Payload (prefix 0x08):
786 786  
787 787  (% class="box infomessage" %)
788 788  (((
... ... @@ -797,7 +797,7 @@
797 797  
798 798  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
799 799  
800 -* (% style="color:#037691" %)AT Command:
854 +* AT Command:
801 801  
802 802  (% class="box infomessage" %)
803 803  (((
... ... @@ -809,7 +809,7 @@
809 809  0: Disable Trigger Mode
810 810  
811 811  
812 -* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06):
866 +* Downlink Payload (prefix 0x0A 06):
813 813  
814 814  (% class="box infomessage" %)
815 815  (((
... ... @@ -822,12 +822,12 @@
822 822  
823 823  Poll trigger settings,
824 824  
825 -* (% style="color:#037691" %)AT Command:
879 +* AT Command:
826 826  
827 827  There is no AT Command for this feature.
828 828  
829 829  
830 -* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06):
884 +* Downlink Payload (prefix 0x AB 06):
831 831  
832 832  (% class="box infomessage" %)
833 833  (((
... ... @@ -840,7 +840,7 @@
840 840  
841 841  Enable Disable DI1/DI2/DI2 as trigger,
842 842  
843 -* (% style="color:#037691" %)AT Command:
897 +* AT Command:
844 844  
845 845  (% class="box infomessage" %)
846 846  (((
... ... @@ -852,7 +852,7 @@
852 852  
853 853  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
854 854  
855 -* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):
909 +* Downlink Payload (prefix 0xAA 02):
856 856  
857 857  (% class="box infomessage" %)
858 858  (((
... ... @@ -865,7 +865,7 @@
865 865  
866 866  Set DI1 or DI3(for LT-33222-L) trigger.
867 867  
868 -* (% style="color:#037691" %)AT Command:
922 +* AT Command:
869 869  
870 870  (% class="box infomessage" %)
871 871  (((
... ... @@ -882,7 +882,7 @@
882 882  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
883 883  
884 884  
885 -* (% style="color:#037691" %)Downlink Payload (prefix 0x09 01 ):
939 +* Downlink Payload (prefix 0x09 01 ):
886 886  
887 887  (% class="box infomessage" %)
888 888  (((
... ... @@ -895,7 +895,7 @@
895 895  
896 896  Set DI2 trigger.
897 897  
898 -* (% style="color:#037691" %)AT Command:
952 +* AT Command:
899 899  
900 900  (% class="box infomessage" %)
901 901  (((
... ... @@ -912,7 +912,7 @@
912 912  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
913 913  
914 914  
915 -* (% style="color:#037691" %)Downlink Payload (prefix 0x09 02 ):
969 +* Downlink Payload (prefix 0x09 02 ):
916 916  
917 917  (% class="box infomessage" %)
918 918  (((
... ... @@ -925,7 +925,7 @@
925 925  
926 926  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
927 927  
928 -* (% style="color:#037691" %)AT Command:
982 +* AT Command:
929 929  
930 930  (% class="box infomessage" %)
931 931  (((
... ... @@ -933,7 +933,7 @@
933 933  )))
934 934  
935 935  
936 -* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 01 ):
990 +* Downlink Payload (prefix 0xAA 01 ):
937 937  
938 938  (% class="box infomessage" %)
939 939  (((
... ... @@ -946,7 +946,7 @@
946 946  
947 947  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
948 948  
949 -* (% style="color:#037691" %)AT Command:
1003 +* AT Command:
950 950  
951 951  (% class="box infomessage" %)
952 952  (((
... ... @@ -954,7 +954,7 @@
954 954  )))
955 955  
956 956  
957 -* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 00 ):
1011 +* Downlink Payload (prefix 0xAA 00 ):
958 958  
959 959  (% class="box infomessage" %)
960 960  (((
... ... @@ -967,7 +967,7 @@
967 967  
968 968  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
969 969  
970 -* (% style="color:#037691" %)AT Command:
1024 +* AT Command:
971 971  
972 972  (% class="box infomessage" %)
973 973  (((
... ... @@ -975,7 +975,7 @@
975 975  )))
976 976  
977 977  
978 -* (% style="color:#037691" %)Downlink Payload (prefix 0xAC ):
1032 +* Downlink Payload (prefix 0xAC ):
979 979  
980 980  (% class="box infomessage" %)
981 981  (((
... ... @@ -986,12 +986,12 @@
986 986  
987 987  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
988 988  
989 -* (% style="color:#037691" %)AT Command:
1043 +* AT Command:
990 990  
991 991  There is no AT Command to control Digital Output
992 992  
993 993  
994 -* (% style="color:#037691" %)Downlink Payload (prefix 0x02):
1048 +* Downlink Payload (prefix 0x02):
995 995  
996 996  (% class="box infomessage" %)
997 997  (((
... ... @@ -1020,12 +1020,12 @@
1020 1020  
1021 1021  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1022 1022  
1023 -* (% style="color:#037691" %)AT Command:
1077 +* AT Command:
1024 1024  
1025 1025  There is no AT Command to control Digital Output
1026 1026  
1027 1027  
1028 -* (% style="color:#037691" %)Downlink Payload (prefix 0xA9):
1082 +* Downlink Payload (prefix 0xA9):
1029 1029  
1030 1030  (% class="box infomessage" %)
1031 1031  (((
... ... @@ -1089,16 +1089,18 @@
1089 1089  
1090 1090  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1091 1091  
1092 -* (% style="color:#037691" %)**AT Command:**
1146 +* AT Command:
1093 1093  
1094 1094  There is no AT Command to control Relay Output
1095 1095  
1096 1096  
1097 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1151 +* Downlink Payload (prefix 0x03):
1098 1098  
1099 -**0x03 aa bb     **~/~/ Set RO1/RO2 output
1153 +(% class="box infomessage" %)
1154 +(((
1155 +**0x03 aa bb     ~/~/ Set RO1/RO2 output**
1156 +)))
1100 1100  
1101 -
1102 1102  (((
1103 1103  If payload = 0x030100, it means set RO1 to close and RO2 to open.
1104 1104  )))
... ... @@ -1115,19 +1115,20 @@
1115 1115  
1116 1116  
1117 1117  
1118 -
1119 1119  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1120 1120  
1121 -* (% style="color:#037691" %)**AT Command:**
1176 +* AT Command:
1122 1122  
1123 1123  There is no AT Command to control Relay Output
1124 1124  
1125 1125  
1126 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1181 +* Downlink Payload (prefix 0x05):
1127 1127  
1128 -**0x05 aa bb cc dd     **~/~/ Set RO1/RO2 relay with time control
1183 +(% class="box infomessage" %)
1184 +(((
1185 +**0x05 aa bb cc dd     ~/~/ Set RO1/RO2 relay with time control:**
1186 +)))
1129 1129  
1130 -
1131 1131  This is to control the relay output time of relay. Include four bytes:
1132 1132  
1133 1133  (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05)
... ... @@ -1169,28 +1169,35 @@
1169 1169  
1170 1170  
1171 1171  
1172 -
1173 1173  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1174 1174  
1175 1175  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1176 1176  
1177 -* (% style="color:#037691" %)**AT Command:**
1233 +* AT Command:
1178 1178  
1179 -(% style="color:#037691" %)**​​​​​​​**(%%)**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1235 +(% class="box infomessage" %)
1236 +(((
1237 +**AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1238 +)))
1180 1180  
1181 1181  
1182 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1241 +* Downlink Payload (prefix 0xA5):
1183 1183  
1184 -**0xA5 aa bb cc   **~/~/ Same as AT+VOLMAX=(aa bb),cc
1243 +(% class="box infomessage" %)
1244 +(((
1245 +**0xA5 aa bb cc   ~/~/ Same as AT+VOLMAX=(aa bb),cc**
1246 +)))
1185 1185  
1186 1186  
1187 1187  
1188 -
1189 1189  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1190 1190  
1191 -* (% style="color:#037691" %)**AT Command:**
1252 +* AT Command:
1192 1192  
1193 -(% style="color:#037691" %)**​​​​​​​​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1254 +(% class="box infomessage" %)
1255 +(((
1256 +**AT+SETCNT=aa,(bb cc dd ee) **
1257 +)))
1194 1194  
1195 1195  aa: 1: Set count1,
1196 1196  
... ... @@ -1201,40 +1201,51 @@
1201 1201  Bb cc dd ee: number to be set
1202 1202  
1203 1203  
1204 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**
1268 +* Downlink Payload (prefix 0xA8):
1205 1205  
1206 -**0x A8 aa bb cc dd ee     **~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1270 +(% class="box infomessage" %)
1271 +(((
1272 +**0x A8 aa bb cc dd ee     ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)**
1273 +)))
1207 1207  
1208 1208  
1209 1209  
1210 -
1211 1211  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1212 1212  
1213 1213  Clear counting for counting mode
1214 1214  
1215 -* (% style="color:#037691" %)**AT Command:**
1281 +* AT Command:
1216 1216  
1217 -(% style="color:#037691" %)​​​​​​​​​​​​​​(%%)**AT+CLRCOUNT ** ~/~/ clear all counting
1283 +(% class="box infomessage" %)
1284 +(((
1285 +**AT+CLRCOUNT ~/~/ clear all counting**
1286 +)))
1218 1218  
1288 +* Downlink Payload (prefix 0xA6):
1219 1219  
1220 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1290 +(% class="box infomessage" %)
1291 +(((
1292 +**0x A6 01     ~/~/ clear all counting,**
1293 +)))
1221 1221  
1222 -**0x A6 01    ** ~/~/ clear all counting
1223 1223  
1224 1224  
1225 -
1226 -
1227 1227  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1228 1228  
1229 -* (% style="color:#037691" %)**AT Command:**
1299 +* AT Command:
1230 1230  
1231 -**AT+COUTIME=60  **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1301 +(% class="box infomessage" %)
1302 +(((
1303 +**AT+COUTIME=60  ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)**
1304 +)))
1232 1232  
1306 +* Downlink Payload (prefix 0xA7):
1233 1233  
1234 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):**
1308 +(% class="box infomessage" %)
1309 +(((
1310 +**0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,**
1311 +)))
1235 1235  
1236 -**0x A7 aa bb cc     **~/~/ same as AT+COUTIME =aa bb cc,
1237 -
1238 1238  (((
1239 1239  range: aa bb cc:0 to 16777215,  (unit:second)
1240 1240  
... ... @@ -1242,7 +1242,6 @@
1242 1242  )))
1243 1243  
1244 1244  
1245 -
1246 1246  == 3.5 Integrate with Mydevice ==
1247 1247  
1248 1248  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:
... ... @@ -1932,16 +1932,8 @@
1932 1932  )))
1933 1933  
1934 1934  (((
1935 -== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
2009 +
1936 1936  
1937 -If the device is not shut down, but directly powered off.
1938 -
1939 -It will default that this is a power-off state.
1940 -
1941 -In modes 2 to 5, DO RO status and pulse count are saved in flash.
1942 -
1943 -After restart, the status before power failure will be read from flash.
1944 -
1945 1945  = 6. Trouble Shooting =
1946 1946  )))
1947 1947  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0