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

From version 82.30
edited by Xiaoling
on 2022/06/20 13:34
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  
... ... @@ -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,23 @@
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  
748 +(% class="box infomessage" %)
749 +(((
731 731  **0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
751 +)))
732 732  
733 733  
734 734  
735 -
736 736  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
737 737  
738 738  Set work mode.
... ... @@ -739,9 +739,11 @@
739 739  
740 740  * (% style="color:#037691" %)**AT Command:**
741 741  
761 +(% class="box infomessage" %)
762 +(((
742 742  **AT+MOD=N  **
764 +)))
743 743  
744 -
745 745  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
746 746  
747 747  
... ... @@ -821,7 +821,10 @@
821 821  
822 822  * (% style="color:#037691" %)AT Command:
823 823  
845 +(% class="box infomessage" %)
846 +(((
824 824  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
848 +)))
825 825  
826 826  
827 827  **Example:**
... ... @@ -830,11 +830,13 @@
830 830  
831 831  * (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):
832 832  
833 -**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 +)))
834 834  
835 835  
836 836  
837 -
838 838  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
839 839  
840 840  Set DI1 or DI3(for LT-33222-L) trigger.
... ... @@ -841,7 +841,10 @@
841 841  
842 842  * (% style="color:#037691" %)AT Command:
843 843  
870 +(% class="box infomessage" %)
871 +(((
844 844  **AT+TRIG1=a,b**
873 +)))
845 845  
846 846  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
847 847  
... ... @@ -853,19 +853,26 @@
853 853  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
854 854  
855 855  
856 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
857 -* **0x09 01 aa bb cc    ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
885 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 01 ):
858 858  
887 +(% class="box infomessage" %)
888 +(((
889 +**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
890 +)))
859 859  
892 +
893 +
860 860  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
861 861  
862 862  Set DI2 trigger.
863 863  
864 -* (% style="color:#037691" %)**AT Command:**
898 +* (% style="color:#037691" %)AT Command:
865 865  
900 +(% class="box infomessage" %)
901 +(((
866 866  **AT+TRIG2=a,b**
903 +)))
867 867  
868 -
869 869  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
870 870  
871 871  b : delay timing.
... ... @@ -876,72 +876,93 @@
876 876  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
877 877  
878 878  
879 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**
915 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 02 ):
880 880  
881 -**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 +)))
882 882  
883 883  
884 884  
885 -
886 886  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
887 887  
888 888  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
889 889  
890 -* (% style="color:#037691" %)**AT Command**
928 +* (% style="color:#037691" %)AT Command:
891 891  
892 -**AT+ACLIM**
930 +(% class="box infomessage" %)
931 +(((
932 +**AT+ACLIM. **
933 +)))
893 893  
894 894  
895 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**
936 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 01 ):
896 896  
897 -**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 +)))
898 898  
899 899  
900 900  
901 -
902 902  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
903 903  
904 904  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
905 905  
906 -* (% style="color:#037691" %)**AT Command**
949 +* (% style="color:#037691" %)AT Command:
907 907  
908 -**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 +)))
909 909  
910 910  
911 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**
957 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 00 ):
912 912  
913 -**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 +)))
914 914  
915 915  
916 916  
917 -
918 918  ==== 3.4.2.11 Trigger – Set minimum interval ====
919 919  
920 920  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
921 921  
922 -* (% style="color:#037691" %)**AT Command**
970 +* (% style="color:#037691" %)AT Command:
923 923  
972 +(% class="box infomessage" %)
973 +(((
924 924  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
975 +)))
925 925  
926 926  
927 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
978 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAC ):
928 928  
929 -**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 +)))
930 930  
931 931  
932 932  
933 -
934 934  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
935 935  
936 -* (% style="color:#037691" %)**AT Command**
989 +* (% style="color:#037691" %)AT Command:
937 937  
938 938  There is no AT Command to control Digital Output
939 939  
940 940  
941 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x02)**
942 -* **0x02 aa bb cc     **~/~/ Set DO1/DO2/DO3 output
994 +* (% style="color:#037691" %)Downlink Payload (prefix 0x02):
943 943  
996 +(% class="box infomessage" %)
944 944  (((
998 +**0x02 aa bb cc     ~/~/ Set DO1/DO2/DO3 output**
999 +)))
1000 +
1001 +(((
945 945  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
946 946  )))
947 947  
... ... @@ -961,19 +961,22 @@
961 961  
962 962  
963 963  
964 -
965 965  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
966 966  
967 -* (% style="color:#037691" %)**AT Command**
1023 +* (% style="color:#037691" %)AT Command:
968 968  
969 969  There is no AT Command to control Digital Output
970 970  
971 971  
972 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**
1028 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA9):
973 973  
974 -**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 +)))
975 975  
976 -
977 977  This is to control the digital output time of DO pin. Include four bytes:
978 978  
979 979  (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9)
... ... @@ -1027,19 +1027,20 @@
1027 1027  
1028 1028  
1029 1029  
1030 -
1031 1031  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1032 1032  
1033 -* (% style="color:#037691" %)**AT Command:**
1092 +* (% style="color:#037691" %)AT Command:
1034 1034  
1035 1035  There is no AT Command to control Relay Output
1036 1036  
1037 1037  
1038 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1097 +* (% style="color:#037691" %)Downlink Payload (prefix 0x03):
1039 1039  
1040 -**0x03 aa bb     **~/~/ Set RO1/RO2 output
1099 +(% class="box infomessage" %)
1100 +(((
1101 +**0x03 aa bb     ~/~/ Set RO1/RO2 output**
1102 +)))
1041 1041  
1042 -
1043 1043  (((
1044 1044  If payload = 0x030100, it means set RO1 to close and RO2 to open.
1045 1045  )))
... ... @@ -1056,10 +1056,9 @@
1056 1056  
1057 1057  
1058 1058  
1059 -
1060 1060  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1061 1061  
1062 -* (% style="color:#037691" %)**AT Command:**
1122 +* (% style="color:#037691" %)AT Command:
1063 1063  
1064 1064  There is no AT Command to control Relay Output
1065 1065  
... ... @@ -1117,7 +1117,7 @@
1117 1117  
1118 1118  * (% style="color:#037691" %)**AT Command:**
1119 1119  
1120 -**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1180 +(% style="color:#037691" %)**​​​​​​​**(%%)**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1121 1121  
1122 1122  
1123 1123  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
... ... @@ -1131,7 +1131,7 @@
1131 1131  
1132 1132  * (% style="color:#037691" %)**AT Command:**
1133 1133  
1134 -(% style="color:#037691" %)**​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1194 +(% style="color:#037691" %)**​​​​​​​​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1135 1135  
1136 1136  aa: 1: Set count1,
1137 1137