<
From version < 77.113 >
edited by Xiaoling
on 2022/06/10 09:37
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,10 +162,10 @@
162 162  )))
163 163  * (((
164 164  Packet engine up to 256 bytes with CRC.
161 +
162 +
165 165  )))
166 166  
167 -
168 -
169 169  == 1.3 Features ==
170 170  
171 171  * LoRaWAN Class A & Class C protocol
... ... @@ -176,8 +176,6 @@
176 176  * Firmware upgradable via program port
177 177  * Counting
178 178  
179 -
180 -
181 181  == 1.4  Applications ==
182 182  
183 183  * Smart Buildings & Home Automation
... ... @@ -187,8 +187,6 @@
187 187  * Smart Cities
188 188  * Smart Factory
189 189  
190 -
191 -
192 192  == 1.5 Hardware Variants ==
193 193  
194 194  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -202,7 +202,6 @@
202 202  * 1 x Counting Port
203 203  )))
204 204  
205 -
206 206  = 2. Power ON Device =
207 207  
208 208  The LT controller can be powered by 7 ~~ 24V DC power source. Connect VIN to Power Input V+ and GND to power input V- to power the LT controller.
... ... @@ -225,9 +225,12 @@
225 225  
226 226  (((
227 227  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 +
228 228  )))
229 229  
230 230  
224 +
231 231  == 3.2 Example to join LoRaWAN network ==
232 232  
233 233  (((
... ... @@ -236,13 +236,12 @@
236 236  
237 237  [[image:image-20220523172350-1.png||height="266" width="864"]]
238 238  
239 -
240 240  (((
241 241  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:
242 242  )))
243 243  
244 244  (((
245 -(% 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.
246 246  )))
247 247  
248 248  (((
... ... @@ -251,7 +251,6 @@
251 251  
252 252  [[image:1653297924498-393.png]]
253 253  
254 -
255 255  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
256 256  
257 257  Add APP EUI in the application.
... ... @@ -265,7 +265,7 @@
265 265  
266 266  
267 267  (((
268 -(% 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.
269 269  )))
270 270  
271 271  [[image:1653298044601-602.png||height="405" width="709"]]
... ... @@ -283,7 +283,6 @@
283 283  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
284 284  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
285 285  
286 -
287 287  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
288 288  
289 289  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -291,8 +291,6 @@
291 291  [[image:image-20220523174024-3.png]]
292 292  
293 293  (((
294 -
295 -
296 296  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
297 297  )))
298 298  
... ... @@ -306,7 +306,6 @@
306 306  
307 307  For example if payload is: [[image:image-20220523175847-2.png]]
308 308  
309 -
310 310  **The value for the interface is:  **
311 311  
312 312  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
... ... @@ -337,10 +337,8 @@
337 337  ** DO1 is high in case there is load between DO1 and V+.
338 338  ** DO1 LED is off in both case
339 339  
340 -
341 341  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
342 342  
343 -
344 344  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
345 345  
346 346  (((
... ... @@ -349,7 +349,6 @@
349 349  
350 350  [[image:image-20220523180452-3.png]]
351 351  
352 -
353 353  (((
354 354  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
355 355  )))
... ... @@ -365,8 +365,6 @@
365 365  )))
366 366  
367 367  (((
368 -
369 -
370 370  **To use counting mode, please run:**
371 371  )))
372 372  
... ... @@ -385,8 +385,6 @@
385 385  )))
386 386  
387 387  (((
388 -
389 -
390 390  (% style="color:#4f81bd" %)**AT Commands for counting:**
391 391  )))
392 392  
... ... @@ -483,9 +483,9 @@
483 483  )))
484 484  
485 485  
467 +
486 486  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
487 487  
488 -
489 489  **LT22222-L**: This mode the DI1 is used as a counting pin.
490 490  
491 491  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.
... ... @@ -492,7 +492,6 @@
492 492  
493 493  [[image:image-20220523181903-8.png]]
494 494  
495 -
496 496  (((
497 497  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
498 498  )))
... ... @@ -508,8 +508,6 @@
508 508  )))
509 509  
510 510  (((
511 -
512 -
513 513  **To use this mode, please run:**
514 514  )))
515 515  
... ... @@ -536,8 +536,6 @@
536 536  )))
537 537  
538 538  (((
539 -
540 -
541 541  **Plus below command for AVI1 Counting:**
542 542  )))
543 543  
... ... @@ -573,14 +573,11 @@
573 573  
574 574  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
575 575  
576 -
577 577  **LT22222-L**: This mode the DI1 is used as a counting pin.
578 578  
579 579  [[image:image-20220523182334-9.png]]
580 580  
581 581  (((
582 -
583 -
584 584  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
585 585  )))
586 586  
... ... @@ -595,8 +595,6 @@
595 595  )))
596 596  
597 597  (((
598 -
599 -
600 600  **To use this mode, please run:**
601 601  )))
602 602  
... ... @@ -616,6 +616,8 @@
616 616  
617 617  (((
618 618  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
590 +
591 +
619 619  )))
620 620  
621 621  
... ... @@ -622,7 +622,6 @@
622 622  
623 623  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
624 624  
625 -
626 626  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
627 627  
628 628  For example, if user has configured below commands:
... ... @@ -648,7 +648,6 @@
648 648  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
649 649  
650 650  
651 -
652 652  (% style="color:#4f81bd" %)**Trigger base on current**:
653 653  
654 654  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -658,7 +658,6 @@
658 658  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
659 659  
660 660  
661 -
662 662  (% style="color:#4f81bd" %)**Trigger base on DI status**:
663 663  
664 664  DI status trigger Flag.
... ... @@ -665,13 +665,12 @@
665 665  
666 666  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
667 667  
668 -
669 669  **Example:**
670 670  
671 671  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
672 672  
673 673  
674 -**Downlink Command to set Trigger Condition:**
643 +**Downlink Command to set Trigger Condition**
675 675  
676 676  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
677 677  
... ... @@ -689,18 +689,14 @@
689 689  
690 690   Yy4 yy4: AC2 or AV2 high limit.
691 691  
692 -
693 693  **Example1**: AA 00 13 88 00 00 00 00 00 00
694 694  
695 695  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
696 696  
697 -
698 698  **Example2**: AA 02 01 00
699 699  
700 700  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
701 701  
702 -
703 -
704 704  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
705 705  
706 706  MOD6 Payload : total 11 bytes payload
... ... @@ -707,7 +707,6 @@
707 707  
708 708  [[image:image-20220524085923-1.png]]
709 709  
710 -
711 711  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
712 712  
713 713  [[image:image-20220524090106-2.png]]
... ... @@ -756,8 +756,6 @@
756 756  === 3.3.7 Payload Decoder ===
757 757  
758 758  (((
759 -
760 -
761 761  **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/]]
762 762  
763 763  
... ... @@ -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" %)
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0