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

From version 77.98
edited by Xiaoling
on 2022/06/10 09:32
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
... ... @@ -314,8 +314,6 @@
314 314  * [1] RO1 relay channel is close and the RO1 LED is ON.
315 315  * [0] RO2 relay channel is open and RO2 LED is OFF;
316 316  
317 -
318 -
319 319  **LT22222-L:**
320 320  
321 321  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -331,11 +331,8 @@
331 331  ** DO1 is high in case there is load between DO1 and V+.
332 332  ** DO1 LED is off in both case
333 333  
334 -
335 -
336 336  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
337 337  
338 -
339 339  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
340 340  
341 341  (((
... ... @@ -344,7 +344,6 @@
344 344  
345 345  [[image:image-20220523180452-3.png]]
346 346  
347 -
348 348  (((
349 349  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
350 350  )))
... ... @@ -360,8 +360,6 @@
360 360  )))
361 361  
362 362  (((
363 -
364 -
365 365  **To use counting mode, please run:**
366 366  )))
367 367  
... ... @@ -380,8 +380,6 @@
380 380  )))
381 381  
382 382  (((
383 -
384 -
385 385  (% style="color:#4f81bd" %)**AT Commands for counting:**
386 386  )))
387 387  
... ... @@ -478,9 +478,9 @@
478 478  )))
479 479  
480 480  
467 +
481 481  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
482 482  
483 -
484 484  **LT22222-L**: This mode the DI1 is used as a counting pin.
485 485  
486 486  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.
... ... @@ -487,7 +487,6 @@
487 487  
488 488  [[image:image-20220523181903-8.png]]
489 489  
490 -
491 491  (((
492 492  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
493 493  )))
... ... @@ -503,8 +503,6 @@
503 503  )))
504 504  
505 505  (((
506 -
507 -
508 508  **To use this mode, please run:**
509 509  )))
510 510  
... ... @@ -531,8 +531,6 @@
531 531  )))
532 532  
533 533  (((
534 -
535 -
536 536  **Plus below command for AVI1 Counting:**
537 537  )))
538 538  
... ... @@ -568,14 +568,11 @@
568 568  
569 569  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
570 570  
571 -
572 572  **LT22222-L**: This mode the DI1 is used as a counting pin.
573 573  
574 574  [[image:image-20220523182334-9.png]]
575 575  
576 576  (((
577 -
578 -
579 579  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
580 580  )))
581 581  
... ... @@ -590,8 +590,6 @@
590 590  )))
591 591  
592 592  (((
593 -
594 -
595 595  **To use this mode, please run:**
596 596  )))
597 597  
... ... @@ -611,6 +611,8 @@
611 611  
612 612  (((
613 613  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
590 +
591 +
614 614  )))
615 615  
616 616  
... ... @@ -617,7 +617,6 @@
617 617  
618 618  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
619 619  
620 -
621 621  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
622 622  
623 623  For example, if user has configured below commands:
... ... @@ -625,14 +625,11 @@
625 625  * **AT+MOD=1 ** **~-~->** The normal working mode
626 626  * **AT+ADDMOD6=1**   **~-~->** Enable trigger
627 627  
628 -
629 629  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
630 630  
631 631  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
632 632  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.**
633 633  
634 -
635 -
636 636  **AT Command to set Trigger Condition**:
637 637  
638 638  (% style="color:#4f81bd" %)**Trigger base on voltage**:
... ... @@ -646,7 +646,6 @@
646 646  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
647 647  
648 648  
649 -
650 650  (% style="color:#4f81bd" %)**Trigger base on current**:
651 651  
652 652  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -656,7 +656,6 @@
656 656  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
657 657  
658 658  
659 -
660 660  (% style="color:#4f81bd" %)**Trigger base on DI status**:
661 661  
662 662  DI status trigger Flag.
... ... @@ -663,13 +663,12 @@
663 663  
664 664  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
665 665  
666 -
667 667  **Example:**
668 668  
669 669  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
670 670  
671 671  
672 -**Downlink Command to set Trigger Condition:**
643 +**Downlink Command to set Trigger Condition**
673 673  
674 674  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
675 675  
... ... @@ -687,18 +687,14 @@
687 687  
688 688   Yy4 yy4: AC2 or AV2 high limit.
689 689  
690 -
691 691  **Example1**: AA 00 13 88 00 00 00 00 00 00
692 692  
693 693  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
694 694  
695 -
696 696  **Example2**: AA 02 01 00
697 697  
698 698  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
699 699  
700 -
701 -
702 702  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
703 703  
704 704  MOD6 Payload : total 11 bytes payload
... ... @@ -705,7 +705,6 @@
705 705  
706 706  [[image:image-20220524085923-1.png]]
707 707  
708 -
709 709  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
710 710  
711 711  [[image:image-20220524090106-2.png]]
... ... @@ -712,8 +712,6 @@
712 712  
713 713  * Each bits shows if the corresponding trigger has been configured.
714 714  
715 -
716 -
717 717  **Example:**
718 718  
719 719  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
... ... @@ -725,8 +725,6 @@
725 725  
726 726  * Each bits shows which status has been trigger on this uplink.
727 727  
728 -
729 -
730 730  **Example:**
731 731  
732 732  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
... ... @@ -738,8 +738,6 @@
738 738  
739 739  * Each bits shows which status has been trigger on this uplink.
740 740  
741 -
742 -
743 743  **Example:**
744 744  
745 745  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
... ... @@ -760,8 +760,6 @@
760 760  === 3.3.7 Payload Decoder ===
761 761  
762 762  (((
763 -
764 -
765 765  **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/]]
766 766  
767 767  
... ... @@ -781,8 +781,6 @@
781 781  
782 782  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
783 783  
784 -
785 -
786 786  === 3.4.1 Common Commands ===
787 787  
788 788  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]]
... ... @@ -804,7 +804,6 @@
804 804  
805 805  **Example: **AT+TDC=30000. Means set interval to 30 seconds
806 806  
807 -
808 808  * Downlink Payload (prefix 0x01):
809 809  
810 810  (% class="box infomessage" %)
... ... @@ -827,7 +827,6 @@
827 827  
828 828  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
829 829  
830 -
831 831  * Downlink Payload (prefix 0x0A):
832 832  
833 833  (% class="box infomessage" %)
... ... @@ -843,7 +843,6 @@
843 843  
844 844  There is no AT Command to poll uplink
845 845  
846 -
847 847  * Downlink Payload (prefix 0x08):
848 848  
849 849  (% class="box infomessage" %)
... ... @@ -870,7 +870,6 @@
870 870  
871 871  0: Disable Trigger Mode
872 872  
873 -
874 874  * Downlink Payload (prefix 0x0A 06):
875 875  
876 876  (% class="box infomessage" %)
... ... @@ -888,7 +888,6 @@
888 888  
889 889  There is no AT Command for this feature.
890 890  
891 -
892 892  * Downlink Payload (prefix 0x AB 06):
893 893  
894 894  (% class="box infomessage" %)
... ... @@ -909,7 +909,6 @@
909 909  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
910 910  )))
911 911  
912 -
913 913  **Example:**
914 914  
915 915  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
... ... @@ -938,12 +938,10 @@
938 938  
939 939  b : delay timing.
940 940  
941 -
942 942  **Example:**
943 943  
944 944  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
945 945  
946 -
947 947  * Downlink Payload (prefix 0x09 01 ):
948 948  
949 949  (% class="box infomessage" %)
... ... @@ -968,12 +968,10 @@
968 968  
969 969  b : delay timing.
970 970  
971 -
972 972  **Example:**
973 973  
974 974  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
975 975  
976 -
977 977  * Downlink Payload (prefix 0x09 02 ):
978 978  
979 979  (% class="box infomessage" %)
... ... @@ -994,7 +994,6 @@
994 994  **AT+ACLIM. **
995 995  )))
996 996  
997 -
998 998  * Downlink Payload (prefix 0xAA 01 ):
999 999  
1000 1000  (% class="box infomessage" %)
... ... @@ -1015,7 +1015,6 @@
1015 1015  **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1016 1016  )))
1017 1017  
1018 -
1019 1019  * Downlink Payload (prefix 0xAA 00 ):
1020 1020  
1021 1021  (% class="box infomessage" %)
... ... @@ -1036,7 +1036,6 @@
1036 1036  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1037 1037  )))
1038 1038  
1039 -
1040 1040  * Downlink Payload (prefix 0xAC ):
1041 1041  
1042 1042  (% class="box infomessage" %)
... ... @@ -1052,7 +1052,6 @@
1052 1052  
1053 1053  There is no AT Command to control Digital Output
1054 1054  
1055 -
1056 1056  * Downlink Payload (prefix 0x02):
1057 1057  
1058 1058  (% class="box infomessage" %)
... ... @@ -1086,7 +1086,6 @@
1086 1086  
1087 1087  There is no AT Command to control Digital Output
1088 1088  
1089 -
1090 1090  * Downlink Payload (prefix 0xA9):
1091 1091  
1092 1092  (% class="box infomessage" %)
... ... @@ -1106,22 +1106,18 @@
1106 1106  
1107 1107  00: DO pins will change to an inverter state after timeout 
1108 1108  
1109 -
1110 1110  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1111 1111  
1112 1112  [[image:image-20220524093238-6.png]]
1113 1113  
1114 -
1115 1115  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1116 1116  
1117 1117  [[image:image-20220524093328-7.png]]
1118 1118  
1119 -
1120 1120  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1121 1121  
1122 1122  [[image:image-20220524093351-8.png]]
1123 1123  
1124 -
1125 1125  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1126 1126  
1127 1127   Latching time. Unit: ms
... ... @@ -1128,7 +1128,6 @@
1128 1128  
1129 1129  Device will upload a packet if downlink code executes successfully.
1130 1130  
1131 -
1132 1132  **Example payload:**
1133 1133  
1134 1134  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1149,13 +1149,12 @@
1149 1149  
1150 1150  
1151 1151  
1152 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1153 1153  
1154 1154  * AT Command:
1155 1155  
1156 1156  There is no AT Command to control Relay Output
1157 1157  
1158 -
1159 1159  * Downlink Payload (prefix 0x03):
1160 1160  
1161 1161  (% class="box infomessage" %)
... ... @@ -1185,7 +1185,6 @@
1185 1185  
1186 1186  There is no AT Command to control Relay Output
1187 1187  
1188 -
1189 1189  * Downlink Payload (prefix 0x05):
1190 1190  
1191 1191  (% class="box infomessage" %)
... ... @@ -1203,17 +1203,14 @@
1203 1203  
1204 1204  00: Relays will change to an inverter state after timeout
1205 1205  
1206 -
1207 1207  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1208 1208  
1209 1209  [[image:image-20220524093831-10.png]]
1210 1210  
1211 -
1212 1212  (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1213 1213  
1214 1214  Device will upload a packet if downlink code executes successfully.
1215 1215  
1216 -
1217 1217  **Example payload:**
1218 1218  
1219 1219  **~1. 05 01 11 07 D0**
... ... @@ -1245,7 +1245,6 @@
1245 1245  **AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1246 1246  )))
1247 1247  
1248 -
1249 1249  * Downlink Payload (prefix 0xA5):
1250 1250  
1251 1251  (% class="box infomessage" %)
... ... @@ -1272,7 +1272,6 @@
1272 1272  
1273 1273  Bb cc dd ee: number to be set
1274 1274  
1275 -
1276 1276  * Downlink Payload (prefix 0xA8):
1277 1277  
1278 1278  (% class="box infomessage" %)
... ... @@ -1325,16 +1325,17 @@
1325 1325  )))
1326 1326  
1327 1327  
1257 +
1328 1328  == 3.5 Integrate with Mydevice ==
1329 1329  
1330 1330  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:
1331 1331  
1332 1332  (((
1333 -(% 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.
1334 1334  )))
1335 1335  
1336 1336  (((
1337 -(% 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:
1338 1338  )))
1339 1339  
1340 1340  [[image:1653356737703-362.png||height="232" width="732"]]
... ... @@ -1341,13 +1341,12 @@
1341 1341  
1342 1342  [[image:image-20220524094641-11.png||height="390" width="723"]]
1343 1343  
1344 -
1345 1345  [[image:image-20220524094641-12.png||height="402" width="718"]]
1346 1346  
1347 1347  
1348 -(% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.
1277 +**Step 3**: Create an account or log in Mydevices.
1349 1349  
1350 -(% 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" %)
1351 1351  
1352 1352  Search under The things network
1353 1353