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

From version 75.11
edited by Xiaoling
on 2022/06/01 17:29
Change comment: There is no comment for this version
To version 77.31
edited by Xiaoling
on 2022/06/10 08:43
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -11,6 +11,9 @@
11 11  
12 12  
13 13  
14 +
15 +
16 +
14 14  = 1.Introduction =
15 15  
16 16  == 1.1 What is LT Series I/O Controller ==
... ... @@ -48,6 +48,8 @@
48 48  == 1.2  Specifications ==
49 49  
50 50  (((
54 +
55 +
51 51  **Hardware System:**
52 52  )))
53 53  
... ... @@ -70,6 +70,7 @@
70 70  )))
71 71  )))
72 72  
78 +
73 73  (((
74 74  **Interface for Model: LT22222-L:**
75 75  )))
... ... @@ -93,6 +93,7 @@
93 93  Power Input 7~~ 24V DC. 
94 94  )))
95 95  
102 +
96 96  (((
97 97  **LoRa Spec:**
98 98  )))
... ... @@ -157,6 +157,8 @@
157 157  
158 158  )))
159 159  
167 +
168 +
160 160  == 1.3 Features ==
161 161  
162 162  * LoRaWAN Class A & Class C protocol
... ... @@ -206,6 +206,7 @@
206 206  [[image:1653297104069-180.png]]
207 207  
208 208  
218 +
209 209  = 3. Operation Mode =
210 210  
211 211  == 3.1 How it works? ==
... ... @@ -220,6 +220,8 @@
220 220  
221 221  )))
222 222  
233 +
234 +
223 223  == 3.2 Example to join LoRaWAN network ==
224 224  
225 225  (((
... ... @@ -261,6 +261,7 @@
261 261  [[image:1653298044601-602.png||height="405" width="709"]]
262 262  
263 263  
276 +
264 264  == 3.3 Uplink Payload ==
265 265  
266 266  There are five working modes + one interrupt mode on LT for different type application:
... ... @@ -309,6 +309,7 @@
309 309  * [1] RO1 relay channel is close and the RO1 LED is ON.
310 310  * [0] RO2 relay channel is open and RO2 LED is OFF;
311 311  
325 +
312 312  **LT22222-L:**
313 313  
314 314  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -419,6 +419,7 @@
419 419  )))
420 420  
421 421  
436 +
422 422  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
423 423  
424 424  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -463,6 +463,8 @@
463 463  
464 464  )))
465 465  
481 +
482 +
466 466  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
467 467  
468 468  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -544,6 +544,7 @@
544 544  )))
545 545  
546 546  
564 +
547 547  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
548 548  
549 549  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -588,6 +588,8 @@
588 588  
589 589  )))
590 590  
609 +
610 +
591 591  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
592 592  
593 593  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
... ... @@ -614,6 +614,7 @@
614 614  
615 615  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
616 616  
637 +
617 617  (% style="color:#4f81bd" %)**Trigger base on current**:
618 618  
619 619  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -622,6 +622,7 @@
622 622  
623 623  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
624 624  
646 +
625 625  (% style="color:#4f81bd" %)**Trigger base on DI status**:
626 626  
627 627  DI status trigger Flag.
... ... @@ -709,6 +709,7 @@
709 709  When device got this command, it will send the MOD6 payload.
710 710  
711 711  
734 +
712 712  === 3.3.7 Payload Decoder ===
713 713  
714 714  (((
... ... @@ -717,6 +717,8 @@
717 717  
718 718  )))
719 719  
743 +
744 +
720 720  == 3.4 ​Configure LT via AT or Downlink ==
721 721  
722 722  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
... ... @@ -725,15 +725,18 @@
725 725  There are two kinds of Commands:
726 726  )))
727 727  
728 -* (% style="color:#4f81bd" %)**Common Commands**(%%): They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: http:~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands
753 +* (% style="color:#4f81bd" %)**Common Commands**(%%): They should be available for each sensor, 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]]
729 729  
730 730  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
731 731  
757 +
758 +
732 732  === 3.4.1 Common Commands ===
733 733  
734 734  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]]
735 735  
736 736  
764 +
737 737  === 3.4.2 Sensor related commands ===
738 738  
739 739  ==== 3.4.2.1 Set Transmit Interval ====
... ... @@ -757,6 +757,7 @@
757 757  )))
758 758  
759 759  
788 +
760 760  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
761 761  
762 762  Set work mode.
... ... @@ -778,6 +778,7 @@
778 778  )))
779 779  
780 780  
810 +
781 781  ==== 3.4.2.3 Poll an uplink ====
782 782  
783 783  * AT Command:
... ... @@ -794,9 +794,10 @@
794 794  **Example**: 0x08FF, ask device to send an Uplink
795 795  
796 796  
827 +
797 797  ==== 3.4.2.4 Enable Trigger Mode ====
798 798  
799 -Use of trigger mode, please check [[ADDMOD6>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]
830 +Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
800 800  
801 801  * AT Command:
802 802  
... ... @@ -817,6 +817,7 @@
817 817  )))
818 818  
819 819  
851 +
820 820  ==== 3.4.2.5 Poll trigger settings ====
821 821  
822 822  Poll trigger settings,
... ... @@ -833,6 +833,7 @@
833 833  )))
834 834  
835 835  
868 +
836 836  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
837 837  
838 838  Enable Disable DI1/DI2/DI2 as trigger,
... ... @@ -856,6 +856,7 @@
856 856  )))
857 857  
858 858  
892 +
859 859  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
860 860  
861 861  Set DI1 or DI3(for LT-33222-L) trigger.
... ... @@ -883,6 +883,7 @@
883 883  )))
884 884  
885 885  
920 +
886 886  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
887 887  
888 888  Set DI2 trigger.
... ... @@ -910,9 +910,10 @@
910 910  )))
911 911  
912 912  
948 +
913 913  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
914 914  
915 -Set current trigger , base on AC port. See [[trigger mode>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]
951 +Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
916 916  
917 917  * AT Command:
918 918  
... ... @@ -925,19 +925,20 @@
925 925  
926 926  (% class="box infomessage" %)
927 927  (((
928 -**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]**
964 +**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
929 929  )))
930 930  
931 931  
968 +
932 932  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
933 933  
934 -Set current trigger , base on AV port. See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]
971 +Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
935 935  
936 936  * AT Command:
937 937  
938 938  (% class="box infomessage" %)
939 939  (((
940 -**AT+AVLIM. See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]**
977 +**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
941 941  )))
942 942  
943 943  * Downlink Payload (prefix 0xAA 00 ):
... ... @@ -944,10 +944,11 @@
944 944  
945 945  (% class="box infomessage" %)
946 946  (((
947 -**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] **
984 +**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] **
948 948  )))
949 949  
950 950  
988 +
951 951  ==== 3.4.2.11 Trigger – Set minimum interval ====
952 952  
953 953  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
... ... @@ -967,6 +967,7 @@
967 967  )))
968 968  
969 969  
1008 +
970 970  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
971 971  
972 972  * AT Command:
... ... @@ -999,6 +999,7 @@
999 999  )))
1000 1000  
1001 1001  
1041 +
1002 1002  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1003 1003  
1004 1004  * AT Command:
... ... @@ -1061,6 +1061,7 @@
1061 1061  DO1 pin no action, DO2 pin set low, DO3 pin set high, last 2 seconds, then DO1 pin no action, DO2 pin set high, DO3 pin set low
1062 1062  
1063 1063  
1104 +
1064 1064  === 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1065 1065  
1066 1066  * AT Command:
... ... @@ -1089,6 +1089,7 @@
1089 1089  Device will upload a packet if downlink code executes successfully.
1090 1090  
1091 1091  
1133 +
1092 1092  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1093 1093  
1094 1094  * AT Command:
... ... @@ -1139,15 +1139,16 @@
1139 1139  Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO.
1140 1140  
1141 1141  
1184 +
1142 1142  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1143 1143  
1144 -When voltage exceed the threshold, count. Feature see [[MOD4>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting]]
1187 +When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1145 1145  
1146 1146  * AT Command:
1147 1147  
1148 1148  (% class="box infomessage" %)
1149 1149  (((
1150 -**AT+VOLMAX    ~/~/ See [[MOD4>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting]]**
1193 +**AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1151 1151  )))
1152 1152  
1153 1153  * Downlink Payload (prefix 0xA5):
... ... @@ -1158,6 +1158,7 @@
1158 1158  )))
1159 1159  
1160 1160  
1204 +
1161 1161  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1162 1162  
1163 1163  * AT Command:
... ... @@ -1183,6 +1183,7 @@
1183 1183  )))
1184 1184  
1185 1185  
1230 +
1186 1186  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1187 1187  
1188 1188  Clear counting for counting mode
... ... @@ -1202,6 +1202,7 @@
1202 1202  )))
1203 1203  
1204 1204  
1250 +
1205 1205  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1206 1206  
1207 1207  * AT Command:
... ... @@ -1224,6 +1224,8 @@
1224 1224  
1225 1225  )))
1226 1226  
1273 +
1274 +
1227 1227  == 3.5 Integrate with Mydevice ==
1228 1228  
1229 1229  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:
... ... @@ -1242,6 +1242,7 @@
1242 1242  
1243 1243  [[image:image-20220524094641-12.png||height="402" width="718"]]
1244 1244  
1293 +
1245 1245  **Step 3**: Create an account or log in Mydevices.
1246 1246  
1247 1247  **Step 4**: Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %)
... ... @@ -1264,6 +1264,7 @@
1264 1264  [[image:image-20220524094909-5.png||height="341" width="734"]]
1265 1265  
1266 1266  
1316 +
1267 1267  == 3.6 Interface Detail ==
1268 1268  
1269 1269  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
... ... @@ -1273,6 +1273,7 @@
1273 1273  [[image:1653356991268-289.png]]
1274 1274  
1275 1275  
1326 +
1276 1276  === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) ===
1277 1277  
1278 1278  (((
... ... @@ -1387,6 +1387,7 @@
1387 1387  )))
1388 1388  
1389 1389  
1441 +
1390 1390  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1391 1391  
1392 1392  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
... ... @@ -1394,6 +1394,7 @@
1394 1394  [[image:1653357531600-905.png]]
1395 1395  
1396 1396  
1449 +
1397 1397  === 3.6.4 Analog Input Interface ===
1398 1398  
1399 1399  The analog input interface is as below. The LT will measure the IN2 voltage so to calculate the current pass the Load. The formula is:
... ... @@ -1422,6 +1422,7 @@
1422 1422  [[image:1653357648330-671.png||height="155" width="733"]]
1423 1423  
1424 1424  
1478 +
1425 1425  === 3.6.5 Relay Output ===
1426 1426  
1427 1427  (((
... ... @@ -1865,6 +1865,11 @@
1865 1865  (((
1866 1866  User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesn’t support AT+DEBUG. User can update to latest firmware first.
1867 1867  
1922 +
1923 +== 5.5 Can i use point to point communication for LT-22222-L? ==
1924 +
1925 +Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]
1926 +
1868 1868  
1869 1869  )))
1870 1870