<
From version < 79.4 >
edited by Xiaoling
on 2022/06/10 09:41
To version < 77.61 >
edited by Xiaoling
on 2022/06/10 09:15
>
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"]]
... ... @@ -276,7 +276,6 @@
276 276  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
277 277  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
278 278  
279 -
280 280  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
281 281  
282 282  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -284,8 +284,6 @@
284 284  [[image:image-20220523174024-3.png]]
285 285  
286 286  (((
287 -
288 -
289 289  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
290 290  )))
291 291  
... ... @@ -299,7 +299,6 @@
299 299  
300 300  For example if payload is: [[image:image-20220523175847-2.png]]
301 301  
302 -
303 303  **The value for the interface is:  **
304 304  
305 305  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
... ... @@ -315,8 +315,6 @@
315 315  * [1] RO1 relay channel is close and the RO1 LED is ON.
316 316  * [0] RO2 relay channel is open and RO2 LED is OFF;
317 317  
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  
... ... @@ -473,6 +473,8 @@
473 473  
474 474  (((
475 475  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
462 +
463 +
476 476  )))
477 477  
478 478  
... ... @@ -479,7 +479,6 @@
479 479  
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:
... ... @@ -642,7 +642,6 @@
642 642  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
643 643  
644 644  
645 -
646 646  (% style="color:#4f81bd" %)**Trigger base on current**:
647 647  
648 648  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -652,7 +652,6 @@
652 652  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
653 653  
654 654  
655 -
656 656  (% style="color:#4f81bd" %)**Trigger base on DI status**:
657 657  
658 658  DI status trigger Flag.
... ... @@ -659,13 +659,12 @@
659 659  
660 660  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
661 661  
662 -
663 663  **Example:**
664 664  
665 665  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
666 666  
667 667  
668 -**Downlink Command to set Trigger Condition:**
643 +**Downlink Command to set Trigger Condition**
669 669  
670 670  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
671 671  
... ... @@ -683,18 +683,14 @@
683 683  
684 684   Yy4 yy4: AC2 or AV2 high limit.
685 685  
686 -
687 687  **Example1**: AA 00 13 88 00 00 00 00 00 00
688 688  
689 689  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
690 690  
691 -
692 692  **Example2**: AA 02 01 00
693 693  
694 694  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
695 695  
696 -
697 -
698 698  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
699 699  
700 700  MOD6 Payload : total 11 bytes payload
... ... @@ -701,7 +701,6 @@
701 701  
702 702  [[image:image-20220524085923-1.png]]
703 703  
704 -
705 705  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
706 706  
707 707  [[image:image-20220524090106-2.png]]
... ... @@ -750,8 +750,6 @@
750 750  === 3.3.7 Payload Decoder ===
751 751  
752 752  (((
753 -
754 -
755 755  **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/]]
756 756  
757 757  
... ... @@ -758,6 +758,7 @@
758 758  )))
759 759  
760 760  
729 +
761 761  == 3.4 ​Configure LT via AT or Downlink ==
762 762  
763 763  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
... ... @@ -770,9 +770,6 @@
770 770  
771 771  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
772 772  
773 -
774 -
775 -
776 776  === 3.4.1 Common Commands ===
777 777  
778 778  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]]
... ... @@ -794,7 +794,6 @@
794 794  
795 795  **Example: **AT+TDC=30000. Means set interval to 30 seconds
796 796  
797 -
798 798  * Downlink Payload (prefix 0x01):
799 799  
800 800  (% class="box infomessage" %)
... ... @@ -817,7 +817,6 @@
817 817  
818 818  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
819 819  
820 -
821 821  * Downlink Payload (prefix 0x0A):
822 822  
823 823  (% class="box infomessage" %)
... ... @@ -833,7 +833,6 @@
833 833  
834 834  There is no AT Command to poll uplink
835 835  
836 -
837 837  * Downlink Payload (prefix 0x08):
838 838  
839 839  (% class="box infomessage" %)
... ... @@ -860,7 +860,6 @@
860 860  
861 861  0: Disable Trigger Mode
862 862  
863 -
864 864  * Downlink Payload (prefix 0x0A 06):
865 865  
866 866  (% class="box infomessage" %)
... ... @@ -878,7 +878,6 @@
878 878  
879 879  There is no AT Command for this feature.
880 880  
881 -
882 882  * Downlink Payload (prefix 0x AB 06):
883 883  
884 884  (% class="box infomessage" %)
... ... @@ -899,7 +899,6 @@
899 899  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
900 900  )))
901 901  
902 -
903 903  **Example:**
904 904  
905 905  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
... ... @@ -928,12 +928,10 @@
928 928  
929 929  b : delay timing.
930 930  
931 -
932 932  **Example:**
933 933  
934 934  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
935 935  
936 -
937 937  * Downlink Payload (prefix 0x09 01 ):
938 938  
939 939  (% class="box infomessage" %)
... ... @@ -958,12 +958,10 @@
958 958  
959 959  b : delay timing.
960 960  
961 -
962 962  **Example:**
963 963  
964 964  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
965 965  
966 -
967 967  * Downlink Payload (prefix 0x09 02 ):
968 968  
969 969  (% class="box infomessage" %)
... ... @@ -984,7 +984,6 @@
984 984  **AT+ACLIM. **
985 985  )))
986 986  
987 -
988 988  * Downlink Payload (prefix 0xAA 01 ):
989 989  
990 990  (% class="box infomessage" %)
... ... @@ -1005,7 +1005,6 @@
1005 1005  **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1006 1006  )))
1007 1007  
1008 -
1009 1009  * Downlink Payload (prefix 0xAA 00 ):
1010 1010  
1011 1011  (% class="box infomessage" %)
... ... @@ -1026,7 +1026,6 @@
1026 1026  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1027 1027  )))
1028 1028  
1029 -
1030 1030  * Downlink Payload (prefix 0xAC ):
1031 1031  
1032 1032  (% class="box infomessage" %)
... ... @@ -1042,7 +1042,6 @@
1042 1042  
1043 1043  There is no AT Command to control Digital Output
1044 1044  
1045 -
1046 1046  * Downlink Payload (prefix 0x02):
1047 1047  
1048 1048  (% class="box infomessage" %)
... ... @@ -1076,7 +1076,6 @@
1076 1076  
1077 1077  There is no AT Command to control Digital Output
1078 1078  
1079 -
1080 1080  * Downlink Payload (prefix 0xA9):
1081 1081  
1082 1082  (% class="box infomessage" %)
... ... @@ -1096,22 +1096,18 @@
1096 1096  
1097 1097  00: DO pins will change to an inverter state after timeout 
1098 1098  
1099 -
1100 1100  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1101 1101  
1102 1102  [[image:image-20220524093238-6.png]]
1103 1103  
1104 -
1105 1105  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1106 1106  
1107 1107  [[image:image-20220524093328-7.png]]
1108 1108  
1109 -
1110 1110  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1111 1111  
1112 1112  [[image:image-20220524093351-8.png]]
1113 1113  
1114 -
1115 1115  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1116 1116  
1117 1117   Latching time. Unit: ms
... ... @@ -1118,7 +1118,6 @@
1118 1118  
1119 1119  Device will upload a packet if downlink code executes successfully.
1120 1120  
1121 -
1122 1122  **Example payload:**
1123 1123  
1124 1124  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1139,13 +1139,12 @@
1139 1139  
1140 1140  
1141 1141  
1142 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1143 1143  
1144 1144  * AT Command:
1145 1145  
1146 1146  There is no AT Command to control Relay Output
1147 1147  
1148 -
1149 1149  * Downlink Payload (prefix 0x03):
1150 1150  
1151 1151  (% class="box infomessage" %)
... ... @@ -1175,7 +1175,6 @@
1175 1175  
1176 1176  There is no AT Command to control Relay Output
1177 1177  
1178 -
1179 1179  * Downlink Payload (prefix 0x05):
1180 1180  
1181 1181  (% class="box infomessage" %)
... ... @@ -1193,17 +1193,14 @@
1193 1193  
1194 1194  00: Relays will change to an inverter state after timeout
1195 1195  
1196 -
1197 1197  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1198 1198  
1199 1199  [[image:image-20220524093831-10.png]]
1200 1200  
1201 -
1202 1202  (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1203 1203  
1204 1204  Device will upload a packet if downlink code executes successfully.
1205 1205  
1206 -
1207 1207  **Example payload:**
1208 1208  
1209 1209  **~1. 05 01 11 07 D0**
... ... @@ -1235,7 +1235,6 @@
1235 1235  **AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1236 1236  )))
1237 1237  
1238 -
1239 1239  * Downlink Payload (prefix 0xA5):
1240 1240  
1241 1241  (% class="box infomessage" %)
... ... @@ -1262,7 +1262,6 @@
1262 1262  
1263 1263  Bb cc dd ee: number to be set
1264 1264  
1265 -
1266 1266  * Downlink Payload (prefix 0xA8):
1267 1267  
1268 1268  (% class="box infomessage" %)
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0