<
From version < 82.14 >
edited by Xiaoling
on 2022/06/20 11:47
To version < 82.3 >
edited by Xiaoling
on 2022/06/20 11:17
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -181,8 +181,6 @@
181 181  * Firmware upgradable via program port
182 182  * Counting
183 183  
184 -
185 -
186 186  == 1.4  Applications ==
187 187  
188 188  * Smart Buildings & Home Automation
... ... @@ -192,8 +192,6 @@
192 192  * Smart Cities
193 193  * Smart Factory
194 194  
195 -
196 -
197 197  == 1.5 Hardware Variants ==
198 198  
199 199  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -207,7 +207,6 @@
207 207  * 1 x Counting Port
208 208  )))
209 209  
210 -
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**
375 +)))
376 +)))
384 384  
378 +(% class="box infomessage" %)
379 +(((
380 +(((
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) **
399 +)))
400 +)))
403 403  
402 +(% class="box infomessage" %)
403 +(((
404 +(((
404 404  **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
406 +)))
407 +)))
405 405  
409 +(% class="box infomessage" %)
410 +(((
411 +(((
406 406  **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
413 +)))
414 +)))
407 407  
416 +(% class="box infomessage" %)
417 +(((
418 +(((
408 408  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
420 +)))
421 +)))
409 409  
423 +(% class="box infomessage" %)
424 +(((
425 +(((
410 410  **AT+SETCNT=1,60   (Set COUNT1 value to 60)**
427 +)))
428 +)))
411 411  
430 +(% class="box infomessage" %)
431 +(((
432 +(((
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**
467 +)))
468 +)))
446 446  
470 +(% class="box infomessage" %)
471 +(((
472 +(((
447 447  **ATZ**
448 448  )))
449 449  )))
... ... @@ -488,13 +488,20 @@
488 488  (((
489 489  (((
490 490  **AT+MOD=4**
517 +)))
518 +)))
491 491  
520 +(% class="box infomessage" %)
521 +(((
522 +(((
492 492  **ATZ**
493 493  )))
494 494  )))
495 495  
527 +(((
528 +
529 +)))
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)**
544 +**AT+SETCNT=3,60   (set AVI Count to 60)**
545 +)))
546 +)))
512 512  
513 -(% style="color:blue" %)**AT+VOLMAX=20000**(%%)**   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
548 +(% class="box infomessage" %)
549 +(((
550 +(((
551 +**AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
552 +)))
553 +)))
514 514  
515 -(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)**   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
555 +(% class="box infomessage" %)
556 +(((
557 +(((
558 +**AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
559 +)))
560 +)))
516 516  
517 -(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)**   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
562 +(% class="box infomessage" %)
563 +(((
564 +(((
565 +**AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
518 518  )))
519 519  )))
520 520  
521 521  
570 +
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**
604 +)))
605 +)))
555 555  
607 +(% class="box infomessage" %)
608 +(((
609 +(((
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**:
635 +**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:**
671 +**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:**
788 +* 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):**
798 +* 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:**
811 +* 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):**
821 +* 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:
832 +* 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):
837 +* 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:
852 +* 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):
864 +* 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:
877 +* 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):
882 +* 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:
895 +* 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):
907 +* 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:
920 +* 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 ):
937 +* 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:
950 +* 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 ):
967 +* 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:
980 +* 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 ):
988 +* 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:
1001 +* 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 ):
1009 +* 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:
1022 +* 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 ):
1030 +* 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:
1041 +* 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):
1046 +* 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:
1075 +* 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):
1080 +* Downlink Payload (prefix 0xA9):
1029 1029  
1030 1030  (% class="box infomessage" %)
1031 1031  (((
... ... @@ -1089,12 +1089,12 @@
1089 1089  
1090 1090  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1091 1091  
1092 -* (% style="color:#037691" %)AT Command:
1144 +* 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):
1149 +* Downlink Payload (prefix 0x03):
1098 1098  
1099 1099  (% class="box infomessage" %)
1100 1100  (((
... ... @@ -1119,16 +1119,18 @@
1119 1119  
1120 1120  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1121 1121  
1122 -* (% style="color:#037691" %)AT Command:
1174 +* AT Command:
1123 1123  
1124 1124  There is no AT Command to control Relay Output
1125 1125  
1126 1126  
1127 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1179 +* Downlink Payload (prefix 0x05):
1128 1128  
1129 -**0x05 aa bb cc dd     **~/~/ Set RO1/RO2 relay with time control
1181 +(% class="box infomessage" %)
1182 +(((
1183 +**0x05 aa bb cc dd     ~/~/ Set RO1/RO2 relay with time control:**
1184 +)))
1130 1130  
1131 -
1132 1132  This is to control the relay output time of relay. Include four bytes:
1133 1133  
1134 1134  (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05)
... ... @@ -1170,28 +1170,35 @@
1170 1170  
1171 1171  
1172 1172  
1173 -
1174 1174  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1175 1175  
1176 1176  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1177 1177  
1178 -* (% style="color:#037691" %)**AT Command:**
1231 +* AT Command:
1179 1179  
1180 -(% style="color:#037691" %)**​​​​​​​**(%%)**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1233 +(% class="box infomessage" %)
1234 +(((
1235 +**AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1236 +)))
1181 1181  
1182 1182  
1183 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1239 +* Downlink Payload (prefix 0xA5):
1184 1184  
1185 -**0xA5 aa bb cc   **~/~/ Same as AT+VOLMAX=(aa bb),cc
1241 +(% class="box infomessage" %)
1242 +(((
1243 +**0xA5 aa bb cc   ~/~/ Same as AT+VOLMAX=(aa bb),cc**
1244 +)))
1186 1186  
1187 1187  
1188 1188  
1189 -
1190 1190  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1191 1191  
1192 -* (% style="color:#037691" %)**AT Command:**
1250 +* AT Command:
1193 1193  
1194 -(% style="color:#037691" %)**​​​​​​​​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1252 +(% class="box infomessage" %)
1253 +(((
1254 +**AT+SETCNT=aa,(bb cc dd ee) **
1255 +)))
1195 1195  
1196 1196  aa: 1: Set count1,
1197 1197  
... ... @@ -1202,40 +1202,51 @@
1202 1202  Bb cc dd ee: number to be set
1203 1203  
1204 1204  
1205 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**
1266 +* Downlink Payload (prefix 0xA8):
1206 1206  
1207 -**0x A8 aa bb cc dd ee     **~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1268 +(% class="box infomessage" %)
1269 +(((
1270 +**0x A8 aa bb cc dd ee     ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)**
1271 +)))
1208 1208  
1209 1209  
1210 1210  
1211 -
1212 1212  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1213 1213  
1214 1214  Clear counting for counting mode
1215 1215  
1216 -* (% style="color:#037691" %)**AT Command:**
1279 +* AT Command:
1217 1217  
1218 -(% style="color:#037691" %)​​​​​​​​​​​​​​(%%)**AT+CLRCOUNT ** ~/~/ clear all counting
1281 +(% class="box infomessage" %)
1282 +(((
1283 +**AT+CLRCOUNT ~/~/ clear all counting**
1284 +)))
1219 1219  
1286 +* Downlink Payload (prefix 0xA6):
1220 1220  
1221 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1288 +(% class="box infomessage" %)
1289 +(((
1290 +**0x A6 01     ~/~/ clear all counting,**
1291 +)))
1222 1222  
1223 -**0x A6 01    ** ~/~/ clear all counting
1224 1224  
1225 1225  
1226 -
1227 -
1228 1228  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1229 1229  
1230 -* (% style="color:#037691" %)**AT Command:**
1297 +* AT Command:
1231 1231  
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)
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 +)))
1233 1233  
1304 +* Downlink Payload (prefix 0xA7):
1234 1234  
1235 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):**
1306 +(% class="box infomessage" %)
1307 +(((
1308 +**0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,**
1309 +)))
1236 1236  
1237 -**0x A7 aa bb cc     **~/~/ same as AT+COUTIME =aa bb cc,
1238 -
1239 1239  (((
1240 1240  range: aa bb cc:0 to 16777215,  (unit:second)
1241 1241  
... ... @@ -1243,7 +1243,6 @@
1243 1243  )))
1244 1244  
1245 1245  
1246 -
1247 1247  == 3.5 Integrate with Mydevice ==
1248 1248  
1249 1249  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:
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0