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

From version 77.86
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
... ... @@ -325,11 +325,8 @@
325 325  ** DO1 is high in case there is load between DO1 and V+.
326 326  ** DO1 LED is off in both case
327 327  
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:
... ... @@ -619,13 +619,11 @@
619 619  * **AT+MOD=1 ** **~-~->** The normal working mode
620 620  * **AT+ADDMOD6=1**   **~-~->** Enable trigger
621 621  
622 -
623 623  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
624 624  
625 625  1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN (% style="color:#4f81bd" %)**unconfirmed**(%%) data type
626 626  1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN (% style="color:#4f81bd" %)**CONFIRMED data type.**
627 627  
628 -
629 629  **AT Command to set Trigger Condition**:
630 630  
631 631  (% style="color:#4f81bd" %)**Trigger base on voltage**:
... ... @@ -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]]
... ... @@ -701,7 +701,6 @@
701 701  
702 702  * Each bits shows if the corresponding trigger has been configured.
703 703  
704 -
705 705  **Example:**
706 706  
707 707  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
... ... @@ -713,7 +713,6 @@
713 713  
714 714  * Each bits shows which status has been trigger on this uplink.
715 715  
716 -
717 717  **Example:**
718 718  
719 719  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
... ... @@ -725,7 +725,6 @@
725 725  
726 726  * Each bits shows which status has been trigger on this uplink.
727 727  
728 -
729 729  **Example:**
730 730  
731 731  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
... ... @@ -746,8 +746,6 @@
746 746  === 3.3.7 Payload Decoder ===
747 747  
748 748  (((
749 -
750 -
751 751  **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/]]
752 752  
753 753  
... ... @@ -767,8 +767,6 @@
767 767  
768 768  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
769 769  
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  
... ... @@ -1340,21 +1340,16 @@
1340 1340  [[image:1653356838789-523.png||height="337" width="740"]]
1341 1341  
1342 1342  
1343 -
1344 1344  After added, the sensor data arrive TTN, it will also arrive and show in Mydevices.
1345 1345  
1346 1346  [[image:image-20220524094909-1.png||height="335" width="729"]]
1347 1347  
1348 -
1349 1349  [[image:image-20220524094909-2.png||height="337" width="729"]]
1350 1350  
1351 -
1352 1352  [[image:image-20220524094909-3.png||height="338" width="727"]]
1353 1353  
1354 -
1355 1355  [[image:image-20220524094909-4.png||height="339" width="728"]](% style="display:none" %)
1356 1356  
1357 -
1358 1358  [[image:image-20220524094909-5.png||height="341" width="734"]]
1359 1359  
1360 1360  
... ... @@ -1394,7 +1394,7 @@
1394 1394  )))
1395 1395  
1396 1396  (((
1397 -(% style="color:blue" %)**Example1**(%%): Connect to a Low active sensor.
1335 +**Example1**: Connect to a Low active sensor.
1398 1398  )))
1399 1399  
1400 1400  (((
... ... @@ -1425,7 +1425,7 @@
1425 1425  )))
1426 1426  
1427 1427  (((
1428 -(% style="color:blue" %)**Example2**(%%): Connect to a High active sensor.
1366 +**Example2**: Connect to a High active sensor.
1429 1429  )))
1430 1430  
1431 1431  (((
... ... @@ -1456,7 +1456,7 @@
1456 1456  )))
1457 1457  
1458 1458  (((
1459 -(% style="color:blue" %)**Example3**(%%): Connect to a 220v high active sensor.
1397 +**Example3**: Connect to a 220v high active sensor.
1460 1460  )))
1461 1461  
1462 1462  (((