<
From version < 77.83 >
edited by Xiaoling
on 2022/06/10 09:26
To version < 77.60 >
edited by Xiaoling
on 2022/06/10 09:13
>
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  
... ... @@ -604,7 +604,6 @@
604 604  
605 605  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
606 606  
607 -
608 608  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
609 609  
610 610  For example, if user has configured below commands:
... ... @@ -612,13 +612,11 @@
612 612  * **AT+MOD=1 ** **~-~->** The normal working mode
613 613  * **AT+ADDMOD6=1**   **~-~->** Enable trigger
614 614  
615 -
616 616  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
617 617  
618 618  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
619 619  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.**
620 620  
621 -
622 622  **AT Command to set Trigger Condition**:
623 623  
624 624  (% style="color:#4f81bd" %)**Trigger base on voltage**:
... ... @@ -670,17 +670,14 @@
670 670  
671 671   Yy4 yy4: AC2 or AV2 high limit.
672 672  
673 -
674 674  **Example1**: AA 00 13 88 00 00 00 00 00 00
675 675  
676 676  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
677 677  
678 -
679 679  **Example2**: AA 02 01 00
680 680  
681 681  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
682 682  
683 -
684 684  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
685 685  
686 686  MOD6 Payload : total 11 bytes payload
... ... @@ -687,7 +687,6 @@
687 687  
688 688  [[image:image-20220524085923-1.png]]
689 689  
690 -
691 691  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
692 692  
693 693  [[image:image-20220524090106-2.png]]
... ... @@ -694,7 +694,6 @@
694 694  
695 695  * Each bits shows if the corresponding trigger has been configured.
696 696  
697 -
698 698  **Example:**
699 699  
700 700  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
... ... @@ -706,7 +706,6 @@
706 706  
707 707  * Each bits shows which status has been trigger on this uplink.
708 708  
709 -
710 710  **Example:**
711 711  
712 712  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
... ... @@ -718,7 +718,6 @@
718 718  
719 719  * Each bits shows which status has been trigger on this uplink.
720 720  
721 -
722 722  **Example:**
723 723  
724 724  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
... ... @@ -758,8 +758,6 @@
758 758  
759 759  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
760 760  
761 -
762 -
763 763  === 3.4.1 Common Commands ===
764 764  
765 765  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]]
... ... @@ -781,7 +781,6 @@
781 781  
782 782  **Example: **AT+TDC=30000. Means set interval to 30 seconds
783 783  
784 -
785 785  * Downlink Payload (prefix 0x01):
786 786  
787 787  (% class="box infomessage" %)
... ... @@ -804,7 +804,6 @@
804 804  
805 805  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
806 806  
807 -
808 808  * Downlink Payload (prefix 0x0A):
809 809  
810 810  (% class="box infomessage" %)
... ... @@ -820,7 +820,6 @@
820 820  
821 821  There is no AT Command to poll uplink
822 822  
823 -
824 824  * Downlink Payload (prefix 0x08):
825 825  
826 826  (% class="box infomessage" %)
... ... @@ -847,7 +847,6 @@
847 847  
848 848  0: Disable Trigger Mode
849 849  
850 -
851 851  * Downlink Payload (prefix 0x0A 06):
852 852  
853 853  (% class="box infomessage" %)
... ... @@ -865,7 +865,6 @@
865 865  
866 866  There is no AT Command for this feature.
867 867  
868 -
869 869  * Downlink Payload (prefix 0x AB 06):
870 870  
871 871  (% class="box infomessage" %)
... ... @@ -886,7 +886,6 @@
886 886  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
887 887  )))
888 888  
889 -
890 890  **Example:**
891 891  
892 892  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
... ... @@ -915,12 +915,10 @@
915 915  
916 916  b : delay timing.
917 917  
918 -
919 919  **Example:**
920 920  
921 921  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
922 922  
923 -
924 924  * Downlink Payload (prefix 0x09 01 ):
925 925  
926 926  (% class="box infomessage" %)
... ... @@ -945,12 +945,10 @@
945 945  
946 946  b : delay timing.
947 947  
948 -
949 949  **Example:**
950 950  
951 951  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
952 952  
953 -
954 954  * Downlink Payload (prefix 0x09 02 ):
955 955  
956 956  (% class="box infomessage" %)
... ... @@ -971,7 +971,6 @@
971 971  **AT+ACLIM. **
972 972  )))
973 973  
974 -
975 975  * Downlink Payload (prefix 0xAA 01 ):
976 976  
977 977  (% class="box infomessage" %)
... ... @@ -992,7 +992,6 @@
992 992  **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
993 993  )))
994 994  
995 -
996 996  * Downlink Payload (prefix 0xAA 00 ):
997 997  
998 998  (% class="box infomessage" %)
... ... @@ -1013,7 +1013,6 @@
1013 1013  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1014 1014  )))
1015 1015  
1016 -
1017 1017  * Downlink Payload (prefix 0xAC ):
1018 1018  
1019 1019  (% class="box infomessage" %)
... ... @@ -1029,7 +1029,6 @@
1029 1029  
1030 1030  There is no AT Command to control Digital Output
1031 1031  
1032 -
1033 1033  * Downlink Payload (prefix 0x02):
1034 1034  
1035 1035  (% class="box infomessage" %)
... ... @@ -1063,7 +1063,6 @@
1063 1063  
1064 1064  There is no AT Command to control Digital Output
1065 1065  
1066 -
1067 1067  * Downlink Payload (prefix 0xA9):
1068 1068  
1069 1069  (% class="box infomessage" %)
... ... @@ -1083,22 +1083,18 @@
1083 1083  
1084 1084  00: DO pins will change to an inverter state after timeout 
1085 1085  
1086 -
1087 1087  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1088 1088  
1089 1089  [[image:image-20220524093238-6.png]]
1090 1090  
1091 -
1092 1092  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1093 1093  
1094 1094  [[image:image-20220524093328-7.png]]
1095 1095  
1096 -
1097 1097  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1098 1098  
1099 1099  [[image:image-20220524093351-8.png]]
1100 1100  
1101 -
1102 1102  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1103 1103  
1104 1104   Latching time. Unit: ms
... ... @@ -1105,7 +1105,6 @@
1105 1105  
1106 1106  Device will upload a packet if downlink code executes successfully.
1107 1107  
1108 -
1109 1109  **Example payload:**
1110 1110  
1111 1111  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1126,13 +1126,12 @@
1126 1126  
1127 1127  
1128 1128  
1129 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1130 1130  
1131 1131  * AT Command:
1132 1132  
1133 1133  There is no AT Command to control Relay Output
1134 1134  
1135 -
1136 1136  * Downlink Payload (prefix 0x03):
1137 1137  
1138 1138  (% class="box infomessage" %)
... ... @@ -1162,7 +1162,6 @@
1162 1162  
1163 1163  There is no AT Command to control Relay Output
1164 1164  
1165 -
1166 1166  * Downlink Payload (prefix 0x05):
1167 1167  
1168 1168  (% class="box infomessage" %)
... ... @@ -1180,17 +1180,14 @@
1180 1180  
1181 1181  00: Relays will change to an inverter state after timeout
1182 1182  
1183 -
1184 1184  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1185 1185  
1186 1186  [[image:image-20220524093831-10.png]]
1187 1187  
1188 -
1189 1189  (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1190 1190  
1191 1191  Device will upload a packet if downlink code executes successfully.
1192 1192  
1193 -
1194 1194  **Example payload:**
1195 1195  
1196 1196  **~1. 05 01 11 07 D0**
... ... @@ -1222,7 +1222,6 @@
1222 1222  **AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1223 1223  )))
1224 1224  
1225 -
1226 1226  * Downlink Payload (prefix 0xA5):
1227 1227  
1228 1228  (% class="box infomessage" %)
... ... @@ -1249,7 +1249,6 @@
1249 1249  
1250 1250  Bb cc dd ee: number to be set
1251 1251  
1252 -
1253 1253  * Downlink Payload (prefix 0xA8):
1254 1254  
1255 1255  (% class="box infomessage" %)
... ... @@ -1302,6 +1302,7 @@
1302 1302  )))
1303 1303  
1304 1304  
1257 +
1305 1305  == 3.5 Integrate with Mydevice ==
1306 1306  
1307 1307  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:
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0