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

From version 77.92
edited by Xiaoling
on 2022/06/10 09:29
Change comment: There is no comment for this version
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
... ... @@ -275,7 +275,6 @@
275 275  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
276 276  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
277 277  
278 -
279 279  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
280 280  
281 281  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -283,8 +283,6 @@
283 283  [[image:image-20220523174024-3.png]]
284 284  
285 285  (((
286 -
287 -
288 288  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
289 289  )))
290 290  
... ... @@ -298,7 +298,6 @@
298 298  
299 299  For example if payload is: [[image:image-20220523175847-2.png]]
300 300  
301 -
302 302  **The value for the interface is:  **
303 303  
304 304  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
... ... @@ -329,10 +329,8 @@
329 329  ** DO1 is high in case there is load between DO1 and V+.
330 330  ** DO1 LED is off in both case
331 331  
332 -
333 333  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
334 334  
335 -
336 336  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
337 337  
338 338  (((
... ... @@ -341,7 +341,6 @@
341 341  
342 342  [[image:image-20220523180452-3.png]]
343 343  
344 -
345 345  (((
346 346  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
347 347  )))
... ... @@ -357,8 +357,6 @@
357 357  )))
358 358  
359 359  (((
360 -
361 -
362 362  **To use counting mode, please run:**
363 363  )))
364 364  
... ... @@ -377,8 +377,6 @@
377 377  )))
378 378  
379 379  (((
380 -
381 -
382 382  (% style="color:#4f81bd" %)**AT Commands for counting:**
383 383  )))
384 384  
... ... @@ -475,9 +475,9 @@
475 475  )))
476 476  
477 477  
467 +
478 478  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
479 479  
480 -
481 481  **LT22222-L**: This mode the DI1 is used as a counting pin.
482 482  
483 483  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.
... ... @@ -484,7 +484,6 @@
484 484  
485 485  [[image:image-20220523181903-8.png]]
486 486  
487 -
488 488  (((
489 489  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
490 490  )))
... ... @@ -500,8 +500,6 @@
500 500  )))
501 501  
502 502  (((
503 -
504 -
505 505  **To use this mode, please run:**
506 506  )))
507 507  
... ... @@ -528,8 +528,6 @@
528 528  )))
529 529  
530 530  (((
531 -
532 -
533 533  **Plus below command for AVI1 Counting:**
534 534  )))
535 535  
... ... @@ -565,14 +565,11 @@
565 565  
566 566  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
567 567  
568 -
569 569  **LT22222-L**: This mode the DI1 is used as a counting pin.
570 570  
571 571  [[image:image-20220523182334-9.png]]
572 572  
573 573  (((
574 -
575 -
576 576  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
577 577  )))
578 578  
... ... @@ -587,8 +587,6 @@
587 587  )))
588 588  
589 589  (((
590 -
591 -
592 592  **To use this mode, please run:**
593 593  )))
594 594  
... ... @@ -608,6 +608,8 @@
608 608  
609 609  (((
610 610  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
590 +
591 +
611 611  )))
612 612  
613 613  
... ... @@ -614,7 +614,6 @@
614 614  
615 615  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
616 616  
617 -
618 618  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
619 619  
620 620  For example, if user has configured below commands:
... ... @@ -678,17 +678,14 @@
678 678  
679 679   Yy4 yy4: AC2 or AV2 high limit.
680 680  
681 -
682 682  **Example1**: AA 00 13 88 00 00 00 00 00 00
683 683  
684 684  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
685 685  
686 -
687 687  **Example2**: AA 02 01 00
688 688  
689 689  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
690 690  
691 -
692 692  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
693 693  
694 694  MOD6 Payload : total 11 bytes payload
... ... @@ -695,7 +695,6 @@
695 695  
696 696  [[image:image-20220524085923-1.png]]
697 697  
698 -
699 699  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
700 700  
701 701  [[image:image-20220524090106-2.png]]
... ... @@ -713,8 +713,6 @@
713 713  
714 714  * Each bits shows which status has been trigger on this uplink.
715 715  
716 -
717 -
718 718  **Example:**
719 719  
720 720  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
... ... @@ -726,8 +726,6 @@
726 726  
727 727  * Each bits shows which status has been trigger on this uplink.
728 728  
729 -
730 -
731 731  **Example:**
732 732  
733 733  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
... ... @@ -748,8 +748,6 @@
748 748  === 3.3.7 Payload Decoder ===
749 749  
750 750  (((
751 -
752 -
753 753  **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/]]
754 754  
755 755  
... ... @@ -769,8 +769,6 @@
769 769  
770 770  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
771 771  
772 -
773 -
774 774  === 3.4.1 Common Commands ===
775 775  
776 776  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]]
... ... @@ -792,7 +792,6 @@
792 792  
793 793  **Example: **AT+TDC=30000. Means set interval to 30 seconds
794 794  
795 -
796 796  * Downlink Payload (prefix 0x01):
797 797  
798 798  (% class="box infomessage" %)
... ... @@ -815,7 +815,6 @@
815 815  
816 816  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
817 817  
818 -
819 819  * Downlink Payload (prefix 0x0A):
820 820  
821 821  (% class="box infomessage" %)
... ... @@ -831,7 +831,6 @@
831 831  
832 832  There is no AT Command to poll uplink
833 833  
834 -
835 835  * Downlink Payload (prefix 0x08):
836 836  
837 837  (% class="box infomessage" %)
... ... @@ -858,7 +858,6 @@
858 858  
859 859  0: Disable Trigger Mode
860 860  
861 -
862 862  * Downlink Payload (prefix 0x0A 06):
863 863  
864 864  (% class="box infomessage" %)
... ... @@ -876,7 +876,6 @@
876 876  
877 877  There is no AT Command for this feature.
878 878  
879 -
880 880  * Downlink Payload (prefix 0x AB 06):
881 881  
882 882  (% class="box infomessage" %)
... ... @@ -897,7 +897,6 @@
897 897  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
898 898  )))
899 899  
900 -
901 901  **Example:**
902 902  
903 903  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
... ... @@ -926,12 +926,10 @@
926 926  
927 927  b : delay timing.
928 928  
929 -
930 930  **Example:**
931 931  
932 932  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
933 933  
934 -
935 935  * Downlink Payload (prefix 0x09 01 ):
936 936  
937 937  (% class="box infomessage" %)
... ... @@ -956,12 +956,10 @@
956 956  
957 957  b : delay timing.
958 958  
959 -
960 960  **Example:**
961 961  
962 962  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
963 963  
964 -
965 965  * Downlink Payload (prefix 0x09 02 ):
966 966  
967 967  (% class="box infomessage" %)
... ... @@ -982,7 +982,6 @@
982 982  **AT+ACLIM. **
983 983  )))
984 984  
985 -
986 986  * Downlink Payload (prefix 0xAA 01 ):
987 987  
988 988  (% class="box infomessage" %)
... ... @@ -1003,7 +1003,6 @@
1003 1003  **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1004 1004  )))
1005 1005  
1006 -
1007 1007  * Downlink Payload (prefix 0xAA 00 ):
1008 1008  
1009 1009  (% class="box infomessage" %)
... ... @@ -1024,7 +1024,6 @@
1024 1024  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1025 1025  )))
1026 1026  
1027 -
1028 1028  * Downlink Payload (prefix 0xAC ):
1029 1029  
1030 1030  (% class="box infomessage" %)
... ... @@ -1040,7 +1040,6 @@
1040 1040  
1041 1041  There is no AT Command to control Digital Output
1042 1042  
1043 -
1044 1044  * Downlink Payload (prefix 0x02):
1045 1045  
1046 1046  (% class="box infomessage" %)
... ... @@ -1074,7 +1074,6 @@
1074 1074  
1075 1075  There is no AT Command to control Digital Output
1076 1076  
1077 -
1078 1078  * Downlink Payload (prefix 0xA9):
1079 1079  
1080 1080  (% class="box infomessage" %)
... ... @@ -1094,22 +1094,18 @@
1094 1094  
1095 1095  00: DO pins will change to an inverter state after timeout 
1096 1096  
1097 -
1098 1098  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1099 1099  
1100 1100  [[image:image-20220524093238-6.png]]
1101 1101  
1102 -
1103 1103  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1104 1104  
1105 1105  [[image:image-20220524093328-7.png]]
1106 1106  
1107 -
1108 1108  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1109 1109  
1110 1110  [[image:image-20220524093351-8.png]]
1111 1111  
1112 -
1113 1113  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1114 1114  
1115 1115   Latching time. Unit: ms
... ... @@ -1116,7 +1116,6 @@
1116 1116  
1117 1117  Device will upload a packet if downlink code executes successfully.
1118 1118  
1119 -
1120 1120  **Example payload:**
1121 1121  
1122 1122  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1137,13 +1137,12 @@
1137 1137  
1138 1138  
1139 1139  
1140 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1141 1141  
1142 1142  * AT Command:
1143 1143  
1144 1144  There is no AT Command to control Relay Output
1145 1145  
1146 -
1147 1147  * Downlink Payload (prefix 0x03):
1148 1148  
1149 1149  (% class="box infomessage" %)
... ... @@ -1173,7 +1173,6 @@
1173 1173  
1174 1174  There is no AT Command to control Relay Output
1175 1175  
1176 -
1177 1177  * Downlink Payload (prefix 0x05):
1178 1178  
1179 1179  (% class="box infomessage" %)
... ... @@ -1191,17 +1191,14 @@
1191 1191  
1192 1192  00: Relays will change to an inverter state after timeout
1193 1193  
1194 -
1195 1195  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1196 1196  
1197 1197  [[image:image-20220524093831-10.png]]
1198 1198  
1199 -
1200 1200  (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1201 1201  
1202 1202  Device will upload a packet if downlink code executes successfully.
1203 1203  
1204 -
1205 1205  **Example payload:**
1206 1206  
1207 1207  **~1. 05 01 11 07 D0**
... ... @@ -1233,7 +1233,6 @@
1233 1233  **AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1234 1234  )))
1235 1235  
1236 -
1237 1237  * Downlink Payload (prefix 0xA5):
1238 1238  
1239 1239  (% class="box infomessage" %)
... ... @@ -1260,7 +1260,6 @@
1260 1260  
1261 1261  Bb cc dd ee: number to be set
1262 1262  
1263 -
1264 1264  * Downlink Payload (prefix 0xA8):
1265 1265  
1266 1266  (% class="box infomessage" %)
... ... @@ -1313,16 +1313,17 @@
1313 1313  )))
1314 1314  
1315 1315  
1257 +
1316 1316  == 3.5 Integrate with Mydevice ==
1317 1317  
1318 1318  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:
1319 1319  
1320 1320  (((
1321 -(% 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.
1322 1322  )))
1323 1323  
1324 1324  (((
1325 -(% 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:
1326 1326  )))
1327 1327  
1328 1328  [[image:1653356737703-362.png||height="232" width="732"]]
... ... @@ -1329,13 +1329,12 @@
1329 1329  
1330 1330  [[image:image-20220524094641-11.png||height="390" width="723"]]
1331 1331  
1332 -
1333 1333  [[image:image-20220524094641-12.png||height="402" width="718"]]
1334 1334  
1335 1335  
1336 -(% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.
1277 +**Step 3**: Create an account or log in Mydevices.
1337 1337  
1338 -(% 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" %)
1339 1339  
1340 1340  Search under The things network
1341 1341