<
From version < 77.88 >
edited by Xiaoling
on 2022/06/10 09:27
To version < 82.16 >
edited by Xiaoling
on 2022/06/20 11:48
>
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"]]
... ... @@ -275,6 +275,8 @@
275 275  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
276 276  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
277 277  
291 +
292 +
278 278  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
279 279  
280 280  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -282,6 +282,8 @@
282 282  [[image:image-20220523174024-3.png]]
283 283  
284 284  (((
300 +
301 +
285 285  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
286 286  )))
287 287  
... ... @@ -295,6 +295,7 @@
295 295  
296 296  For example if payload is: [[image:image-20220523175847-2.png]]
297 297  
315 +
298 298  **The value for the interface is:  **
299 299  
300 300  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
... ... @@ -310,7 +310,6 @@
310 310  * [1] RO1 relay channel is close and the RO1 LED is ON.
311 311  * [0] RO2 relay channel is open and RO2 LED is OFF;
312 312  
313 -
314 314  **LT22222-L:**
315 315  
316 316  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -364,12 +364,7 @@
364 364  (((
365 365  (((
366 366  **AT+MOD=2**
367 -)))
368 -)))
369 369  
370 -(% class="box infomessage" %)
371 -(((
372 -(((
373 373  **ATZ**
374 374  )))
375 375  )))
... ... @@ -388,40 +388,15 @@
388 388  (((
389 389  (((
390 390  **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
391 -)))
392 -)))
393 393  
394 -(% class="box infomessage" %)
395 -(((
396 -(((
397 397  **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
398 -)))
399 -)))
400 400  
401 -(% class="box infomessage" %)
402 -(((
403 -(((
404 404  **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
405 -)))
406 -)))
407 407  
408 -(% class="box infomessage" %)
409 -(((
410 -(((
411 411  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
412 -)))
413 -)))
414 414  
415 -(% class="box infomessage" %)
416 -(((
417 -(((
418 418  **AT+SETCNT=1,60   (Set COUNT1 value to 60)**
419 -)))
420 -)))
421 421  
422 -(% class="box infomessage" %)
423 -(((
424 -(((
425 425  **AT+SETCNT=2,60   (Set COUNT2 value to 60)**
426 426  )))
427 427  )))
... ... @@ -456,12 +456,7 @@
456 456  (((
457 457  (((
458 458  **AT+MOD=3**
459 -)))
460 -)))
461 461  
462 -(% class="box infomessage" %)
463 -(((
464 -(((
465 465  **ATZ**
466 466  )))
467 467  )))
... ... @@ -468,11 +468,10 @@
468 468  
469 469  (((
470 470  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
471 -
472 -
473 473  )))
474 474  
475 475  
456 +
476 476  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
477 477  
478 478  
... ... @@ -507,20 +507,13 @@
507 507  (((
508 508  (((
509 509  **AT+MOD=4**
510 -)))
511 -)))
512 512  
513 -(% class="box infomessage" %)
514 -(((
515 -(((
516 516  **ATZ**
517 517  )))
518 518  )))
519 519  
520 -(((
521 -
522 -)))
523 523  
497 +
524 524  (((
525 525  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
526 526  )))
... ... @@ -534,33 +534,17 @@
534 534  (% class="box infomessage" %)
535 535  (((
536 536  (((
537 -**AT+SETCNT=3,60   (set AVI Count to 60)**
538 -)))
539 -)))
511 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)**   (set AVI Count to 60)**
540 540  
541 -(% class="box infomessage" %)
542 -(((
543 -(((
544 -**AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
545 -)))
546 -)))
513 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)**   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
547 547  
548 -(% class="box infomessage" %)
549 -(((
550 -(((
551 -**AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
552 -)))
553 -)))
515 +(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)**   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
554 554  
555 -(% class="box infomessage" %)
556 -(((
557 -(((
558 -**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)**
559 559  )))
560 560  )))
561 561  
562 562  
563 -
564 564  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
565 565  
566 566  
... ... @@ -594,12 +594,7 @@
594 594  (((
595 595  (((
596 596  **AT+MOD=5**
597 -)))
598 -)))
599 599  
600 -(% class="box infomessage" %)
601 -(((
602 -(((
603 603  **ATZ**
604 604  )))
605 605  )))
... ... @@ -625,7 +625,7 @@
625 625  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
626 626  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.**
627 627  
628 -**AT Command to set Trigger Condition**:
581 +(% style="color:#037691" %)**AT Command to set Trigger Condition**:
629 629  
630 630  (% style="color:#4f81bd" %)**Trigger base on voltage**:
631 631  
... ... @@ -638,6 +638,7 @@
638 638  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
639 639  
640 640  
594 +
641 641  (% style="color:#4f81bd" %)**Trigger base on current**:
642 642  
643 643  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -647,6 +647,7 @@
647 647  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
648 648  
649 649  
604 +
650 650  (% style="color:#4f81bd" %)**Trigger base on DI status**:
651 651  
652 652  DI status trigger Flag.
... ... @@ -653,12 +653,13 @@
653 653  
654 654  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
655 655  
611 +
656 656  **Example:**
657 657  
658 658  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
659 659  
660 660  
661 -**Downlink Command to set Trigger Condition**
617 +(% style="color:#037691" %)**Downlink Command to set Trigger Condition:**
662 662  
663 663  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
664 664  
... ... @@ -687,6 +687,7 @@
687 687  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
688 688  
689 689  
646 +
690 690  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
691 691  
692 692  MOD6 Payload : total 11 bytes payload
... ... @@ -750,7 +750,6 @@
750 750  )))
751 751  
752 752  
753 -
754 754  == 3.4 ​Configure LT via AT or Downlink ==
755 755  
756 756  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
... ... @@ -764,6 +764,7 @@
764 764  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
765 765  
766 766  
723 +
767 767  === 3.4.1 Common Commands ===
768 768  
769 769  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]]
... ... @@ -776,7 +776,7 @@
776 776  
777 777  Set device uplink interval.
778 778  
779 -* AT Command:
736 +* (% style="color:#037691" %)**AT Command:**
780 780  
781 781  (% class="box infomessage" %)
782 782  (((
... ... @@ -786,7 +786,7 @@
786 786  **Example: **AT+TDC=30000. Means set interval to 30 seconds
787 787  
788 788  
789 -* Downlink Payload (prefix 0x01):
746 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
790 790  
791 791  (% class="box infomessage" %)
792 792  (((
... ... @@ -799,7 +799,7 @@
799 799  
800 800  Set work mode.
801 801  
802 -* AT Command:
759 +* (% style="color:#037691" %)**AT Command:**
803 803  
804 804  (% class="box infomessage" %)
805 805  (((
... ... @@ -809,7 +809,7 @@
809 809  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
810 810  
811 811  
812 -* Downlink Payload (prefix 0x0A):
769 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
813 813  
814 814  (% class="box infomessage" %)
815 815  (((
... ... @@ -820,12 +820,12 @@
820 820  
821 821  ==== 3.4.2.3 Poll an uplink ====
822 822  
823 -* AT Command:
780 +* (% style="color:#037691" %)AT Command:
824 824  
825 825  There is no AT Command to poll uplink
826 826  
827 827  
828 -* Downlink Payload (prefix 0x08):
785 +* (% style="color:#037691" %)Downlink Payload (prefix 0x08):
829 829  
830 830  (% class="box infomessage" %)
831 831  (((
... ... @@ -840,7 +840,7 @@
840 840  
841 841  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
842 842  
843 -* AT Command:
800 +* (% style="color:#037691" %)AT Command:
844 844  
845 845  (% class="box infomessage" %)
846 846  (((
... ... @@ -852,7 +852,7 @@
852 852  0: Disable Trigger Mode
853 853  
854 854  
855 -* Downlink Payload (prefix 0x0A 06):
812 +* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06):
856 856  
857 857  (% class="box infomessage" %)
858 858  (((
... ... @@ -865,12 +865,12 @@
865 865  
866 866  Poll trigger settings,
867 867  
868 -* AT Command:
825 +* (% style="color:#037691" %)AT Command:
869 869  
870 870  There is no AT Command for this feature.
871 871  
872 872  
873 -* Downlink Payload (prefix 0x AB 06):
830 +* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06):
874 874  
875 875  (% class="box infomessage" %)
876 876  (((
... ... @@ -883,7 +883,7 @@
883 883  
884 884  Enable Disable DI1/DI2/DI2 as trigger,
885 885  
886 -* AT Command:
843 +* (% style="color:#037691" %)AT Command:
887 887  
888 888  (% class="box infomessage" %)
889 889  (((
... ... @@ -895,7 +895,7 @@
895 895  
896 896  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
897 897  
898 -* Downlink Payload (prefix 0xAA 02):
855 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):
899 899  
900 900  (% class="box infomessage" %)
901 901  (((
... ... @@ -908,7 +908,7 @@
908 908  
909 909  Set DI1 or DI3(for LT-33222-L) trigger.
910 910  
911 -* AT Command:
868 +* (% style="color:#037691" %)AT Command:
912 912  
913 913  (% class="box infomessage" %)
914 914  (((
... ... @@ -925,7 +925,7 @@
925 925  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
926 926  
927 927  
928 -* Downlink Payload (prefix 0x09 01 ):
885 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 01 ):
929 929  
930 930  (% class="box infomessage" %)
931 931  (((
... ... @@ -938,7 +938,7 @@
938 938  
939 939  Set DI2 trigger.
940 940  
941 -* AT Command:
898 +* (% style="color:#037691" %)AT Command:
942 942  
943 943  (% class="box infomessage" %)
944 944  (((
... ... @@ -955,7 +955,7 @@
955 955  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
956 956  
957 957  
958 -* Downlink Payload (prefix 0x09 02 ):
915 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 02 ):
959 959  
960 960  (% class="box infomessage" %)
961 961  (((
... ... @@ -968,7 +968,7 @@
968 968  
969 969  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
970 970  
971 -* AT Command:
928 +* (% style="color:#037691" %)AT Command:
972 972  
973 973  (% class="box infomessage" %)
974 974  (((
... ... @@ -976,7 +976,7 @@
976 976  )))
977 977  
978 978  
979 -* Downlink Payload (prefix 0xAA 01 ):
936 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 01 ):
980 980  
981 981  (% class="box infomessage" %)
982 982  (((
... ... @@ -989,7 +989,7 @@
989 989  
990 990  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
991 991  
992 -* AT Command:
949 +* (% style="color:#037691" %)AT Command:
993 993  
994 994  (% class="box infomessage" %)
995 995  (((
... ... @@ -997,7 +997,7 @@
997 997  )))
998 998  
999 999  
1000 -* Downlink Payload (prefix 0xAA 00 ):
957 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 00 ):
1001 1001  
1002 1002  (% class="box infomessage" %)
1003 1003  (((
... ... @@ -1010,7 +1010,7 @@
1010 1010  
1011 1011  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
1012 1012  
1013 -* AT Command:
970 +* (% style="color:#037691" %)AT Command:
1014 1014  
1015 1015  (% class="box infomessage" %)
1016 1016  (((
... ... @@ -1018,7 +1018,7 @@
1018 1018  )))
1019 1019  
1020 1020  
1021 -* Downlink Payload (prefix 0xAC ):
978 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAC ):**
1022 1022  
1023 1023  (% class="box infomessage" %)
1024 1024  (((
... ... @@ -1029,17 +1029,14 @@
1029 1029  
1030 1030  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
1031 1031  
1032 -* AT Command:
989 +* (% style="color:#037691" %)**AT Command:**
1033 1033  
1034 1034  There is no AT Command to control Digital Output
1035 1035  
1036 1036  
1037 -* Downlink Payload (prefix 0x02):
994 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x02):**
995 +* **0x02 aa bb cc     **~/~/ Set DO1/DO2/DO3 output
1038 1038  
1039 -(% class="box infomessage" %)
1040 -(((
1041 -**0x02 aa bb cc     ~/~/ Set DO1/DO2/DO3 output**
1042 -)))
1043 1043  
1044 1044  (((
1045 1045  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
... ... @@ -1061,22 +1061,19 @@
1061 1061  
1062 1062  
1063 1063  
1018 +
1064 1064  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1065 1065  
1066 -* AT Command:
1021 +* (% style="color:#037691" %)**AT Command:**
1067 1067  
1068 1068  There is no AT Command to control Digital Output
1069 1069  
1070 1070  
1071 -* Downlink Payload (prefix 0xA9):
1026 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9):**
1072 1072  
1073 -(% class="box infomessage" %)
1074 -(((
1075 -(((
1076 -**0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control**
1077 -)))
1078 -)))
1028 +**0xA9 aa bb cc     **~/~/ Set DO1/DO2/DO3 output with time control
1079 1079  
1030 +
1080 1080  This is to control the digital output time of DO pin. Include four bytes:
1081 1081  
1082 1082  (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9)
... ... @@ -1130,20 +1130,19 @@
1130 1130  
1131 1131  
1132 1132  
1084 +
1133 1133  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1134 1134  
1135 -* AT Command:
1087 +* (% style="color:#037691" %)**AT Command:**
1136 1136  
1137 1137  There is no AT Command to control Relay Output
1138 1138  
1139 1139  
1140 -* Downlink Payload (prefix 0x03):
1092 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1141 1141  
1142 -(% class="box infomessage" %)
1143 -(((
1144 -**0x03 aa bb     ~/~/ Set RO1/RO2 output**
1145 -)))
1094 +**0x03 aa bb     **~/~/ Set RO1/RO2 output
1146 1146  
1096 +
1147 1147  (((
1148 1148  If payload = 0x030100, it means set RO1 to close and RO2 to open.
1149 1149  )))
... ... @@ -1160,20 +1160,19 @@
1160 1160  
1161 1161  
1162 1162  
1113 +
1163 1163  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1164 1164  
1165 -* AT Command:
1116 +* (% style="color:#037691" %)**AT Command:**
1166 1166  
1167 1167  There is no AT Command to control Relay Output
1168 1168  
1169 1169  
1170 -* Downlink Payload (prefix 0x05):
1121 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1171 1171  
1172 -(% class="box infomessage" %)
1173 -(((
1174 -**0x05 aa bb cc dd     ~/~/ Set RO1/RO2 relay with time control:**
1175 -)))
1123 +**0x05 aa bb cc dd     **~/~/ Set RO1/RO2 relay with time control
1176 1176  
1125 +
1177 1177  This is to control the relay output time of relay. Include four bytes:
1178 1178  
1179 1179  (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05)
... ... @@ -1215,35 +1215,28 @@
1215 1215  
1216 1216  
1217 1217  
1167 +
1218 1218  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1219 1219  
1220 1220  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1221 1221  
1222 -* AT Command:
1172 +* (% style="color:#037691" %)**AT Command:**
1223 1223  
1224 -(% class="box infomessage" %)
1225 -(((
1226 -**AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1227 -)))
1174 +(% style="color:#037691" %)**​​​​​​​**(%%)**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1228 1228  
1229 1229  
1230 -* Downlink Payload (prefix 0xA5):
1177 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1231 1231  
1232 -(% class="box infomessage" %)
1233 -(((
1234 -**0xA5 aa bb cc   ~/~/ Same as AT+VOLMAX=(aa bb),cc**
1235 -)))
1179 +**0xA5 aa bb cc   **~/~/ Same as AT+VOLMAX=(aa bb),cc
1236 1236  
1237 1237  
1238 1238  
1183 +
1239 1239  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1240 1240  
1241 -* AT Command:
1186 +* (% style="color:#037691" %)**AT Command:**
1242 1242  
1243 -(% class="box infomessage" %)
1244 -(((
1245 -**AT+SETCNT=aa,(bb cc dd ee) **
1246 -)))
1188 +(% style="color:#037691" %)**​​​​​​​​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1247 1247  
1248 1248  aa: 1: Set count1,
1249 1249  
... ... @@ -1254,51 +1254,40 @@
1254 1254  Bb cc dd ee: number to be set
1255 1255  
1256 1256  
1257 -* Downlink Payload (prefix 0xA8):
1199 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**
1258 1258  
1259 -(% class="box infomessage" %)
1260 -(((
1261 -**0x A8 aa bb cc dd ee     ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)**
1262 -)))
1201 +**0x A8 aa bb cc dd ee     **~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1263 1263  
1264 1264  
1265 1265  
1205 +
1266 1266  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1267 1267  
1268 1268  Clear counting for counting mode
1269 1269  
1270 -* AT Command:
1210 +* (% style="color:#037691" %)**AT Command:**
1271 1271  
1272 -(% class="box infomessage" %)
1273 -(((
1274 -**AT+CLRCOUNT ~/~/ clear all counting**
1275 -)))
1212 +(% style="color:#037691" %)​​​​​​​​​​​​​​(%%)**AT+CLRCOUNT ** ~/~/ clear all counting
1276 1276  
1277 -* Downlink Payload (prefix 0xA6):
1278 1278  
1279 -(% class="box infomessage" %)
1280 -(((
1281 -**0x A6 01     ~/~/ clear all counting,**
1282 -)))
1215 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1283 1283  
1217 +**0x A6 01    ** ~/~/ clear all counting
1284 1284  
1285 1285  
1220 +
1221 +
1286 1286  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1287 1287  
1288 -* AT Command:
1224 +* (% style="color:#037691" %)**AT Command:**
1289 1289  
1290 -(% class="box infomessage" %)
1291 -(((
1292 -**AT+COUTIME=60  ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)**
1293 -)))
1226 +**AT+COUTIME=60  **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1294 1294  
1295 -* Downlink Payload (prefix 0xA7):
1296 1296  
1297 -(% class="box infomessage" %)
1298 -(((
1299 -**0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,**
1300 -)))
1229 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):**
1301 1301  
1231 +**0x A7 aa bb cc     **~/~/ same as AT+COUTIME =aa bb cc,
1232 +
1302 1302  (((
1303 1303  range: aa bb cc:0 to 16777215,  (unit:second)
1304 1304  
... ... @@ -1306,6 +1306,7 @@
1306 1306  )))
1307 1307  
1308 1308  
1240 +
1309 1309  == 3.5 Integrate with Mydevice ==
1310 1310  
1311 1311  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:
... ... @@ -1995,8 +1995,16 @@
1995 1995  )))
1996 1996  
1997 1997  (((
1998 -
1930 +== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
1999 1999  
1932 +If the device is not shut down, but directly powered off.
1933 +
1934 +It will default that this is a power-off state.
1935 +
1936 +In modes 2 to 5, DO RO status and pulse count are saved in flash.
1937 +
1938 +After restart, the status before power failure will be read from flash.
1939 +
2000 2000  = 6. Trouble Shooting =
2001 2001  )))
2002 2002  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0