<
From version < 77.82 >
edited by Xiaoling
on 2022/06/10 09:26
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
... ... @@ -467,7 +467,6 @@
467 467  
468 468  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
469 469  
470 -
471 471  **LT22222-L**: This mode the DI1 is used as a counting pin.
472 472  
473 473  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.
... ... @@ -474,7 +474,6 @@
474 474  
475 475  [[image:image-20220523181903-8.png]]
476 476  
477 -
478 478  (((
479 479  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
480 480  )))
... ... @@ -490,8 +490,6 @@
490 490  )))
491 491  
492 492  (((
493 -
494 -
495 495  **To use this mode, please run:**
496 496  )))
497 497  
... ... @@ -518,8 +518,6 @@
518 518  )))
519 519  
520 520  (((
521 -
522 -
523 523  **Plus below command for AVI1 Counting:**
524 524  )))
525 525  
... ... @@ -555,14 +555,11 @@
555 555  
556 556  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
557 557  
558 -
559 559  **LT22222-L**: This mode the DI1 is used as a counting pin.
560 560  
561 561  [[image:image-20220523182334-9.png]]
562 562  
563 563  (((
564 -
565 -
566 566  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
567 567  )))
568 568  
... ... @@ -577,8 +577,6 @@
577 577  )))
578 578  
579 579  (((
580 -
581 -
582 582  **To use this mode, please run:**
583 583  )))
584 584  
... ... @@ -598,6 +598,8 @@
598 598  
599 599  (((
600 600  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
590 +
591 +
601 601  )))
602 602  
603 603  
... ... @@ -611,13 +611,11 @@
611 611  * **AT+MOD=1 ** **~-~->** The normal working mode
612 612  * **AT+ADDMOD6=1**   **~-~->** Enable trigger
613 613  
614 -
615 615  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
616 616  
617 617  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
618 618  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.**
619 619  
620 -
621 621  **AT Command to set Trigger Condition**:
622 622  
623 623  (% style="color:#4f81bd" %)**Trigger base on voltage**:
... ... @@ -669,17 +669,14 @@
669 669  
670 670   Yy4 yy4: AC2 or AV2 high limit.
671 671  
672 -
673 673  **Example1**: AA 00 13 88 00 00 00 00 00 00
674 674  
675 675  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
676 676  
677 -
678 678  **Example2**: AA 02 01 00
679 679  
680 680  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
681 681  
682 -
683 683  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
684 684  
685 685  MOD6 Payload : total 11 bytes payload
... ... @@ -686,7 +686,6 @@
686 686  
687 687  [[image:image-20220524085923-1.png]]
688 688  
689 -
690 690  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
691 691  
692 692  [[image:image-20220524090106-2.png]]
... ... @@ -693,7 +693,6 @@
693 693  
694 694  * Each bits shows if the corresponding trigger has been configured.
695 695  
696 -
697 697  **Example:**
698 698  
699 699  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
... ... @@ -705,7 +705,6 @@
705 705  
706 706  * Each bits shows which status has been trigger on this uplink.
707 707  
708 -
709 709  **Example:**
710 710  
711 711  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
... ... @@ -717,7 +717,6 @@
717 717  
718 718  * Each bits shows which status has been trigger on this uplink.
719 719  
720 -
721 721  **Example:**
722 722  
723 723  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
... ... @@ -757,8 +757,6 @@
757 757  
758 758  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
759 759  
760 -
761 -
762 762  === 3.4.1 Common Commands ===
763 763  
764 764  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]]
... ... @@ -780,7 +780,6 @@
780 780  
781 781  **Example: **AT+TDC=30000. Means set interval to 30 seconds
782 782  
783 -
784 784  * Downlink Payload (prefix 0x01):
785 785  
786 786  (% class="box infomessage" %)
... ... @@ -803,7 +803,6 @@
803 803  
804 804  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
805 805  
806 -
807 807  * Downlink Payload (prefix 0x0A):
808 808  
809 809  (% class="box infomessage" %)
... ... @@ -819,7 +819,6 @@
819 819  
820 820  There is no AT Command to poll uplink
821 821  
822 -
823 823  * Downlink Payload (prefix 0x08):
824 824  
825 825  (% class="box infomessage" %)
... ... @@ -846,7 +846,6 @@
846 846  
847 847  0: Disable Trigger Mode
848 848  
849 -
850 850  * Downlink Payload (prefix 0x0A 06):
851 851  
852 852  (% class="box infomessage" %)
... ... @@ -864,7 +864,6 @@
864 864  
865 865  There is no AT Command for this feature.
866 866  
867 -
868 868  * Downlink Payload (prefix 0x AB 06):
869 869  
870 870  (% class="box infomessage" %)
... ... @@ -885,7 +885,6 @@
885 885  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
886 886  )))
887 887  
888 -
889 889  **Example:**
890 890  
891 891  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
... ... @@ -914,12 +914,10 @@
914 914  
915 915  b : delay timing.
916 916  
917 -
918 918  **Example:**
919 919  
920 920  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
921 921  
922 -
923 923  * Downlink Payload (prefix 0x09 01 ):
924 924  
925 925  (% class="box infomessage" %)
... ... @@ -944,12 +944,10 @@
944 944  
945 945  b : delay timing.
946 946  
947 -
948 948  **Example:**
949 949  
950 950  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
951 951  
952 -
953 953  * Downlink Payload (prefix 0x09 02 ):
954 954  
955 955  (% class="box infomessage" %)
... ... @@ -970,7 +970,6 @@
970 970  **AT+ACLIM. **
971 971  )))
972 972  
973 -
974 974  * Downlink Payload (prefix 0xAA 01 ):
975 975  
976 976  (% class="box infomessage" %)
... ... @@ -991,7 +991,6 @@
991 991  **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
992 992  )))
993 993  
994 -
995 995  * Downlink Payload (prefix 0xAA 00 ):
996 996  
997 997  (% class="box infomessage" %)
... ... @@ -1012,7 +1012,6 @@
1012 1012  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1013 1013  )))
1014 1014  
1015 -
1016 1016  * Downlink Payload (prefix 0xAC ):
1017 1017  
1018 1018  (% class="box infomessage" %)
... ... @@ -1028,7 +1028,6 @@
1028 1028  
1029 1029  There is no AT Command to control Digital Output
1030 1030  
1031 -
1032 1032  * Downlink Payload (prefix 0x02):
1033 1033  
1034 1034  (% class="box infomessage" %)
... ... @@ -1062,7 +1062,6 @@
1062 1062  
1063 1063  There is no AT Command to control Digital Output
1064 1064  
1065 -
1066 1066  * Downlink Payload (prefix 0xA9):
1067 1067  
1068 1068  (% class="box infomessage" %)
... ... @@ -1082,22 +1082,18 @@
1082 1082  
1083 1083  00: DO pins will change to an inverter state after timeout 
1084 1084  
1085 -
1086 1086  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1087 1087  
1088 1088  [[image:image-20220524093238-6.png]]
1089 1089  
1090 -
1091 1091  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1092 1092  
1093 1093  [[image:image-20220524093328-7.png]]
1094 1094  
1095 -
1096 1096  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1097 1097  
1098 1098  [[image:image-20220524093351-8.png]]
1099 1099  
1100 -
1101 1101  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1102 1102  
1103 1103   Latching time. Unit: ms
... ... @@ -1104,7 +1104,6 @@
1104 1104  
1105 1105  Device will upload a packet if downlink code executes successfully.
1106 1106  
1107 -
1108 1108  **Example payload:**
1109 1109  
1110 1110  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1125,13 +1125,12 @@
1125 1125  
1126 1126  
1127 1127  
1128 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1129 1129  
1130 1130  * AT Command:
1131 1131  
1132 1132  There is no AT Command to control Relay Output
1133 1133  
1134 -
1135 1135  * Downlink Payload (prefix 0x03):
1136 1136  
1137 1137  (% class="box infomessage" %)
... ... @@ -1161,7 +1161,6 @@
1161 1161  
1162 1162  There is no AT Command to control Relay Output
1163 1163  
1164 -
1165 1165  * Downlink Payload (prefix 0x05):
1166 1166  
1167 1167  (% class="box infomessage" %)
... ... @@ -1179,17 +1179,14 @@
1179 1179  
1180 1180  00: Relays will change to an inverter state after timeout
1181 1181  
1182 -
1183 1183  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1184 1184  
1185 1185  [[image:image-20220524093831-10.png]]
1186 1186  
1187 -
1188 1188  (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1189 1189  
1190 1190  Device will upload a packet if downlink code executes successfully.
1191 1191  
1192 -
1193 1193  **Example payload:**
1194 1194  
1195 1195  **~1. 05 01 11 07 D0**
... ... @@ -1221,7 +1221,6 @@
1221 1221  **AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1222 1222  )))
1223 1223  
1224 -
1225 1225  * Downlink Payload (prefix 0xA5):
1226 1226  
1227 1227  (% class="box infomessage" %)
... ... @@ -1248,7 +1248,6 @@
1248 1248  
1249 1249  Bb cc dd ee: number to be set
1250 1250  
1251 -
1252 1252  * Downlink Payload (prefix 0xA8):
1253 1253  
1254 1254  (% class="box infomessage" %)
... ... @@ -1301,16 +1301,17 @@
1301 1301  )))
1302 1302  
1303 1303  
1257 +
1304 1304  == 3.5 Integrate with Mydevice ==
1305 1305  
1306 1306  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:
1307 1307  
1308 1308  (((
1309 -(% 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.
1310 1310  )))
1311 1311  
1312 1312  (((
1313 -(% 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:
1314 1314  )))
1315 1315  
1316 1316  [[image:1653356737703-362.png||height="232" width="732"]]
... ... @@ -1317,13 +1317,12 @@
1317 1317  
1318 1318  [[image:image-20220524094641-11.png||height="390" width="723"]]
1319 1319  
1320 -
1321 1321  [[image:image-20220524094641-12.png||height="402" width="718"]]
1322 1322  
1323 1323  
1324 -(% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.
1277 +**Step 3**: Create an account or log in Mydevices.
1325 1325  
1326 -(% 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" %)
1327 1327  
1328 1328  Search under The things network
1329 1329  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0