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

From version 77.4
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
... ... @@ -187,6 +187,8 @@
187 187  * Smart Cities
188 188  * Smart Factory
189 189  
190 +
191 +
190 190  == 1.5 Hardware Variants ==
191 191  
192 192  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -200,6 +200,8 @@
200 200  * 1 x Counting Port
201 201  )))
202 202  
205 +
206 +
203 203  = 2. Power ON Device =
204 204  
205 205  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.
... ... @@ -211,6 +211,7 @@
211 211  [[image:1653297104069-180.png]]
212 212  
213 213  
218 +
214 214  = 3. Operation Mode =
215 215  
216 216  == 3.1 How it works? ==
... ... @@ -225,6 +225,8 @@
225 225  
226 226  )))
227 227  
233 +
234 +
228 228  == 3.2 Example to join LoRaWAN network ==
229 229  
230 230  (((
... ... @@ -266,6 +266,7 @@
266 266  [[image:1653298044601-602.png||height="405" width="709"]]
267 267  
268 268  
276 +
269 269  == 3.3 Uplink Payload ==
270 270  
271 271  There are five working modes + one interrupt mode on LT for different type application:
... ... @@ -277,6 +277,8 @@
277 277  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
278 278  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
279 279  
288 +
289 +
280 280  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
281 281  
282 282  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -312,6 +312,7 @@
312 312  * [1] RO1 relay channel is close and the RO1 LED is ON.
313 313  * [0] RO2 relay channel is open and RO2 LED is OFF;
314 314  
325 +
315 315  **LT22222-L:**
316 316  
317 317  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -327,6 +327,8 @@
327 327  ** DO1 is high in case there is load between DO1 and V+.
328 328  ** DO1 LED is off in both case
329 329  
341 +
342 +
330 330  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
331 331  
332 332  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
... ... @@ -420,6 +420,7 @@
420 420  )))
421 421  
422 422  
436 +
423 423  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
424 424  
425 425  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -464,6 +464,8 @@
464 464  
465 465  )))
466 466  
481 +
482 +
467 467  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
468 468  
469 469  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -545,6 +545,7 @@
545 545  )))
546 546  
547 547  
564 +
548 548  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
549 549  
550 550  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -589,6 +589,8 @@
589 589  
590 590  )))
591 591  
609 +
610 +
592 592  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
593 593  
594 594  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
... ... @@ -712,6 +712,7 @@
712 712  When device got this command, it will send the MOD6 payload.
713 713  
714 714  
734 +
715 715  === 3.3.7 Payload Decoder ===
716 716  
717 717  (((
... ... @@ -720,6 +720,8 @@
720 720  
721 721  )))
722 722  
743 +
744 +
723 723  == 3.4 ​Configure LT via AT or Downlink ==
724 724  
725 725  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
... ... @@ -732,11 +732,14 @@
732 732  
733 733  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
734 734  
757 +
758 +
735 735  === 3.4.1 Common Commands ===
736 736  
737 737  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]]
738 738  
739 739  
764 +
740 740  === 3.4.2 Sensor related commands ===
741 741  
742 742  ==== 3.4.2.1 Set Transmit Interval ====
... ... @@ -760,6 +760,7 @@
760 760  )))
761 761  
762 762  
788 +
763 763  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
764 764  
765 765  Set work mode.
... ... @@ -781,6 +781,7 @@
781 781  )))
782 782  
783 783  
810 +
784 784  ==== 3.4.2.3 Poll an uplink ====
785 785  
786 786  * AT Command:
... ... @@ -797,6 +797,7 @@
797 797  **Example**: 0x08FF, ask device to send an Uplink
798 798  
799 799  
827 +
800 800  ==== 3.4.2.4 Enable Trigger Mode ====
801 801  
802 802  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -820,6 +820,7 @@
820 820  )))
821 821  
822 822  
851 +
823 823  ==== 3.4.2.5 Poll trigger settings ====
824 824  
825 825  Poll trigger settings,
... ... @@ -836,6 +836,7 @@
836 836  )))
837 837  
838 838  
868 +
839 839  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
840 840  
841 841  Enable Disable DI1/DI2/DI2 as trigger,
... ... @@ -859,6 +859,7 @@
859 859  )))
860 860  
861 861  
892 +
862 862  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
863 863  
864 864  Set DI1 or DI3(for LT-33222-L) trigger.
... ... @@ -886,6 +886,7 @@
886 886  )))
887 887  
888 888  
920 +
889 889  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
890 890  
891 891  Set DI2 trigger.
... ... @@ -913,6 +913,7 @@
913 913  )))
914 914  
915 915  
948 +
916 916  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
917 917  
918 918  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -932,6 +932,7 @@
932 932  )))
933 933  
934 934  
968 +
935 935  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
936 936  
937 937  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -951,6 +951,7 @@
951 951  )))
952 952  
953 953  
988 +
954 954  ==== 3.4.2.11 Trigger – Set minimum interval ====
955 955  
956 956  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
... ... @@ -970,6 +970,7 @@
970 970  )))
971 971  
972 972  
1008 +
973 973  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
974 974  
975 975  * AT Command:
... ... @@ -1002,6 +1002,7 @@
1002 1002  )))
1003 1003  
1004 1004  
1041 +
1005 1005  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1006 1006  
1007 1007  * AT Command:
... ... @@ -1064,6 +1064,7 @@
1064 1064  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
1065 1065  
1066 1066  
1104 +
1067 1067  === 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1068 1068  
1069 1069  * AT Command:
... ... @@ -1092,6 +1092,7 @@
1092 1092  Device will upload a packet if downlink code executes successfully.
1093 1093  
1094 1094  
1133 +
1095 1095  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1096 1096  
1097 1097  * AT Command:
... ... @@ -1142,6 +1142,7 @@
1142 1142  Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO.
1143 1143  
1144 1144  
1184 +
1145 1145  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1146 1146  
1147 1147  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
... ... @@ -1161,6 +1161,7 @@
1161 1161  )))
1162 1162  
1163 1163  
1204 +
1164 1164  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1165 1165  
1166 1166  * AT Command:
... ... @@ -1186,6 +1186,7 @@
1186 1186  )))
1187 1187  
1188 1188  
1230 +
1189 1189  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1190 1190  
1191 1191  Clear counting for counting mode
... ... @@ -1205,6 +1205,7 @@
1205 1205  )))
1206 1206  
1207 1207  
1250 +
1208 1208  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1209 1209  
1210 1210  * AT Command:
... ... @@ -1227,6 +1227,8 @@
1227 1227  
1228 1228  )))
1229 1229  
1273 +
1274 +
1230 1230  == 3.5 Integrate with Mydevice ==
1231 1231  
1232 1232  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:
... ... @@ -1268,6 +1268,7 @@
1268 1268  [[image:image-20220524094909-5.png||height="341" width="734"]]
1269 1269  
1270 1270  
1316 +
1271 1271  == 3.6 Interface Detail ==
1272 1272  
1273 1273  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
... ... @@ -1277,6 +1277,7 @@
1277 1277  [[image:1653356991268-289.png]]
1278 1278  
1279 1279  
1326 +
1280 1280  === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) ===
1281 1281  
1282 1282  (((
... ... @@ -1391,6 +1391,7 @@
1391 1391  )))
1392 1392  
1393 1393  
1441 +
1394 1394  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1395 1395  
1396 1396  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
... ... @@ -1398,6 +1398,7 @@
1398 1398  [[image:1653357531600-905.png]]
1399 1399  
1400 1400  
1449 +
1401 1401  === 3.6.4 Analog Input Interface ===
1402 1402  
1403 1403  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:
... ... @@ -1426,6 +1426,7 @@
1426 1426  [[image:1653357648330-671.png||height="155" width="733"]]
1427 1427  
1428 1428  
1478 +
1429 1429  === 3.6.5 Relay Output ===
1430 1430  
1431 1431  (((