<
From version < 82.29 >
edited by Xiaoling
on 2022/06/20 13:34
To version < 82.10 >
edited by Xiaoling
on 2022/06/20 11:41
>
Change comment: There is no comment for this version

Summary

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" %)
... ... @@ -204,7 +204,6 @@
204 204  )))
205 205  
206 206  
207 -
208 208  = 2. Power ON Device =
209 209  
210 210  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.
... ... @@ -285,6 +285,8 @@
285 285  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
286 286  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
287 287  
291 +
292 +
288 288  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
289 289  
290 290  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -338,6 +338,8 @@
338 338  ** DO1 is high in case there is load between DO1 and V+.
339 339  ** DO1 LED is off in both case
340 340  
346 +
347 +
341 341  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
342 342  
343 343  
... ... @@ -387,20 +387,24 @@
387 387  
388 388  (((
389 389  **For LT22222-L:**
397 +)))
390 390  
399 +(% class="box infomessage" %)
400 +(((
401 +(((
402 +**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
391 391  
392 -(% style="color:blue" %)**AT+TRIG1=0,100**(%%)**  (set DI1 port to trigger on low level, valid signal is 100ms) **
404 +**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
393 393  
394 -(% style="color:blue" %)**AT+TRIG1=1,100**(%%)**  (set DI1 port to trigger on high level, valid signal is 100ms ) **
406 +**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
395 395  
396 -(% style="color:blue" %)**AT+TRIG2=0,100**(%%)**  (set DI2 port to trigger on low level, valid signal is 100ms) **
408 +**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
397 397  
398 -(% style="color:blue" %)**AT+TRIG2=1,100**(%%)**  (set DI2 port to trigger on high level, valid signal is 100ms ) **
410 +**AT+SETCNT=1,6  (Set COUNT1 value to 60)**
399 399  
400 -(% style="color:blue" %)**AT+SETCNT=1,60**(%%)**   (Set COUNT1 value to 60)**
401 -
402 -(% style="color:blue" %)**AT+SETCNT=2,60**(%%)**   (Set COUNT2 value to 60)**
412 +**AT+SETCNT=2,60   (Set COUNT2 value to 60)**
403 403  )))
414 +)))
404 404  
405 405  
406 406  
... ... @@ -492,19 +492,22 @@
492 492  
493 493  
494 494  **Plus below command for AVI1 Counting:**
506 +)))
495 495  
508 +(% class="box infomessage" %)
509 +(((
510 +(((
511 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)**   (set AVI Count to 60)**
496 496  
497 -(% style="color:blue" %)**AT+SETCNT=3,60**(%%)**  (set AVI Count to 60)**
513 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)**   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
498 498  
499 -(% style="color:blue" %)**AT+VOLMAX=20000**(%%)**  (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
515 +(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)**   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
500 500  
501 -(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)**  (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
502 -
503 -(% style="color:blue" %)**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)**
504 504  )))
519 +)))
505 505  
506 506  
507 -
508 508  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
509 509  
510 510  
... ... @@ -564,7 +564,6 @@
564 564  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
565 565  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.**
566 566  
567 -
568 568  (% style="color:#037691" %)**AT Command to set Trigger Condition**:
569 569  
570 570  (% style="color:#4f81bd" %)**Trigger base on voltage**:
... ... @@ -706,6 +706,8 @@
706 706  
707 707  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
708 708  
722 +
723 +
709 709  === 3.4.1 Common Commands ===
710 710  
711 711  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]]
... ... @@ -720,19 +720,19 @@
720 720  
721 721  * (% style="color:#037691" %)**AT Command:**
722 722  
738 +(% class="box infomessage" %)
739 +(((
723 723  **AT+TDC=N **
741 +)))
724 724  
725 -
726 726  **Example: **AT+TDC=30000. Means set interval to 30 seconds
727 727  
728 728  
729 729  * (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
730 730  
731 -**0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
732 -
733 733  (% class="box infomessage" %)
734 734  (((
735 -
750 +**0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
736 736  )))
737 737  
738 738  
... ... @@ -827,7 +827,10 @@
827 827  
828 828  * (% style="color:#037691" %)AT Command:
829 829  
845 +(% class="box infomessage" %)
846 +(((
830 830  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
848 +)))
831 831  
832 832  
833 833  **Example:**
... ... @@ -836,11 +836,13 @@
836 836  
837 837  * (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):
838 838  
839 -**0xAA 02 aa bb        **~/~/ Same as AT+DTRI=aa,bb
857 +(% class="box infomessage" %)
858 +(((
859 +**0xAA 02 aa bb  ~/~/ Same as AT+DTRI=aa,bb**
860 +)))
840 840  
841 841  
842 842  
843 -
844 844  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
845 845  
846 846  Set DI1 or DI3(for LT-33222-L) trigger.
... ... @@ -847,7 +847,10 @@
847 847  
848 848  * (% style="color:#037691" %)AT Command:
849 849  
870 +(% class="box infomessage" %)
871 +(((
850 850  **AT+TRIG1=a,b**
873 +)))
851 851  
852 852  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
853 853  
... ... @@ -859,19 +859,26 @@
859 859  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
860 860  
861 861  
862 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
863 -* **0x09 01 aa bb cc    ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
885 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 01 ):
864 864  
887 +(% class="box infomessage" %)
888 +(((
889 +**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
890 +)))
865 865  
892 +
893 +
866 866  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
867 867  
868 868  Set DI2 trigger.
869 869  
870 -* (% style="color:#037691" %)**AT Command:**
898 +* (% style="color:#037691" %)AT Command:
871 871  
900 +(% class="box infomessage" %)
901 +(((
872 872  **AT+TRIG2=a,b**
903 +)))
873 873  
874 -
875 875  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
876 876  
877 877  b : delay timing.
... ... @@ -882,72 +882,93 @@
882 882  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
883 883  
884 884  
885 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**
915 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 02 ):
886 886  
887 -**0x09 02 aa bb cc           **~/~/ same as AT+TRIG1=aa,0x(bb cc)
917 +(% class="box infomessage" %)
918 +(((
919 +**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
920 +)))
888 888  
889 889  
890 890  
891 -
892 892  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
893 893  
894 894  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
895 895  
896 -* (% style="color:#037691" %)**AT Command**
928 +* (% style="color:#037691" %)AT Command:
897 897  
898 -**AT+ACLIM**
930 +(% class="box infomessage" %)
931 +(((
932 +**AT+ACLIM. **
933 +)))
899 899  
900 900  
901 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**
936 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 01 ):
902 902  
903 -**0x AA 01 aa bb cc dd ee ff gg hh        ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
938 +(% class="box infomessage" %)
939 +(((
940 +**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
941 +)))
904 904  
905 905  
906 906  
907 -
908 908  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
909 909  
910 910  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
911 911  
912 -* (% style="color:#037691" %)**AT Command**
949 +* (% style="color:#037691" %)AT Command:
913 913  
914 -**AT+AVLIM  See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
951 +(% class="box infomessage" %)
952 +(((
953 +**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
954 +)))
915 915  
916 916  
917 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**
957 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 00 ):
918 918  
919 -**0x AA 00 aa bb cc dd ee ff gg hh    ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
959 +(% class="box infomessage" %)
960 +(((
961 +**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] **
962 +)))
920 920  
921 921  
922 922  
923 -
924 924  ==== 3.4.2.11 Trigger – Set minimum interval ====
925 925  
926 926  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
927 927  
928 -* (% style="color:#037691" %)**AT Command**
970 +* (% style="color:#037691" %)AT Command:
929 929  
972 +(% class="box infomessage" %)
973 +(((
930 930  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
975 +)))
931 931  
932 932  
933 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
978 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAC ):
934 934  
935 -**0x AC aa bb   ** ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
980 +(% class="box infomessage" %)
981 +(((
982 +**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)**
983 +)))
936 936  
937 937  
938 938  
939 -
940 940  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
941 941  
942 -* (% style="color:#037691" %)**AT Command**
989 +* (% style="color:#037691" %)AT Command:
943 943  
944 944  There is no AT Command to control Digital Output
945 945  
946 946  
947 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x02)**
948 -* **0x02 aa bb cc     **~/~/ Set DO1/DO2/DO3 output
994 +* (% style="color:#037691" %)Downlink Payload (prefix 0x02):
949 949  
996 +(% class="box infomessage" %)
950 950  (((
998 +**0x02 aa bb cc     ~/~/ Set DO1/DO2/DO3 output**
999 +)))
1000 +
1001 +(((
951 951  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
952 952  )))
953 953  
... ... @@ -967,19 +967,22 @@
967 967  
968 968  
969 969  
970 -
971 971  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
972 972  
973 -* (% style="color:#037691" %)**AT Command**
1023 +* (% style="color:#037691" %)AT Command:
974 974  
975 975  There is no AT Command to control Digital Output
976 976  
977 977  
978 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**
1028 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA9):
979 979  
980 -**0xA9 aa bb cc     **~/~/ Set DO1/DO2/DO3 output with time control
1030 +(% class="box infomessage" %)
1031 +(((
1032 +(((
1033 +**0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control**
1034 +)))
1035 +)))
981 981  
982 -
983 983  This is to control the digital output time of DO pin. Include four bytes:
984 984  
985 985  (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9)
... ... @@ -1033,19 +1033,20 @@
1033 1033  
1034 1034  
1035 1035  
1036 -
1037 1037  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1038 1038  
1039 -* (% style="color:#037691" %)**AT Command:**
1092 +* (% style="color:#037691" %)AT Command:
1040 1040  
1041 1041  There is no AT Command to control Relay Output
1042 1042  
1043 1043  
1044 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1097 +* (% style="color:#037691" %)Downlink Payload (prefix 0x03):
1045 1045  
1046 -**0x03 aa bb     **~/~/ Set RO1/RO2 output
1099 +(% class="box infomessage" %)
1100 +(((
1101 +**0x03 aa bb     ~/~/ Set RO1/RO2 output**
1102 +)))
1047 1047  
1048 -
1049 1049  (((
1050 1050  If payload = 0x030100, it means set RO1 to close and RO2 to open.
1051 1051  )))
... ... @@ -1062,19 +1062,20 @@
1062 1062  
1063 1063  
1064 1064  
1065 -
1066 1066  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1067 1067  
1068 -* (% style="color:#037691" %)**AT Command:**
1122 +* (% style="color:#037691" %)AT Command:
1069 1069  
1070 1070  There is no AT Command to control Relay Output
1071 1071  
1072 1072  
1073 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1127 +* (% style="color:#037691" %)Downlink Payload (prefix 0x05):
1074 1074  
1075 -**0x05 aa bb cc dd     **~/~/ Set RO1/RO2 relay with time control
1129 +(% class="box infomessage" %)
1130 +(((
1131 +**0x05 aa bb cc dd     ~/~/ Set RO1/RO2 relay with time control:**
1132 +)))
1076 1076  
1077 -
1078 1078  This is to control the relay output time of relay. Include four bytes:
1079 1079  
1080 1080  (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05)
... ... @@ -1116,28 +1116,35 @@
1116 1116  
1117 1117  
1118 1118  
1119 -
1120 1120  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1121 1121  
1122 1122  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1123 1123  
1124 -* (% style="color:#037691" %)**AT Command:**
1179 +* (% style="color:#037691" %)AT Command:
1125 1125  
1126 -**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1181 +(% class="box infomessage" %)
1182 +(((
1183 +**AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1184 +)))
1127 1127  
1128 1128  
1129 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1187 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA5):
1130 1130  
1131 -**0xA5 aa bb cc   **~/~/ Same as AT+VOLMAX=(aa bb),cc
1189 +(% class="box infomessage" %)
1190 +(((
1191 +**0xA5 aa bb cc   ~/~/ Same as AT+VOLMAX=(aa bb),cc**
1192 +)))
1132 1132  
1133 1133  
1134 1134  
1135 -
1136 1136  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1137 1137  
1138 -* (% style="color:#037691" %)**AT Command:**
1198 +* (% style="color:#037691" %)AT Command:
1139 1139  
1140 -(% style="color:#037691" %)**​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1200 +(% class="box infomessage" %)
1201 +(((
1202 +**AT+SETCNT=aa,(bb cc dd ee) **
1203 +)))
1141 1141  
1142 1142  aa: 1: Set count1,
1143 1143  
... ... @@ -1148,40 +1148,51 @@
1148 1148  Bb cc dd ee: number to be set
1149 1149  
1150 1150  
1151 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**
1214 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA8):
1152 1152  
1153 -**0x A8 aa bb cc dd ee     **~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1216 +(% class="box infomessage" %)
1217 +(((
1218 +**0x A8 aa bb cc dd ee     ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)**
1219 +)))
1154 1154  
1155 1155  
1156 1156  
1157 -
1158 1158  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1159 1159  
1160 1160  Clear counting for counting mode
1161 1161  
1162 -* (% style="color:#037691" %)**AT Command:**
1227 +* (% style="color:#037691" %)AT Command:
1163 1163  
1164 -(% style="color:#037691" %)​​​​​​​​​​​​​​(%%)**AT+CLRCOUNT ** ~/~/ clear all counting
1229 +(% class="box infomessage" %)
1230 +(((
1231 +**AT+CLRCOUNT ~/~/ clear all counting**
1232 +)))
1165 1165  
1234 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA6):
1166 1166  
1167 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1236 +(% class="box infomessage" %)
1237 +(((
1238 +**0x A6 01     ~/~/ clear all counting,**
1239 +)))
1168 1168  
1169 -**0x A6 01    ** ~/~/ clear all counting
1170 1170  
1171 1171  
1172 -
1173 -
1174 1174  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1175 1175  
1176 -* (% style="color:#037691" %)**AT Command:**
1245 +* (% style="color:#037691" %)AT Command:
1177 1177  
1178 -**AT+COUTIME=60  **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1247 +(% class="box infomessage" %)
1248 +(((
1249 +**AT+COUTIME=60  ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)**
1250 +)))
1179 1179  
1252 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA7):
1180 1180  
1181 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):**
1254 +(% class="box infomessage" %)
1255 +(((
1256 +**0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,**
1257 +)))
1182 1182  
1183 -**0x A7 aa bb cc     **~/~/ same as AT+COUTIME =aa bb cc,
1184 -
1185 1185  (((
1186 1186  range: aa bb cc:0 to 16777215,  (unit:second)
1187 1187  
... ... @@ -1189,7 +1189,6 @@
1189 1189  )))
1190 1190  
1191 1191  
1192 -
1193 1193  == 3.5 Integrate with Mydevice ==
1194 1194  
1195 1195  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