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

From version 77.90
edited by Xiaoling
on 2022/06/10 09:28
Change comment: There is no comment for this version
To version 77.59
edited by Xiaoling
on 2022/06/10 09:11
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -275,8 +275,6 @@
275 275  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
276 276  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
277 277  
278 -
279 -
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.
... ... @@ -284,8 +284,6 @@
284 284  [[image:image-20220523174024-3.png]]
285 285  
286 286  (((
287 -
288 -
289 289  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
290 290  )))
291 291  
... ... @@ -299,7 +299,6 @@
299 299  
300 300  For example if payload is: [[image:image-20220523175847-2.png]]
301 301  
302 -
303 303  **The value for the interface is:  **
304 304  
305 305  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
... ... @@ -315,7 +315,6 @@
315 315  * [1] RO1 relay channel is close and the RO1 LED is ON.
316 316  * [0] RO2 relay channel is open and RO2 LED is OFF;
317 317  
318 -
319 319  **LT22222-L:**
320 320  
321 321  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -331,11 +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  
334 -
335 -
336 336  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
337 337  
338 -
339 339  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
340 340  
341 341  (((
... ... @@ -344,7 +344,6 @@
344 344  
345 345  [[image:image-20220523180452-3.png]]
346 346  
347 -
348 348  (((
349 349  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
350 350  )))
... ... @@ -360,8 +360,6 @@
360 360  )))
361 361  
362 362  (((
363 -
364 -
365 365  **To use counting mode, please run:**
366 366  )))
367 367  
... ... @@ -380,8 +380,6 @@
380 380  )))
381 381  
382 382  (((
383 -
384 -
385 385  (% style="color:#4f81bd" %)**AT Commands for counting:**
386 386  )))
387 387  
... ... @@ -478,9 +478,9 @@
478 478  )))
479 479  
480 480  
467 +
481 481  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
482 482  
483 -
484 484  **LT22222-L**: This mode the DI1 is used as a counting pin.
485 485  
486 486  The AVI1 is also used for counting. AVI1 is used to monitor the voltage. It will check the voltage **every 60s**, if voltage is higher or lower than VOLMAX mV, the AVI1 Counting increase 1, so AVI1 counting can be used to measure a machine working hour.
... ... @@ -487,7 +487,6 @@
487 487  
488 488  [[image:image-20220523181903-8.png]]
489 489  
490 -
491 491  (((
492 492  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
493 493  )))
... ... @@ -503,8 +503,6 @@
503 503  )))
504 504  
505 505  (((
506 -
507 -
508 508  **To use this mode, please run:**
509 509  )))
510 510  
... ... @@ -531,8 +531,6 @@
531 531  )))
532 532  
533 533  (((
534 -
535 -
536 536  **Plus below command for AVI1 Counting:**
537 537  )))
538 538  
... ... @@ -568,14 +568,11 @@
568 568  
569 569  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
570 570  
571 -
572 572  **LT22222-L**: This mode the DI1 is used as a counting pin.
573 573  
574 574  [[image:image-20220523182334-9.png]]
575 575  
576 576  (((
577 -
578 -
579 579  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
580 580  )))
581 581  
... ... @@ -590,8 +590,6 @@
590 590  )))
591 591  
592 592  (((
593 -
594 -
595 595  **To use this mode, please run:**
596 596  )))
597 597  
... ... @@ -611,6 +611,8 @@
611 611  
612 612  (((
613 613  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
590 +
591 +
614 614  )))
615 615  
616 616  
... ... @@ -617,7 +617,6 @@
617 617  
618 618  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
619 619  
620 -
621 621  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
622 622  
623 623  For example, if user has configured below commands:
... ... @@ -681,17 +681,14 @@
681 681  
682 682   Yy4 yy4: AC2 or AV2 high limit.
683 683  
684 -
685 685  **Example1**: AA 00 13 88 00 00 00 00 00 00
686 686  
687 687  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
688 688  
689 -
690 690  **Example2**: AA 02 01 00
691 691  
692 692  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
693 693  
694 -
695 695  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
696 696  
697 697  MOD6 Payload : total 11 bytes payload
... ... @@ -698,7 +698,6 @@
698 698  
699 699  [[image:image-20220524085923-1.png]]
700 700  
701 -
702 702  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
703 703  
704 704  [[image:image-20220524090106-2.png]]
... ... @@ -747,8 +747,6 @@
747 747  === 3.3.7 Payload Decoder ===
748 748  
749 749  (((
750 -
751 -
752 752  **Decoder for TTN/loraserver/ChirpStack**: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/]]
753 753  
754 754  
... ... @@ -768,7 +768,6 @@
768 768  
769 769  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
770 770  
771 -
772 772  === 3.4.1 Common Commands ===
773 773  
774 774  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]]
... ... @@ -790,7 +790,6 @@
790 790  
791 791  **Example: **AT+TDC=30000. Means set interval to 30 seconds
792 792  
793 -
794 794  * Downlink Payload (prefix 0x01):
795 795  
796 796  (% class="box infomessage" %)
... ... @@ -813,7 +813,6 @@
813 813  
814 814  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
815 815  
816 -
817 817  * Downlink Payload (prefix 0x0A):
818 818  
819 819  (% class="box infomessage" %)
... ... @@ -829,7 +829,6 @@
829 829  
830 830  There is no AT Command to poll uplink
831 831  
832 -
833 833  * Downlink Payload (prefix 0x08):
834 834  
835 835  (% class="box infomessage" %)
... ... @@ -856,7 +856,6 @@
856 856  
857 857  0: Disable Trigger Mode
858 858  
859 -
860 860  * Downlink Payload (prefix 0x0A 06):
861 861  
862 862  (% class="box infomessage" %)
... ... @@ -874,7 +874,6 @@
874 874  
875 875  There is no AT Command for this feature.
876 876  
877 -
878 878  * Downlink Payload (prefix 0x AB 06):
879 879  
880 880  (% class="box infomessage" %)
... ... @@ -895,7 +895,6 @@
895 895  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
896 896  )))
897 897  
898 -
899 899  **Example:**
900 900  
901 901  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
... ... @@ -924,12 +924,10 @@
924 924  
925 925  b : delay timing.
926 926  
927 -
928 928  **Example:**
929 929  
930 930  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
931 931  
932 -
933 933  * Downlink Payload (prefix 0x09 01 ):
934 934  
935 935  (% class="box infomessage" %)
... ... @@ -954,12 +954,10 @@
954 954  
955 955  b : delay timing.
956 956  
957 -
958 958  **Example:**
959 959  
960 960  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
961 961  
962 -
963 963  * Downlink Payload (prefix 0x09 02 ):
964 964  
965 965  (% class="box infomessage" %)
... ... @@ -980,7 +980,6 @@
980 980  **AT+ACLIM. **
981 981  )))
982 982  
983 -
984 984  * Downlink Payload (prefix 0xAA 01 ):
985 985  
986 986  (% class="box infomessage" %)
... ... @@ -1001,7 +1001,6 @@
1001 1001  **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1002 1002  )))
1003 1003  
1004 -
1005 1005  * Downlink Payload (prefix 0xAA 00 ):
1006 1006  
1007 1007  (% class="box infomessage" %)
... ... @@ -1022,7 +1022,6 @@
1022 1022  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1023 1023  )))
1024 1024  
1025 -
1026 1026  * Downlink Payload (prefix 0xAC ):
1027 1027  
1028 1028  (% class="box infomessage" %)
... ... @@ -1038,7 +1038,6 @@
1038 1038  
1039 1039  There is no AT Command to control Digital Output
1040 1040  
1041 -
1042 1042  * Downlink Payload (prefix 0x02):
1043 1043  
1044 1044  (% class="box infomessage" %)
... ... @@ -1072,7 +1072,6 @@
1072 1072  
1073 1073  There is no AT Command to control Digital Output
1074 1074  
1075 -
1076 1076  * Downlink Payload (prefix 0xA9):
1077 1077  
1078 1078  (% class="box infomessage" %)
... ... @@ -1092,22 +1092,18 @@
1092 1092  
1093 1093  00: DO pins will change to an inverter state after timeout 
1094 1094  
1095 -
1096 1096  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1097 1097  
1098 1098  [[image:image-20220524093238-6.png]]
1099 1099  
1100 -
1101 1101  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1102 1102  
1103 1103  [[image:image-20220524093328-7.png]]
1104 1104  
1105 -
1106 1106  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1107 1107  
1108 1108  [[image:image-20220524093351-8.png]]
1109 1109  
1110 -
1111 1111  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1112 1112  
1113 1113   Latching time. Unit: ms
... ... @@ -1114,7 +1114,6 @@
1114 1114  
1115 1115  Device will upload a packet if downlink code executes successfully.
1116 1116  
1117 -
1118 1118  **Example payload:**
1119 1119  
1120 1120  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1135,13 +1135,12 @@
1135 1135  
1136 1136  
1137 1137  
1138 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1139 1139  
1140 1140  * AT Command:
1141 1141  
1142 1142  There is no AT Command to control Relay Output
1143 1143  
1144 -
1145 1145  * Downlink Payload (prefix 0x03):
1146 1146  
1147 1147  (% class="box infomessage" %)
... ... @@ -1171,7 +1171,6 @@
1171 1171  
1172 1172  There is no AT Command to control Relay Output
1173 1173  
1174 -
1175 1175  * Downlink Payload (prefix 0x05):
1176 1176  
1177 1177  (% class="box infomessage" %)
... ... @@ -1189,17 +1189,14 @@
1189 1189  
1190 1190  00: Relays will change to an inverter state after timeout
1191 1191  
1192 -
1193 1193  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1194 1194  
1195 1195  [[image:image-20220524093831-10.png]]
1196 1196  
1197 -
1198 1198  (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1199 1199  
1200 1200  Device will upload a packet if downlink code executes successfully.
1201 1201  
1202 -
1203 1203  **Example payload:**
1204 1204  
1205 1205  **~1. 05 01 11 07 D0**
... ... @@ -1231,7 +1231,6 @@
1231 1231  **AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1232 1232  )))
1233 1233  
1234 -
1235 1235  * Downlink Payload (prefix 0xA5):
1236 1236  
1237 1237  (% class="box infomessage" %)
... ... @@ -1258,7 +1258,6 @@
1258 1258  
1259 1259  Bb cc dd ee: number to be set
1260 1260  
1261 -
1262 1262  * Downlink Payload (prefix 0xA8):
1263 1263  
1264 1264  (% class="box infomessage" %)
... ... @@ -1311,16 +1311,17 @@
1311 1311  )))
1312 1312  
1313 1313  
1257 +
1314 1314  == 3.5 Integrate with Mydevice ==
1315 1315  
1316 1316  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:
1317 1317  
1318 1318  (((
1319 -(% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the network at this time.
1263 +**Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
1320 1320  )))
1321 1321  
1322 1322  (((
1323 -(% style="color:blue" %)**Step 2**(%%): To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps:
1267 +**Step 2**: To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps:
1324 1324  )))
1325 1325  
1326 1326  [[image:1653356737703-362.png||height="232" width="732"]]
... ... @@ -1327,13 +1327,12 @@
1327 1327  
1328 1328  [[image:image-20220524094641-11.png||height="390" width="723"]]
1329 1329  
1330 -
1331 1331  [[image:image-20220524094641-12.png||height="402" width="718"]]
1332 1332  
1333 1333  
1334 -(% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.
1277 +**Step 3**: Create an account or log in Mydevices.
1335 1335  
1336 -(% style="color:blue" %)**Step 4**(%%): Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %)
1279 +**Step 4**: Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %)
1337 1337  
1338 1338  Search under The things network
1339 1339