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

From version 77.102
edited by Xiaoling
on 2022/06/10 09:33
Change comment: There is no comment for this version
To version 77.64
edited by Xiaoling
on 2022/06/10 09:17
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -230,13 +230,12 @@
230 230  
231 231  [[image:image-20220523172350-1.png||height="266" width="864"]]
232 232  
233 -
234 234  (((
235 235  The LG308 is already set to connect to [[TTN network >>url:https://www.thethingsnetwork.org/]]. So what we need to do now is only configure register this device to TTN:
236 236  )))
237 237  
238 238  (((
239 -(% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LT IO controller.
238 +**Step 1**: Create a device in TTN with the OTAA keys from LT IO controller.
240 240  )))
241 241  
242 242  (((
... ... @@ -245,7 +245,6 @@
245 245  
246 246  [[image:1653297924498-393.png]]
247 247  
248 -
249 249  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
250 250  
251 251  Add APP EUI in the application.
... ... @@ -259,7 +259,7 @@
259 259  
260 260  
261 261  (((
262 -(% style="color:blue" %)**Step 2**(%%): Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
260 +**Step 2**: Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
263 263  )))
264 264  
265 265  [[image:1653298044601-602.png||height="405" width="709"]]
... ... @@ -277,7 +277,6 @@
277 277  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
278 278  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
279 279  
280 -
281 281  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
282 282  
283 283  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -285,8 +285,6 @@
285 285  [[image:image-20220523174024-3.png]]
286 286  
287 287  (((
288 -
289 -
290 290  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
291 291  )))
292 292  
... ... @@ -300,7 +300,6 @@
300 300  
301 301  For example if payload is: [[image:image-20220523175847-2.png]]
302 302  
303 -
304 304  **The value for the interface is:  **
305 305  
306 306  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
... ... @@ -316,7 +316,6 @@
316 316  * [1] RO1 relay channel is close and the RO1 LED is ON.
317 317  * [0] RO2 relay channel is open and RO2 LED is OFF;
318 318  
319 -
320 320  **LT22222-L:**
321 321  
322 322  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -332,10 +332,8 @@
332 332  ** DO1 is high in case there is load between DO1 and V+.
333 333  ** DO1 LED is off in both case
334 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:
... ... @@ -630,7 +630,6 @@
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 634  **AT Command to set Trigger Condition**:
635 635  
636 636  (% style="color:#4f81bd" %)**Trigger base on voltage**:
... ... @@ -644,7 +644,6 @@
644 644  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
645 645  
646 646  
647 -
648 648  (% style="color:#4f81bd" %)**Trigger base on current**:
649 649  
650 650  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -654,7 +654,6 @@
654 654  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
655 655  
656 656  
657 -
658 658  (% style="color:#4f81bd" %)**Trigger base on DI status**:
659 659  
660 660  DI status trigger Flag.
... ... @@ -661,13 +661,12 @@
661 661  
662 662  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
663 663  
664 -
665 665  **Example:**
666 666  
667 667  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
668 668  
669 669  
670 -**Downlink Command to set Trigger Condition:**
643 +**Downlink Command to set Trigger Condition**
671 671  
672 672  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
673 673  
... ... @@ -685,18 +685,14 @@
685 685  
686 686   Yy4 yy4: AC2 or AV2 high limit.
687 687  
688 -
689 689  **Example1**: AA 00 13 88 00 00 00 00 00 00
690 690  
691 691  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
692 692  
693 -
694 694  **Example2**: AA 02 01 00
695 695  
696 696  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
697 697  
698 -
699 -
700 700  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
701 701  
702 702  MOD6 Payload : total 11 bytes payload
... ... @@ -703,7 +703,6 @@
703 703  
704 704  [[image:image-20220524085923-1.png]]
705 705  
706 -
707 707  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
708 708  
709 709  [[image:image-20220524090106-2.png]]
... ... @@ -710,7 +710,6 @@
710 710  
711 711  * Each bits shows if the corresponding trigger has been configured.
712 712  
713 -
714 714  **Example:**
715 715  
716 716  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
... ... @@ -722,7 +722,6 @@
722 722  
723 723  * Each bits shows which status has been trigger on this uplink.
724 724  
725 -
726 726  **Example:**
727 727  
728 728  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
... ... @@ -734,7 +734,6 @@
734 734  
735 735  * Each bits shows which status has been trigger on this uplink.
736 736  
737 -
738 738  **Example:**
739 739  
740 740  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
... ... @@ -755,8 +755,6 @@
755 755  === 3.3.7 Payload Decoder ===
756 756  
757 757  (((
758 -
759 -
760 760  **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/]]
761 761  
762 762  
... ... @@ -776,7 +776,6 @@
776 776  
777 777  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
778 778  
779 -
780 780  === 3.4.1 Common Commands ===
781 781  
782 782  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]]
... ... @@ -798,7 +798,6 @@
798 798  
799 799  **Example: **AT+TDC=30000. Means set interval to 30 seconds
800 800  
801 -
802 802  * Downlink Payload (prefix 0x01):
803 803  
804 804  (% class="box infomessage" %)
... ... @@ -821,7 +821,6 @@
821 821  
822 822  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
823 823  
824 -
825 825  * Downlink Payload (prefix 0x0A):
826 826  
827 827  (% class="box infomessage" %)
... ... @@ -837,7 +837,6 @@
837 837  
838 838  There is no AT Command to poll uplink
839 839  
840 -
841 841  * Downlink Payload (prefix 0x08):
842 842  
843 843  (% class="box infomessage" %)
... ... @@ -864,7 +864,6 @@
864 864  
865 865  0: Disable Trigger Mode
866 866  
867 -
868 868  * Downlink Payload (prefix 0x0A 06):
869 869  
870 870  (% class="box infomessage" %)
... ... @@ -882,7 +882,6 @@
882 882  
883 883  There is no AT Command for this feature.
884 884  
885 -
886 886  * Downlink Payload (prefix 0x AB 06):
887 887  
888 888  (% class="box infomessage" %)
... ... @@ -903,7 +903,6 @@
903 903  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
904 904  )))
905 905  
906 -
907 907  **Example:**
908 908  
909 909  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
... ... @@ -932,12 +932,10 @@
932 932  
933 933  b : delay timing.
934 934  
935 -
936 936  **Example:**
937 937  
938 938  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
939 939  
940 -
941 941  * Downlink Payload (prefix 0x09 01 ):
942 942  
943 943  (% class="box infomessage" %)
... ... @@ -962,12 +962,10 @@
962 962  
963 963  b : delay timing.
964 964  
965 -
966 966  **Example:**
967 967  
968 968  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
969 969  
970 -
971 971  * Downlink Payload (prefix 0x09 02 ):
972 972  
973 973  (% class="box infomessage" %)
... ... @@ -988,7 +988,6 @@
988 988  **AT+ACLIM. **
989 989  )))
990 990  
991 -
992 992  * Downlink Payload (prefix 0xAA 01 ):
993 993  
994 994  (% class="box infomessage" %)
... ... @@ -1009,7 +1009,6 @@
1009 1009  **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1010 1010  )))
1011 1011  
1012 -
1013 1013  * Downlink Payload (prefix 0xAA 00 ):
1014 1014  
1015 1015  (% class="box infomessage" %)
... ... @@ -1030,7 +1030,6 @@
1030 1030  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1031 1031  )))
1032 1032  
1033 -
1034 1034  * Downlink Payload (prefix 0xAC ):
1035 1035  
1036 1036  (% class="box infomessage" %)
... ... @@ -1046,7 +1046,6 @@
1046 1046  
1047 1047  There is no AT Command to control Digital Output
1048 1048  
1049 -
1050 1050  * Downlink Payload (prefix 0x02):
1051 1051  
1052 1052  (% class="box infomessage" %)
... ... @@ -1080,7 +1080,6 @@
1080 1080  
1081 1081  There is no AT Command to control Digital Output
1082 1082  
1083 -
1084 1084  * Downlink Payload (prefix 0xA9):
1085 1085  
1086 1086  (% class="box infomessage" %)
... ... @@ -1100,22 +1100,18 @@
1100 1100  
1101 1101  00: DO pins will change to an inverter state after timeout 
1102 1102  
1103 -
1104 1104  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1105 1105  
1106 1106  [[image:image-20220524093238-6.png]]
1107 1107  
1108 -
1109 1109  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1110 1110  
1111 1111  [[image:image-20220524093328-7.png]]
1112 1112  
1113 -
1114 1114  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1115 1115  
1116 1116  [[image:image-20220524093351-8.png]]
1117 1117  
1118 -
1119 1119  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1120 1120  
1121 1121   Latching time. Unit: ms
... ... @@ -1122,7 +1122,6 @@
1122 1122  
1123 1123  Device will upload a packet if downlink code executes successfully.
1124 1124  
1125 -
1126 1126  **Example payload:**
1127 1127  
1128 1128  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1143,13 +1143,12 @@
1143 1143  
1144 1144  
1145 1145  
1146 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1147 1147  
1148 1148  * AT Command:
1149 1149  
1150 1150  There is no AT Command to control Relay Output
1151 1151  
1152 -
1153 1153  * Downlink Payload (prefix 0x03):
1154 1154  
1155 1155  (% class="box infomessage" %)