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

From version 82.7
edited by Xiaoling
on 2022/06/20 11:17
Change comment: There is no comment for this version
To version 77.64
edited by Xiaoling
on 2022/06/10 09:17
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -19,8 +19,6 @@
19 19  == 1.1 What is LT Series I/O Controller ==
20 20  
21 21  (((
22 -
23 -
24 24  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.
25 25  )))
26 26  
... ... @@ -50,7 +50,6 @@
50 50  
51 51  )))
52 52  
53 -
54 54  == 1.2  Specifications ==
55 55  
56 56  (((
... ... @@ -79,8 +79,6 @@
79 79  )))
80 80  
81 81  (((
82 -
83 -
84 84  **Interface for Model: LT22222-L:**
85 85  )))
86 86  
... ... @@ -104,8 +104,6 @@
104 104  )))
105 105  
106 106  (((
107 -
108 -
109 109  **LoRa Spec:**
110 110  )))
111 111  
... ... @@ -166,8 +166,6 @@
166 166  * (((
167 167  Packet engine up to 256 bytes with CRC.
168 168  
169 -
170 -
171 171  
172 172  )))
173 173  
... ... @@ -181,9 +181,6 @@
181 181  * Firmware upgradable via program port
182 182  * Counting
183 183  
184 -
185 -
186 -
187 187  == 1.4  Applications ==
188 188  
189 189  * Smart Buildings & Home Automation
... ... @@ -193,9 +193,6 @@
193 193  * Smart Cities
194 194  * Smart Factory
195 195  
196 -
197 -
198 -
199 199  == 1.5 Hardware Variants ==
200 200  
201 201  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -209,8 +209,6 @@
209 209  * 1 x Counting Port
210 210  )))
211 211  
212 -
213 -
214 214  = 2. Power ON Device =
215 215  
216 216  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.
... ... @@ -233,9 +233,12 @@
233 233  
234 234  (((
235 235  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 +
236 236  )))
237 237  
238 238  
224 +
239 239  == 3.2 Example to join LoRaWAN network ==
240 240  
241 241  (((
... ... @@ -244,13 +244,12 @@
244 244  
245 245  [[image:image-20220523172350-1.png||height="266" width="864"]]
246 246  
247 -
248 248  (((
249 249  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:
250 250  )))
251 251  
252 252  (((
253 -(% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LT IO controller.
238 +**Step 1**: Create a device in TTN with the OTAA keys from LT IO controller.
254 254  )))
255 255  
256 256  (((
... ... @@ -259,7 +259,6 @@
259 259  
260 260  [[image:1653297924498-393.png]]
261 261  
262 -
263 263  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
264 264  
265 265  Add APP EUI in the application.
... ... @@ -273,7 +273,7 @@
273 273  
274 274  
275 275  (((
276 -(% 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.
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.
277 277  )))
278 278  
279 279  [[image:1653298044601-602.png||height="405" width="709"]]
... ... @@ -298,8 +298,6 @@
298 298  [[image:image-20220523174024-3.png]]
299 299  
300 300  (((
301 -
302 -
303 303  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
304 304  )))
305 305  
... ... @@ -313,7 +313,6 @@
313 313  
314 314  For example if payload is: [[image:image-20220523175847-2.png]]
315 315  
316 -
317 317  **The value for the interface is:  **
318 318  
319 319  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
... ... @@ -346,7 +346,6 @@
346 346  
347 347  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
348 348  
349 -
350 350  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
351 351  
352 352  (((
... ... @@ -355,7 +355,6 @@
355 355  
356 356  [[image:image-20220523180452-3.png]]
357 357  
358 -
359 359  (((
360 360  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
361 361  )))
... ... @@ -371,8 +371,6 @@
371 371  )))
372 372  
373 373  (((
374 -
375 -
376 376  **To use counting mode, please run:**
377 377  )))
378 378  
... ... @@ -391,8 +391,6 @@
391 391  )))
392 392  
393 393  (((
394 -
395 -
396 396  (% style="color:#4f81bd" %)**AT Commands for counting:**
397 397  )))
398 398  
... ... @@ -484,6 +484,8 @@
484 484  
485 485  (((
486 486  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
462 +
463 +
487 487  )))
488 488  
489 489  
... ... @@ -490,7 +490,6 @@
490 490  
491 491  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
492 492  
493 -
494 494  **LT22222-L**: This mode the DI1 is used as a counting pin.
495 495  
496 496  The AVI1 is also used for counting. AVI1 is used to monitor the voltage. It will check the voltage **every 60s**, if voltage is higher or lower than VOLMAX mV, the AVI1 Counting increase 1, so AVI1 counting can be used to measure a machine working hour.
... ... @@ -497,7 +497,6 @@
497 497  
498 498  [[image:image-20220523181903-8.png]]
499 499  
500 -
501 501  (((
502 502  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
503 503  )))
... ... @@ -513,8 +513,6 @@
513 513  )))
514 514  
515 515  (((
516 -
517 -
518 518  **To use this mode, please run:**
519 519  )))
520 520  
... ... @@ -541,8 +541,6 @@
541 541  )))
542 542  
543 543  (((
544 -
545 -
546 546  **Plus below command for AVI1 Counting:**
547 547  )))
548 548  
... ... @@ -578,14 +578,11 @@
578 578  
579 579  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
580 580  
581 -
582 582  **LT22222-L**: This mode the DI1 is used as a counting pin.
583 583  
584 584  [[image:image-20220523182334-9.png]]
585 585  
586 586  (((
587 -
588 -
589 589  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
590 590  )))
591 591  
... ... @@ -600,8 +600,6 @@
600 600  )))
601 601  
602 602  (((
603 -
604 -
605 605  **To use this mode, please run:**
606 606  )))
607 607  
... ... @@ -621,6 +621,8 @@
621 621  
622 622  (((
623 623  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
590 +
591 +
624 624  )))
625 625  
626 626  
... ... @@ -627,7 +627,6 @@
627 627  
628 628  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
629 629  
630 -
631 631  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
632 632  
633 633  For example, if user has configured below commands:
... ... @@ -653,7 +653,6 @@
653 653  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
654 654  
655 655  
656 -
657 657  (% style="color:#4f81bd" %)**Trigger base on current**:
658 658  
659 659  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -663,7 +663,6 @@
663 663  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
664 664  
665 665  
666 -
667 667  (% style="color:#4f81bd" %)**Trigger base on DI status**:
668 668  
669 669  DI status trigger Flag.
... ... @@ -670,13 +670,12 @@
670 670  
671 671  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
672 672  
673 -
674 674  **Example:**
675 675  
676 676  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
677 677  
678 678  
679 -**Downlink Command to set Trigger Condition:**
643 +**Downlink Command to set Trigger Condition**
680 680  
681 681  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
682 682  
... ... @@ -694,18 +694,14 @@
694 694  
695 695   Yy4 yy4: AC2 or AV2 high limit.
696 696  
697 -
698 698  **Example1**: AA 00 13 88 00 00 00 00 00 00
699 699  
700 700  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
701 701  
702 -
703 703  **Example2**: AA 02 01 00
704 704  
705 705  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
706 706  
707 -
708 -
709 709  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
710 710  
711 711  MOD6 Payload : total 11 bytes payload
... ... @@ -712,7 +712,6 @@
712 712  
713 713  [[image:image-20220524085923-1.png]]
714 714  
715 -
716 716  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
717 717  
718 718  [[image:image-20220524090106-2.png]]
... ... @@ -761,8 +761,6 @@
761 761  === 3.3.7 Payload Decoder ===
762 762  
763 763  (((
764 -
765 -
766 766  **Decoder for TTN/loraserver/ChirpStack**: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/]]
767 767  
768 768  
... ... @@ -769,6 +769,7 @@
769 769  )))
770 770  
771 771  
729 +
772 772  == 3.4 ​Configure LT via AT or Downlink ==
773 773  
774 774  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
... ... @@ -802,7 +802,6 @@
802 802  
803 803  **Example: **AT+TDC=30000. Means set interval to 30 seconds
804 804  
805 -
806 806  * Downlink Payload (prefix 0x01):
807 807  
808 808  (% class="box infomessage" %)
... ... @@ -825,7 +825,6 @@
825 825  
826 826  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
827 827  
828 -
829 829  * Downlink Payload (prefix 0x0A):
830 830  
831 831  (% class="box infomessage" %)
... ... @@ -841,7 +841,6 @@
841 841  
842 842  There is no AT Command to poll uplink
843 843  
844 -
845 845  * Downlink Payload (prefix 0x08):
846 846  
847 847  (% class="box infomessage" %)
... ... @@ -868,7 +868,6 @@
868 868  
869 869  0: Disable Trigger Mode
870 870  
871 -
872 872  * Downlink Payload (prefix 0x0A 06):
873 873  
874 874  (% class="box infomessage" %)
... ... @@ -886,7 +886,6 @@
886 886  
887 887  There is no AT Command for this feature.
888 888  
889 -
890 890  * Downlink Payload (prefix 0x AB 06):
891 891  
892 892  (% class="box infomessage" %)
... ... @@ -907,7 +907,6 @@
907 907  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
908 908  )))
909 909  
910 -
911 911  **Example:**
912 912  
913 913  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
... ... @@ -936,12 +936,10 @@
936 936  
937 937  b : delay timing.
938 938  
939 -
940 940  **Example:**
941 941  
942 942  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
943 943  
944 -
945 945  * Downlink Payload (prefix 0x09 01 ):
946 946  
947 947  (% class="box infomessage" %)
... ... @@ -966,12 +966,10 @@
966 966  
967 967  b : delay timing.
968 968  
969 -
970 970  **Example:**
971 971  
972 972  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
973 973  
974 -
975 975  * Downlink Payload (prefix 0x09 02 ):
976 976  
977 977  (% class="box infomessage" %)
... ... @@ -992,7 +992,6 @@
992 992  **AT+ACLIM. **
993 993  )))
994 994  
995 -
996 996  * Downlink Payload (prefix 0xAA 01 ):
997 997  
998 998  (% class="box infomessage" %)
... ... @@ -1013,7 +1013,6 @@
1013 1013  **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1014 1014  )))
1015 1015  
1016 -
1017 1017  * Downlink Payload (prefix 0xAA 00 ):
1018 1018  
1019 1019  (% class="box infomessage" %)
... ... @@ -1034,7 +1034,6 @@
1034 1034  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1035 1035  )))
1036 1036  
1037 -
1038 1038  * Downlink Payload (prefix 0xAC ):
1039 1039  
1040 1040  (% class="box infomessage" %)
... ... @@ -1050,7 +1050,6 @@
1050 1050  
1051 1051  There is no AT Command to control Digital Output
1052 1052  
1053 -
1054 1054  * Downlink Payload (prefix 0x02):
1055 1055  
1056 1056  (% class="box infomessage" %)
... ... @@ -1084,7 +1084,6 @@
1084 1084  
1085 1085  There is no AT Command to control Digital Output
1086 1086  
1087 -
1088 1088  * Downlink Payload (prefix 0xA9):
1089 1089  
1090 1090  (% class="box infomessage" %)
... ... @@ -1104,22 +1104,18 @@
1104 1104  
1105 1105  00: DO pins will change to an inverter state after timeout 
1106 1106  
1107 -
1108 1108  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1109 1109  
1110 1110  [[image:image-20220524093238-6.png]]
1111 1111  
1112 -
1113 1113  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1114 1114  
1115 1115  [[image:image-20220524093328-7.png]]
1116 1116  
1117 -
1118 1118  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1119 1119  
1120 1120  [[image:image-20220524093351-8.png]]
1121 1121  
1122 -
1123 1123  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1124 1124  
1125 1125   Latching time. Unit: ms
... ... @@ -1126,7 +1126,6 @@
1126 1126  
1127 1127  Device will upload a packet if downlink code executes successfully.
1128 1128  
1129 -
1130 1130  **Example payload:**
1131 1131  
1132 1132  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1147,13 +1147,12 @@
1147 1147  
1148 1148  
1149 1149  
1150 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1151 1151  
1152 1152  * AT Command:
1153 1153  
1154 1154  There is no AT Command to control Relay Output
1155 1155  
1156 -
1157 1157  * Downlink Payload (prefix 0x03):
1158 1158  
1159 1159  (% class="box infomessage" %)
... ... @@ -2012,16 +2012,8 @@
2012 2012  )))
2013 2013  
2014 2014  (((
2015 -== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
1952 +
2016 2016  
2017 -If the device is not shut down, but directly powered off.
2018 -
2019 -It will default that this is a power-off state.
2020 -
2021 -In modes 2 to 5, DO RO status and pulse count are saved in flash.
2022 -
2023 -After restart, the status before power failure will be read from flash.
2024 -
2025 2025  = 6. Trouble Shooting =
2026 2026  )))
2027 2027