Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -48,7 +48,6 @@ 48 48 49 49 ))) 50 50 51 - 52 52 == 1.2 Specifications == 53 53 54 54 ((( ... ... @@ -77,8 +77,6 @@ 77 77 ))) 78 78 79 79 ((( 80 - 81 - 82 82 **Interface for Model: LT22222-L:** 83 83 ))) 84 84 ... ... @@ -102,8 +102,6 @@ 102 102 ))) 103 103 104 104 ((( 105 - 106 - 107 107 **LoRa Spec:** 108 108 ))) 109 109 ... ... @@ -163,10 +163,10 @@ 163 163 ))) 164 164 * ((( 165 165 Packet engine up to 256 bytes with CRC. 161 + 162 + 166 166 ))) 167 167 168 - 169 - 170 170 == 1.3 Features == 171 171 172 172 * LoRaWAN Class A & Class C protocol ... ... @@ -177,8 +177,6 @@ 177 177 * Firmware upgradable via program port 178 178 * Counting 179 179 180 - 181 - 182 182 == 1.4 Applications == 183 183 184 184 * Smart Buildings & Home Automation ... ... @@ -188,8 +188,6 @@ 188 188 * Smart Cities 189 189 * Smart Factory 190 190 191 - 192 - 193 193 == 1.5 Hardware Variants == 194 194 195 195 (% border="1" style="background-color:#f7faff; width:500px" %) ... ... @@ -203,8 +203,6 @@ 203 203 * 1 x Counting Port 204 204 ))) 205 205 206 - 207 - 208 208 = 2. Power ON Device = 209 209 210 210 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. ... ... @@ -227,9 +227,12 @@ 227 227 228 228 ((( 229 229 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 + 230 230 ))) 231 231 232 232 224 + 233 233 == 3.2 Example to join LoRaWAN network == 234 234 235 235 ((( ... ... @@ -238,13 +238,12 @@ 238 238 239 239 [[image:image-20220523172350-1.png||height="266" width="864"]] 240 240 241 - 242 242 ((( 243 243 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: 244 244 ))) 245 245 246 246 ((( 247 - (% 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. 248 248 ))) 249 249 250 250 ((( ... ... @@ -253,7 +253,6 @@ 253 253 254 254 [[image:1653297924498-393.png]] 255 255 256 - 257 257 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 258 258 259 259 Add APP EUI in the application. ... ... @@ -267,7 +267,7 @@ 267 267 268 268 269 269 ((( 270 - (% 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. 271 271 ))) 272 272 273 273 [[image:1653298044601-602.png||height="405" width="709"]] ... ... @@ -292,8 +292,6 @@ 292 292 [[image:image-20220523174024-3.png]] 293 293 294 294 ((( 295 - 296 - 297 297 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 298 298 ))) 299 299 ... ... @@ -307,7 +307,6 @@ 307 307 308 308 For example if payload is: [[image:image-20220523175847-2.png]] 309 309 310 - 311 311 **The value for the interface is: ** 312 312 313 313 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V ... ... @@ -340,7 +340,6 @@ 340 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 ... ... @@ -478,6 +478,8 @@ 478 478 479 479 ((( 480 480 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 462 + 463 + 481 481 ))) 482 482 483 483 ... ... @@ -484,7 +484,6 @@ 484 484 485 485 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 486 486 487 - 488 488 **LT22222-L**: This mode the DI1 is used as a counting pin. 489 489 490 490 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. ... ... @@ -491,7 +491,6 @@ 491 491 492 492 [[image:image-20220523181903-8.png]] 493 493 494 - 495 495 ((( 496 496 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 497 497 ))) ... ... @@ -507,8 +507,6 @@ 507 507 ))) 508 508 509 509 ((( 510 - 511 - 512 512 **To use this mode, please run:** 513 513 ))) 514 514 ... ... @@ -535,8 +535,6 @@ 535 535 ))) 536 536 537 537 ((( 538 - 539 - 540 540 **Plus below command for AVI1 Counting:** 541 541 ))) 542 542 ... ... @@ -572,14 +572,11 @@ 572 572 573 573 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 574 574 575 - 576 576 **LT22222-L**: This mode the DI1 is used as a counting pin. 577 577 578 578 [[image:image-20220523182334-9.png]] 579 579 580 580 ((( 581 - 582 - 583 583 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 584 584 ))) 585 585 ... ... @@ -594,8 +594,6 @@ 594 594 ))) 595 595 596 596 ((( 597 - 598 - 599 599 **To use this mode, please run:** 600 600 ))) 601 601 ... ... @@ -615,6 +615,8 @@ 615 615 616 616 ((( 617 617 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 590 + 591 + 618 618 ))) 619 619 620 620 ... ... @@ -621,7 +621,6 @@ 621 621 622 622 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 623 623 624 - 625 625 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 626 626 627 627 For example, if user has configured below commands: ... ... @@ -647,7 +647,6 @@ 647 647 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 648 648 649 649 650 - 651 651 (% style="color:#4f81bd" %)**Trigger base on current**: 652 652 653 653 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -657,7 +657,6 @@ 657 657 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 658 658 659 659 660 - 661 661 (% style="color:#4f81bd" %)**Trigger base on DI status**: 662 662 663 663 DI status trigger Flag. ... ... @@ -664,13 +664,12 @@ 664 664 665 665 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 666 666 667 - 668 668 **Example:** 669 669 670 670 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 671 671 672 672 673 -**Downlink Command to set Trigger Condition :**643 +**Downlink Command to set Trigger Condition** 674 674 675 675 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 676 676 ... ... @@ -688,18 +688,14 @@ 688 688 689 689 Yy4 yy4: AC2 or AV2 high limit. 690 690 691 - 692 692 **Example1**: AA 00 13 88 00 00 00 00 00 00 693 693 694 694 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 695 695 696 - 697 697 **Example2**: AA 02 01 00 698 698 699 699 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 700 700 701 - 702 - 703 703 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 704 704 705 705 MOD6 Payload : total 11 bytes payload ... ... @@ -706,7 +706,6 @@ 706 706 707 707 [[image:image-20220524085923-1.png]] 708 708 709 - 710 710 (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 711 711 712 712 [[image:image-20220524090106-2.png]] ... ... @@ -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 ... ... @@ -763,6 +763,7 @@ 763 763 ))) 764 764 765 765 729 + 766 766 == 3.4 Configure LT via AT or Downlink == 767 767 768 768 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands ... ... @@ -796,7 +796,6 @@ 796 796 797 797 **Example: **AT+TDC=30000. Means set interval to 30 seconds 798 798 799 - 800 800 * Downlink Payload (prefix 0x01): 801 801 802 802 (% class="box infomessage" %) ... ... @@ -819,7 +819,6 @@ 819 819 820 820 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 821 821 822 - 823 823 * Downlink Payload (prefix 0x0A): 824 824 825 825 (% class="box infomessage" %) ... ... @@ -835,7 +835,6 @@ 835 835 836 836 There is no AT Command to poll uplink 837 837 838 - 839 839 * Downlink Payload (prefix 0x08): 840 840 841 841 (% class="box infomessage" %) ... ... @@ -862,7 +862,6 @@ 862 862 863 863 0: Disable Trigger Mode 864 864 865 - 866 866 * Downlink Payload (prefix 0x0A 06): 867 867 868 868 (% class="box infomessage" %) ... ... @@ -880,7 +880,6 @@ 880 880 881 881 There is no AT Command for this feature. 882 882 883 - 884 884 * Downlink Payload (prefix 0x AB 06): 885 885 886 886 (% class="box infomessage" %) ... ... @@ -901,7 +901,6 @@ 901 901 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 902 902 ))) 903 903 904 - 905 905 **Example:** 906 906 907 907 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) ... ... @@ -930,12 +930,10 @@ 930 930 931 931 b : delay timing. 932 932 933 - 934 934 **Example:** 935 935 936 936 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 937 937 938 - 939 939 * Downlink Payload (prefix 0x09 01 ): 940 940 941 941 (% class="box infomessage" %) ... ... @@ -960,12 +960,10 @@ 960 960 961 961 b : delay timing. 962 962 963 - 964 964 **Example:** 965 965 966 966 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 967 967 968 - 969 969 * Downlink Payload (prefix 0x09 02 ): 970 970 971 971 (% class="box infomessage" %) ... ... @@ -986,7 +986,6 @@ 986 986 **AT+ACLIM. ** 987 987 ))) 988 988 989 - 990 990 * Downlink Payload (prefix 0xAA 01 ): 991 991 992 992 (% class="box infomessage" %) ... ... @@ -1007,7 +1007,6 @@ 1007 1007 **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 1008 1008 ))) 1009 1009 1010 - 1011 1011 * Downlink Payload (prefix 0xAA 00 ): 1012 1012 1013 1013 (% class="box infomessage" %) ... ... @@ -1028,7 +1028,6 @@ 1028 1028 **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 1029 1029 ))) 1030 1030 1031 - 1032 1032 * Downlink Payload (prefix 0xAC ): 1033 1033 1034 1034 (% class="box infomessage" %) ... ... @@ -1044,7 +1044,6 @@ 1044 1044 1045 1045 There is no AT Command to control Digital Output 1046 1046 1047 - 1048 1048 * Downlink Payload (prefix 0x02): 1049 1049 1050 1050 (% class="box infomessage" %) ... ... @@ -1078,7 +1078,6 @@ 1078 1078 1079 1079 There is no AT Command to control Digital Output 1080 1080 1081 - 1082 1082 * Downlink Payload (prefix 0xA9): 1083 1083 1084 1084 (% class="box infomessage" %) ... ... @@ -1098,22 +1098,18 @@ 1098 1098 1099 1099 00: DO pins will change to an inverter state after timeout 1100 1100 1101 - 1102 1102 (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 1103 1103 1104 1104 [[image:image-20220524093238-6.png]] 1105 1105 1106 - 1107 1107 (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 1108 1108 1109 1109 [[image:image-20220524093328-7.png]] 1110 1110 1111 - 1112 1112 (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 1113 1113 1114 1114 [[image:image-20220524093351-8.png]] 1115 1115 1116 - 1117 1117 (% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 1118 1118 1119 1119 Latching time. Unit: ms ... ... @@ -1120,7 +1120,6 @@ 1120 1120 1121 1121 Device will upload a packet if downlink code executes successfully. 1122 1122 1123 - 1124 1124 **Example payload:** 1125 1125 1126 1126 **~1. A9 01 01 01 01 07 D0** ... ... @@ -1141,13 +1141,12 @@ 1141 1141 1142 1142 1143 1143 1144 -=== =3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 === 1145 1145 1146 1146 * AT Command: 1147 1147 1148 1148 There is no AT Command to control Relay Output 1149 1149 1150 - 1151 1151 * Downlink Payload (prefix 0x03): 1152 1152 1153 1153 (% class="box infomessage" %)