Last modified by Mengting Qiu on 2025/06/04 18:42

From version 82.27
edited by Xiaoling
on 2022/06/20 12:01
Change comment: There is no comment for this version
To version 82.14
edited by Xiaoling
on 2022/06/20 11:47
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  
... ... @@ -705,6 +705,8 @@
705 705  
706 706  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
707 707  
722 +
723 +
708 708  === 3.4.1 Common Commands ===
709 709  
710 710  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]]
... ... @@ -826,7 +826,10 @@
826 826  
827 827  * (% style="color:#037691" %)AT Command:
828 828  
845 +(% class="box infomessage" %)
846 +(((
829 829  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
848 +)))
830 830  
831 831  
832 832  **Example:**
... ... @@ -835,11 +835,13 @@
835 835  
836 836  * (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):
837 837  
838 -**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 +)))
839 839  
840 840  
841 841  
842 -
843 843  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
844 844  
845 845  Set DI1 or DI3(for LT-33222-L) trigger.
... ... @@ -846,7 +846,10 @@
846 846  
847 847  * (% style="color:#037691" %)AT Command:
848 848  
870 +(% class="box infomessage" %)
871 +(((
849 849  **AT+TRIG1=a,b**
873 +)))
850 850  
851 851  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
852 852  
... ... @@ -858,19 +858,26 @@
858 858  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
859 859  
860 860  
861 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
862 -* **0x09 01 aa bb cc    ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
885 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 01 ):
863 863  
887 +(% class="box infomessage" %)
888 +(((
889 +**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
890 +)))
864 864  
892 +
893 +
865 865  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
866 866  
867 867  Set DI2 trigger.
868 868  
869 -* (% style="color:#037691" %)**AT Command:**
898 +* (% style="color:#037691" %)AT Command:
870 870  
900 +(% class="box infomessage" %)
901 +(((
871 871  **AT+TRIG2=a,b**
903 +)))
872 872  
873 -
874 874  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
875 875  
876 876  b : delay timing.
... ... @@ -881,72 +881,93 @@
881 881  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
882 882  
883 883  
884 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**
915 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 02 ):
885 885  
886 -**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 +)))
887 887  
888 888  
889 889  
890 -
891 891  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
892 892  
893 893  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
894 894  
895 -* (% style="color:#037691" %)**AT Command**
928 +* (% style="color:#037691" %)AT Command:
896 896  
897 -**AT+ACLIM**
930 +(% class="box infomessage" %)
931 +(((
932 +**AT+ACLIM. **
933 +)))
898 898  
899 899  
900 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**
936 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 01 ):
901 901  
902 -**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 +)))
903 903  
904 904  
905 905  
906 -
907 907  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
908 908  
909 909  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
910 910  
911 -* (% style="color:#037691" %)**AT Command**
949 +* (% style="color:#037691" %)AT Command:
912 912  
913 -**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 +)))
914 914  
915 915  
916 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**
957 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 00 ):
917 917  
918 -**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 +)))
919 919  
920 920  
921 921  
922 -
923 923  ==== 3.4.2.11 Trigger – Set minimum interval ====
924 924  
925 925  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
926 926  
927 -* (% style="color:#037691" %)**AT Command**
970 +* (% style="color:#037691" %)AT Command:
928 928  
972 +(% class="box infomessage" %)
973 +(((
929 929  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
975 +)))
930 930  
931 931  
932 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
978 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAC ):
933 933  
934 -**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 +)))
935 935  
936 936  
937 937  
938 -
939 939  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
940 940  
941 -* (% style="color:#037691" %)**AT Command**
989 +* (% style="color:#037691" %)AT Command:
942 942  
943 943  There is no AT Command to control Digital Output
944 944  
945 945  
946 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x02)**
947 -* **0x02 aa bb cc     **~/~/ Set DO1/DO2/DO3 output
994 +* (% style="color:#037691" %)Downlink Payload (prefix 0x02):
948 948  
996 +(% class="box infomessage" %)
949 949  (((
998 +**0x02 aa bb cc     ~/~/ Set DO1/DO2/DO3 output**
999 +)))
1000 +
1001 +(((
950 950  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
951 951  )))
952 952  
... ... @@ -966,19 +966,22 @@
966 966  
967 967  
968 968  
969 -
970 970  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
971 971  
972 -* (% style="color:#037691" %)**AT Command**
1023 +* (% style="color:#037691" %)AT Command:
973 973  
974 974  There is no AT Command to control Digital Output
975 975  
976 976  
977 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**
1028 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA9):
978 978  
979 -**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 +)))
980 980  
981 -
982 982  This is to control the digital output time of DO pin. Include four bytes:
983 983  
984 984  (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9)
... ... @@ -1032,19 +1032,20 @@
1032 1032  
1033 1033  
1034 1034  
1035 -
1036 1036  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1037 1037  
1038 -* (% style="color:#037691" %)**AT Command:**
1092 +* (% style="color:#037691" %)AT Command:
1039 1039  
1040 1040  There is no AT Command to control Relay Output
1041 1041  
1042 1042  
1043 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1097 +* (% style="color:#037691" %)Downlink Payload (prefix 0x03):
1044 1044  
1045 -**0x03 aa bb     **~/~/ Set RO1/RO2 output
1099 +(% class="box infomessage" %)
1100 +(((
1101 +**0x03 aa bb     ~/~/ Set RO1/RO2 output**
1102 +)))
1046 1046  
1047 -
1048 1048  (((
1049 1049  If payload = 0x030100, it means set RO1 to close and RO2 to open.
1050 1050  )))
... ... @@ -1061,10 +1061,9 @@
1061 1061  
1062 1062  
1063 1063  
1064 -
1065 1065  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1066 1066  
1067 -* (% style="color:#037691" %)**AT Command:**
1122 +* (% style="color:#037691" %)AT Command:
1068 1068  
1069 1069  There is no AT Command to control Relay Output
1070 1070  
... ... @@ -1122,7 +1122,7 @@
1122 1122  
1123 1123  * (% style="color:#037691" %)**AT Command:**
1124 1124  
1125 -**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1180 +(% style="color:#037691" %)**​​​​​​​**(%%)**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1126 1126  
1127 1127  
1128 1128  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
... ... @@ -1136,7 +1136,7 @@
1136 1136  
1137 1137  * (% style="color:#037691" %)**AT Command:**
1138 1138  
1139 -(% style="color:#037691" %)**​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1194 +(% style="color:#037691" %)**​​​​​​​​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1140 1140  
1141 1141  aa: 1: Set count1,
1142 1142