Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Mengting Qiu on 2025/06/04 18:42
From version 77.1
edited by Edwin Chen
on 2022/06/02 15:25
on 2022/06/02 15:25
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -11,6 +11,9 @@ 11 11 12 12 13 13 14 + 15 + 16 + 14 14 = 1.Introduction = 15 15 16 16 == 1.1 What is LT Series I/O Controller == ... ... @@ -48,6 +48,8 @@ 48 48 == 1.2 Specifications == 49 49 50 50 ((( 54 + 55 + 51 51 **Hardware System:** 52 52 ))) 53 53 ... ... @@ -200,6 +200,7 @@ 200 200 [[image:1653297104069-180.png]] 201 201 202 202 208 + 203 203 = 3. Operation Mode = 204 204 205 205 == 3.1 How it works? == ... ... @@ -214,6 +214,8 @@ 214 214 215 215 ))) 216 216 223 + 224 + 217 217 == 3.2 Example to join LoRaWAN network == 218 218 219 219 ((( ... ... @@ -255,6 +255,7 @@ 255 255 [[image:1653298044601-602.png||height="405" width="709"]] 256 256 257 257 266 + 258 258 == 3.3 Uplink Payload == 259 259 260 260 There are five working modes + one interrupt mode on LT for different type application: ... ... @@ -316,8 +316,11 @@ 316 316 ** DO1 is high in case there is load between DO1 and V+. 317 317 ** DO1 LED is off in both case 318 318 328 + 329 + 319 319 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 320 320 332 + 321 321 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 322 322 323 323 ((( ... ... @@ -326,6 +326,7 @@ 326 326 327 327 [[image:image-20220523180452-3.png]] 328 328 341 + 329 329 ((( 330 330 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 331 331 ))) ... ... @@ -341,6 +341,8 @@ 341 341 ))) 342 342 343 343 ((( 357 + 358 + 344 344 **To use counting mode, please run:** 345 345 ))) 346 346 ... ... @@ -359,6 +359,8 @@ 359 359 ))) 360 360 361 361 ((( 377 + 378 + 362 362 (% style="color:#4f81bd" %)**AT Commands for counting:** 363 363 ))) 364 364 ... ... @@ -409,6 +409,7 @@ 409 409 ))) 410 410 411 411 429 + 412 412 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 413 413 414 414 **LT22222-L**: This mode the DI1 is used as a counting pin. ... ... @@ -453,8 +453,10 @@ 453 453 454 454 ))) 455 455 474 + 456 456 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 457 457 477 + 458 458 **LT22222-L**: This mode the DI1 is used as a counting pin. 459 459 460 460 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. ... ... @@ -461,6 +461,7 @@ 461 461 462 462 [[image:image-20220523181903-8.png]] 463 463 484 + 464 464 ((( 465 465 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 466 466 ))) ... ... @@ -476,6 +476,8 @@ 476 476 ))) 477 477 478 478 ((( 500 + 501 + 479 479 **To use this mode, please run:** 480 480 ))) 481 481 ... ... @@ -502,6 +502,8 @@ 502 502 ))) 503 503 504 504 ((( 528 + 529 + 505 505 **Plus below command for AVI1 Counting:** 506 506 ))) 507 507 ... ... @@ -534,13 +534,17 @@ 534 534 ))) 535 535 536 536 562 + 537 537 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 538 538 565 + 539 539 **LT22222-L**: This mode the DI1 is used as a counting pin. 540 540 541 541 [[image:image-20220523182334-9.png]] 542 542 543 543 ((( 571 + 572 + 544 544 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 545 545 ))) 546 546 ... ... @@ -555,6 +555,8 @@ 555 555 ))) 556 556 557 557 ((( 587 + 588 + 558 558 **To use this mode, please run:** 559 559 ))) 560 560 ... ... @@ -574,12 +574,13 @@ 574 574 575 575 ((( 576 576 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 577 - 578 - 579 579 ))) 580 580 610 + 611 + 581 581 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 582 582 614 + 583 583 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 584 584 585 585 For example, if user has configured below commands: ... ... @@ -587,11 +587,13 @@ 587 587 * **AT+MOD=1 ** **~-~->** The normal working mode 588 588 * **AT+ADDMOD6=1** **~-~->** Enable trigger 589 589 622 + 590 590 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 591 591 592 592 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 593 593 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.** 594 594 628 + 595 595 **AT Command to set Trigger Condition**: 596 596 597 597 (% style="color:#4f81bd" %)**Trigger base on voltage**: ... ... @@ -643,14 +643,17 @@ 643 643 644 644 Yy4 yy4: AC2 or AV2 high limit. 645 645 680 + 646 646 **Example1**: AA 00 13 88 00 00 00 00 00 00 647 647 648 648 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 649 649 685 + 650 650 **Example2**: AA 02 01 00 651 651 652 652 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 653 653 690 + 654 654 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 655 655 656 656 MOD6 Payload : total 11 bytes payload ... ... @@ -657,6 +657,7 @@ 657 657 658 658 [[image:image-20220524085923-1.png]] 659 659 697 + 660 660 (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 661 661 662 662 [[image:image-20220524090106-2.png]] ... ... @@ -663,6 +663,7 @@ 663 663 664 664 * Each bits shows if the corresponding trigger has been configured. 665 665 704 + 666 666 **Example:** 667 667 668 668 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -674,6 +674,7 @@ 674 674 675 675 * Each bits shows which status has been trigger on this uplink. 676 676 716 + 677 677 **Example:** 678 678 679 679 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -685,6 +685,7 @@ 685 685 686 686 * Each bits shows which status has been trigger on this uplink. 687 687 728 + 688 688 **Example:** 689 689 690 690 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -701,14 +701,19 @@ 701 701 When device got this command, it will send the MOD6 payload. 702 702 703 703 745 + 704 704 === 3.3.7 Payload Decoder === 705 705 706 706 ((( 749 + 750 + 707 707 **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/]] 708 708 709 709 710 710 ))) 711 711 756 + 757 + 712 712 == 3.4 Configure LT via AT or Downlink == 713 713 714 714 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands ... ... @@ -721,11 +721,14 @@ 721 721 722 722 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 723 723 770 + 771 + 724 724 === 3.4.1 Common Commands === 725 725 726 726 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]] 727 727 728 728 777 + 729 729 === 3.4.2 Sensor related commands === 730 730 731 731 ==== 3.4.2.1 Set Transmit Interval ==== ... ... @@ -741,6 +741,7 @@ 741 741 742 742 **Example: **AT+TDC=30000. Means set interval to 30 seconds 743 743 793 + 744 744 * Downlink Payload (prefix 0x01): 745 745 746 746 (% class="box infomessage" %) ... ... @@ -749,6 +749,7 @@ 749 749 ))) 750 750 751 751 802 + 752 752 ==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 753 753 754 754 Set work mode. ... ... @@ -762,6 +762,7 @@ 762 762 763 763 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 764 764 816 + 765 765 * Downlink Payload (prefix 0x0A): 766 766 767 767 (% class="box infomessage" %) ... ... @@ -770,6 +770,7 @@ 770 770 ))) 771 771 772 772 825 + 773 773 ==== 3.4.2.3 Poll an uplink ==== 774 774 775 775 * AT Command: ... ... @@ -776,6 +776,7 @@ 776 776 777 777 There is no AT Command to poll uplink 778 778 832 + 779 779 * Downlink Payload (prefix 0x08): 780 780 781 781 (% class="box infomessage" %) ... ... @@ -786,6 +786,7 @@ 786 786 **Example**: 0x08FF, ask device to send an Uplink 787 787 788 788 843 + 789 789 ==== 3.4.2.4 Enable Trigger Mode ==== 790 790 791 791 Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] ... ... @@ -801,6 +801,7 @@ 801 801 802 802 0: Disable Trigger Mode 803 803 859 + 804 804 * Downlink Payload (prefix 0x0A 06): 805 805 806 806 (% class="box infomessage" %) ... ... @@ -809,6 +809,7 @@ 809 809 ))) 810 810 811 811 868 + 812 812 ==== 3.4.2.5 Poll trigger settings ==== 813 813 814 814 Poll trigger settings, ... ... @@ -817,6 +817,7 @@ 817 817 818 818 There is no AT Command for this feature. 819 819 877 + 820 820 * Downlink Payload (prefix 0x AB 06): 821 821 822 822 (% class="box infomessage" %) ... ... @@ -825,6 +825,7 @@ 825 825 ))) 826 826 827 827 886 + 828 828 ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 829 829 830 830 Enable Disable DI1/DI2/DI2 as trigger, ... ... @@ -836,6 +836,7 @@ 836 836 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 837 837 ))) 838 838 898 + 839 839 **Example:** 840 840 841 841 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) ... ... @@ -848,6 +848,7 @@ 848 848 ))) 849 849 850 850 911 + 851 851 ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 852 852 853 853 Set DI1 or DI3(for LT-33222-L) trigger. ... ... @@ -863,10 +863,12 @@ 863 863 864 864 b : delay timing. 865 865 927 + 866 866 **Example:** 867 867 868 868 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 869 869 932 + 870 870 * Downlink Payload (prefix 0x09 01 ): 871 871 872 872 (% class="box infomessage" %) ... ... @@ -875,6 +875,7 @@ 875 875 ))) 876 876 877 877 941 + 878 878 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 879 879 880 880 Set DI2 trigger. ... ... @@ -890,10 +890,12 @@ 890 890 891 891 b : delay timing. 892 892 957 + 893 893 **Example:** 894 894 895 895 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 896 896 962 + 897 897 * Downlink Payload (prefix 0x09 02 ): 898 898 899 899 (% class="box infomessage" %) ... ... @@ -902,6 +902,7 @@ 902 902 ))) 903 903 904 904 971 + 905 905 ==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 906 906 907 907 Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] ... ... @@ -913,6 +913,7 @@ 913 913 **AT+ACLIM. ** 914 914 ))) 915 915 983 + 916 916 * Downlink Payload (prefix 0xAA 01 ): 917 917 918 918 (% class="box infomessage" %) ... ... @@ -921,6 +921,7 @@ 921 921 ))) 922 922 923 923 992 + 924 924 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 925 925 926 926 Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] ... ... @@ -932,6 +932,7 @@ 932 932 **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 933 933 ))) 934 934 1004 + 935 935 * Downlink Payload (prefix 0xAA 00 ): 936 936 937 937 (% class="box infomessage" %) ... ... @@ -940,6 +940,7 @@ 940 940 ))) 941 941 942 942 1013 + 943 943 ==== 3.4.2.11 Trigger – Set minimum interval ==== 944 944 945 945 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. ... ... @@ -951,6 +951,7 @@ 951 951 **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 952 952 ))) 953 953 1025 + 954 954 * Downlink Payload (prefix 0xAC ): 955 955 956 956 (% class="box infomessage" %) ... ... @@ -959,6 +959,7 @@ 959 959 ))) 960 960 961 961 1034 + 962 962 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 963 963 964 964 * AT Command: ... ... @@ -965,6 +965,7 @@ 965 965 966 966 There is no AT Command to control Digital Output 967 967 1041 + 968 968 * Downlink Payload (prefix 0x02): 969 969 970 970 (% class="box infomessage" %) ... ... @@ -991,6 +991,7 @@ 991 991 ))) 992 992 993 993 1068 + 994 994 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 995 995 996 996 * AT Command: ... ... @@ -997,6 +997,7 @@ 997 997 998 998 There is no AT Command to control Digital Output 999 999 1075 + 1000 1000 * Downlink Payload (prefix 0xA9): 1001 1001 1002 1002 (% class="box infomessage" %) ... ... @@ -1016,18 +1016,22 @@ 1016 1016 1017 1017 00: DO pins will change to an inverter state after timeout 1018 1018 1095 + 1019 1019 (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 1020 1020 1021 1021 [[image:image-20220524093238-6.png]] 1022 1022 1100 + 1023 1023 (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 1024 1024 1025 1025 [[image:image-20220524093328-7.png]] 1026 1026 1105 + 1027 1027 (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 1028 1028 1029 1029 [[image:image-20220524093351-8.png]] 1030 1030 1110 + 1031 1031 (% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 1032 1032 1033 1033 Latching time. Unit: ms ... ... @@ -1034,6 +1034,7 @@ 1034 1034 1035 1035 Device will upload a packet if downlink code executes successfully. 1036 1036 1117 + 1037 1037 **Example payload:** 1038 1038 1039 1039 **~1. A9 01 01 01 01 07 D0** ... ... @@ -1053,12 +1053,14 @@ 1053 1053 DO1 pin no action, DO2 pin set low, DO3 pin set high, last 2 seconds, then DO1 pin no action, DO2 pin set high, DO3 pin set low 1054 1054 1055 1055 1056 -=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 === 1057 1057 1138 +==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1139 + 1058 1058 * AT Command: 1059 1059 1060 1060 There is no AT Command to control Relay Output 1061 1061 1144 + 1062 1062 * Downlink Payload (prefix 0x03): 1063 1063 1064 1064 (% class="box infomessage" %) ... ... @@ -1081,6 +1081,7 @@ 1081 1081 Device will upload a packet if downlink code executes successfully. 1082 1082 1083 1083 1167 + 1084 1084 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1085 1085 1086 1086 * AT Command: ... ... @@ -1087,6 +1087,7 @@ 1087 1087 1088 1088 There is no AT Command to control Relay Output 1089 1089 1174 + 1090 1090 * Downlink Payload (prefix 0x05): 1091 1091 1092 1092 (% class="box infomessage" %) ... ... @@ -1104,14 +1104,17 @@ 1104 1104 1105 1105 00: Relays will change to an inverter state after timeout 1106 1106 1192 + 1107 1107 (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status: 1108 1108 1109 1109 [[image:image-20220524093831-10.png]] 1110 1110 1197 + 1111 1111 (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms 1112 1112 1113 1113 Device will upload a packet if downlink code executes successfully. 1114 1114 1202 + 1115 1115 **Example payload:** 1116 1116 1117 1117 **~1. 05 01 11 07 D0** ... ... @@ -1131,6 +1131,7 @@ 1131 1131 Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO. 1132 1132 1133 1133 1222 + 1134 1134 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1135 1135 1136 1136 When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] ... ... @@ -1142,6 +1142,7 @@ 1142 1142 **AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1143 1143 ))) 1144 1144 1234 + 1145 1145 * Downlink Payload (prefix 0xA5): 1146 1146 1147 1147 (% class="box infomessage" %) ... ... @@ -1150,6 +1150,7 @@ 1150 1150 ))) 1151 1151 1152 1152 1243 + 1153 1153 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1154 1154 1155 1155 * AT Command: ... ... @@ -1167,6 +1167,7 @@ 1167 1167 1168 1168 Bb cc dd ee: number to be set 1169 1169 1261 + 1170 1170 * Downlink Payload (prefix 0xA8): 1171 1171 1172 1172 (% class="box infomessage" %) ... ... @@ -1175,6 +1175,7 @@ 1175 1175 ))) 1176 1176 1177 1177 1270 + 1178 1178 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1179 1179 1180 1180 Clear counting for counting mode ... ... @@ -1194,6 +1194,7 @@ 1194 1194 ))) 1195 1195 1196 1196 1290 + 1197 1197 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1198 1198 1199 1199 * AT Command: ... ... @@ -1216,16 +1216,17 @@ 1216 1216 1217 1217 ))) 1218 1218 1313 + 1219 1219 == 3.5 Integrate with Mydevice == 1220 1220 1221 1221 Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices. Below are the steps: 1222 1222 1223 1223 ((( 1224 -**Step 1**: Be sure that your device is programmed and properly connected to the network at this time. 1319 +(% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the network at this time. 1225 1225 ))) 1226 1226 1227 1227 ((( 1228 -**Step 2**: To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps: 1323 +(% style="color:blue" %)**Step 2**(%%): To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps: 1229 1229 ))) 1230 1230 1231 1231 [[image:1653356737703-362.png||height="232" width="732"]] ... ... @@ -1232,12 +1232,13 @@ 1232 1232 1233 1233 [[image:image-20220524094641-11.png||height="390" width="723"]] 1234 1234 1330 + 1235 1235 [[image:image-20220524094641-12.png||height="402" width="718"]] 1236 1236 1237 1237 1238 -**Step 3**: Create an account or log in Mydevices. 1334 +(% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices. 1239 1239 1240 -**Step 4**: Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %) 1336 +(% style="color:blue" %)**Step 4**(%%): Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %) 1241 1241 1242 1242 Search under The things network 1243 1243 ... ... @@ -1244,19 +1244,25 @@ 1244 1244 [[image:1653356838789-523.png||height="337" width="740"]] 1245 1245 1246 1246 1343 + 1247 1247 After added, the sensor data arrive TTN, it will also arrive and show in Mydevices. 1248 1248 1249 1249 [[image:image-20220524094909-1.png||height="335" width="729"]] 1250 1250 1348 + 1251 1251 [[image:image-20220524094909-2.png||height="337" width="729"]] 1252 1252 1351 + 1253 1253 [[image:image-20220524094909-3.png||height="338" width="727"]] 1254 1254 1354 + 1255 1255 [[image:image-20220524094909-4.png||height="339" width="728"]](% style="display:none" %) 1256 1256 1357 + 1257 1257 [[image:image-20220524094909-5.png||height="341" width="734"]] 1258 1258 1259 1259 1361 + 1260 1260 == 3.6 Interface Detail == 1261 1261 1262 1262 === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) === ... ... @@ -1266,6 +1266,7 @@ 1266 1266 [[image:1653356991268-289.png]] 1267 1267 1268 1268 1371 + 1269 1269 === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) === 1270 1270 1271 1271 ((( ... ... @@ -1291,7 +1291,7 @@ 1291 1291 ))) 1292 1292 1293 1293 ((( 1294 -**Example1**: Connect to a Low active sensor. 1397 +(% style="color:blue" %)**Example1**(%%): Connect to a Low active sensor. 1295 1295 ))) 1296 1296 1297 1297 ((( ... ... @@ -1322,7 +1322,7 @@ 1322 1322 ))) 1323 1323 1324 1324 ((( 1325 -**Example2**: Connect to a High active sensor. 1428 +(% style="color:blue" %)**Example2**(%%): Connect to a High active sensor. 1326 1326 ))) 1327 1327 1328 1328 ((( ... ... @@ -1353,7 +1353,7 @@ 1353 1353 ))) 1354 1354 1355 1355 ((( 1356 -**Example3**: Connect to a 220v high active sensor. 1459 +(% style="color:blue" %)**Example3**(%%): Connect to a 220v high active sensor. 1357 1357 ))) 1358 1358 1359 1359 ((( ... ... @@ -1380,6 +1380,7 @@ 1380 1380 ))) 1381 1381 1382 1382 1486 + 1383 1383 === 3.6.3 Digital Output Port: DO1/DO2 /DO3 === 1384 1384 1385 1385 NPN output: GND or Float. Max voltage can apply to output pin is 36v. ... ... @@ -1387,12 +1387,14 @@ 1387 1387 [[image:1653357531600-905.png]] 1388 1388 1389 1389 1494 + 1390 1390 === 3.6.4 Analog Input Interface === 1391 1391 1392 1392 The analog input interface is as below. The LT will measure the IN2 voltage so to calculate the current pass the Load. The formula is: 1393 1393 1394 -**AC2 = (IN2 voltage )/12** 1395 1395 1500 +(% style="color:blue" %)**AC2 = (IN2 voltage )/12** 1501 + 1396 1396 [[image:1653357592296-182.png]] 1397 1397 1398 1398 Example to connect a 4~~20mA sensor ... ... @@ -1399,22 +1399,24 @@ 1399 1399 1400 1400 We take the wind speed sensor as an example for reference only. 1401 1401 1402 -Specifications of the wind speed sensor: 1403 1403 1404 - Red:12~~24v1509 +**Specifications of the wind speed sensor:** 1405 1405 1406 - Yellow:4~~20mA1511 +Red: 12~~24v 1407 1407 1408 - Black:GND1513 +Yellow: 4~~20mA 1409 1409 1515 +Black: GND 1410 1410 1411 -Connection diagram: 1412 1412 1518 +**Connection diagram:** 1519 + 1413 1413 [[image:1653357640609-758.png]] 1414 1414 1415 1415 [[image:1653357648330-671.png||height="155" width="733"]] 1416 1416 1417 1417 1525 + 1418 1418 === 3.6.5 Relay Output === 1419 1419 1420 1420 ((( ... ... @@ -1426,6 +1426,7 @@ 1426 1426 [[image:image-20220524100215-10.png||height="382" width="723"]] 1427 1427 1428 1428 1537 + 1429 1429 == 3.7 LEDs Indicators == 1430 1430 1431 1431 [[image:image-20220524100748-11.png]] ... ... @@ -1439,6 +1439,7 @@ 1439 1439 1440 1440 [[image:1653358238933-385.png]] 1441 1441 1551 + 1442 1442 ((( 1443 1443 In PC, User needs to set (% style="color:#4f81bd" %)**serial tool**(%%)(such as [[putty>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console for LT. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**)(%%) to active it. As shown below: 1444 1444 ))) ... ... @@ -1445,6 +1445,7 @@ 1445 1445 1446 1446 [[image:1653358355238-883.png]] 1447 1447 1558 + 1448 1448 ((( 1449 1449 More detail AT Command manual can be found at [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]] 1450 1450 ))) ... ... @@ -1635,12 +1635,16 @@ 1635 1635 1636 1636 ))) 1637 1637 1749 + 1750 + 1638 1638 == 4.2 Common AT Command Sequence == 1639 1639 1640 1640 === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) === 1641 1641 1642 1642 ((( 1643 -If device has not joined network yet: 1756 + 1757 + 1758 +**If device has not joined network yet:** 1644 1644 ))) 1645 1645 1646 1646 ((( ... ... @@ -1665,7 +1665,7 @@ 1665 1665 1666 1666 1667 1667 ((( 1668 -If device already joined network: 1783 +**If device already joined network:** 1669 1669 ))) 1670 1670 1671 1671 ((( ... ... @@ -1678,10 +1678,14 @@ 1678 1678 1679 1679 ))) 1680 1680 1796 + 1797 + 1681 1681 === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) === 1682 1682 1683 1683 ((( 1684 -(% style="background-color:#dcdcdc" %) 123456(%%) Enter Password to have AT access. 1801 + 1802 + 1803 +(% style="background-color:#dcdcdc" %)123456(%%) Enter Password to have AT access. 1685 1685 ))) 1686 1686 1687 1687 ((( ... ... @@ -1689,7 +1689,7 @@ 1689 1689 ))) 1690 1690 1691 1691 ((( 1692 -(% style="background-color:#dcdcdc" %) 123456(%%) 1811 +(% style="background-color:#dcdcdc" %) 123456(%%) Enter Password to have AT access. 1693 1693 ))) 1694 1694 1695 1695 ((( ... ... @@ -1697,39 +1697,41 @@ 1697 1697 ))) 1698 1698 1699 1699 ((( 1700 -(% style="background-color:#dcdcdc" %) AT+NJM=0(%%) Set to ABP mode 1819 +(% style="background-color:#dcdcdc" %) AT+NJM=0(%%) Set to ABP mode 1701 1701 ))) 1702 1702 1703 1703 ((( 1704 -(% style="background-color:#dcdcdc" %) AT+ADR=0(%%) Set the Adaptive Data Rate Off 1823 +(% style="background-color:#dcdcdc" %) AT+ADR=0(%%) Set the Adaptive Data Rate Off 1705 1705 ))) 1706 1706 1707 1707 ((( 1708 -(% style="background-color:#dcdcdc" %) AT+DR=5(%%) Set Data Rate 1827 +(% style="background-color:#dcdcdc" %) AT+DR=5(%%) Set Data Rate 1709 1709 ))) 1710 1710 1711 1711 ((( 1712 -(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%) Set transmit interval to 60 seconds 1831 +(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%) Set transmit interval to 60 seconds 1713 1713 ))) 1714 1714 1715 1715 ((( 1716 -(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%) Set transmit frequency to 868.4Mhz 1835 +(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%) Set transmit frequency to 868.4Mhz 1717 1717 ))) 1718 1718 1719 1719 ((( 1720 -(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%) Set RX2Frequency to 868.4Mhz (according to the result from server) 1839 +(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%) Set RX2Frequency to 868.4Mhz (according to the result from server) 1721 1721 ))) 1722 1722 1723 1723 ((( 1724 -(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%) Set RX2DR to match the downlink DR from server. see below 1843 +(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%) Set RX2DR to match the downlink DR from server. see below 1725 1725 ))) 1726 1726 1727 1727 ((( 1728 -(% style="background-color:#dcdcdc" %) AT+DADDR=26 01 1A F1 (%%)Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal. 1847 +(% style="background-color:#dcdcdc" %) AT+DADDR=26 01 1A F1 (%%) Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal. 1729 1729 ))) 1730 1730 1731 1731 ((( 1732 -(% style="background-color:#dcdcdc" %) ATZ (%%) Reset MCU 1851 +(% style="background-color:#dcdcdc" %) ATZ (%%) Reset MCU 1852 + 1853 + 1733 1733 ))) 1734 1734 1735 1735 ((( ... ... @@ -1751,6 +1751,7 @@ 1751 1751 1752 1752 ))) 1753 1753 1875 + 1754 1754 === 4.2.3 Change to Class A === 1755 1755 1756 1756 If sensor JOINED ... ... @@ -1762,19 +1762,25 @@ 1762 1762 1763 1763 == 5.1 How to upgrade the image? == 1764 1764 1887 + 1765 1765 The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: 1766 1766 1767 1767 * Support new features 1768 1768 * For bug fix 1769 1769 * Change LoRaWAN bands. 1893 + 1770 1770 Below shows the hardware connection for how to upload an image to the LT: 1771 -* [[image:1653359603330-121.png]] 1772 1772 1896 +[[image:1653359603330-121.png]] 1897 + 1898 + 1773 1773 ((( 1774 -**Step1:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]]. 1775 -**Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]. 1776 -**Step3: **Open flashloader; choose the correct COM port to update. 1777 -**For LT-22222-L**: 1900 +(% style="color:blue" %)**Step1**(%%)**:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]]. 1901 +(% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]. 1902 +(% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update. 1903 + 1904 + 1905 +(% style="color:blue" %)**For LT-22222-L**(%%): 1778 1778 Hold down the PRO button and then momentarily press the RST reset button and the **DO1 led** will change from OFF to ON. When **DO1 LED** is on, it means the device is in download mode. 1779 1779 ))) 1780 1780 ... ... @@ -1784,6 +1784,7 @@ 1784 1784 1785 1785 [[image:image-20220524104033-15.png]] 1786 1786 1915 + 1787 1787 (% style="color:red" %)**Notice**(%%): In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is: 1788 1788 1789 1789 [[image:1653360054704-518.png||height="186" width="745"]] ... ... @@ -1791,6 +1791,8 @@ 1791 1791 1792 1792 ((( 1793 1793 ((( 1923 + 1924 + 1794 1794 == 5.2 How to change the LoRa Frequency Bands/Region? == 1795 1795 ))) 1796 1796 ))) ... ... @@ -1797,11 +1797,11 @@ 1797 1797 1798 1798 ((( 1799 1799 User can follow the introduction for [[how to upgrade image>>||anchor="H5.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download. 1800 - 1801 - 1802 1802 ))) 1803 1803 1804 1804 ((( 1934 + 1935 + 1805 1805 == 5.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? == 1806 1806 ))) 1807 1807 ... ... @@ -1814,6 +1814,8 @@ 1814 1814 ((( 1815 1815 ((( 1816 1816 Assume we have a LG02 working in the frequency 868400000 now , below is the step. 1948 + 1949 + 1817 1817 ))) 1818 1818 ))) 1819 1819 ... ... @@ -1829,23 +1829,25 @@ 1829 1829 (% style="color:red" %)Note: user just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN. 1830 1830 ))) 1831 1831 1965 + 1832 1832 ((( 1833 1833 (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands: 1834 1834 ))) 1835 1835 1836 1836 ((( 1837 -(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 1838 -(% style="background-color:#dcdcdc" %)AT+FDR 1839 -(% style="background-color:#dcdcdc" %)123456 1840 -(% style="background-color:#dcdcdc" %)AT+NJM=0 (%%)Set to ABP mode 1841 -(% style="background-color:#dcdcdc" %)AT+ADR=0 (%%)Set the Adaptive Data Rate Off 1842 -(% style="background-color:#dcdcdc" %)AT+DR=5 (%%) Set Data Rate (Set AT+DR=3 for 915 band) 1843 -(% style="background-color:#dcdcdc" %)AT+TDC=60000 1844 -(% style="background-color:#dcdcdc" %)AT+CHS=868400000 1845 -(% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1 1846 -(% style="background-color:#dcdcdc" %)ATZ 1971 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 1972 +(% style="background-color:#dcdcdc" %)AT+FDR(%%) Reset Parameters to Factory Default, Keys Reserve 1973 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 1974 +(% style="background-color:#dcdcdc" %)AT+NJM=0 (%%) Set to ABP mode 1975 +(% style="background-color:#dcdcdc" %)AT+ADR=0 (%%) Set the Adaptive Data Rate Off 1976 +(% style="background-color:#dcdcdc" %)AT+DR=5 (%%) Set Data Rate (Set AT+DR=3 for 915 band) 1977 +(% style="background-color:#dcdcdc" %)AT+TDC=60000 (%%) Set transmit interval to 60 seconds 1978 +(% style="background-color:#dcdcdc" %)AT+CHS=868400000(%%) Set transmit frequency to 868.4Mhz 1979 +(% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1 1980 +(% style="background-color:#dcdcdc" %)ATZ (%%) Reset MCU 1847 1847 ))) 1848 1848 1983 + 1849 1849 ((( 1850 1850 As shown in below: 1851 1851 ))) ... ... @@ -1862,11 +1862,11 @@ 1862 1862 == 5.5 Can i use point to point communication for LT-22222-L? == 1863 1863 1864 1864 Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]] 1865 - 1866 - 1867 1867 ))) 1868 1868 1869 1869 ((( 2003 + 2004 + 1870 1870 = 6. Trouble Shooting = 1871 1871 ))) 1872 1872 ... ... @@ -1878,11 +1878,11 @@ 1878 1878 1879 1879 ((( 1880 1880 Please see this link for how to debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H5.1Howitwork"]] 1881 - 1882 - 1883 1883 ))) 1884 1884 1885 1885 ((( 2019 + 2020 + 1886 1886 == 6.2 Have trouble to upload image. == 1887 1887 ))) 1888 1888 ... ... @@ -1892,9 +1892,7 @@ 1892 1892 1893 1893 ((( 1894 1894 1895 -))) 1896 1896 1897 -((( 1898 1898 == 6.3 Why I can’t join TTN in US915 /AU915 bands? == 1899 1899 ))) 1900 1900 ... ... @@ -1902,147 +1902,55 @@ 1902 1902 It might be about the channels mapping. [[Please see this link for detail>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]] 1903 1903 ))) 1904 1904 1905 -((( 1906 - 1907 -))) 1908 1908 1909 - (((2039 + 1910 1910 = 7. Order Info = 1911 -))) 1912 1912 1913 -((( 1914 -((( 2042 + 1915 1915 (% style="color:#4f81bd" %)**LT-22222-L-XXX:** 1916 -))) 1917 -))) 1918 1918 1919 -((( 1920 -((( 2045 + 1921 1921 (% style="color:#4f81bd" %)**XXX:** 1922 -))) 1923 -))) 1924 1924 1925 -((( 1926 -* ((( 1927 -(% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433 1928 -))) 1929 -))) 2048 +* (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433 2049 +* (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868 2050 +* (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920 2051 +* (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470 2052 +* (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923 2053 +* (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915 2054 +* (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915 2055 +* (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865 2056 +* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1930 1930 1931 -((( 1932 -* ((( 1933 -(% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868 1934 -))) 1935 -))) 1936 - 1937 -((( 1938 -* ((( 1939 -(% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920 1940 -))) 1941 -))) 1942 - 1943 -((( 1944 -* ((( 1945 -(% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470 1946 -))) 1947 -))) 1948 - 1949 -((( 1950 -* ((( 1951 -(% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923 1952 -))) 1953 -))) 1954 - 1955 -((( 1956 -* ((( 1957 -(% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915 1958 -))) 1959 -))) 1960 - 1961 -((( 1962 -* ((( 1963 -(% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915 1964 -))) 1965 -))) 1966 - 1967 -((( 1968 -* ((( 1969 -(% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865 1970 -))) 1971 -))) 1972 - 1973 -((( 1974 -* ((( 1975 -(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1976 - 1977 - 1978 -))) 1979 - 1980 1980 = 8. Packing Info = 1981 -))) 1982 1982 1983 -((( 1984 -((( 2060 + 1985 1985 **Package Includes**: 1986 -))) 1987 -))) 1988 1988 1989 -((( 1990 -((( 1991 1991 * LT-22222-L I/O Controller x 1 1992 1992 * Stick Antenna for LoRa RF part x 1 1993 1993 * Bracket for controller x1 1994 1994 * Program cable x 1 1995 -))) 1996 -))) 1997 1997 1998 -((( 1999 -((( 2000 2000 **Dimension and weight**: 2001 -))) 2002 -))) 2003 2003 2004 -((( 2005 -((( 2006 2006 * Device Size: 13.5 x 7 x 3 cm 2007 2007 * Device Weight: 105g 2008 2008 * Package Size / pcs : 14.5 x 8 x 5 cm 2009 2009 * Weight / pcs : 170g 2010 2010 2011 - 2012 -))) 2013 -))) 2014 - 2015 -((( 2016 2016 = 9. Support = 2017 -))) 2018 2018 2019 2019 * ((( 2020 -((( 2021 2021 Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 2022 2022 ))) 2023 -))) 2024 2024 * ((( 2025 -((( 2026 -Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to 2081 +Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]] 2027 2027 ))) 2028 -))) 2029 2029 2030 -((( 2031 -((( 2032 - [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]] 2033 - 2034 - 2035 -))) 2036 - 2037 -((( 2038 2038 = 10. Reference = 2039 2039 2040 -* Product Page: 2041 - 2042 -LT-22222-L: [[http:~~/~~/www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]] 2043 - 2086 +* LT-22222-L: [[http:~~/~~/www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]] 2044 2044 * [[Image Download>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]] 2045 2045 * [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]] 2046 2046 * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]] 2047 -))) 2048 -)))