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

From version 77.87
edited by Xiaoling
on 2022/06/10 09:27
Change comment: There is no comment for this version
To version 77.58
edited by Xiaoling
on 2022/06/10 09:11
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -310,7 +310,6 @@
310 310  * [1] RO1 relay channel is close and the RO1 LED is ON.
311 311  * [0] RO2 relay channel is open and RO2 LED is OFF;
312 312  
313 -
314 314  **LT22222-L:**
315 315  
316 316  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -326,10 +326,8 @@
326 326  ** DO1 is high in case there is load between DO1 and V+.
327 327  ** DO1 LED is off in both case
328 328  
329 -
330 330  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
331 331  
332 -
333 333  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
334 334  
335 335  (((
... ... @@ -338,7 +338,6 @@
338 338  
339 339  [[image:image-20220523180452-3.png]]
340 340  
341 -
342 342  (((
343 343  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
344 344  )))
... ... @@ -354,8 +354,6 @@
354 354  )))
355 355  
356 356  (((
357 -
358 -
359 359  **To use counting mode, please run:**
360 360  )))
361 361  
... ... @@ -374,8 +374,6 @@
374 374  )))
375 375  
376 376  (((
377 -
378 -
379 379  (% style="color:#4f81bd" %)**AT Commands for counting:**
380 380  )))
381 381  
... ... @@ -472,9 +472,9 @@
472 472  )))
473 473  
474 474  
467 +
475 475  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
476 476  
477 -
478 478  **LT22222-L**: This mode the DI1 is used as a counting pin.
479 479  
480 480  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.
... ... @@ -481,7 +481,6 @@
481 481  
482 482  [[image:image-20220523181903-8.png]]
483 483  
484 -
485 485  (((
486 486  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
487 487  )))
... ... @@ -497,8 +497,6 @@
497 497  )))
498 498  
499 499  (((
500 -
501 -
502 502  **To use this mode, please run:**
503 503  )))
504 504  
... ... @@ -525,8 +525,6 @@
525 525  )))
526 526  
527 527  (((
528 -
529 -
530 530  **Plus below command for AVI1 Counting:**
531 531  )))
532 532  
... ... @@ -562,14 +562,11 @@
562 562  
563 563  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
564 564  
565 -
566 566  **LT22222-L**: This mode the DI1 is used as a counting pin.
567 567  
568 568  [[image:image-20220523182334-9.png]]
569 569  
570 570  (((
571 -
572 -
573 573  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
574 574  )))
575 575  
... ... @@ -584,8 +584,6 @@
584 584  )))
585 585  
586 586  (((
587 -
588 -
589 589  **To use this mode, please run:**
590 590  )))
591 591  
... ... @@ -605,6 +605,8 @@
605 605  
606 606  (((
607 607  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
590 +
591 +
608 608  )))
609 609  
610 610  
... ... @@ -611,7 +611,6 @@
611 611  
612 612  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
613 613  
614 -
615 615  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
616 616  
617 617  For example, if user has configured below commands:
... ... @@ -675,17 +675,14 @@
675 675  
676 676   Yy4 yy4: AC2 or AV2 high limit.
677 677  
678 -
679 679  **Example1**: AA 00 13 88 00 00 00 00 00 00
680 680  
681 681  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
682 682  
683 -
684 684  **Example2**: AA 02 01 00
685 685  
686 686  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
687 687  
688 -
689 689  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
690 690  
691 691  MOD6 Payload : total 11 bytes payload
... ... @@ -692,7 +692,6 @@
692 692  
693 693  [[image:image-20220524085923-1.png]]
694 694  
695 -
696 696  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
697 697  
698 698  [[image:image-20220524090106-2.png]]
... ... @@ -741,8 +741,6 @@
741 741  === 3.3.7 Payload Decoder ===
742 742  
743 743  (((
744 -
745 -
746 746  **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/]]
747 747  
748 748  
... ... @@ -762,7 +762,6 @@
762 762  
763 763  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
764 764  
765 -
766 766  === 3.4.1 Common Commands ===
767 767  
768 768  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]]
... ... @@ -784,7 +784,6 @@
784 784  
785 785  **Example: **AT+TDC=30000. Means set interval to 30 seconds
786 786  
787 -
788 788  * Downlink Payload (prefix 0x01):
789 789  
790 790  (% class="box infomessage" %)
... ... @@ -807,7 +807,6 @@
807 807  
808 808  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
809 809  
810 -
811 811  * Downlink Payload (prefix 0x0A):
812 812  
813 813  (% class="box infomessage" %)
... ... @@ -823,7 +823,6 @@
823 823  
824 824  There is no AT Command to poll uplink
825 825  
826 -
827 827  * Downlink Payload (prefix 0x08):
828 828  
829 829  (% class="box infomessage" %)
... ... @@ -850,7 +850,6 @@
850 850  
851 851  0: Disable Trigger Mode
852 852  
853 -
854 854  * Downlink Payload (prefix 0x0A 06):
855 855  
856 856  (% class="box infomessage" %)
... ... @@ -868,7 +868,6 @@
868 868  
869 869  There is no AT Command for this feature.
870 870  
871 -
872 872  * Downlink Payload (prefix 0x AB 06):
873 873  
874 874  (% class="box infomessage" %)
... ... @@ -889,7 +889,6 @@
889 889  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
890 890  )))
891 891  
892 -
893 893  **Example:**
894 894  
895 895  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
... ... @@ -918,12 +918,10 @@
918 918  
919 919  b : delay timing.
920 920  
921 -
922 922  **Example:**
923 923  
924 924  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
925 925  
926 -
927 927  * Downlink Payload (prefix 0x09 01 ):
928 928  
929 929  (% class="box infomessage" %)
... ... @@ -948,12 +948,10 @@
948 948  
949 949  b : delay timing.
950 950  
951 -
952 952  **Example:**
953 953  
954 954  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
955 955  
956 -
957 957  * Downlink Payload (prefix 0x09 02 ):
958 958  
959 959  (% class="box infomessage" %)
... ... @@ -974,7 +974,6 @@
974 974  **AT+ACLIM. **
975 975  )))
976 976  
977 -
978 978  * Downlink Payload (prefix 0xAA 01 ):
979 979  
980 980  (% class="box infomessage" %)
... ... @@ -995,7 +995,6 @@
995 995  **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
996 996  )))
997 997  
998 -
999 999  * Downlink Payload (prefix 0xAA 00 ):
1000 1000  
1001 1001  (% class="box infomessage" %)
... ... @@ -1016,7 +1016,6 @@
1016 1016  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1017 1017  )))
1018 1018  
1019 -
1020 1020  * Downlink Payload (prefix 0xAC ):
1021 1021  
1022 1022  (% class="box infomessage" %)
... ... @@ -1032,7 +1032,6 @@
1032 1032  
1033 1033  There is no AT Command to control Digital Output
1034 1034  
1035 -
1036 1036  * Downlink Payload (prefix 0x02):
1037 1037  
1038 1038  (% class="box infomessage" %)
... ... @@ -1066,7 +1066,6 @@
1066 1066  
1067 1067  There is no AT Command to control Digital Output
1068 1068  
1069 -
1070 1070  * Downlink Payload (prefix 0xA9):
1071 1071  
1072 1072  (% class="box infomessage" %)
... ... @@ -1086,22 +1086,18 @@
1086 1086  
1087 1087  00: DO pins will change to an inverter state after timeout 
1088 1088  
1089 -
1090 1090  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1091 1091  
1092 1092  [[image:image-20220524093238-6.png]]
1093 1093  
1094 -
1095 1095  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1096 1096  
1097 1097  [[image:image-20220524093328-7.png]]
1098 1098  
1099 -
1100 1100  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1101 1101  
1102 1102  [[image:image-20220524093351-8.png]]
1103 1103  
1104 -
1105 1105  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1106 1106  
1107 1107   Latching time. Unit: ms
... ... @@ -1108,7 +1108,6 @@
1108 1108  
1109 1109  Device will upload a packet if downlink code executes successfully.
1110 1110  
1111 -
1112 1112  **Example payload:**
1113 1113  
1114 1114  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1129,13 +1129,12 @@
1129 1129  
1130 1130  
1131 1131  
1132 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1133 1133  
1134 1134  * AT Command:
1135 1135  
1136 1136  There is no AT Command to control Relay Output
1137 1137  
1138 -
1139 1139  * Downlink Payload (prefix 0x03):
1140 1140  
1141 1141  (% class="box infomessage" %)
... ... @@ -1165,7 +1165,6 @@
1165 1165  
1166 1166  There is no AT Command to control Relay Output
1167 1167  
1168 -
1169 1169  * Downlink Payload (prefix 0x05):
1170 1170  
1171 1171  (% class="box infomessage" %)
... ... @@ -1183,17 +1183,14 @@
1183 1183  
1184 1184  00: Relays will change to an inverter state after timeout
1185 1185  
1186 -
1187 1187  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1188 1188  
1189 1189  [[image:image-20220524093831-10.png]]
1190 1190  
1191 -
1192 1192  (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1193 1193  
1194 1194  Device will upload a packet if downlink code executes successfully.
1195 1195  
1196 -
1197 1197  **Example payload:**
1198 1198  
1199 1199  **~1. 05 01 11 07 D0**
... ... @@ -1225,7 +1225,6 @@
1225 1225  **AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1226 1226  )))
1227 1227  
1228 -
1229 1229  * Downlink Payload (prefix 0xA5):
1230 1230  
1231 1231  (% class="box infomessage" %)
... ... @@ -1252,7 +1252,6 @@
1252 1252  
1253 1253  Bb cc dd ee: number to be set
1254 1254  
1255 -
1256 1256  * Downlink Payload (prefix 0xA8):
1257 1257  
1258 1258  (% class="box infomessage" %)
... ... @@ -1305,16 +1305,17 @@
1305 1305  )))
1306 1306  
1307 1307  
1257 +
1308 1308  == 3.5 Integrate with Mydevice ==
1309 1309  
1310 1310  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:
1311 1311  
1312 1312  (((
1313 -(% 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.
1314 1314  )))
1315 1315  
1316 1316  (((
1317 -(% 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:
1318 1318  )))
1319 1319  
1320 1320  [[image:1653356737703-362.png||height="232" width="732"]]
... ... @@ -1321,13 +1321,12 @@
1321 1321  
1322 1322  [[image:image-20220524094641-11.png||height="390" width="723"]]
1323 1323  
1324 -
1325 1325  [[image:image-20220524094641-12.png||height="402" width="718"]]
1326 1326  
1327 1327  
1328 -(% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.
1277 +**Step 3**: Create an account or log in Mydevices.
1329 1329  
1330 -(% 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" %)
1331 1331  
1332 1332  Search under The things network
1333 1333  
... ... @@ -1334,21 +1334,16 @@
1334 1334  [[image:1653356838789-523.png||height="337" width="740"]]
1335 1335  
1336 1336  
1337 -
1338 1338  After added, the sensor data arrive TTN, it will also arrive and show in Mydevices.
1339 1339  
1340 1340  [[image:image-20220524094909-1.png||height="335" width="729"]]
1341 1341  
1342 -
1343 1343  [[image:image-20220524094909-2.png||height="337" width="729"]]
1344 1344  
1345 -
1346 1346  [[image:image-20220524094909-3.png||height="338" width="727"]]
1347 1347  
1348 -
1349 1349  [[image:image-20220524094909-4.png||height="339" width="728"]](% style="display:none" %)
1350 1350  
1351 -
1352 1352  [[image:image-20220524094909-5.png||height="341" width="734"]]
1353 1353  
1354 1354