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

From version 77.88
edited by Xiaoling
on 2022/06/10 09:27
Change comment: There is no comment for this version
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
... ... @@ -310,7 +310,6 @@
310 310  * [1] RO1 relay channel is close and the RO1 LED is ON.
311 311  * [0] RO2 relay channel is open and RO2 LED is OFF;
312 312  
313 -
314 314  **LT22222-L:**
315 315  
316 316  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -326,11 +326,8 @@
326 326  ** DO1 is high in case there is load between DO1 and V+.
327 327  ** DO1 LED is off in both case
328 328  
329 -
330 -
331 331  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
332 332  
333 -
334 334  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
335 335  
336 336  (((
... ... @@ -339,7 +339,6 @@
339 339  
340 340  [[image:image-20220523180452-3.png]]
341 341  
342 -
343 343  (((
344 344  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
345 345  )))
... ... @@ -355,8 +355,6 @@
355 355  )))
356 356  
357 357  (((
358 -
359 -
360 360  **To use counting mode, please run:**
361 361  )))
362 362  
... ... @@ -375,8 +375,6 @@
375 375  )))
376 376  
377 377  (((
378 -
379 -
380 380  (% style="color:#4f81bd" %)**AT Commands for counting:**
381 381  )))
382 382  
... ... @@ -473,9 +473,9 @@
473 473  )))
474 474  
475 475  
467 +
476 476  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
477 477  
478 -
479 479  **LT22222-L**: This mode the DI1 is used as a counting pin.
480 480  
481 481  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.
... ... @@ -482,7 +482,6 @@
482 482  
483 483  [[image:image-20220523181903-8.png]]
484 484  
485 -
486 486  (((
487 487  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
488 488  )))
... ... @@ -498,8 +498,6 @@
498 498  )))
499 499  
500 500  (((
501 -
502 -
503 503  **To use this mode, please run:**
504 504  )))
505 505  
... ... @@ -526,8 +526,6 @@
526 526  )))
527 527  
528 528  (((
529 -
530 -
531 531  **Plus below command for AVI1 Counting:**
532 532  )))
533 533  
... ... @@ -563,14 +563,11 @@
563 563  
564 564  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
565 565  
566 -
567 567  **LT22222-L**: This mode the DI1 is used as a counting pin.
568 568  
569 569  [[image:image-20220523182334-9.png]]
570 570  
571 571  (((
572 -
573 -
574 574  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
575 575  )))
576 576  
... ... @@ -585,8 +585,6 @@
585 585  )))
586 586  
587 587  (((
588 -
589 -
590 590  **To use this mode, please run:**
591 591  )))
592 592  
... ... @@ -606,6 +606,8 @@
606 606  
607 607  (((
608 608  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
590 +
591 +
609 609  )))
610 610  
611 611  
... ... @@ -612,7 +612,6 @@
612 612  
613 613  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
614 614  
615 -
616 616  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
617 617  
618 618  For example, if user has configured below commands:
... ... @@ -676,17 +676,14 @@
676 676  
677 677   Yy4 yy4: AC2 or AV2 high limit.
678 678  
679 -
680 680  **Example1**: AA 00 13 88 00 00 00 00 00 00
681 681  
682 682  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
683 683  
684 -
685 685  **Example2**: AA 02 01 00
686 686  
687 687  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
688 688  
689 -
690 690  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
691 691  
692 692  MOD6 Payload : total 11 bytes payload
... ... @@ -693,7 +693,6 @@
693 693  
694 694  [[image:image-20220524085923-1.png]]
695 695  
696 -
697 697  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
698 698  
699 699  [[image:image-20220524090106-2.png]]
... ... @@ -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,7 +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 767  === 3.4.1 Common Commands ===
768 768  
769 769  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]]
... ... @@ -785,7 +785,6 @@
785 785  
786 786  **Example: **AT+TDC=30000. Means set interval to 30 seconds
787 787  
788 -
789 789  * Downlink Payload (prefix 0x01):
790 790  
791 791  (% class="box infomessage" %)
... ... @@ -808,7 +808,6 @@
808 808  
809 809  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
810 810  
811 -
812 812  * Downlink Payload (prefix 0x0A):
813 813  
814 814  (% class="box infomessage" %)
... ... @@ -824,7 +824,6 @@
824 824  
825 825  There is no AT Command to poll uplink
826 826  
827 -
828 828  * Downlink Payload (prefix 0x08):
829 829  
830 830  (% class="box infomessage" %)
... ... @@ -851,7 +851,6 @@
851 851  
852 852  0: Disable Trigger Mode
853 853  
854 -
855 855  * Downlink Payload (prefix 0x0A 06):
856 856  
857 857  (% class="box infomessage" %)
... ... @@ -869,7 +869,6 @@
869 869  
870 870  There is no AT Command for this feature.
871 871  
872 -
873 873  * Downlink Payload (prefix 0x AB 06):
874 874  
875 875  (% class="box infomessage" %)
... ... @@ -890,7 +890,6 @@
890 890  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
891 891  )))
892 892  
893 -
894 894  **Example:**
895 895  
896 896  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
... ... @@ -919,12 +919,10 @@
919 919  
920 920  b : delay timing.
921 921  
922 -
923 923  **Example:**
924 924  
925 925  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
926 926  
927 -
928 928  * Downlink Payload (prefix 0x09 01 ):
929 929  
930 930  (% class="box infomessage" %)
... ... @@ -949,12 +949,10 @@
949 949  
950 950  b : delay timing.
951 951  
952 -
953 953  **Example:**
954 954  
955 955  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
956 956  
957 -
958 958  * Downlink Payload (prefix 0x09 02 ):
959 959  
960 960  (% class="box infomessage" %)
... ... @@ -975,7 +975,6 @@
975 975  **AT+ACLIM. **
976 976  )))
977 977  
978 -
979 979  * Downlink Payload (prefix 0xAA 01 ):
980 980  
981 981  (% class="box infomessage" %)
... ... @@ -996,7 +996,6 @@
996 996  **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
997 997  )))
998 998  
999 -
1000 1000  * Downlink Payload (prefix 0xAA 00 ):
1001 1001  
1002 1002  (% class="box infomessage" %)
... ... @@ -1017,7 +1017,6 @@
1017 1017  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1018 1018  )))
1019 1019  
1020 -
1021 1021  * Downlink Payload (prefix 0xAC ):
1022 1022  
1023 1023  (% class="box infomessage" %)
... ... @@ -1033,7 +1033,6 @@
1033 1033  
1034 1034  There is no AT Command to control Digital Output
1035 1035  
1036 -
1037 1037  * Downlink Payload (prefix 0x02):
1038 1038  
1039 1039  (% class="box infomessage" %)
... ... @@ -1067,7 +1067,6 @@
1067 1067  
1068 1068  There is no AT Command to control Digital Output
1069 1069  
1070 -
1071 1071  * Downlink Payload (prefix 0xA9):
1072 1072  
1073 1073  (% class="box infomessage" %)
... ... @@ -1087,22 +1087,18 @@
1087 1087  
1088 1088  00: DO pins will change to an inverter state after timeout 
1089 1089  
1090 -
1091 1091  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1092 1092  
1093 1093  [[image:image-20220524093238-6.png]]
1094 1094  
1095 -
1096 1096  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1097 1097  
1098 1098  [[image:image-20220524093328-7.png]]
1099 1099  
1100 -
1101 1101  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1102 1102  
1103 1103  [[image:image-20220524093351-8.png]]
1104 1104  
1105 -
1106 1106  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1107 1107  
1108 1108   Latching time. Unit: ms
... ... @@ -1109,7 +1109,6 @@
1109 1109  
1110 1110  Device will upload a packet if downlink code executes successfully.
1111 1111  
1112 -
1113 1113  **Example payload:**
1114 1114  
1115 1115  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1130,13 +1130,12 @@
1130 1130  
1131 1131  
1132 1132  
1133 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1134 1134  
1135 1135  * AT Command:
1136 1136  
1137 1137  There is no AT Command to control Relay Output
1138 1138  
1139 -
1140 1140  * Downlink Payload (prefix 0x03):
1141 1141  
1142 1142  (% class="box infomessage" %)
... ... @@ -1166,7 +1166,6 @@
1166 1166  
1167 1167  There is no AT Command to control Relay Output
1168 1168  
1169 -
1170 1170  * Downlink Payload (prefix 0x05):
1171 1171  
1172 1172  (% class="box infomessage" %)
... ... @@ -1184,17 +1184,14 @@
1184 1184  
1185 1185  00: Relays will change to an inverter state after timeout
1186 1186  
1187 -
1188 1188  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1189 1189  
1190 1190  [[image:image-20220524093831-10.png]]
1191 1191  
1192 -
1193 1193  (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1194 1194  
1195 1195  Device will upload a packet if downlink code executes successfully.
1196 1196  
1197 -
1198 1198  **Example payload:**
1199 1199  
1200 1200  **~1. 05 01 11 07 D0**
... ... @@ -1226,7 +1226,6 @@
1226 1226  **AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1227 1227  )))
1228 1228  
1229 -
1230 1230  * Downlink Payload (prefix 0xA5):
1231 1231  
1232 1232  (% class="box infomessage" %)
... ... @@ -1253,7 +1253,6 @@
1253 1253  
1254 1254  Bb cc dd ee: number to be set
1255 1255  
1256 -
1257 1257  * Downlink Payload (prefix 0xA8):
1258 1258  
1259 1259  (% class="box infomessage" %)
... ... @@ -1306,6 +1306,7 @@
1306 1306  )))
1307 1307  
1308 1308  
1257 +
1309 1309  == 3.5 Integrate with Mydevice ==
1310 1310  
1311 1311  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: