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

From version 77.9
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
... ... @@ -285,6 +285,8 @@
285 285  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
286 286  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
287 287  
288 +
289 +
288 288  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
289 289  
290 290  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -320,6 +320,7 @@
320 320  * [1] RO1 relay channel is close and the RO1 LED is ON.
321 321  * [0] RO2 relay channel is open and RO2 LED is OFF;
322 322  
325 +
323 323  **LT22222-L:**
324 324  
325 325  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -335,6 +335,8 @@
335 335  ** DO1 is high in case there is load between DO1 and V+.
336 336  ** DO1 LED is off in both case
337 337  
341 +
342 +
338 338  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
339 339  
340 340  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
... ... @@ -428,6 +428,7 @@
428 428  )))
429 429  
430 430  
436 +
431 431  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
432 432  
433 433  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -472,6 +472,8 @@
472 472  
473 473  )))
474 474  
481 +
482 +
475 475  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
476 476  
477 477  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -553,6 +553,7 @@
553 553  )))
554 554  
555 555  
564 +
556 556  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
557 557  
558 558  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -597,6 +597,8 @@
597 597  
598 598  )))
599 599  
609 +
610 +
600 600  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
601 601  
602 602  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
... ... @@ -720,6 +720,7 @@
720 720  When device got this command, it will send the MOD6 payload.
721 721  
722 722  
734 +
723 723  === 3.3.7 Payload Decoder ===
724 724  
725 725  (((
... ... @@ -728,6 +728,8 @@
728 728  
729 729  )))
730 730  
743 +
744 +
731 731  == 3.4 ​Configure LT via AT or Downlink ==
732 732  
733 733  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
... ... @@ -740,11 +740,14 @@
740 740  
741 741  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
742 742  
757 +
758 +
743 743  === 3.4.1 Common Commands ===
744 744  
745 745  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]]
746 746  
747 747  
764 +
748 748  === 3.4.2 Sensor related commands ===
749 749  
750 750  ==== 3.4.2.1 Set Transmit Interval ====
... ... @@ -768,6 +768,7 @@
768 768  )))
769 769  
770 770  
788 +
771 771  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
772 772  
773 773  Set work mode.
... ... @@ -789,6 +789,7 @@
789 789  )))
790 790  
791 791  
810 +
792 792  ==== 3.4.2.3 Poll an uplink ====
793 793  
794 794  * AT Command:
... ... @@ -805,6 +805,7 @@
805 805  **Example**: 0x08FF, ask device to send an Uplink
806 806  
807 807  
827 +
808 808  ==== 3.4.2.4 Enable Trigger Mode ====
809 809  
810 810  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -828,6 +828,7 @@
828 828  )))
829 829  
830 830  
851 +
831 831  ==== 3.4.2.5 Poll trigger settings ====
832 832  
833 833  Poll trigger settings,
... ... @@ -844,6 +844,7 @@
844 844  )))
845 845  
846 846  
868 +
847 847  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
848 848  
849 849  Enable Disable DI1/DI2/DI2 as trigger,
... ... @@ -867,6 +867,7 @@
867 867  )))
868 868  
869 869  
892 +
870 870  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
871 871  
872 872  Set DI1 or DI3(for LT-33222-L) trigger.
... ... @@ -894,6 +894,7 @@
894 894  )))
895 895  
896 896  
920 +
897 897  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
898 898  
899 899  Set DI2 trigger.
... ... @@ -921,6 +921,7 @@
921 921  )))
922 922  
923 923  
948 +
924 924  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
925 925  
926 926  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -940,6 +940,7 @@
940 940  )))
941 941  
942 942  
968 +
943 943  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
944 944  
945 945  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -959,6 +959,7 @@
959 959  )))
960 960  
961 961  
988 +
962 962  ==== 3.4.2.11 Trigger – Set minimum interval ====
963 963  
964 964  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
... ... @@ -978,6 +978,7 @@
978 978  )))
979 979  
980 980  
1008 +
981 981  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
982 982  
983 983  * AT Command:
... ... @@ -1010,6 +1010,7 @@
1010 1010  )))
1011 1011  
1012 1012  
1041 +
1013 1013  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1014 1014  
1015 1015  * AT Command:
... ... @@ -1072,6 +1072,7 @@
1072 1072  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
1073 1073  
1074 1074  
1104 +
1075 1075  === 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1076 1076  
1077 1077  * AT Command:
... ... @@ -1100,6 +1100,7 @@
1100 1100  Device will upload a packet if downlink code executes successfully.
1101 1101  
1102 1102  
1133 +
1103 1103  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1104 1104  
1105 1105  * AT Command:
... ... @@ -1150,6 +1150,7 @@
1150 1150  Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO.
1151 1151  
1152 1152  
1184 +
1153 1153  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1154 1154  
1155 1155  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
... ... @@ -1169,6 +1169,7 @@
1169 1169  )))
1170 1170  
1171 1171  
1204 +
1172 1172  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1173 1173  
1174 1174  * AT Command:
... ... @@ -1194,6 +1194,7 @@
1194 1194  )))
1195 1195  
1196 1196  
1230 +
1197 1197  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1198 1198  
1199 1199  Clear counting for counting mode
... ... @@ -1213,6 +1213,7 @@
1213 1213  )))
1214 1214  
1215 1215  
1250 +
1216 1216  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1217 1217  
1218 1218  * AT Command:
... ... @@ -1235,6 +1235,8 @@
1235 1235  
1236 1236  )))
1237 1237  
1273 +
1274 +
1238 1238  == 3.5 Integrate with Mydevice ==
1239 1239  
1240 1240  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:
... ... @@ -1276,6 +1276,7 @@
1276 1276  [[image:image-20220524094909-5.png||height="341" width="734"]]
1277 1277  
1278 1278  
1316 +
1279 1279  == 3.6 Interface Detail ==
1280 1280  
1281 1281  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
... ... @@ -1285,6 +1285,7 @@
1285 1285  [[image:1653356991268-289.png]]
1286 1286  
1287 1287  
1326 +
1288 1288  === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) ===
1289 1289  
1290 1290  (((
... ... @@ -1399,6 +1399,7 @@
1399 1399  )))
1400 1400  
1401 1401  
1441 +
1402 1402  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1403 1403  
1404 1404  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
... ... @@ -1406,6 +1406,7 @@
1406 1406  [[image:1653357531600-905.png]]
1407 1407  
1408 1408  
1449 +
1409 1409  === 3.6.4 Analog Input Interface ===
1410 1410  
1411 1411  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:
... ... @@ -1434,6 +1434,7 @@
1434 1434  [[image:1653357648330-671.png||height="155" width="733"]]
1435 1435  
1436 1436  
1478 +
1437 1437  === 3.6.5 Relay Output ===
1438 1438  
1439 1439  (((