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
-
... ... @@ -162,8 +162,6 @@ 162 162 163 163 ))) 164 164 165 - 166 - 167 167 == 1.3 Features == 168 168 169 169 * LoRaWAN Class A & Class C protocol ... ... @@ -174,8 +174,6 @@ 174 174 * Firmware upgradable via program port 175 175 * Counting 176 176 177 - 178 - 179 179 == 1.4 Applications == 180 180 181 181 * Smart Buildings & Home Automation ... ... @@ -185,8 +185,6 @@ 185 185 * Smart Cities 186 186 * Smart Factory 187 187 188 - 189 - 190 190 == 1.5 Hardware Variants == 191 191 192 192 (% border="1" style="background-color:#f7faff; width:500px" %) ... ... @@ -200,7 +200,6 @@ 200 200 * 1 x Counting Port 201 201 ))) 202 202 203 - 204 204 = 2. Power ON Device = 205 205 206 206 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. ... ... @@ -223,9 +223,12 @@ 223 223 224 224 ((( 225 225 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 + 226 226 ))) 227 227 228 228 224 + 229 229 == 3.2 Example to join LoRaWAN network == 230 230 231 231 ((( ... ... @@ -234,13 +234,12 @@ 234 234 235 235 [[image:image-20220523172350-1.png||height="266" width="864"]] 236 236 237 - 238 238 ((( 239 239 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: 240 240 ))) 241 241 242 242 ((( 243 - (% 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. 244 244 ))) 245 245 246 246 ((( ... ... @@ -249,7 +249,6 @@ 249 249 250 250 [[image:1653297924498-393.png]] 251 251 252 - 253 253 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 254 254 255 255 Add APP EUI in the application. ... ... @@ -263,7 +263,7 @@ 263 263 264 264 265 265 ((( 266 - (% 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. 267 267 ))) 268 268 269 269 [[image:1653298044601-602.png||height="405" width="709"]] ... ... @@ -281,7 +281,6 @@ 281 281 * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 282 282 * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 283 283 284 - 285 285 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 286 286 287 287 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -289,8 +289,6 @@ 289 289 [[image:image-20220523174024-3.png]] 290 290 291 291 ((( 292 - 293 - 294 294 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 295 295 ))) 296 296 ... ... @@ -304,7 +304,6 @@ 304 304 305 305 For example if payload is: [[image:image-20220523175847-2.png]] 306 306 307 - 308 308 **The value for the interface is: ** 309 309 310 310 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V ... ... @@ -335,10 +335,8 @@ 335 335 ** DO1 is high in case there is load between DO1 and V+. 336 336 ** DO1 LED is off in both case 337 337 338 - 339 339 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 340 340 341 - 342 342 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 343 343 344 344 ((( ... ... @@ -347,7 +347,6 @@ 347 347 348 348 [[image:image-20220523180452-3.png]] 349 349 350 - 351 351 ((( 352 352 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 353 353 ))) ... ... @@ -363,8 +363,6 @@ 363 363 ))) 364 364 365 365 ((( 366 - 367 - 368 368 **To use counting mode, please run:** 369 369 ))) 370 370 ... ... @@ -383,8 +383,6 @@ 383 383 ))) 384 384 385 385 ((( 386 - 387 - 388 388 (% style="color:#4f81bd" %)**AT Commands for counting:** 389 389 ))) 390 390 ... ... @@ -481,9 +481,9 @@ 481 481 ))) 482 482 483 483 467 + 484 484 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 485 485 486 - 487 487 **LT22222-L**: This mode the DI1 is used as a counting pin. 488 488 489 489 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. ... ... @@ -490,7 +490,6 @@ 490 490 491 491 [[image:image-20220523181903-8.png]] 492 492 493 - 494 494 ((( 495 495 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 496 496 ))) ... ... @@ -506,8 +506,6 @@ 506 506 ))) 507 507 508 508 ((( 509 - 510 - 511 511 **To use this mode, please run:** 512 512 ))) 513 513 ... ... @@ -534,8 +534,6 @@ 534 534 ))) 535 535 536 536 ((( 537 - 538 - 539 539 **Plus below command for AVI1 Counting:** 540 540 ))) 541 541 ... ... @@ -571,14 +571,11 @@ 571 571 572 572 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 573 573 574 - 575 575 **LT22222-L**: This mode the DI1 is used as a counting pin. 576 576 577 577 [[image:image-20220523182334-9.png]] 578 578 579 579 ((( 580 - 581 - 582 582 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 583 583 ))) 584 584 ... ... @@ -593,8 +593,6 @@ 593 593 ))) 594 594 595 595 ((( 596 - 597 - 598 598 **To use this mode, please run:** 599 599 ))) 600 600 ... ... @@ -614,6 +614,8 @@ 614 614 615 615 ((( 616 616 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 590 + 591 + 617 617 ))) 618 618 619 619 ... ... @@ -620,7 +620,6 @@ 620 620 621 621 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 622 622 623 - 624 624 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 625 625 626 626 For example, if user has configured below commands: ... ... @@ -646,7 +646,6 @@ 646 646 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 647 647 648 648 649 - 650 650 (% style="color:#4f81bd" %)**Trigger base on current**: 651 651 652 652 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -656,7 +656,6 @@ 656 656 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 657 657 658 658 659 - 660 660 (% style="color:#4f81bd" %)**Trigger base on DI status**: 661 661 662 662 DI status trigger Flag. ... ... @@ -663,13 +663,12 @@ 663 663 664 664 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 665 665 666 - 667 667 **Example:** 668 668 669 669 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 670 670 671 671 672 -**Downlink Command to set Trigger Condition :**643 +**Downlink Command to set Trigger Condition** 673 673 674 674 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 675 675 ... ... @@ -687,18 +687,14 @@ 687 687 688 688 Yy4 yy4: AC2 or AV2 high limit. 689 689 690 - 691 691 **Example1**: AA 00 13 88 00 00 00 00 00 00 692 692 693 693 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 694 694 695 - 696 696 **Example2**: AA 02 01 00 697 697 698 698 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 699 699 700 - 701 - 702 702 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 703 703 704 704 MOD6 Payload : total 11 bytes payload ... ... @@ -705,7 +705,6 @@ 705 705 706 706 [[image:image-20220524085923-1.png]] 707 707 708 - 709 709 (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 710 710 711 711 [[image:image-20220524090106-2.png]] ... ... @@ -754,8 +754,6 @@ 754 754 === 3.3.7 Payload Decoder === 755 755 756 756 ((( 757 - 758 - 759 759 **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/]] 760 760 761 761 ... ... @@ -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" %)