<
From version < 77.84 >
edited by Xiaoling
on 2022/06/10 09:26
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
... ... @@ -350,8 +350,6 @@
350 350  )))
351 351  
352 352  (((
353 -
354 -
355 355  **To use counting mode, please run:**
356 356  )))
357 357  
... ... @@ -370,8 +370,6 @@
370 370  )))
371 371  
372 372  (((
373 -
374 -
375 375  (% style="color:#4f81bd" %)**AT Commands for counting:**
376 376  )))
377 377  
... ... @@ -468,9 +468,9 @@
468 468  )))
469 469  
470 470  
467 +
471 471  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
472 472  
473 -
474 474  **LT22222-L**: This mode the DI1 is used as a counting pin.
475 475  
476 476  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.
... ... @@ -477,7 +477,6 @@
477 477  
478 478  [[image:image-20220523181903-8.png]]
479 479  
480 -
481 481  (((
482 482  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
483 483  )))
... ... @@ -493,8 +493,6 @@
493 493  )))
494 494  
495 495  (((
496 -
497 -
498 498  **To use this mode, please run:**
499 499  )))
500 500  
... ... @@ -521,8 +521,6 @@
521 521  )))
522 522  
523 523  (((
524 -
525 -
526 526  **Plus below command for AVI1 Counting:**
527 527  )))
528 528  
... ... @@ -558,14 +558,11 @@
558 558  
559 559  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
560 560  
561 -
562 562  **LT22222-L**: This mode the DI1 is used as a counting pin.
563 563  
564 564  [[image:image-20220523182334-9.png]]
565 565  
566 566  (((
567 -
568 -
569 569  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
570 570  )))
571 571  
... ... @@ -580,8 +580,6 @@
580 580  )))
581 581  
582 582  (((
583 -
584 -
585 585  **To use this mode, please run:**
586 586  )))
587 587  
... ... @@ -601,6 +601,8 @@
601 601  
602 602  (((
603 603  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
590 +
591 +
604 604  )))
605 605  
606 606  
... ... @@ -607,7 +607,6 @@
607 607  
608 608  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
609 609  
610 -
611 611  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
612 612  
613 613  For example, if user has configured below commands:
... ... @@ -615,13 +615,11 @@
615 615  * **AT+MOD=1 ** **~-~->** The normal working mode
616 616  * **AT+ADDMOD6=1**   **~-~->** Enable trigger
617 617  
618 -
619 619  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
620 620  
621 621  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
622 622  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.**
623 623  
624 -
625 625  **AT Command to set Trigger Condition**:
626 626  
627 627  (% style="color:#4f81bd" %)**Trigger base on voltage**:
... ... @@ -673,17 +673,14 @@
673 673  
674 674   Yy4 yy4: AC2 or AV2 high limit.
675 675  
676 -
677 677  **Example1**: AA 00 13 88 00 00 00 00 00 00
678 678  
679 679  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
680 680  
681 -
682 682  **Example2**: AA 02 01 00
683 683  
684 684  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
685 685  
686 -
687 687  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
688 688  
689 689  MOD6 Payload : total 11 bytes payload
... ... @@ -690,7 +690,6 @@
690 690  
691 691  [[image:image-20220524085923-1.png]]
692 692  
693 -
694 694  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
695 695  
696 696  [[image:image-20220524090106-2.png]]
... ... @@ -697,7 +697,6 @@
697 697  
698 698  * Each bits shows if the corresponding trigger has been configured.
699 699  
700 -
701 701  **Example:**
702 702  
703 703  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
... ... @@ -709,7 +709,6 @@
709 709  
710 710  * Each bits shows which status has been trigger on this uplink.
711 711  
712 -
713 713  **Example:**
714 714  
715 715  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
... ... @@ -721,7 +721,6 @@
721 721  
722 722  * Each bits shows which status has been trigger on this uplink.
723 723  
724 -
725 725  **Example:**
726 726  
727 727  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
... ... @@ -742,8 +742,6 @@
742 742  === 3.3.7 Payload Decoder ===
743 743  
744 744  (((
745 -
746 -
747 747  **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/]]
748 748  
749 749  
... ... @@ -763,8 +763,6 @@
763 763  
764 764  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
765 765  
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  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0