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