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

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

Summary

Details

Page properties
Content
... ... @@ -295,7 +295,6 @@
295 295  
296 296  For example if payload is: [[image:image-20220523175847-2.png]]
297 297  
298 -
299 299  **The value for the interface is:  **
300 300  
301 301  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
... ... @@ -311,7 +311,6 @@
311 311  * [1] RO1 relay channel is close and the RO1 LED is ON.
312 312  * [0] RO2 relay channel is open and RO2 LED is OFF;
313 313  
314 -
315 315  **LT22222-L:**
316 316  
317 317  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -327,11 +327,8 @@
327 327  ** DO1 is high in case there is load between DO1 and V+.
328 328  ** DO1 LED is off in both case
329 329  
330 -
331 -
332 332  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
333 333  
334 -
335 335  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
336 336  
337 337  (((
... ... @@ -340,7 +340,6 @@
340 340  
341 341  [[image:image-20220523180452-3.png]]
342 342  
343 -
344 344  (((
345 345  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
346 346  )))
... ... @@ -356,8 +356,6 @@
356 356  )))
357 357  
358 358  (((
359 -
360 -
361 361  **To use counting mode, please run:**
362 362  )))
363 363  
... ... @@ -376,8 +376,6 @@
376 376  )))
377 377  
378 378  (((
379 -
380 -
381 381  (% style="color:#4f81bd" %)**AT Commands for counting:**
382 382  )))
383 383  
... ... @@ -474,9 +474,9 @@
474 474  )))
475 475  
476 476  
467 +
477 477  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
478 478  
479 -
480 480  **LT22222-L**: This mode the DI1 is used as a counting pin.
481 481  
482 482  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.
... ... @@ -483,7 +483,6 @@
483 483  
484 484  [[image:image-20220523181903-8.png]]
485 485  
486 -
487 487  (((
488 488  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
489 489  )))
... ... @@ -499,8 +499,6 @@
499 499  )))
500 500  
501 501  (((
502 -
503 -
504 504  **To use this mode, please run:**
505 505  )))
506 506  
... ... @@ -527,8 +527,6 @@
527 527  )))
528 528  
529 529  (((
530 -
531 -
532 532  **Plus below command for AVI1 Counting:**
533 533  )))
534 534  
... ... @@ -564,14 +564,11 @@
564 564  
565 565  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
566 566  
567 -
568 568  **LT22222-L**: This mode the DI1 is used as a counting pin.
569 569  
570 570  [[image:image-20220523182334-9.png]]
571 571  
572 572  (((
573 -
574 -
575 575  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
576 576  )))
577 577  
... ... @@ -586,8 +586,6 @@
586 586  )))
587 587  
588 588  (((
589 -
590 -
591 591  **To use this mode, please run:**
592 592  )))
593 593  
... ... @@ -607,6 +607,8 @@
607 607  
608 608  (((
609 609  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
590 +
591 +
610 610  )))
611 611  
612 612  
... ... @@ -613,7 +613,6 @@
613 613  
614 614  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
615 615  
616 -
617 617  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
618 618  
619 619  For example, if user has configured below commands:
... ... @@ -677,17 +677,14 @@
677 677  
678 678   Yy4 yy4: AC2 or AV2 high limit.
679 679  
680 -
681 681  **Example1**: AA 00 13 88 00 00 00 00 00 00
682 682  
683 683  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
684 684  
685 -
686 686  **Example2**: AA 02 01 00
687 687  
688 688  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
689 689  
690 -
691 691  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
692 692  
693 693  MOD6 Payload : total 11 bytes payload
... ... @@ -694,7 +694,6 @@
694 694  
695 695  [[image:image-20220524085923-1.png]]
696 696  
697 -
698 698  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
699 699  
700 700  [[image:image-20220524090106-2.png]]
... ... @@ -743,8 +743,6 @@
743 743  === 3.3.7 Payload Decoder ===
744 744  
745 745  (((
746 -
747 -
748 748  **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/]]
749 749  
750 750  
... ... @@ -764,7 +764,6 @@
764 764  
765 765  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
766 766  
767 -
768 768  === 3.4.1 Common Commands ===
769 769  
770 770  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]]
... ... @@ -786,7 +786,6 @@
786 786  
787 787  **Example: **AT+TDC=30000. Means set interval to 30 seconds
788 788  
789 -
790 790  * Downlink Payload (prefix 0x01):
791 791  
792 792  (% class="box infomessage" %)
... ... @@ -809,7 +809,6 @@
809 809  
810 810  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
811 811  
812 -
813 813  * Downlink Payload (prefix 0x0A):
814 814  
815 815  (% class="box infomessage" %)
... ... @@ -825,7 +825,6 @@
825 825  
826 826  There is no AT Command to poll uplink
827 827  
828 -
829 829  * Downlink Payload (prefix 0x08):
830 830  
831 831  (% class="box infomessage" %)
... ... @@ -852,7 +852,6 @@
852 852  
853 853  0: Disable Trigger Mode
854 854  
855 -
856 856  * Downlink Payload (prefix 0x0A 06):
857 857  
858 858  (% class="box infomessage" %)
... ... @@ -870,7 +870,6 @@
870 870  
871 871  There is no AT Command for this feature.
872 872  
873 -
874 874  * Downlink Payload (prefix 0x AB 06):
875 875  
876 876  (% class="box infomessage" %)
... ... @@ -891,7 +891,6 @@
891 891  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
892 892  )))
893 893  
894 -
895 895  **Example:**
896 896  
897 897  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
... ... @@ -920,12 +920,10 @@
920 920  
921 921  b : delay timing.
922 922  
923 -
924 924  **Example:**
925 925  
926 926  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
927 927  
928 -
929 929  * Downlink Payload (prefix 0x09 01 ):
930 930  
931 931  (% class="box infomessage" %)
... ... @@ -950,12 +950,10 @@
950 950  
951 951  b : delay timing.
952 952  
953 -
954 954  **Example:**
955 955  
956 956  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
957 957  
958 -
959 959  * Downlink Payload (prefix 0x09 02 ):
960 960  
961 961  (% class="box infomessage" %)
... ... @@ -976,7 +976,6 @@
976 976  **AT+ACLIM. **
977 977  )))
978 978  
979 -
980 980  * Downlink Payload (prefix 0xAA 01 ):
981 981  
982 982  (% class="box infomessage" %)
... ... @@ -997,7 +997,6 @@
997 997  **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
998 998  )))
999 999  
1000 -
1001 1001  * Downlink Payload (prefix 0xAA 00 ):
1002 1002  
1003 1003  (% class="box infomessage" %)
... ... @@ -1018,7 +1018,6 @@
1018 1018  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1019 1019  )))
1020 1020  
1021 -
1022 1022  * Downlink Payload (prefix 0xAC ):
1023 1023  
1024 1024  (% class="box infomessage" %)
... ... @@ -1034,7 +1034,6 @@
1034 1034  
1035 1035  There is no AT Command to control Digital Output
1036 1036  
1037 -
1038 1038  * Downlink Payload (prefix 0x02):
1039 1039  
1040 1040  (% class="box infomessage" %)
... ... @@ -1068,7 +1068,6 @@
1068 1068  
1069 1069  There is no AT Command to control Digital Output
1070 1070  
1071 -
1072 1072  * Downlink Payload (prefix 0xA9):
1073 1073  
1074 1074  (% class="box infomessage" %)
... ... @@ -1088,22 +1088,18 @@
1088 1088  
1089 1089  00: DO pins will change to an inverter state after timeout 
1090 1090  
1091 -
1092 1092  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1093 1093  
1094 1094  [[image:image-20220524093238-6.png]]
1095 1095  
1096 -
1097 1097  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1098 1098  
1099 1099  [[image:image-20220524093328-7.png]]
1100 1100  
1101 -
1102 1102  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1103 1103  
1104 1104  [[image:image-20220524093351-8.png]]
1105 1105  
1106 -
1107 1107  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1108 1108  
1109 1109   Latching time. Unit: ms
... ... @@ -1110,7 +1110,6 @@
1110 1110  
1111 1111  Device will upload a packet if downlink code executes successfully.
1112 1112  
1113 -
1114 1114  **Example payload:**
1115 1115  
1116 1116  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1131,13 +1131,12 @@
1131 1131  
1132 1132  
1133 1133  
1134 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1135 1135  
1136 1136  * AT Command:
1137 1137  
1138 1138  There is no AT Command to control Relay Output
1139 1139  
1140 -
1141 1141  * Downlink Payload (prefix 0x03):
1142 1142  
1143 1143  (% class="box infomessage" %)
... ... @@ -1167,7 +1167,6 @@
1167 1167  
1168 1168  There is no AT Command to control Relay Output
1169 1169  
1170 -
1171 1171  * Downlink Payload (prefix 0x05):
1172 1172  
1173 1173  (% class="box infomessage" %)
... ... @@ -1185,17 +1185,14 @@
1185 1185  
1186 1186  00: Relays will change to an inverter state after timeout
1187 1187  
1188 -
1189 1189  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1190 1190  
1191 1191  [[image:image-20220524093831-10.png]]
1192 1192  
1193 -
1194 1194  (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1195 1195  
1196 1196  Device will upload a packet if downlink code executes successfully.
1197 1197  
1198 -
1199 1199  **Example payload:**
1200 1200  
1201 1201  **~1. 05 01 11 07 D0**
... ... @@ -1227,7 +1227,6 @@
1227 1227  **AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1228 1228  )))
1229 1229  
1230 -
1231 1231  * Downlink Payload (prefix 0xA5):
1232 1232  
1233 1233  (% class="box infomessage" %)
... ... @@ -1254,7 +1254,6 @@
1254 1254  
1255 1255  Bb cc dd ee: number to be set
1256 1256  
1257 -
1258 1258  * Downlink Payload (prefix 0xA8):
1259 1259  
1260 1260  (% class="box infomessage" %)
... ... @@ -1307,16 +1307,17 @@
1307 1307  )))
1308 1308  
1309 1309  
1257 +
1310 1310  == 3.5 Integrate with Mydevice ==
1311 1311  
1312 1312  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:
1313 1313  
1314 1314  (((
1315 -(% 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.
1316 1316  )))
1317 1317  
1318 1318  (((
1319 -(% 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:
1320 1320  )))
1321 1321  
1322 1322  [[image:1653356737703-362.png||height="232" width="732"]]
... ... @@ -1323,13 +1323,12 @@
1323 1323  
1324 1324  [[image:image-20220524094641-11.png||height="390" width="723"]]
1325 1325  
1326 -
1327 1327  [[image:image-20220524094641-12.png||height="402" width="718"]]
1328 1328  
1329 1329  
1330 -(% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.
1277 +**Step 3**: Create an account or log in Mydevices.
1331 1331  
1332 -(% 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" %)
1333 1333  
1334 1334  Search under The things network
1335 1335  
... ... @@ -1336,21 +1336,16 @@
1336 1336  [[image:1653356838789-523.png||height="337" width="740"]]
1337 1337  
1338 1338  
1339 -
1340 1340  After added, the sensor data arrive TTN, it will also arrive and show in Mydevices.
1341 1341  
1342 1342  [[image:image-20220524094909-1.png||height="335" width="729"]]
1343 1343  
1344 -
1345 1345  [[image:image-20220524094909-2.png||height="337" width="729"]]
1346 1346  
1347 -
1348 1348  [[image:image-20220524094909-3.png||height="338" width="727"]]
1349 1349  
1350 -
1351 1351  [[image:image-20220524094909-4.png||height="339" width="728"]](% style="display:none" %)
1352 1352  
1353 -
1354 1354  [[image:image-20220524094909-5.png||height="341" width="734"]]
1355 1355  
1356 1356  
... ... @@ -1390,7 +1390,7 @@
1390 1390  )))
1391 1391  
1392 1392  (((
1393 -(% style="color:blue" %)**Example1**(%%): Connect to a Low active sensor.
1335 +**Example1**: Connect to a Low active sensor.
1394 1394  )))
1395 1395  
1396 1396  (((
... ... @@ -1421,7 +1421,7 @@
1421 1421  )))
1422 1422  
1423 1423  (((
1424 -(% style="color:blue" %)**Example2**(%%): Connect to a High active sensor.
1366 +**Example2**: Connect to a High active sensor.
1425 1425  )))
1426 1426  
1427 1427  (((
... ... @@ -1452,7 +1452,7 @@
1452 1452  )))
1453 1453  
1454 1454  (((
1455 -(% style="color:blue" %)**Example3**(%%): Connect to a 220v high active sensor.
1397 +**Example3**: Connect to a 220v high active sensor.
1456 1456  )))
1457 1457  
1458 1458  (((