<
From version < 77.97 >
edited by Xiaoling
on 2022/06/10 09:32
To version < 82.15 >
edited by Xiaoling
on 2022/06/20 11:47
>
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  (((
... ... @@ -76,6 +76,8 @@
76 76  )))
77 77  
78 78  (((
82 +
83 +
79 79  **Interface for Model: LT22222-L:**
80 80  )))
81 81  
... ... @@ -99,6 +99,8 @@
99 99  )))
100 100  
101 101  (((
107 +
108 +
102 102  **LoRa Spec:**
103 103  )))
104 104  
... ... @@ -159,6 +159,8 @@
159 159  * (((
160 160  Packet engine up to 256 bytes with CRC.
161 161  
169 +
170 +
162 162  
163 163  )))
164 164  
... ... @@ -172,6 +172,8 @@
172 172  * Firmware upgradable via program port
173 173  * Counting
174 174  
184 +
185 +
175 175  == 1.4  Applications ==
176 176  
177 177  * Smart Buildings & Home Automation
... ... @@ -181,6 +181,8 @@
181 181  * Smart Cities
182 182  * Smart Factory
183 183  
195 +
196 +
184 184  == 1.5 Hardware Variants ==
185 185  
186 186  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -194,6 +194,7 @@
194 194  * 1 x Counting Port
195 195  )))
196 196  
210 +
197 197  = 2. Power ON Device =
198 198  
199 199  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.
... ... @@ -216,12 +216,9 @@
216 216  
217 217  (((
218 218  In case user can’t set the OTAA keys in the network server and has to use the existing keys from server. User can [[use AT Command>>||anchor="H4.UseATCommand"]] to set the keys in the devices.
219 -
220 -
221 221  )))
222 222  
223 223  
224 -
225 225  == 3.2 Example to join LoRaWAN network ==
226 226  
227 227  (((
... ... @@ -230,12 +230,13 @@
230 230  
231 231  [[image:image-20220523172350-1.png||height="266" width="864"]]
232 232  
244 +
233 233  (((
234 234  The LG308 is already set to connect to [[TTN network >>url:https://www.thethingsnetwork.org/]]. So what we need to do now is only configure register this device to TTN:
235 235  )))
236 236  
237 237  (((
238 -**Step 1**: Create a device in TTN with the OTAA keys from LT IO controller.
250 +(% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LT IO controller.
239 239  )))
240 240  
241 241  (((
... ... @@ -244,6 +244,7 @@
244 244  
245 245  [[image:1653297924498-393.png]]
246 246  
259 +
247 247  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
248 248  
249 249  Add APP EUI in the application.
... ... @@ -257,7 +257,7 @@
257 257  
258 258  
259 259  (((
260 -**Step 2**: Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
273 +(% style="color:blue" %)**Step 2**(%%): Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
261 261  )))
262 262  
263 263  [[image:1653298044601-602.png||height="405" width="709"]]
... ... @@ -276,6 +276,7 @@
276 276  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
277 277  
278 278  
292 +
279 279  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
280 280  
281 281  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -314,8 +314,6 @@
314 314  * [1] RO1 relay channel is close and the RO1 LED is ON.
315 315  * [0] RO2 relay channel is open and RO2 LED is OFF;
316 316  
317 -
318 -
319 319  **LT22222-L:**
320 320  
321 321  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -332,6 +332,7 @@
332 332  ** DO1 LED is off in both case
333 333  
334 334  
347 +
335 335  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
336 336  
337 337  
... ... @@ -368,12 +368,7 @@
368 368  (((
369 369  (((
370 370  **AT+MOD=2**
371 -)))
372 -)))
373 373  
374 -(% class="box infomessage" %)
375 -(((
376 -(((
377 377  **ATZ**
378 378  )))
379 379  )))
... ... @@ -392,40 +392,15 @@
392 392  (((
393 393  (((
394 394  **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
395 -)))
396 -)))
397 397  
398 -(% class="box infomessage" %)
399 -(((
400 -(((
401 401  **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
402 -)))
403 -)))
404 404  
405 -(% class="box infomessage" %)
406 -(((
407 -(((
408 408  **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
409 -)))
410 -)))
411 411  
412 -(% class="box infomessage" %)
413 -(((
414 -(((
415 415  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
416 -)))
417 -)))
418 418  
419 -(% class="box infomessage" %)
420 -(((
421 -(((
422 422  **AT+SETCNT=1,60   (Set COUNT1 value to 60)**
423 -)))
424 -)))
425 425  
426 -(% class="box infomessage" %)
427 -(((
428 -(((
429 429  **AT+SETCNT=2,60   (Set COUNT2 value to 60)**
430 430  )))
431 431  )))
... ... @@ -460,12 +460,7 @@
460 460  (((
461 461  (((
462 462  **AT+MOD=3**
463 -)))
464 -)))
465 465  
466 -(% class="box infomessage" %)
467 -(((
468 -(((
469 469  **ATZ**
470 470  )))
471 471  )))
... ... @@ -472,11 +472,10 @@
472 472  
473 473  (((
474 474  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
475 -
476 -
477 477  )))
478 478  
479 479  
456 +
480 480  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
481 481  
482 482  
... ... @@ -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  )))
... ... @@ -624,16 +624,13 @@
624 624  * **AT+MOD=1 ** **~-~->** The normal working mode
625 625  * **AT+ADDMOD6=1**   **~-~->** Enable trigger
626 626  
627 -
628 628  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
629 629  
630 630  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
631 631  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.**
632 632  
581 +(% style="color:#037691" %)**AT Command to set Trigger Condition**:
633 633  
634 -
635 -**AT Command to set Trigger Condition**:
636 -
637 637  (% style="color:#4f81bd" %)**Trigger base on voltage**:
638 638  
639 639  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
... ... @@ -668,7 +668,7 @@
668 668  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
669 669  
670 670  
671 -**Downlink Command to set Trigger Condition:**
617 +(% style="color:#037691" %)**Downlink Command to set Trigger Condition:**
672 672  
673 673  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
674 674  
... ... @@ -711,8 +711,6 @@
711 711  
712 712  * Each bits shows if the corresponding trigger has been configured.
713 713  
714 -
715 -
716 716  **Example:**
717 717  
718 718  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
... ... @@ -724,8 +724,6 @@
724 724  
725 725  * Each bits shows which status has been trigger on this uplink.
726 726  
727 -
728 -
729 729  **Example:**
730 730  
731 731  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
... ... @@ -737,8 +737,6 @@
737 737  
738 738  * Each bits shows which status has been trigger on this uplink.
739 739  
740 -
741 -
742 742  **Example:**
743 743  
744 744  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
... ... @@ -767,7 +767,6 @@
767 767  )))
768 768  
769 769  
770 -
771 771  == 3.4 ​Configure LT via AT or Downlink ==
772 772  
773 773  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
... ... @@ -794,7 +794,7 @@
794 794  
795 795  Set device uplink interval.
796 796  
797 -* AT Command:
736 +* (% style="color:#037691" %)**AT Command:**
798 798  
799 799  (% class="box infomessage" %)
800 800  (((
... ... @@ -804,7 +804,7 @@
804 804  **Example: **AT+TDC=30000. Means set interval to 30 seconds
805 805  
806 806  
807 -* Downlink Payload (prefix 0x01):
746 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
808 808  
809 809  (% class="box infomessage" %)
810 810  (((
... ... @@ -817,7 +817,7 @@
817 817  
818 818  Set work mode.
819 819  
820 -* AT Command:
759 +* (% style="color:#037691" %)**AT Command:**
821 821  
822 822  (% class="box infomessage" %)
823 823  (((
... ... @@ -827,7 +827,7 @@
827 827  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
828 828  
829 829  
830 -* Downlink Payload (prefix 0x0A):
769 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
831 831  
832 832  (% class="box infomessage" %)
833 833  (((
... ... @@ -838,12 +838,12 @@
838 838  
839 839  ==== 3.4.2.3 Poll an uplink ====
840 840  
841 -* AT Command:
780 +* (% style="color:#037691" %)AT Command:
842 842  
843 843  There is no AT Command to poll uplink
844 844  
845 845  
846 -* Downlink Payload (prefix 0x08):
785 +* (% style="color:#037691" %)Downlink Payload (prefix 0x08):
847 847  
848 848  (% class="box infomessage" %)
849 849  (((
... ... @@ -858,7 +858,7 @@
858 858  
859 859  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
860 860  
861 -* AT Command:
800 +* (% style="color:#037691" %)AT Command:
862 862  
863 863  (% class="box infomessage" %)
864 864  (((
... ... @@ -870,7 +870,7 @@
870 870  0: Disable Trigger Mode
871 871  
872 872  
873 -* Downlink Payload (prefix 0x0A 06):
812 +* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06):
874 874  
875 875  (% class="box infomessage" %)
876 876  (((
... ... @@ -883,12 +883,12 @@
883 883  
884 884  Poll trigger settings,
885 885  
886 -* AT Command:
825 +* (% style="color:#037691" %)AT Command:
887 887  
888 888  There is no AT Command for this feature.
889 889  
890 890  
891 -* Downlink Payload (prefix 0x AB 06):
830 +* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06):
892 892  
893 893  (% class="box infomessage" %)
894 894  (((
... ... @@ -901,7 +901,7 @@
901 901  
902 902  Enable Disable DI1/DI2/DI2 as trigger,
903 903  
904 -* AT Command:
843 +* (% style="color:#037691" %)AT Command:
905 905  
906 906  (% class="box infomessage" %)
907 907  (((
... ... @@ -913,7 +913,7 @@
913 913  
914 914  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
915 915  
916 -* Downlink Payload (prefix 0xAA 02):
855 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):
917 917  
918 918  (% class="box infomessage" %)
919 919  (((
... ... @@ -926,7 +926,7 @@
926 926  
927 927  Set DI1 or DI3(for LT-33222-L) trigger.
928 928  
929 -* AT Command:
868 +* (% style="color:#037691" %)AT Command:
930 930  
931 931  (% class="box infomessage" %)
932 932  (((
... ... @@ -943,7 +943,7 @@
943 943  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
944 944  
945 945  
946 -* Downlink Payload (prefix 0x09 01 ):
885 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 01 ):
947 947  
948 948  (% class="box infomessage" %)
949 949  (((
... ... @@ -956,7 +956,7 @@
956 956  
957 957  Set DI2 trigger.
958 958  
959 -* AT Command:
898 +* (% style="color:#037691" %)AT Command:
960 960  
961 961  (% class="box infomessage" %)
962 962  (((
... ... @@ -973,7 +973,7 @@
973 973  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
974 974  
975 975  
976 -* Downlink Payload (prefix 0x09 02 ):
915 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 02 ):
977 977  
978 978  (% class="box infomessage" %)
979 979  (((
... ... @@ -986,7 +986,7 @@
986 986  
987 987  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
988 988  
989 -* AT Command:
928 +* (% style="color:#037691" %)AT Command:
990 990  
991 991  (% class="box infomessage" %)
992 992  (((
... ... @@ -994,7 +994,7 @@
994 994  )))
995 995  
996 996  
997 -* Downlink Payload (prefix 0xAA 01 ):
936 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 01 ):
998 998  
999 999  (% class="box infomessage" %)
1000 1000  (((
... ... @@ -1007,7 +1007,7 @@
1007 1007  
1008 1008  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1009 1009  
1010 -* AT Command:
949 +* (% style="color:#037691" %)AT Command:
1011 1011  
1012 1012  (% class="box infomessage" %)
1013 1013  (((
... ... @@ -1015,7 +1015,7 @@
1015 1015  )))
1016 1016  
1017 1017  
1018 -* Downlink Payload (prefix 0xAA 00 ):
957 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 00 ):
1019 1019  
1020 1020  (% class="box infomessage" %)
1021 1021  (((
... ... @@ -1028,7 +1028,7 @@
1028 1028  
1029 1029  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
1030 1030  
1031 -* AT Command:
970 +* (% style="color:#037691" %)AT Command:
1032 1032  
1033 1033  (% class="box infomessage" %)
1034 1034  (((
... ... @@ -1036,7 +1036,7 @@
1036 1036  )))
1037 1037  
1038 1038  
1039 -* Downlink Payload (prefix 0xAC ):
978 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAC ):
1040 1040  
1041 1041  (% class="box infomessage" %)
1042 1042  (((
... ... @@ -1047,12 +1047,12 @@
1047 1047  
1048 1048  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
1049 1049  
1050 -* AT Command:
989 +* (% style="color:#037691" %)AT Command:
1051 1051  
1052 1052  There is no AT Command to control Digital Output
1053 1053  
1054 1054  
1055 -* Downlink Payload (prefix 0x02):
994 +* (% style="color:#037691" %)Downlink Payload (prefix 0x02):
1056 1056  
1057 1057  (% class="box infomessage" %)
1058 1058  (((
... ... @@ -1081,12 +1081,12 @@
1081 1081  
1082 1082  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1083 1083  
1084 -* AT Command:
1023 +* (% style="color:#037691" %)AT Command:
1085 1085  
1086 1086  There is no AT Command to control Digital Output
1087 1087  
1088 1088  
1089 -* Downlink Payload (prefix 0xA9):
1028 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA9):
1090 1090  
1091 1091  (% class="box infomessage" %)
1092 1092  (((
... ... @@ -1150,18 +1150,16 @@
1150 1150  
1151 1151  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1152 1152  
1153 -* AT Command:
1092 +* (% style="color:#037691" %)**AT Command:**
1154 1154  
1155 1155  There is no AT Command to control Relay Output
1156 1156  
1157 1157  
1158 -* Downlink Payload (prefix 0x03):
1097 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1159 1159  
1160 -(% class="box infomessage" %)
1161 -(((
1162 -**0x03 aa bb     ~/~/ Set RO1/RO2 output**
1163 -)))
1099 +**0x03 aa bb     **~/~/ Set RO1/RO2 output
1164 1164  
1101 +
1165 1165  (((
1166 1166  If payload = 0x030100, it means set RO1 to close and RO2 to open.
1167 1167  )))
... ... @@ -1178,20 +1178,19 @@
1178 1178  
1179 1179  
1180 1180  
1118 +
1181 1181  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1182 1182  
1183 -* AT Command:
1121 +* (% style="color:#037691" %)**AT Command:**
1184 1184  
1185 1185  There is no AT Command to control Relay Output
1186 1186  
1187 1187  
1188 -* Downlink Payload (prefix 0x05):
1126 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1189 1189  
1190 -(% class="box infomessage" %)
1191 -(((
1192 -**0x05 aa bb cc dd     ~/~/ Set RO1/RO2 relay with time control:**
1193 -)))
1128 +**0x05 aa bb cc dd     **~/~/ Set RO1/RO2 relay with time control
1194 1194  
1130 +
1195 1195  This is to control the relay output time of relay. Include four bytes:
1196 1196  
1197 1197  (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05)
... ... @@ -1233,35 +1233,28 @@
1233 1233  
1234 1234  
1235 1235  
1172 +
1236 1236  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1237 1237  
1238 1238  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1239 1239  
1240 -* AT Command:
1177 +* (% style="color:#037691" %)**AT Command:**
1241 1241  
1242 -(% class="box infomessage" %)
1243 -(((
1244 -**AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1245 -)))
1179 +(% style="color:#037691" %)**​​​​​​​**(%%)**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1246 1246  
1247 1247  
1248 -* Downlink Payload (prefix 0xA5):
1182 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1249 1249  
1250 -(% class="box infomessage" %)
1251 -(((
1252 -**0xA5 aa bb cc   ~/~/ Same as AT+VOLMAX=(aa bb),cc**
1253 -)))
1184 +**0xA5 aa bb cc   **~/~/ Same as AT+VOLMAX=(aa bb),cc
1254 1254  
1255 1255  
1256 1256  
1188 +
1257 1257  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1258 1258  
1259 -* AT Command:
1191 +* (% style="color:#037691" %)**AT Command:**
1260 1260  
1261 -(% class="box infomessage" %)
1262 -(((
1263 -**AT+SETCNT=aa,(bb cc dd ee) **
1264 -)))
1193 +(% style="color:#037691" %)**​​​​​​​​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1265 1265  
1266 1266  aa: 1: Set count1,
1267 1267  
... ... @@ -1272,51 +1272,40 @@
1272 1272  Bb cc dd ee: number to be set
1273 1273  
1274 1274  
1275 -* Downlink Payload (prefix 0xA8):
1204 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**
1276 1276  
1277 -(% class="box infomessage" %)
1278 -(((
1279 -**0x A8 aa bb cc dd ee     ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)**
1280 -)))
1206 +**0x A8 aa bb cc dd ee     **~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1281 1281  
1282 1282  
1283 1283  
1210 +
1284 1284  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1285 1285  
1286 1286  Clear counting for counting mode
1287 1287  
1288 -* AT Command:
1215 +* (% style="color:#037691" %)**AT Command:**
1289 1289  
1290 -(% class="box infomessage" %)
1291 -(((
1292 -**AT+CLRCOUNT ~/~/ clear all counting**
1293 -)))
1217 +(% style="color:#037691" %)​​​​​​​​​​​​​​(%%)**AT+CLRCOUNT ** ~/~/ clear all counting
1294 1294  
1295 -* Downlink Payload (prefix 0xA6):
1296 1296  
1297 -(% class="box infomessage" %)
1298 -(((
1299 -**0x A6 01     ~/~/ clear all counting,**
1300 -)))
1220 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1301 1301  
1222 +**0x A6 01    ** ~/~/ clear all counting
1302 1302  
1303 1303  
1225 +
1226 +
1304 1304  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1305 1305  
1306 -* AT Command:
1229 +* (% style="color:#037691" %)**AT Command:**
1307 1307  
1308 -(% class="box infomessage" %)
1309 -(((
1310 -**AT+COUTIME=60  ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)**
1311 -)))
1231 +**AT+COUTIME=60  **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1312 1312  
1313 -* Downlink Payload (prefix 0xA7):
1314 1314  
1315 -(% class="box infomessage" %)
1316 -(((
1317 -**0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,**
1318 -)))
1234 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):**
1319 1319  
1236 +**0x A7 aa bb cc     **~/~/ same as AT+COUTIME =aa bb cc,
1237 +
1320 1320  (((
1321 1321  range: aa bb cc:0 to 16777215,  (unit:second)
1322 1322  
... ... @@ -1324,6 +1324,7 @@
1324 1324  )))
1325 1325  
1326 1326  
1245 +
1327 1327  == 3.5 Integrate with Mydevice ==
1328 1328  
1329 1329  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:
... ... @@ -2013,8 +2013,16 @@
2013 2013  )))
2014 2014  
2015 2015  (((
2016 -
1935 +== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
2017 2017  
1937 +If the device is not shut down, but directly powered off.
1938 +
1939 +It will default that this is a power-off state.
1940 +
1941 +In modes 2 to 5, DO RO status and pulse count are saved in flash.
1942 +
1943 +After restart, the status before power failure will be read from flash.
1944 +
2018 2018  = 6. Trouble Shooting =
2019 2019  )))
2020 2020  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0