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
-
... ... @@ -194,8 +194,6 @@ 194 194 * 1 x Counting Port 195 195 ))) 196 196 197 - 198 - 199 199 = 2. Power ON Device = 200 200 201 201 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. ... ... @@ -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,8 +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 - 281 281 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 282 282 283 283 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -285,8 +285,6 @@ 285 285 [[image:image-20220523174024-3.png]] 286 286 287 287 ((( 288 - 289 - 290 290 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 291 291 ))) 292 292 ... ... @@ -300,7 +300,6 @@ 300 300 301 301 For example if payload is: [[image:image-20220523175847-2.png]] 302 302 303 - 304 304 **The value for the interface is: ** 305 305 306 306 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V ... ... @@ -316,7 +316,6 @@ 316 316 * [1] RO1 relay channel is close and the RO1 LED is ON. 317 317 * [0] RO2 relay channel is open and RO2 LED is OFF; 318 318 319 - 320 320 **LT22222-L:** 321 321 322 322 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -332,11 +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 - 337 337 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 338 338 339 - 340 340 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 341 341 342 342 ((( ... ... @@ -345,7 +345,6 @@ 345 345 346 346 [[image:image-20220523180452-3.png]] 347 347 348 - 349 349 ((( 350 350 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 351 351 ))) ... ... @@ -361,8 +361,6 @@ 361 361 ))) 362 362 363 363 ((( 364 - 365 - 366 366 **To use counting mode, please run:** 367 367 ))) 368 368 ... ... @@ -381,8 +381,6 @@ 381 381 ))) 382 382 383 383 ((( 384 - 385 - 386 386 (% style="color:#4f81bd" %)**AT Commands for counting:** 387 387 ))) 388 388 ... ... @@ -479,9 +479,9 @@ 479 479 ))) 480 480 481 481 467 + 482 482 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 483 483 484 - 485 485 **LT22222-L**: This mode the DI1 is used as a counting pin. 486 486 487 487 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. ... ... @@ -488,7 +488,6 @@ 488 488 489 489 [[image:image-20220523181903-8.png]] 490 490 491 - 492 492 ((( 493 493 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 494 494 ))) ... ... @@ -504,8 +504,6 @@ 504 504 ))) 505 505 506 506 ((( 507 - 508 - 509 509 **To use this mode, please run:** 510 510 ))) 511 511 ... ... @@ -532,8 +532,6 @@ 532 532 ))) 533 533 534 534 ((( 535 - 536 - 537 537 **Plus below command for AVI1 Counting:** 538 538 ))) 539 539 ... ... @@ -569,14 +569,11 @@ 569 569 570 570 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 571 571 572 - 573 573 **LT22222-L**: This mode the DI1 is used as a counting pin. 574 574 575 575 [[image:image-20220523182334-9.png]] 576 576 577 577 ((( 578 - 579 - 580 580 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 581 581 ))) 582 582 ... ... @@ -591,8 +591,6 @@ 591 591 ))) 592 592 593 593 ((( 594 - 595 - 596 596 **To use this mode, please run:** 597 597 ))) 598 598 ... ... @@ -612,6 +612,8 @@ 612 612 613 613 ((( 614 614 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 590 + 591 + 615 615 ))) 616 616 617 617 ... ... @@ -618,7 +618,6 @@ 618 618 619 619 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 620 620 621 - 622 622 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 623 623 624 624 For example, if user has configured below commands: ... ... @@ -631,7 +631,6 @@ 631 631 1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN (% style="color:#4f81bd" %)**unconfirmed**(%%) data type 632 632 1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN (% style="color:#4f81bd" %)**CONFIRMED data type.** 633 633 634 - 635 635 **AT Command to set Trigger Condition**: 636 636 637 637 (% style="color:#4f81bd" %)**Trigger base on voltage**: ... ... @@ -645,7 +645,6 @@ 645 645 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 646 646 647 647 648 - 649 649 (% style="color:#4f81bd" %)**Trigger base on current**: 650 650 651 651 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -655,7 +655,6 @@ 655 655 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 656 656 657 657 658 - 659 659 (% style="color:#4f81bd" %)**Trigger base on DI status**: 660 660 661 661 DI status trigger Flag. ... ... @@ -662,13 +662,12 @@ 662 662 663 663 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 664 664 665 - 666 666 **Example:** 667 667 668 668 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 669 669 670 670 671 -**Downlink Command to set Trigger Condition :**643 +**Downlink Command to set Trigger Condition** 672 672 673 673 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 674 674 ... ... @@ -686,18 +686,14 @@ 686 686 687 687 Yy4 yy4: AC2 or AV2 high limit. 688 688 689 - 690 690 **Example1**: AA 00 13 88 00 00 00 00 00 00 691 691 692 692 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 693 693 694 - 695 695 **Example2**: AA 02 01 00 696 696 697 697 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 698 698 699 - 700 - 701 701 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 702 702 703 703 MOD6 Payload : total 11 bytes payload ... ... @@ -704,7 +704,6 @@ 704 704 705 705 [[image:image-20220524085923-1.png]] 706 706 707 - 708 708 (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 709 709 710 710 [[image:image-20220524090106-2.png]] ... ... @@ -711,7 +711,6 @@ 711 711 712 712 * Each bits shows if the corresponding trigger has been configured. 713 713 714 - 715 715 **Example:** 716 716 717 717 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -723,7 +723,6 @@ 723 723 724 724 * Each bits shows which status has been trigger on this uplink. 725 725 726 - 727 727 **Example:** 728 728 729 729 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -735,7 +735,6 @@ 735 735 736 736 * Each bits shows which status has been trigger on this uplink. 737 737 738 - 739 739 **Example:** 740 740 741 741 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -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 ... ... @@ -777,7 +777,6 @@ 777 777 778 778 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 779 779 780 - 781 781 === 3.4.1 Common Commands === 782 782 783 783 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]] ... ... @@ -799,7 +799,6 @@ 799 799 800 800 **Example: **AT+TDC=30000. Means set interval to 30 seconds 801 801 802 - 803 803 * Downlink Payload (prefix 0x01): 804 804 805 805 (% class="box infomessage" %) ... ... @@ -822,7 +822,6 @@ 822 822 823 823 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 824 824 825 - 826 826 * Downlink Payload (prefix 0x0A): 827 827 828 828 (% class="box infomessage" %) ... ... @@ -838,7 +838,6 @@ 838 838 839 839 There is no AT Command to poll uplink 840 840 841 - 842 842 * Downlink Payload (prefix 0x08): 843 843 844 844 (% class="box infomessage" %) ... ... @@ -865,7 +865,6 @@ 865 865 866 866 0: Disable Trigger Mode 867 867 868 - 869 869 * Downlink Payload (prefix 0x0A 06): 870 870 871 871 (% class="box infomessage" %) ... ... @@ -883,7 +883,6 @@ 883 883 884 884 There is no AT Command for this feature. 885 885 886 - 887 887 * Downlink Payload (prefix 0x AB 06): 888 888 889 889 (% class="box infomessage" %) ... ... @@ -904,7 +904,6 @@ 904 904 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 905 905 ))) 906 906 907 - 908 908 **Example:** 909 909 910 910 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) ... ... @@ -933,12 +933,10 @@ 933 933 934 934 b : delay timing. 935 935 936 - 937 937 **Example:** 938 938 939 939 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 940 940 941 - 942 942 * Downlink Payload (prefix 0x09 01 ): 943 943 944 944 (% class="box infomessage" %) ... ... @@ -963,12 +963,10 @@ 963 963 964 964 b : delay timing. 965 965 966 - 967 967 **Example:** 968 968 969 969 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 970 970 971 - 972 972 * Downlink Payload (prefix 0x09 02 ): 973 973 974 974 (% class="box infomessage" %) ... ... @@ -989,7 +989,6 @@ 989 989 **AT+ACLIM. ** 990 990 ))) 991 991 992 - 993 993 * Downlink Payload (prefix 0xAA 01 ): 994 994 995 995 (% class="box infomessage" %) ... ... @@ -1010,7 +1010,6 @@ 1010 1010 **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 1011 1011 ))) 1012 1012 1013 - 1014 1014 * Downlink Payload (prefix 0xAA 00 ): 1015 1015 1016 1016 (% class="box infomessage" %) ... ... @@ -1031,7 +1031,6 @@ 1031 1031 **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 1032 1032 ))) 1033 1033 1034 - 1035 1035 * Downlink Payload (prefix 0xAC ): 1036 1036 1037 1037 (% class="box infomessage" %) ... ... @@ -1047,7 +1047,6 @@ 1047 1047 1048 1048 There is no AT Command to control Digital Output 1049 1049 1050 - 1051 1051 * Downlink Payload (prefix 0x02): 1052 1052 1053 1053 (% class="box infomessage" %) ... ... @@ -1081,7 +1081,6 @@ 1081 1081 1082 1082 There is no AT Command to control Digital Output 1083 1083 1084 - 1085 1085 * Downlink Payload (prefix 0xA9): 1086 1086 1087 1087 (% class="box infomessage" %) ... ... @@ -1101,22 +1101,18 @@ 1101 1101 1102 1102 00: DO pins will change to an inverter state after timeout 1103 1103 1104 - 1105 1105 (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 1106 1106 1107 1107 [[image:image-20220524093238-6.png]] 1108 1108 1109 - 1110 1110 (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 1111 1111 1112 1112 [[image:image-20220524093328-7.png]] 1113 1113 1114 - 1115 1115 (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 1116 1116 1117 1117 [[image:image-20220524093351-8.png]] 1118 1118 1119 - 1120 1120 (% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 1121 1121 1122 1122 Latching time. Unit: ms ... ... @@ -1123,7 +1123,6 @@ 1123 1123 1124 1124 Device will upload a packet if downlink code executes successfully. 1125 1125 1126 - 1127 1127 **Example payload:** 1128 1128 1129 1129 **~1. A9 01 01 01 01 07 D0** ... ... @@ -1144,13 +1144,12 @@ 1144 1144 1145 1145 1146 1146 1147 -=== =3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 === 1148 1148 1149 1149 * AT Command: 1150 1150 1151 1151 There is no AT Command to control Relay Output 1152 1152 1153 - 1154 1154 * Downlink Payload (prefix 0x03): 1155 1155 1156 1156 (% class="box infomessage" %)