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
-
... ... @@ -19,8 +19,6 @@ 19 19 == 1.1 What is LT Series I/O Controller == 20 20 21 21 ((( 22 - 23 - 24 24 The Dragino (% style="color:blue" %)**LT series I/O Modules**(%%) are Long Range LoRaWAN I/O Controller. It contains different I/O Interfaces such as:** (% style="color:blue" %)analog current Input, analog voltage input(%%)**(% style="color:blue" %), **relay output**, **digital input**(%%) and (% style="color:blue" %)**digital output**(%%) etc. The LT I/O Modules are designed to simplify the installation of I/O monitoring. 25 25 ))) 26 26 ... ... @@ -50,7 +50,6 @@ 50 50 51 51 ))) 52 52 53 - 54 54 == 1.2 Specifications == 55 55 56 56 ((( ... ... @@ -79,8 +79,6 @@ 79 79 ))) 80 80 81 81 ((( 82 - 83 - 84 84 **Interface for Model: LT22222-L:** 85 85 ))) 86 86 ... ... @@ -104,8 +104,6 @@ 104 104 ))) 105 105 106 106 ((( 107 - 108 - 109 109 **LoRa Spec:** 110 110 ))) 111 111 ... ... @@ -165,6 +165,8 @@ 165 165 ))) 166 166 * ((( 167 167 Packet engine up to 256 bytes with CRC. 161 + 162 + 168 168 ))) 169 169 170 170 == 1.3 Features == ... ... @@ -221,9 +221,12 @@ 221 221 222 222 ((( 223 223 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 + 224 224 ))) 225 225 226 226 224 + 227 227 == 3.2 Example to join LoRaWAN network == 228 228 229 229 ((( ... ... @@ -232,13 +232,12 @@ 232 232 233 233 [[image:image-20220523172350-1.png||height="266" width="864"]] 234 234 235 - 236 236 ((( 237 237 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: 238 238 ))) 239 239 240 240 ((( 241 - (% 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. 242 242 ))) 243 243 244 244 ((( ... ... @@ -247,7 +247,6 @@ 247 247 248 248 [[image:1653297924498-393.png]] 249 249 250 - 251 251 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 252 252 253 253 Add APP EUI in the application. ... ... @@ -261,7 +261,7 @@ 261 261 262 262 263 263 ((( 264 - (% 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. 265 265 ))) 266 266 267 267 [[image:1653298044601-602.png||height="405" width="709"]] ... ... @@ -286,8 +286,6 @@ 286 286 [[image:image-20220523174024-3.png]] 287 287 288 288 ((( 289 - 290 - 291 291 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 292 292 ))) 293 293 ... ... @@ -301,7 +301,6 @@ 301 301 302 302 For example if payload is: [[image:image-20220523175847-2.png]] 303 303 304 - 305 305 **The value for the interface is: ** 306 306 307 307 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V ... ... @@ -334,7 +334,6 @@ 334 334 335 335 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 336 336 337 - 338 338 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 339 339 340 340 ((( ... ... @@ -343,7 +343,6 @@ 343 343 344 344 [[image:image-20220523180452-3.png]] 345 345 346 - 347 347 ((( 348 348 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 349 349 ))) ... ... @@ -359,8 +359,6 @@ 359 359 ))) 360 360 361 361 ((( 362 - 363 - 364 364 **To use counting mode, please run:** 365 365 ))) 366 366 ... ... @@ -379,8 +379,6 @@ 379 379 ))) 380 380 381 381 ((( 382 - 383 - 384 384 (% style="color:#4f81bd" %)**AT Commands for counting:** 385 385 ))) 386 386 ... ... @@ -472,6 +472,8 @@ 472 472 473 473 ((( 474 474 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 462 + 463 + 475 475 ))) 476 476 477 477 ... ... @@ -478,7 +478,6 @@ 478 478 479 479 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 480 480 481 - 482 482 **LT22222-L**: This mode the DI1 is used as a counting pin. 483 483 484 484 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. ... ... @@ -485,7 +485,6 @@ 485 485 486 486 [[image:image-20220523181903-8.png]] 487 487 488 - 489 489 ((( 490 490 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 491 491 ))) ... ... @@ -501,8 +501,6 @@ 501 501 ))) 502 502 503 503 ((( 504 - 505 - 506 506 **To use this mode, please run:** 507 507 ))) 508 508 ... ... @@ -529,8 +529,6 @@ 529 529 ))) 530 530 531 531 ((( 532 - 533 - 534 534 **Plus below command for AVI1 Counting:** 535 535 ))) 536 536 ... ... @@ -566,14 +566,11 @@ 566 566 567 567 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 568 568 569 - 570 570 **LT22222-L**: This mode the DI1 is used as a counting pin. 571 571 572 572 [[image:image-20220523182334-9.png]] 573 573 574 574 ((( 575 - 576 - 577 577 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 578 578 ))) 579 579 ... ... @@ -588,8 +588,6 @@ 588 588 ))) 589 589 590 590 ((( 591 - 592 - 593 593 **To use this mode, please run:** 594 594 ))) 595 595 ... ... @@ -609,6 +609,8 @@ 609 609 610 610 ((( 611 611 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 590 + 591 + 612 612 ))) 613 613 614 614 ... ... @@ -615,7 +615,6 @@ 615 615 616 616 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 617 617 618 - 619 619 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 620 620 621 621 For example, if user has configured below commands: ... ... @@ -641,7 +641,6 @@ 641 641 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 642 642 643 643 644 - 645 645 (% style="color:#4f81bd" %)**Trigger base on current**: 646 646 647 647 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -651,7 +651,6 @@ 651 651 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 652 652 653 653 654 - 655 655 (% style="color:#4f81bd" %)**Trigger base on DI status**: 656 656 657 657 DI status trigger Flag. ... ... @@ -658,13 +658,12 @@ 658 658 659 659 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 660 660 661 - 662 662 **Example:** 663 663 664 664 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 665 665 666 666 667 -**Downlink Command to set Trigger Condition :**643 +**Downlink Command to set Trigger Condition** 668 668 669 669 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 670 670 ... ... @@ -682,18 +682,14 @@ 682 682 683 683 Yy4 yy4: AC2 or AV2 high limit. 684 684 685 - 686 686 **Example1**: AA 00 13 88 00 00 00 00 00 00 687 687 688 688 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 689 689 690 - 691 691 **Example2**: AA 02 01 00 692 692 693 693 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 694 694 695 - 696 - 697 697 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 698 698 699 699 MOD6 Payload : total 11 bytes payload ... ... @@ -700,7 +700,6 @@ 700 700 701 701 [[image:image-20220524085923-1.png]] 702 702 703 - 704 704 (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 705 705 706 706 [[image:image-20220524090106-2.png]] ... ... @@ -749,8 +749,6 @@ 749 749 === 3.3.7 Payload Decoder === 750 750 751 751 ((( 752 - 753 - 754 754 **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/]] 755 755 756 756 ... ... @@ -757,6 +757,7 @@ 757 757 ))) 758 758 759 759 729 + 760 760 == 3.4 Configure LT via AT or Downlink == 761 761 762 762 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands ... ... @@ -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" %) ... ... @@ -2000,16 +2000,8 @@ 2000 2000 ))) 2001 2001 2002 2002 ((( 2003 - ==5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==1952 + 2004 2004 2005 -If the device is not shut down, but directly powered off. 2006 - 2007 -It will default that this is a power-off state. 2008 - 2009 -In modes 2 to 5, DO RO status and pulse count are saved in flash. 2010 - 2011 -After restart, the status before power failure will be read from flash. 2012 - 2013 2013 = 6. Trouble Shooting = 2014 2014 ))) 2015 2015