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

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