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

From version 77.7
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
... ... @@ -230,6 +230,8 @@
230 230  
231 231  )))
232 232  
233 +
234 +
233 233  == 3.2 Example to join LoRaWAN network ==
234 234  
235 235  (((
... ... @@ -271,6 +271,7 @@
271 271  [[image:1653298044601-602.png||height="405" width="709"]]
272 272  
273 273  
276 +
274 274  == 3.3 Uplink Payload ==
275 275  
276 276  There are five working modes + one interrupt mode on LT for different type application:
... ... @@ -282,6 +282,8 @@
282 282  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
283 283  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
284 284  
288 +
289 +
285 285  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
286 286  
287 287  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -317,6 +317,7 @@
317 317  * [1] RO1 relay channel is close and the RO1 LED is ON.
318 318  * [0] RO2 relay channel is open and RO2 LED is OFF;
319 319  
325 +
320 320  **LT22222-L:**
321 321  
322 322  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -332,6 +332,8 @@
332 332  ** DO1 is high in case there is load between DO1 and V+.
333 333  ** DO1 LED is off in both case
334 334  
341 +
342 +
335 335  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
336 336  
337 337  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
... ... @@ -425,6 +425,7 @@
425 425  )))
426 426  
427 427  
436 +
428 428  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
429 429  
430 430  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -469,6 +469,8 @@
469 469  
470 470  )))
471 471  
481 +
482 +
472 472  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
473 473  
474 474  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -550,6 +550,7 @@
550 550  )))
551 551  
552 552  
564 +
553 553  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
554 554  
555 555  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -594,6 +594,8 @@
594 594  
595 595  )))
596 596  
609 +
610 +
597 597  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
598 598  
599 599  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
... ... @@ -717,6 +717,7 @@
717 717  When device got this command, it will send the MOD6 payload.
718 718  
719 719  
734 +
720 720  === 3.3.7 Payload Decoder ===
721 721  
722 722  (((
... ... @@ -725,6 +725,8 @@
725 725  
726 726  )))
727 727  
743 +
744 +
728 728  == 3.4 ​Configure LT via AT or Downlink ==
729 729  
730 730  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
... ... @@ -737,11 +737,14 @@
737 737  
738 738  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
739 739  
757 +
758 +
740 740  === 3.4.1 Common Commands ===
741 741  
742 742  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]]
743 743  
744 744  
764 +
745 745  === 3.4.2 Sensor related commands ===
746 746  
747 747  ==== 3.4.2.1 Set Transmit Interval ====
... ... @@ -765,6 +765,7 @@
765 765  )))
766 766  
767 767  
788 +
768 768  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
769 769  
770 770  Set work mode.
... ... @@ -786,6 +786,7 @@
786 786  )))
787 787  
788 788  
810 +
789 789  ==== 3.4.2.3 Poll an uplink ====
790 790  
791 791  * AT Command:
... ... @@ -802,6 +802,7 @@
802 802  **Example**: 0x08FF, ask device to send an Uplink
803 803  
804 804  
827 +
805 805  ==== 3.4.2.4 Enable Trigger Mode ====
806 806  
807 807  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -825,6 +825,7 @@
825 825  )))
826 826  
827 827  
851 +
828 828  ==== 3.4.2.5 Poll trigger settings ====
829 829  
830 830  Poll trigger settings,
... ... @@ -841,6 +841,7 @@
841 841  )))
842 842  
843 843  
868 +
844 844  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
845 845  
846 846  Enable Disable DI1/DI2/DI2 as trigger,
... ... @@ -864,6 +864,7 @@
864 864  )))
865 865  
866 866  
892 +
867 867  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
868 868  
869 869  Set DI1 or DI3(for LT-33222-L) trigger.
... ... @@ -891,6 +891,7 @@
891 891  )))
892 892  
893 893  
920 +
894 894  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
895 895  
896 896  Set DI2 trigger.
... ... @@ -918,6 +918,7 @@
918 918  )))
919 919  
920 920  
948 +
921 921  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
922 922  
923 923  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -937,6 +937,7 @@
937 937  )))
938 938  
939 939  
968 +
940 940  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
941 941  
942 942  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -956,6 +956,7 @@
956 956  )))
957 957  
958 958  
988 +
959 959  ==== 3.4.2.11 Trigger – Set minimum interval ====
960 960  
961 961  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
... ... @@ -975,6 +975,7 @@
975 975  )))
976 976  
977 977  
1008 +
978 978  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
979 979  
980 980  * AT Command:
... ... @@ -1007,6 +1007,7 @@
1007 1007  )))
1008 1008  
1009 1009  
1041 +
1010 1010  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1011 1011  
1012 1012  * AT Command:
... ... @@ -1069,6 +1069,7 @@
1069 1069  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
1070 1070  
1071 1071  
1104 +
1072 1072  === 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1073 1073  
1074 1074  * AT Command:
... ... @@ -1097,6 +1097,7 @@
1097 1097  Device will upload a packet if downlink code executes successfully.
1098 1098  
1099 1099  
1133 +
1100 1100  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1101 1101  
1102 1102  * AT Command:
... ... @@ -1147,6 +1147,7 @@
1147 1147  Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO.
1148 1148  
1149 1149  
1184 +
1150 1150  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1151 1151  
1152 1152  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
... ... @@ -1166,6 +1166,7 @@
1166 1166  )))
1167 1167  
1168 1168  
1204 +
1169 1169  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1170 1170  
1171 1171  * AT Command:
... ... @@ -1191,6 +1191,7 @@
1191 1191  )))
1192 1192  
1193 1193  
1230 +
1194 1194  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1195 1195  
1196 1196  Clear counting for counting mode
... ... @@ -1210,6 +1210,7 @@
1210 1210  )))
1211 1211  
1212 1212  
1250 +
1213 1213  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1214 1214  
1215 1215  * AT Command:
... ... @@ -1232,6 +1232,8 @@
1232 1232  
1233 1233  )))
1234 1234  
1273 +
1274 +
1235 1235  == 3.5 Integrate with Mydevice ==
1236 1236  
1237 1237  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:
... ... @@ -1273,6 +1273,7 @@
1273 1273  [[image:image-20220524094909-5.png||height="341" width="734"]]
1274 1274  
1275 1275  
1316 +
1276 1276  == 3.6 Interface Detail ==
1277 1277  
1278 1278  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
... ... @@ -1282,6 +1282,7 @@
1282 1282  [[image:1653356991268-289.png]]
1283 1283  
1284 1284  
1326 +
1285 1285  === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) ===
1286 1286  
1287 1287  (((
... ... @@ -1396,6 +1396,7 @@
1396 1396  )))
1397 1397  
1398 1398  
1441 +
1399 1399  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1400 1400  
1401 1401  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
... ... @@ -1403,6 +1403,7 @@
1403 1403  [[image:1653357531600-905.png]]
1404 1404  
1405 1405  
1449 +
1406 1406  === 3.6.4 Analog Input Interface ===
1407 1407  
1408 1408  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:
... ... @@ -1431,6 +1431,7 @@
1431 1431  [[image:1653357648330-671.png||height="155" width="733"]]
1432 1432  
1433 1433  
1478 +
1434 1434  === 3.6.5 Relay Output ===
1435 1435  
1436 1436  (((