<
From version < 79.5 >
edited by Xiaoling
on 2022/06/10 09:41
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
... ... @@ -76,8 +76,6 @@
76 76  )))
77 77  
78 78  (((
79 -
80 -
81 81  **Interface for Model: LT22222-L:**
82 82  )))
83 83  
... ... @@ -101,8 +101,6 @@
101 101  )))
102 102  
103 103  (((
104 -
105 -
106 106  **LoRa Spec:**
107 107  )))
108 108  
... ... @@ -162,6 +162,8 @@
162 162  )))
163 163  * (((
164 164  Packet engine up to 256 bytes with CRC.
161 +
162 +
165 165  )))
166 166  
167 167  == 1.3 Features ==
... ... @@ -218,9 +218,12 @@
218 218  
219 219  (((
220 220  In case user can’t set the OTAA keys in the network server and has to use the existing keys from server. User can [[use AT Command>>||anchor="H4.UseATCommand"]] to set the keys in the devices.
219 +
220 +
221 221  )))
222 222  
223 223  
224 +
224 224  == 3.2 Example to join LoRaWAN network ==
225 225  
226 226  (((
... ... @@ -229,13 +229,12 @@
229 229  
230 230  [[image:image-20220523172350-1.png||height="266" width="864"]]
231 231  
232 -
233 233  (((
234 234  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:
235 235  )))
236 236  
237 237  (((
238 -(% 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.
239 239  )))
240 240  
241 241  (((
... ... @@ -244,7 +244,6 @@
244 244  
245 245  [[image:1653297924498-393.png]]
246 246  
247 -
248 248  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
249 249  
250 250  Add APP EUI in the application.
... ... @@ -258,7 +258,7 @@
258 258  
259 259  
260 260  (((
261 -(% 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.
262 262  )))
263 263  
264 264  [[image:1653298044601-602.png||height="405" width="709"]]
... ... @@ -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,7 +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 318  **LT22222-L:**
319 319  
320 320  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -332,7 +332,6 @@
332 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  
... ... @@ -470,6 +470,8 @@
470 470  
471 471  (((
472 472  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
462 +
463 +
473 473  )))
474 474  
475 475  
... ... @@ -476,7 +476,6 @@
476 476  
477 477  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
478 478  
479 -
480 480  **LT22222-L**: This mode the DI1 is used as a counting pin.
481 481  
482 482  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.
... ... @@ -483,7 +483,6 @@
483 483  
484 484  [[image:image-20220523181903-8.png]]
485 485  
486 -
487 487  (((
488 488  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
489 489  )))
... ... @@ -499,8 +499,6 @@
499 499  )))
500 500  
501 501  (((
502 -
503 -
504 504  **To use this mode, please run:**
505 505  )))
506 506  
... ... @@ -527,8 +527,6 @@
527 527  )))
528 528  
529 529  (((
530 -
531 -
532 532  **Plus below command for AVI1 Counting:**
533 533  )))
534 534  
... ... @@ -564,14 +564,11 @@
564 564  
565 565  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
566 566  
567 -
568 568  **LT22222-L**: This mode the DI1 is used as a counting pin.
569 569  
570 570  [[image:image-20220523182334-9.png]]
571 571  
572 572  (((
573 -
574 -
575 575  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
576 576  )))
577 577  
... ... @@ -586,8 +586,6 @@
586 586  )))
587 587  
588 588  (((
589 -
590 -
591 591  **To use this mode, please run:**
592 592  )))
593 593  
... ... @@ -607,6 +607,8 @@
607 607  
608 608  (((
609 609  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
590 +
591 +
610 610  )))
611 611  
612 612  
... ... @@ -613,7 +613,6 @@
613 613  
614 614  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
615 615  
616 -
617 617  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
618 618  
619 619  For example, if user has configured below commands:
... ... @@ -639,7 +639,6 @@
639 639  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
640 640  
641 641  
642 -
643 643  (% style="color:#4f81bd" %)**Trigger base on current**:
644 644  
645 645  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -649,7 +649,6 @@
649 649  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
650 650  
651 651  
652 -
653 653  (% style="color:#4f81bd" %)**Trigger base on DI status**:
654 654  
655 655  DI status trigger Flag.
... ... @@ -656,13 +656,12 @@
656 656  
657 657  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
658 658  
659 -
660 660  **Example:**
661 661  
662 662  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
663 663  
664 664  
665 -**Downlink Command to set Trigger Condition:**
643 +**Downlink Command to set Trigger Condition**
666 666  
667 667  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
668 668  
... ... @@ -680,18 +680,14 @@
680 680  
681 681   Yy4 yy4: AC2 or AV2 high limit.
682 682  
683 -
684 684  **Example1**: AA 00 13 88 00 00 00 00 00 00
685 685  
686 686  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
687 687  
688 -
689 689  **Example2**: AA 02 01 00
690 690  
691 691  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
692 692  
693 -
694 -
695 695  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
696 696  
697 697  MOD6 Payload : total 11 bytes payload
... ... @@ -698,7 +698,6 @@
698 698  
699 699  [[image:image-20220524085923-1.png]]
700 700  
701 -
702 702  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
703 703  
704 704  [[image:image-20220524090106-2.png]]
... ... @@ -747,8 +747,6 @@
747 747  === 3.3.7 Payload Decoder ===
748 748  
749 749  (((
750 -
751 -
752 752  **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/]]
753 753  
754 754  
... ... @@ -755,6 +755,7 @@
755 755  )))
756 756  
757 757  
729 +
758 758  == 3.4 ​Configure LT via AT or Downlink ==
759 759  
760 760  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
... ... @@ -767,8 +767,6 @@
767 767  
768 768  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
769 769  
770 -
771 -
772 772  === 3.4.1 Common Commands ===
773 773  
774 774  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]]
... ... @@ -790,7 +790,6 @@
790 790  
791 791  **Example: **AT+TDC=30000. Means set interval to 30 seconds
792 792  
793 -
794 794  * Downlink Payload (prefix 0x01):
795 795  
796 796  (% class="box infomessage" %)
... ... @@ -813,7 +813,6 @@
813 813  
814 814  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
815 815  
816 -
817 817  * Downlink Payload (prefix 0x0A):
818 818  
819 819  (% class="box infomessage" %)
... ... @@ -829,7 +829,6 @@
829 829  
830 830  There is no AT Command to poll uplink
831 831  
832 -
833 833  * Downlink Payload (prefix 0x08):
834 834  
835 835  (% class="box infomessage" %)
... ... @@ -856,7 +856,6 @@
856 856  
857 857  0: Disable Trigger Mode
858 858  
859 -
860 860  * Downlink Payload (prefix 0x0A 06):
861 861  
862 862  (% class="box infomessage" %)
... ... @@ -874,7 +874,6 @@
874 874  
875 875  There is no AT Command for this feature.
876 876  
877 -
878 878  * Downlink Payload (prefix 0x AB 06):
879 879  
880 880  (% class="box infomessage" %)
... ... @@ -895,7 +895,6 @@
895 895  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
896 896  )))
897 897  
898 -
899 899  **Example:**
900 900  
901 901  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
... ... @@ -924,12 +924,10 @@
924 924  
925 925  b : delay timing.
926 926  
927 -
928 928  **Example:**
929 929  
930 930  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
931 931  
932 -
933 933  * Downlink Payload (prefix 0x09 01 ):
934 934  
935 935  (% class="box infomessage" %)
... ... @@ -954,12 +954,10 @@
954 954  
955 955  b : delay timing.
956 956  
957 -
958 958  **Example:**
959 959  
960 960  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
961 961  
962 -
963 963  * Downlink Payload (prefix 0x09 02 ):
964 964  
965 965  (% class="box infomessage" %)
... ... @@ -980,7 +980,6 @@
980 980  **AT+ACLIM. **
981 981  )))
982 982  
983 -
984 984  * Downlink Payload (prefix 0xAA 01 ):
985 985  
986 986  (% class="box infomessage" %)
... ... @@ -1001,7 +1001,6 @@
1001 1001  **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1002 1002  )))
1003 1003  
1004 -
1005 1005  * Downlink Payload (prefix 0xAA 00 ):
1006 1006  
1007 1007  (% class="box infomessage" %)
... ... @@ -1022,7 +1022,6 @@
1022 1022  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1023 1023  )))
1024 1024  
1025 -
1026 1026  * Downlink Payload (prefix 0xAC ):
1027 1027  
1028 1028  (% class="box infomessage" %)
... ... @@ -1038,7 +1038,6 @@
1038 1038  
1039 1039  There is no AT Command to control Digital Output
1040 1040  
1041 -
1042 1042  * Downlink Payload (prefix 0x02):
1043 1043  
1044 1044  (% class="box infomessage" %)
... ... @@ -1072,7 +1072,6 @@
1072 1072  
1073 1073  There is no AT Command to control Digital Output
1074 1074  
1075 -
1076 1076  * Downlink Payload (prefix 0xA9):
1077 1077  
1078 1078  (% class="box infomessage" %)
... ... @@ -1092,22 +1092,18 @@
1092 1092  
1093 1093  00: DO pins will change to an inverter state after timeout 
1094 1094  
1095 -
1096 1096  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1097 1097  
1098 1098  [[image:image-20220524093238-6.png]]
1099 1099  
1100 -
1101 1101  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1102 1102  
1103 1103  [[image:image-20220524093328-7.png]]
1104 1104  
1105 -
1106 1106  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1107 1107  
1108 1108  [[image:image-20220524093351-8.png]]
1109 1109  
1110 -
1111 1111  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1112 1112  
1113 1113   Latching time. Unit: ms
... ... @@ -1114,7 +1114,6 @@
1114 1114  
1115 1115  Device will upload a packet if downlink code executes successfully.
1116 1116  
1117 -
1118 1118  **Example payload:**
1119 1119  
1120 1120  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1135,13 +1135,12 @@
1135 1135  
1136 1136  
1137 1137  
1138 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1139 1139  
1140 1140  * AT Command:
1141 1141  
1142 1142  There is no AT Command to control Relay Output
1143 1143  
1144 -
1145 1145  * Downlink Payload (prefix 0x03):
1146 1146  
1147 1147  (% class="box infomessage" %)
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0