<
From version < 79.4 >
edited by Xiaoling
on 2022/06/10 09:41
To version < 82.19 >
edited by Xiaoling
on 2022/06/20 11:53
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -19,6 +19,8 @@
19 19  == 1.1 What is LT Series I/O Controller ==
20 20  
21 21  (((
22 +
23 +
22 22  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.
23 23  )))
24 24  
... ... @@ -48,6 +48,7 @@
48 48  
49 49  )))
50 50  
53 +
51 51  == 1.2  Specifications ==
52 52  
53 53  (((
... ... @@ -162,6 +162,10 @@
162 162  )))
163 163  * (((
164 164  Packet engine up to 256 bytes with CRC.
168 +
169 +
170 +
171 +
165 165  )))
166 166  
167 167  == 1.3 Features ==
... ... @@ -174,6 +174,8 @@
174 174  * Firmware upgradable via program port
175 175  * Counting
176 176  
184 +
185 +
177 177  == 1.4  Applications ==
178 178  
179 179  * Smart Buildings & Home Automation
... ... @@ -183,6 +183,8 @@
183 183  * Smart Cities
184 184  * Smart Factory
185 185  
195 +
196 +
186 186  == 1.5 Hardware Variants ==
187 187  
188 188  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -196,6 +196,7 @@
196 196  * 1 x Counting Port
197 197  )))
198 198  
210 +
199 199  = 2. Power ON Device =
200 200  
201 201  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.
... ... @@ -277,6 +277,7 @@
277 277  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
278 278  
279 279  
292 +
280 280  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
281 281  
282 282  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -315,8 +315,6 @@
315 315  * [1] RO1 relay channel is close and the RO1 LED is ON.
316 316  * [0] RO2 relay channel is open and RO2 LED is OFF;
317 317  
318 -
319 -
320 320  **LT22222-L:**
321 321  
322 322  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -333,6 +333,7 @@
333 333  ** DO1 LED is off in both case
334 334  
335 335  
347 +
336 336  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
337 337  
338 338  
... ... @@ -369,12 +369,7 @@
369 369  (((
370 370  (((
371 371  **AT+MOD=2**
372 -)))
373 -)))
374 374  
375 -(% class="box infomessage" %)
376 -(((
377 -(((
378 378  **ATZ**
379 379  )))
380 380  )))
... ... @@ -393,40 +393,15 @@
393 393  (((
394 394  (((
395 395  **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
396 -)))
397 -)))
398 398  
399 -(% class="box infomessage" %)
400 -(((
401 -(((
402 402  **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
403 -)))
404 -)))
405 405  
406 -(% class="box infomessage" %)
407 -(((
408 -(((
409 409  **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
410 -)))
411 -)))
412 412  
413 -(% class="box infomessage" %)
414 -(((
415 -(((
416 416  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
417 -)))
418 -)))
419 419  
420 -(% class="box infomessage" %)
421 -(((
422 -(((
423 423  **AT+SETCNT=1,60   (Set COUNT1 value to 60)**
424 -)))
425 -)))
426 426  
427 -(% class="box infomessage" %)
428 -(((
429 -(((
430 430  **AT+SETCNT=2,60   (Set COUNT2 value to 60)**
431 431  )))
432 432  )))
... ... @@ -461,12 +461,7 @@
461 461  (((
462 462  (((
463 463  **AT+MOD=3**
464 -)))
465 -)))
466 466  
467 -(% class="box infomessage" %)
468 -(((
469 -(((
470 470  **ATZ**
471 471  )))
472 472  )))
... ... @@ -511,20 +511,13 @@
511 511  (((
512 512  (((
513 513  **AT+MOD=4**
514 -)))
515 -)))
516 516  
517 -(% class="box infomessage" %)
518 -(((
519 -(((
520 520  **ATZ**
521 521  )))
522 522  )))
523 523  
524 -(((
525 -
526 -)))
527 527  
497 +
528 528  (((
529 529  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
530 530  )))
... ... @@ -538,33 +538,17 @@
538 538  (% class="box infomessage" %)
539 539  (((
540 540  (((
541 -**AT+SETCNT=3,60   (set AVI Count to 60)**
542 -)))
543 -)))
511 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)**   (set AVI Count to 60)**
544 544  
545 -(% class="box infomessage" %)
546 -(((
547 -(((
548 -**AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
549 -)))
550 -)))
513 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)**   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
551 551  
552 -(% class="box infomessage" %)
553 -(((
554 -(((
555 -**AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
556 -)))
557 -)))
515 +(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)**   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
558 558  
559 -(% class="box infomessage" %)
560 -(((
561 -(((
562 -**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)**
563 563  )))
564 564  )))
565 565  
566 566  
567 -
568 568  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
569 569  
570 570  
... ... @@ -598,12 +598,7 @@
598 598  (((
599 599  (((
600 600  **AT+MOD=5**
601 -)))
602 -)))
603 603  
604 -(% class="box infomessage" %)
605 -(((
606 -(((
607 607  **ATZ**
608 608  )))
609 609  )))
... ... @@ -629,7 +629,7 @@
629 629  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
630 630  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.**
631 631  
632 -**AT Command to set Trigger Condition**:
581 +(% style="color:#037691" %)**AT Command to set Trigger Condition**:
633 633  
634 634  (% style="color:#4f81bd" %)**Trigger base on voltage**:
635 635  
... ... @@ -665,7 +665,7 @@
665 665  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
666 666  
667 667  
668 -**Downlink Command to set Trigger Condition:**
617 +(% style="color:#037691" %)**Downlink Command to set Trigger Condition:**
669 669  
670 670  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
671 671  
... ... @@ -772,7 +772,6 @@
772 772  
773 773  
774 774  
775 -
776 776  === 3.4.1 Common Commands ===
777 777  
778 778  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]]
... ... @@ -785,7 +785,7 @@
785 785  
786 786  Set device uplink interval.
787 787  
788 -* AT Command:
736 +* (% style="color:#037691" %)**AT Command:**
789 789  
790 790  (% class="box infomessage" %)
791 791  (((
... ... @@ -795,7 +795,7 @@
795 795  **Example: **AT+TDC=30000. Means set interval to 30 seconds
796 796  
797 797  
798 -* Downlink Payload (prefix 0x01):
746 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
799 799  
800 800  (% class="box infomessage" %)
801 801  (((
... ... @@ -808,7 +808,7 @@
808 808  
809 809  Set work mode.
810 810  
811 -* AT Command:
759 +* (% style="color:#037691" %)**AT Command:**
812 812  
813 813  (% class="box infomessage" %)
814 814  (((
... ... @@ -818,7 +818,7 @@
818 818  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
819 819  
820 820  
821 -* Downlink Payload (prefix 0x0A):
769 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
822 822  
823 823  (% class="box infomessage" %)
824 824  (((
... ... @@ -829,12 +829,12 @@
829 829  
830 830  ==== 3.4.2.3 Poll an uplink ====
831 831  
832 -* AT Command:
780 +* (% style="color:#037691" %)AT Command:
833 833  
834 834  There is no AT Command to poll uplink
835 835  
836 836  
837 -* Downlink Payload (prefix 0x08):
785 +* (% style="color:#037691" %)Downlink Payload (prefix 0x08):
838 838  
839 839  (% class="box infomessage" %)
840 840  (((
... ... @@ -849,7 +849,7 @@
849 849  
850 850  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
851 851  
852 -* AT Command:
800 +* (% style="color:#037691" %)AT Command:
853 853  
854 854  (% class="box infomessage" %)
855 855  (((
... ... @@ -861,7 +861,7 @@
861 861  0: Disable Trigger Mode
862 862  
863 863  
864 -* Downlink Payload (prefix 0x0A 06):
812 +* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06):
865 865  
866 866  (% class="box infomessage" %)
867 867  (((
... ... @@ -874,12 +874,12 @@
874 874  
875 875  Poll trigger settings,
876 876  
877 -* AT Command:
825 +* (% style="color:#037691" %)AT Command:
878 878  
879 879  There is no AT Command for this feature.
880 880  
881 881  
882 -* Downlink Payload (prefix 0x AB 06):
830 +* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06):
883 883  
884 884  (% class="box infomessage" %)
885 885  (((
... ... @@ -892,7 +892,7 @@
892 892  
893 893  Enable Disable DI1/DI2/DI2 as trigger,
894 894  
895 -* AT Command:
843 +* (% style="color:#037691" %)AT Command:
896 896  
897 897  (% class="box infomessage" %)
898 898  (((
... ... @@ -904,7 +904,7 @@
904 904  
905 905  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
906 906  
907 -* Downlink Payload (prefix 0xAA 02):
855 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):
908 908  
909 909  (% class="box infomessage" %)
910 910  (((
... ... @@ -917,12 +917,9 @@
917 917  
918 918  Set DI1 or DI3(for LT-33222-L) trigger.
919 919  
920 -* AT Command:
868 +* (% style="color:#037691" %)AT Command:
921 921  
922 -(% class="box infomessage" %)
923 -(((
924 924  **AT+TRIG1=a,b**
925 -)))
926 926  
927 927  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
928 928  
... ... @@ -934,12 +934,9 @@
934 934  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
935 935  
936 936  
937 -* Downlink Payload (prefix 0x09 01 ):
882 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
883 +* **0x09 01 aa bb cc  ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
938 938  
939 -(% class="box infomessage" %)
940 -(((
941 -**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
942 -)))
943 943  
944 944  
945 945  
... ... @@ -947,13 +947,11 @@
947 947  
948 948  Set DI2 trigger.
949 949  
950 -* AT Command:
892 +* (% style="color:#037691" %)**AT Command:**
951 951  
952 -(% class="box infomessage" %)
953 -(((
954 954  **AT+TRIG2=a,b**
955 -)))
956 956  
896 +
957 957  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
958 958  
959 959  b : delay timing.
... ... @@ -964,91 +964,71 @@
964 964  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
965 965  
966 966  
967 -* Downlink Payload (prefix 0x09 02 ):
907 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**
968 968  
969 -(% class="box infomessage" %)
970 -(((
971 -**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
972 -)))
909 +**0x09 02 aa bb cc  **~/~/ same as AT+TRIG1=aa,0x(bb cc)
973 973  
974 974  
975 975  
913 +
976 976  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
977 977  
978 978  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
979 979  
980 -* AT Command:
918 +* (% style="color:#037691" %)**AT Command**
981 981  
982 -(% class="box infomessage" %)
983 -(((
984 -**AT+ACLIM. **
985 -)))
920 +**AT+ACLIM**
986 986  
987 987  
988 -* Downlink Payload (prefix 0xAA 01 ):
923 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**
989 989  
990 -(% class="box infomessage" %)
991 -(((
992 -**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
993 -)))
925 +**0x AA 01 aa bb cc dd ee ff gg hh  ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
994 994  
995 995  
996 996  
929 +
997 997  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
998 998  
999 999  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1000 1000  
1001 -* AT Command:
934 +* (% style="color:#037691" %)**AT Command**
1002 1002  
1003 -(% class="box infomessage" %)
1004 -(((
1005 -**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1006 -)))
936 +**AT+AVLIM  See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1007 1007  
1008 1008  
1009 -* Downlink Payload (prefix 0xAA 00 ):
939 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**
1010 1010  
1011 -(% class="box infomessage" %)
1012 -(((
1013 -**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] **
1014 -)))
941 +**0x AA 00 aa bb cc dd ee ff gg hh  ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1015 1015  
1016 1016  
1017 1017  
945 +
1018 1018  ==== 3.4.2.11 Trigger – Set minimum interval ====
1019 1019  
1020 1020  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
1021 1021  
1022 -* AT Command:
950 +* (% style="color:#037691" %)**AT Command**
1023 1023  
1024 -(% class="box infomessage" %)
1025 -(((
1026 1026  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1027 -)))
1028 1028  
1029 1029  
1030 -* Downlink Payload (prefix 0xAC ):
955 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
1031 1031  
1032 -(% class="box infomessage" %)
1033 -(((
1034 -**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)**
1035 -)))
957 +**0x AC aa bb  ** ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
1036 1036  
1037 1037  
1038 1038  
961 +
1039 1039  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
1040 1040  
1041 -* AT Command:
964 +* (% style="color:#037691" %)**AT Command**
1042 1042  
1043 1043  There is no AT Command to control Digital Output
1044 1044  
1045 1045  
1046 -* Downlink Payload (prefix 0x02):
969 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x02)**
970 +* **0x02 aa bb cc     **~/~/ Set DO1/DO2/DO3 output
1047 1047  
1048 -(% class="box infomessage" %)
1049 -(((
1050 -**0x02 aa bb cc     ~/~/ Set DO1/DO2/DO3 output**
1051 -)))
1052 1052  
1053 1053  (((
1054 1054  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
... ... @@ -1070,22 +1070,19 @@
1070 1070  
1071 1071  
1072 1072  
993 +
1073 1073  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1074 1074  
1075 -* AT Command:
996 +* (% style="color:#037691" %)**AT Command**
1076 1076  
1077 1077  There is no AT Command to control Digital Output
1078 1078  
1079 1079  
1080 -* Downlink Payload (prefix 0xA9):
1001 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**
1081 1081  
1082 -(% class="box infomessage" %)
1083 -(((
1084 -(((
1085 -**0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control**
1086 -)))
1087 -)))
1003 +**0xA9 aa bb cc     **~/~/ Set DO1/DO2/DO3 output with time control
1088 1088  
1005 +
1089 1089  This is to control the digital output time of DO pin. Include four bytes:
1090 1090  
1091 1091  (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9)
... ... @@ -1139,20 +1139,19 @@
1139 1139  
1140 1140  
1141 1141  
1059 +
1142 1142  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1143 1143  
1144 -* AT Command:
1062 +* (% style="color:#037691" %)**AT Command:**
1145 1145  
1146 1146  There is no AT Command to control Relay Output
1147 1147  
1148 1148  
1149 -* Downlink Payload (prefix 0x03):
1067 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1150 1150  
1151 -(% class="box infomessage" %)
1152 -(((
1153 -**0x03 aa bb     ~/~/ Set RO1/RO2 output**
1154 -)))
1069 +**0x03 aa bb     **~/~/ Set RO1/RO2 output
1155 1155  
1071 +
1156 1156  (((
1157 1157  If payload = 0x030100, it means set RO1 to close and RO2 to open.
1158 1158  )))
... ... @@ -1169,20 +1169,19 @@
1169 1169  
1170 1170  
1171 1171  
1088 +
1172 1172  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1173 1173  
1174 -* AT Command:
1091 +* (% style="color:#037691" %)**AT Command:**
1175 1175  
1176 1176  There is no AT Command to control Relay Output
1177 1177  
1178 1178  
1179 -* Downlink Payload (prefix 0x05):
1096 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1180 1180  
1181 -(% class="box infomessage" %)
1182 -(((
1183 -**0x05 aa bb cc dd     ~/~/ Set RO1/RO2 relay with time control:**
1184 -)))
1098 +**0x05 aa bb cc dd     **~/~/ Set RO1/RO2 relay with time control
1185 1185  
1100 +
1186 1186  This is to control the relay output time of relay. Include four bytes:
1187 1187  
1188 1188  (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05)
... ... @@ -1224,35 +1224,28 @@
1224 1224  
1225 1225  
1226 1226  
1142 +
1227 1227  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1228 1228  
1229 1229  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1230 1230  
1231 -* AT Command:
1147 +* (% style="color:#037691" %)**AT Command:**
1232 1232  
1233 -(% class="box infomessage" %)
1234 -(((
1235 -**AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1236 -)))
1149 +(% style="color:#037691" %)**​​​​​​​**(%%)**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1237 1237  
1238 1238  
1239 -* Downlink Payload (prefix 0xA5):
1152 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1240 1240  
1241 -(% class="box infomessage" %)
1242 -(((
1243 -**0xA5 aa bb cc   ~/~/ Same as AT+VOLMAX=(aa bb),cc**
1244 -)))
1154 +**0xA5 aa bb cc   **~/~/ Same as AT+VOLMAX=(aa bb),cc
1245 1245  
1246 1246  
1247 1247  
1158 +
1248 1248  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1249 1249  
1250 -* AT Command:
1161 +* (% style="color:#037691" %)**AT Command:**
1251 1251  
1252 -(% class="box infomessage" %)
1253 -(((
1254 -**AT+SETCNT=aa,(bb cc dd ee) **
1255 -)))
1163 +(% style="color:#037691" %)**​​​​​​​​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1256 1256  
1257 1257  aa: 1: Set count1,
1258 1258  
... ... @@ -1263,51 +1263,40 @@
1263 1263  Bb cc dd ee: number to be set
1264 1264  
1265 1265  
1266 -* Downlink Payload (prefix 0xA8):
1174 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**
1267 1267  
1268 -(% class="box infomessage" %)
1269 -(((
1270 -**0x A8 aa bb cc dd ee     ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)**
1271 -)))
1176 +**0x A8 aa bb cc dd ee     **~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1272 1272  
1273 1273  
1274 1274  
1180 +
1275 1275  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1276 1276  
1277 1277  Clear counting for counting mode
1278 1278  
1279 -* AT Command:
1185 +* (% style="color:#037691" %)**AT Command:**
1280 1280  
1281 -(% class="box infomessage" %)
1282 -(((
1283 -**AT+CLRCOUNT ~/~/ clear all counting**
1284 -)))
1187 +(% style="color:#037691" %)​​​​​​​​​​​​​​(%%)**AT+CLRCOUNT ** ~/~/ clear all counting
1285 1285  
1286 -* Downlink Payload (prefix 0xA6):
1287 1287  
1288 -(% class="box infomessage" %)
1289 -(((
1290 -**0x A6 01     ~/~/ clear all counting,**
1291 -)))
1190 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1292 1292  
1192 +**0x A6 01    ** ~/~/ clear all counting
1293 1293  
1294 1294  
1195 +
1196 +
1295 1295  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1296 1296  
1297 -* AT Command:
1199 +* (% style="color:#037691" %)**AT Command:**
1298 1298  
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 -)))
1201 +**AT+COUTIME=60  **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1303 1303  
1304 -* Downlink Payload (prefix 0xA7):
1305 1305  
1306 -(% class="box infomessage" %)
1307 -(((
1308 -**0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,**
1309 -)))
1204 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):**
1310 1310  
1206 +**0x A7 aa bb cc     **~/~/ same as AT+COUTIME =aa bb cc,
1207 +
1311 1311  (((
1312 1312  range: aa bb cc:0 to 16777215,  (unit:second)
1313 1313  
... ... @@ -1315,6 +1315,7 @@
1315 1315  )))
1316 1316  
1317 1317  
1215 +
1318 1318  == 3.5 Integrate with Mydevice ==
1319 1319  
1320 1320  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:
... ... @@ -2004,8 +2004,16 @@
2004 2004  )))
2005 2005  
2006 2006  (((
2007 -
1905 +== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
2008 2008  
1907 +If the device is not shut down, but directly powered off.
1908 +
1909 +It will default that this is a power-off state.
1910 +
1911 +In modes 2 to 5, DO RO status and pulse count are saved in flash.
1912 +
1913 +After restart, the status before power failure will be read from flash.
1914 +
2009 2009  = 6. Trouble Shooting =
2010 2010  )))
2011 2011  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0