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

From version 77.5
edited by Xiaoling
on 2022/06/10 08:38
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
... ... @@ -202,6 +202,8 @@
202 202  * 1 x Counting Port
203 203  )))
204 204  
205 +
206 +
205 205  = 2. Power ON Device =
206 206  
207 207  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.
... ... @@ -213,6 +213,7 @@
213 213  [[image:1653297104069-180.png]]
214 214  
215 215  
218 +
216 216  = 3. Operation Mode =
217 217  
218 218  == 3.1 How it works? ==
... ... @@ -227,6 +227,8 @@
227 227  
228 228  )))
229 229  
233 +
234 +
230 230  == 3.2 Example to join LoRaWAN network ==
231 231  
232 232  (((
... ... @@ -268,6 +268,7 @@
268 268  [[image:1653298044601-602.png||height="405" width="709"]]
269 269  
270 270  
276 +
271 271  == 3.3 Uplink Payload ==
272 272  
273 273  There are five working modes + one interrupt mode on LT for different type application:
... ... @@ -279,6 +279,8 @@
279 279  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
280 280  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
281 281  
288 +
289 +
282 282  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
283 283  
284 284  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -314,6 +314,7 @@
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  
325 +
317 317  **LT22222-L:**
318 318  
319 319  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -329,6 +329,8 @@
329 329  ** DO1 is high in case there is load between DO1 and V+.
330 330  ** DO1 LED is off in both case
331 331  
341 +
342 +
332 332  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
333 333  
334 334  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
... ... @@ -422,6 +422,7 @@
422 422  )))
423 423  
424 424  
436 +
425 425  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
426 426  
427 427  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -466,6 +466,8 @@
466 466  
467 467  )))
468 468  
481 +
482 +
469 469  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
470 470  
471 471  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -547,6 +547,7 @@
547 547  )))
548 548  
549 549  
564 +
550 550  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
551 551  
552 552  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -591,6 +591,8 @@
591 591  
592 592  )))
593 593  
609 +
610 +
594 594  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
595 595  
596 596  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
... ... @@ -714,6 +714,7 @@
714 714  When device got this command, it will send the MOD6 payload.
715 715  
716 716  
734 +
717 717  === 3.3.7 Payload Decoder ===
718 718  
719 719  (((
... ... @@ -722,6 +722,8 @@
722 722  
723 723  )))
724 724  
743 +
744 +
725 725  == 3.4 ​Configure LT via AT or Downlink ==
726 726  
727 727  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
... ... @@ -734,11 +734,14 @@
734 734  
735 735  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
736 736  
757 +
758 +
737 737  === 3.4.1 Common Commands ===
738 738  
739 739  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]]
740 740  
741 741  
764 +
742 742  === 3.4.2 Sensor related commands ===
743 743  
744 744  ==== 3.4.2.1 Set Transmit Interval ====
... ... @@ -762,6 +762,7 @@
762 762  )))
763 763  
764 764  
788 +
765 765  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
766 766  
767 767  Set work mode.
... ... @@ -783,6 +783,7 @@
783 783  )))
784 784  
785 785  
810 +
786 786  ==== 3.4.2.3 Poll an uplink ====
787 787  
788 788  * AT Command:
... ... @@ -799,6 +799,7 @@
799 799  **Example**: 0x08FF, ask device to send an Uplink
800 800  
801 801  
827 +
802 802  ==== 3.4.2.4 Enable Trigger Mode ====
803 803  
804 804  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -822,6 +822,7 @@
822 822  )))
823 823  
824 824  
851 +
825 825  ==== 3.4.2.5 Poll trigger settings ====
826 826  
827 827  Poll trigger settings,
... ... @@ -838,6 +838,7 @@
838 838  )))
839 839  
840 840  
868 +
841 841  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
842 842  
843 843  Enable Disable DI1/DI2/DI2 as trigger,
... ... @@ -861,6 +861,7 @@
861 861  )))
862 862  
863 863  
892 +
864 864  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
865 865  
866 866  Set DI1 or DI3(for LT-33222-L) trigger.
... ... @@ -888,6 +888,7 @@
888 888  )))
889 889  
890 890  
920 +
891 891  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
892 892  
893 893  Set DI2 trigger.
... ... @@ -915,6 +915,7 @@
915 915  )))
916 916  
917 917  
948 +
918 918  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
919 919  
920 920  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -934,6 +934,7 @@
934 934  )))
935 935  
936 936  
968 +
937 937  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
938 938  
939 939  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -953,6 +953,7 @@
953 953  )))
954 954  
955 955  
988 +
956 956  ==== 3.4.2.11 Trigger – Set minimum interval ====
957 957  
958 958  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
... ... @@ -972,6 +972,7 @@
972 972  )))
973 973  
974 974  
1008 +
975 975  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
976 976  
977 977  * AT Command:
... ... @@ -1004,6 +1004,7 @@
1004 1004  )))
1005 1005  
1006 1006  
1041 +
1007 1007  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1008 1008  
1009 1009  * AT Command:
... ... @@ -1066,6 +1066,7 @@
1066 1066  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
1067 1067  
1068 1068  
1104 +
1069 1069  === 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1070 1070  
1071 1071  * AT Command:
... ... @@ -1094,6 +1094,7 @@
1094 1094  Device will upload a packet if downlink code executes successfully.
1095 1095  
1096 1096  
1133 +
1097 1097  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1098 1098  
1099 1099  * AT Command:
... ... @@ -1144,6 +1144,7 @@
1144 1144  Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO.
1145 1145  
1146 1146  
1184 +
1147 1147  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1148 1148  
1149 1149  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
... ... @@ -1163,6 +1163,7 @@
1163 1163  )))
1164 1164  
1165 1165  
1204 +
1166 1166  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1167 1167  
1168 1168  * AT Command:
... ... @@ -1188,6 +1188,7 @@
1188 1188  )))
1189 1189  
1190 1190  
1230 +
1191 1191  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1192 1192  
1193 1193  Clear counting for counting mode
... ... @@ -1207,6 +1207,7 @@
1207 1207  )))
1208 1208  
1209 1209  
1250 +
1210 1210  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1211 1211  
1212 1212  * AT Command:
... ... @@ -1229,6 +1229,8 @@
1229 1229  
1230 1230  )))
1231 1231  
1273 +
1274 +
1232 1232  == 3.5 Integrate with Mydevice ==
1233 1233  
1234 1234  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:
... ... @@ -1270,6 +1270,7 @@
1270 1270  [[image:image-20220524094909-5.png||height="341" width="734"]]
1271 1271  
1272 1272  
1316 +
1273 1273  == 3.6 Interface Detail ==
1274 1274  
1275 1275  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
... ... @@ -1279,6 +1279,7 @@
1279 1279  [[image:1653356991268-289.png]]
1280 1280  
1281 1281  
1326 +
1282 1282  === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) ===
1283 1283  
1284 1284  (((
... ... @@ -1393,6 +1393,7 @@
1393 1393  )))
1394 1394  
1395 1395  
1441 +
1396 1396  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1397 1397  
1398 1398  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
... ... @@ -1400,6 +1400,7 @@
1400 1400  [[image:1653357531600-905.png]]
1401 1401  
1402 1402  
1449 +
1403 1403  === 3.6.4 Analog Input Interface ===
1404 1404  
1405 1405  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:
... ... @@ -1428,6 +1428,7 @@
1428 1428  [[image:1653357648330-671.png||height="155" width="733"]]
1429 1429  
1430 1430  
1478 +
1431 1431  === 3.6.5 Relay Output ===
1432 1432  
1433 1433  (((