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)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -15,7 +15,6 @@ 15 15 16 16 = 1.Introduction = 17 17 18 - 19 19 == 1.1 What is LT Series I/O Controller == 20 20 21 21 ((( ... ... @@ -54,7 +54,6 @@ 54 54 55 55 ))) 56 56 57 - 58 58 == 1.2 Specifications == 59 59 60 60 ((( ... ... @@ -64,7 +64,7 @@ 64 64 ))) 65 65 66 66 * ((( 67 -STM32L072 CZT6MCU65 +STM32L072xxxx MCU 68 68 ))) 69 69 * ((( 70 70 SX1276/78 Wireless Chip ... ... @@ -171,7 +171,6 @@ 171 171 Packet engine up to 256 bytes with CRC. 172 172 173 173 174 - 175 175 176 176 ))) 177 177 ... ... @@ -186,9 +186,6 @@ 186 186 * Firmware upgradable via program port 187 187 * Counting 188 188 189 - 190 - 191 - 192 192 == 1.4 Applications == 193 193 194 194 ... ... @@ -199,9 +199,6 @@ 199 199 * Smart Cities 200 200 * Smart Factory 201 201 202 - 203 - 204 - 205 205 == 1.5 Hardware Variants == 206 206 207 207 ... ... @@ -216,9 +216,6 @@ 216 216 * 1 x Counting Port 217 217 ))) 218 218 219 - 220 - 221 - 222 222 = 2. Power ON Device = 223 223 224 224 ... ... @@ -235,10 +235,8 @@ 235 235 [[image:1653297104069-180.png]] 236 236 237 237 238 - 239 239 = 3. Operation Mode = 240 240 241 - 242 242 == 3.1 How it works? == 243 243 244 244 ... ... @@ -251,7 +251,6 @@ 251 251 ))) 252 252 253 253 254 - 255 255 == 3.2 Example to join LoRaWAN network == 256 256 257 257 ... ... @@ -303,7 +303,6 @@ 303 303 [[image:1653298044601-602.png||height="405" width="709"]] 304 304 305 305 306 - 307 307 == 3.3 Uplink Payload == 308 308 309 309 ... ... @@ -316,9 +316,6 @@ 316 316 * (% style="color:blue" %)**MOD5**(%%): Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 317 317 * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5 318 318 319 - 320 - 321 - 322 322 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 323 323 324 324 ... ... @@ -375,9 +375,6 @@ 375 375 ** DO1 is high in case there is load between DO1 and V+. 376 376 ** DO1 LED is off in both case 377 377 378 - 379 - 380 - 381 381 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 382 382 383 383 ... ... @@ -451,7 +451,6 @@ 451 451 ))) 452 452 453 453 454 - 455 455 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 456 456 457 457 ... ... @@ -498,7 +498,6 @@ 498 498 ))) 499 499 500 500 501 - 502 502 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 503 503 504 504 ... ... @@ -567,7 +567,6 @@ 567 567 ))) 568 568 569 569 570 - 571 571 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 572 572 573 573 ... ... @@ -615,7 +615,6 @@ 615 615 ))) 616 616 617 617 618 - 619 619 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 620 620 621 621 ... ... @@ -670,7 +670,6 @@ 670 670 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 671 671 672 672 673 - 674 674 (% style="color:#037691" %)**Downlink Command to set Trigger Condition:** 675 675 676 676 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** ... ... @@ -731,7 +731,6 @@ 731 731 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. 732 732 733 733 734 - 735 735 (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below 736 736 737 737 [[image:image-20220524090456-4.png]] ... ... @@ -745,7 +745,6 @@ 745 745 00000101: Means both DI1 and DI2 trigger are enabled. 746 746 747 747 748 - 749 749 (% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable. 750 750 751 751 Downlink command to poll MOD6 status: ... ... @@ -755,7 +755,6 @@ 755 755 When device got this command, it will send the MOD6 payload. 756 756 757 757 758 - 759 759 === 3.3.7 Payload Decoder === 760 760 761 761 ((( ... ... @@ -765,7 +765,6 @@ 765 765 ))) 766 766 767 767 768 - 769 769 == 3.4 Configure LT via AT or Downlink == 770 770 771 771 ... ... @@ -783,8 +783,6 @@ 783 783 784 784 * (% style="color:blue" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 785 785 786 - 787 - 788 788 === 3.4.1 Common Commands === 789 789 790 790 ... ... @@ -793,10 +793,8 @@ 793 793 ))) 794 794 795 795 796 - 797 797 === 3.4.2 Sensor related commands === 798 798 799 - 800 800 ==== 3.4.2.1 Set Transmit Interval ==== 801 801 802 802 ... ... @@ -804,7 +804,7 @@ 804 804 805 805 * (% style="color:#037691" %)**AT Command:** 806 806 807 - **(% style="color:blue" %)AT+TDC=N **772 +(% style="color:blue" %)**AT+TDC=N ** 808 808 809 809 810 810 **Example: **AT+TDC=30000. Means set interval to 30 seconds ... ... @@ -812,11 +812,10 @@ 812 812 813 813 * (% style="color:#037691" %)**Downlink Payload (prefix 0x01):** 814 814 815 - **(% style="color:blue" %)0x01 aa bb cc780 +(% style="color:blue" %)**0x01 aa bb cc **(%%)** ~/~/ Same as AT+TDC=0x(aa bb cc)** 816 816 817 817 818 818 819 - 820 820 ==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 821 821 822 822 ... ... @@ -824,7 +824,7 @@ 824 824 825 825 * (% style="color:#037691" %)**AT Command:** 826 826 827 - **(% style="color:blue" %)AT+MOD=N **791 +(% style="color:blue" %)**AT+MOD=N ** 828 828 829 829 830 830 **Example**: AT+MOD=2. Set work mode to Double DI counting mode ... ... @@ -832,11 +832,10 @@ 832 832 833 833 * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):** 834 834 835 - **(% style="color:blue" %)0x0A aa799 +(% style="color:blue" %)**0x0A aa **(%%)** ** ~/~/ Same as AT+MOD=aa 836 836 837 837 838 838 839 - 840 840 ==== 3.4.2.3 Poll an uplink ==== 841 841 842 842 ... ... @@ -847,7 +847,7 @@ 847 847 848 848 * (% style="color:#037691" %)**Downlink Payload (prefix 0x08):** 849 849 850 - **(% style="color:blue" %)0x08 FF813 +(% style="color:blue" %)**0x08 FF **(%%)** **~/~/ Poll an uplink 851 851 852 852 853 853 **Example**: 0x08FF, ask device to send an Uplink ... ... @@ -854,7 +854,6 @@ 854 854 855 855 856 856 857 - 858 858 ==== 3.4.2.4 Enable Trigger Mode ==== 859 859 860 860 ... ... @@ -862,20 +862,19 @@ 862 862 863 863 * (% style="color:#037691" %)**AT Command:** 864 864 865 - **(% style="color:blue" %)AT+ADDMOD6=1 or 0**827 +(% style="color:blue" %)**AT+ADDMOD6=1 or 0** 866 866 867 - **(% style="color:red" %)1:** Enable Trigger Mode829 +(% style="color:red" %)**1:** (%%)Enable Trigger Mode 868 868 869 - **(% style="color:red" %)0: **Disable Trigger Mode831 +(% style="color:red" %)**0: **(%%)Disable Trigger Mode 870 870 871 871 872 872 * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):** 873 873 874 - **(% style="color:blue" %)0x0A 06 aa **(%%) ~/~/ Same as AT+ADDMOD6=aa836 +(% style="color:blue" %)**0x0A 06 aa **(%%) ~/~/ Same as AT+ADDMOD6=aa 875 875 876 876 877 877 878 - 879 879 ==== 3.4.2.5 Poll trigger settings ==== 880 880 881 881 ... ... @@ -888,11 +888,10 @@ 888 888 889 889 * (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):** 890 890 891 - **(% style="color:blue" %)0xAB 06852 +(% style="color:blue" %)**0xAB 06 ** (%%) ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command 892 892 893 893 894 894 895 - 896 896 ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 897 897 898 898 ... ... @@ -900,7 +900,7 @@ 900 900 901 901 * (% style="color:#037691" %)**AT Command:** 902 902 903 -**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 863 +(% style="color:blue" %)**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 904 904 905 905 906 906 **Example:** ... ... @@ -909,11 +909,10 @@ 909 909 910 910 * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):** 911 911 912 - **(% style="color:blue" %)0xAA 02 aa bb ** (%%) ~/~/ Same as AT+DTRI=aa,bb872 +(% style="color:blue" %)**0xAA 02 aa bb ** (%%) ~/~/ Same as AT+DTRI=aa,bb 913 913 914 914 915 915 916 - 917 917 ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 918 918 919 919 ... ... @@ -921,11 +921,11 @@ 921 921 922 922 * (% style="color:#037691" %)**AT Command:** 923 923 924 - **(% style="color:blue" %)AT+TRIG1=a,b**883 +(% style="color:blue" %)**AT+TRIG1=a,b** 925 925 926 -a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 885 +(% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 927 927 928 -b : delay timing. 887 +(% style="color:red" %)**b :** (%%)delay timing. 929 929 930 930 931 931 **Example:** ... ... @@ -934,8 +934,11 @@ 934 934 935 935 936 936 * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):** 937 -* **0x09 01 aa bb cc ** ~/~/ same as AT+TRIG1=aa,0x(bb cc) 938 938 897 +(% style="color:blue" %)**0x09 01 aa bb cc ** (%%) ~/~/ same as AT+TRIG1=aa,0x(bb cc) 898 + 899 + 900 + 939 939 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 940 940 941 941 ... ... @@ -943,14 +943,13 @@ 943 943 944 944 * (% style="color:#037691" %)**AT Command:** 945 945 946 -**AT+TRIG2=a,b** 908 +(% style="color:blue" %)**AT+TRIG2=a,b** 947 947 910 +(% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 948 948 949 - a: Interrupt mode. 0: falling edge; 1:isingedge,2:fallingandraisingedge(for MOD=1).912 +(% style="color:red" %)**b :** (%%)delay timing. 950 950 951 -b : delay timing. 952 952 953 - 954 954 **Example:** 955 955 956 956 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) ... ... @@ -958,11 +958,10 @@ 958 958 959 959 * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):** 960 960 961 -**0x09 02 aa bb cc 1=aa,0x(bb cc)922 +(% style="color:blue" %)**0x09 02 aa bb cc ** (%%)~/~/ same as AT+TRIG2=aa,0x(bb cc) 962 962 963 963 964 964 965 - 966 966 ==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 967 967 968 968 ... ... @@ -970,16 +970,15 @@ 970 970 971 971 * (% style="color:#037691" %)**AT Command** 972 972 973 -**AT+ACLIM** 933 +(% style="color:blue" %)**AT+ACLIM** 974 974 975 975 976 976 * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )** 977 977 978 -**0x AA 01 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 938 +(% style="color:blue" %)**0x AA 01 aa bb cc dd ee ff gg hh ** (%%) ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 979 979 980 980 981 981 982 - 983 983 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 984 984 985 985 ... ... @@ -987,16 +987,15 @@ 987 987 988 988 * (% style="color:#037691" %)**AT Command** 989 989 990 -**AT+AVLIM 949 +(% style="color:blue" %)**AT+AVLIM **(%%)** See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 991 991 992 992 993 993 * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )** 994 994 995 -**0x AA 00 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 954 +(% style="color:blue" %)**0x AA 00 aa bb cc dd ee ff gg hh ** (%%) ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 996 996 997 997 998 998 999 - 1000 1000 ==== 3.4.2.11 Trigger – Set minimum interval ==== 1001 1001 1002 1002 ... ... @@ -1004,12 +1004,12 @@ 1004 1004 1005 1005 * (% style="color:#037691" %)**AT Command** 1006 1006 1007 -**AT+ATDC=5 ** Device won't response the second trigger within 5 minute after the first trigger. 965 +(% style="color:blue" %)**AT+ATDC=5 ** (%%)Device won't response the second trigger within 5 minute after the first trigger. 1008 1008 1009 1009 1010 1010 * (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )** 1011 1011 1012 -**0x AC aa bb ** ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min) 970 +(% style="color:blue" %)**0x AC aa bb **(%%) ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min) 1013 1013 1014 1014 ((( 1015 1015 ... ... @@ -1019,7 +1019,6 @@ 1019 1019 1020 1020 1021 1021 1022 - 1023 1023 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 1024 1024 1025 1025 ... ... @@ -1029,7 +1029,7 @@ 1029 1029 1030 1030 1031 1031 * (% style="color:#037691" %)**Downlink Payload (prefix 0x02)** 1032 -* **0x02 aa bb cc **~/~/ Set DO1/DO2/DO3 output 989 +* (% style="color:blue" %)**0x02 aa bb cc ** (%%)~/~/ Set DO1/DO2/DO3 output 1033 1033 1034 1034 ((( 1035 1035 If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low. ... ... @@ -1051,7 +1051,6 @@ 1051 1051 1052 1052 1053 1053 1054 - 1055 1055 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 1056 1056 1057 1057 ... ... @@ -1062,7 +1062,7 @@ 1062 1062 1063 1063 * (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)** 1064 1064 1065 -**0xA9 aa bb cc **~/~/ Set DO1/DO2/DO3 output with time control 1021 +(% style="color:blue" %)**0xA9 aa bb cc **(%%) ~/~/ Set DO1/DO2/DO3 output with time control 1066 1066 1067 1067 1068 1068 This is to control the digital output time of DO pin. Include four bytes: ... ... @@ -1095,6 +1095,14 @@ 1095 1095 1096 1096 Latching time. Unit: ms 1097 1097 1054 + 1055 +(% style="color:red" %)**Note: ** 1056 + 1057 + Since Firmware v1.6.0, the latch time support 4 bytes and 2 bytes 1058 + 1059 + Before Firmwre v1.6.0 the latch time only suport 2 bytes. 1060 + 1061 + 1098 1098 (% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 1099 1099 1100 1100 ... ... @@ -1118,10 +1118,9 @@ 1118 1118 1119 1119 1120 1120 1085 +==== 3.4.2. 14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1121 1121 1122 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1123 1123 1124 - 1125 1125 * (% style="color:#037691" %)**AT Command:** 1126 1126 1127 1127 There is no AT Command to control Relay Output ... ... @@ -1129,7 +1129,7 @@ 1129 1129 1130 1130 * (% style="color:#037691" %)**Downlink Payload (prefix 0x03):** 1131 1131 1132 -**0x03 aa bb **~/~/ Set RO1/RO2 output 1095 +(% style="color:blue" %)**0x03 aa bb ** (%%)~/~/ Set RO1/RO2 output 1133 1133 1134 1134 1135 1135 ((( ... ... @@ -1148,7 +1148,6 @@ 1148 1148 1149 1149 1150 1150 1151 - 1152 1152 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1153 1153 1154 1154 ... ... @@ -1159,7 +1159,7 @@ 1159 1159 1160 1160 * (% style="color:#037691" %)**Downlink Payload (prefix 0x05):** 1161 1161 1162 -**0x05 aa bb cc dd **~/~/ Set RO1/RO2 relay with time control 1124 +(% style="color:blue" %)**0x05 aa bb cc dd ** (%%)~/~/ Set RO1/RO2 relay with time control 1163 1163 1164 1164 1165 1165 This is to control the relay output time of relay. Include four bytes: ... ... @@ -1180,12 +1180,20 @@ 1180 1180 1181 1181 (% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms 1182 1182 1145 + 1146 +(% style="color:red" %)**Note:** 1147 + 1148 + Since Firmware v1.6.0, the latch time support 4 bytes and 2 bytes 1149 + 1150 + Before Firmwre v1.6.0 the latch time only suport 2 bytes. 1151 + 1152 + 1183 1183 (% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 1184 1184 1185 1185 1186 1186 **Example payload:** 1187 1187 1188 -**~1. 05 01 11 07 D** 1158 +**~1. 05 01 11 07 D0** 1189 1189 1190 1190 Relay1 and Relay 2 will be set to NC , last 2 seconds, then change back to original state. 1191 1191 ... ... @@ -1210,39 +1210,33 @@ 1210 1210 1211 1211 * (% style="color:#037691" %)**AT Command:** 1212 1212 1213 -**AT+VOLMAX ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1183 +(% style="color:blue" %)**AT+VOLMAX ** (%%)~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1214 1214 1215 1215 1216 1216 * (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):** 1217 1217 1218 -**0xA5 aa bb cc **~/~/ Same as AT+VOLMAX=(aa bb),cc 1188 +(% style="color:blue" %)**0xA5 aa bb cc ** (%%)~/~/ Same as AT+VOLMAX=(aa bb),cc 1219 1219 1220 1220 1221 1221 1222 - 1223 1223 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1224 1224 1225 1225 1226 1226 * (% style="color:#037691" %)**AT Command:** 1227 1227 1228 -**AT+SETCNT=aa,(bb cc dd ee) ** 1197 +(% style="color:blue" %)**AT+SETCNT=aa,(bb cc dd ee) ** 1229 1229 1230 -aa: 1: Set count1 ,1199 +(% style="color:red" %)**aa:**(%%) 1: Set count1; 2: Set count2; 3: Set AV1 count 1231 1231 1232 - 2:Setunt2,1201 +(% style="color:red" %)**bb cc dd ee: **(%%)number to be set 1233 1233 1234 -3: Set AV1 count 1235 1235 1236 -Bb cc dd ee: number to be set 1237 - 1238 - 1239 1239 * (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):** 1240 1240 1241 -**0x A8 aa bb cc dd ee **~/~/ same as AT+SETCNT=aa,(bb cc dd ee) 1206 +(% style="color:blue" %)**0x A8 aa bb cc dd ee ** (%%)~/~/ same as AT+SETCNT=aa,(bb cc dd ee) 1242 1242 1243 1243 1244 1244 1245 - 1246 1246 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1247 1247 1248 1248 ... ... @@ -1250,114 +1250,104 @@ 1250 1250 1251 1251 * (% style="color:#037691" %)**AT Command:** 1252 1252 1253 -**AT+CLRCOUNT ** ~/~/ clear all counting 1217 +(% style="color:blue" %)**AT+CLRCOUNT **(%%) ~/~/ clear all counting 1254 1254 1255 1255 1256 1256 * (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):** 1257 1257 1258 -**0x A6 01 ** ~/~/ clear all counting 1222 +(% style="color:blue" %)**0x A6 01 ** (%%)~/~/ clear all counting 1259 1259 1260 1260 1261 1261 1262 - 1263 1263 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1264 1264 1265 1265 1266 1266 * (% style="color:#037691" %)**AT Command:** 1267 1267 1268 -**AT+COUTIME=60 **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 1231 +(% style="color:blue" %)**AT+COUTIME=60 **(%%)~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 1269 1269 1270 1270 1271 1271 * (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):** 1272 1272 1273 -**0x A7 aa bb cc **~/~/ same as AT+COUTIME =aa bb cc, 1236 +(% style="color:blue" %)**0x A7 aa bb cc ** (%%)~/~/ same as AT+COUTIME =aa bb cc, 1274 1274 1275 1275 ((( 1276 1276 range: aa bb cc:0 to 16777215, (unit:second) 1240 +))) 1277 1277 1278 1278 1279 1279 1280 - 1281 -))) 1244 +==== 3.4.2.20 Reset save RO DO state ==== 1282 1282 1283 -==== 3.4.2.20 Reset save DR DO state ==== 1284 1284 1285 - 1286 1286 * (% style="color:#037691" %)**AT Command:** 1287 1287 1288 -**AT+RODORET=1 **~/~/ RODO will close when the device joining the network. (default) 1249 +(% style="color:blue" %)**AT+RODORESET=1 **(%%)~/~/ RODO will close when the device joining the network. (default) 1289 1289 1290 -**AT+RODORET=0 **~/~/After the device is reset, the previously saved RODO state (only MOD2 to MOD5) is read, and its state is not changed when it is reconnected to the network. 1251 +(% style="color:blue" %)**AT+RODORESET=0 **(%%)~/~/ After the device is reset, the previously saved RODO state (only MOD2 to MOD5) is read, and its state is not changed when it is reconnected to the network. 1291 1291 1292 1292 1293 1293 * (% style="color:#037691" %)**Downlink Payload (prefix 0xAD):** 1294 1294 1295 -**0x AD aa **~/~/ same as AT+RODORET =aa 1256 +(% style="color:blue" %)**0x AD aa ** (%%)~/~/ same as AT+RODORET =aa 1296 1296 1297 -((( 1298 - 1299 1299 1300 1300 1301 - 1302 1302 ==== 3.4.2.21 Encrypted payload ==== 1303 1303 1304 1304 1305 1305 * (% style="color:#037691" %)**AT Command:** 1306 1306 1307 -**AT+DECRYPT=1 **~/~/ The payload is uploaded without encryption 1265 +(% style="color:blue" %)**AT+DECRYPT=1 ** (%%)~/~/ The payload is uploaded without encryption 1308 1308 1309 -**AT+DECRYPT=0 **~/~/Encrypt when uploading payload (default) 1267 +(% style="color:blue" %)**AT+DECRYPT=0 **(%%)~/~/ Encrypt when uploading payload (default) 1310 1310 1311 1311 1312 1312 1313 - 1314 1314 ==== 3.4.2.22 Get sensor value ==== 1315 1315 1316 1316 1317 1317 * (% style="color:#037691" %)**AT Command:** 1318 1318 1319 -**AT+GETSENSORVALUE=0 **~/~/ The serial port gets the reading of the current sensor 1276 +(% style="color:blue" %)**AT+GETSENSORVALUE=0 **(%%)~/~/ The serial port gets the reading of the current sensor 1320 1320 1321 -**AT+GETSENSORVALUE=1 **~/~/The serial port gets the current sensor reading and uploads it. 1278 +(% style="color:blue" %)**AT+GETSENSORVALUE=1 **(%%)~/~/ The serial port gets the current sensor reading and uploads it. 1322 1322 1323 1323 1324 1324 1325 - 1326 1326 ==== 3.4.2.23 Resets the downlink packet count ==== 1327 1327 1328 1328 1329 1329 * (% style="color:#037691" %)**AT Command:** 1330 1330 1331 -**AT+DISFCNTCHECK=0 **~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node will no longer receive downlink packets (default) 1287 +(% style="color:blue" %)**AT+DISFCNTCHECK=0 **(%%)~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node will no longer receive downlink packets (default) 1332 1332 1333 -**AT+DISFCNTCHECK=1 **~/~/When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node resets the downlink packet count and keeps it consistent with the server downlink packet count. 1289 +(% style="color:blue" %)**AT+DISFCNTCHECK=1 **(%%)~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node resets the downlink packet count and keeps it consistent with the server downlink packet count. 1334 1334 1335 1335 1336 1336 1337 - 1338 1338 ==== 3.4.2.24 When the limit bytes are exceeded, upload in batches ==== 1339 1339 1340 1340 1341 1341 * (% style="color:#037691" %)**AT Command:** 1342 1342 1343 - 1298 +(% style="color:blue" %)**AT+DISMACANS=0** (%%) ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of 11 bytes (DR0 of US915, DR2 of AS923, DR2 of AU195), the node will send a packet with a payload of 00 and a port of 4. (default) 1344 1344 1345 - 1300 +(% style="color:blue" %)**AT+DISMACANS=1** (%%) ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of the DR, the node will ignore the MACANS and not reply, and only upload the payload part. 1346 1346 1347 1347 1348 1348 * (% style="color:#037691" %)**Downlink Payload **(%%)**:** 1349 1349 1350 -**0x21 00 01 ** ~/~/ Set the DISMACANS=1 1305 +(% style="color:blue" %)**0x21 00 01 ** (%%) ~/~/ Set the DISMACANS=1 1351 1351 1352 1352 1353 1353 1354 - 1355 1355 ==== 3.4.2.25 Copy downlink to uplink ==== 1356 1356 1357 1357 1358 1358 * (% style="color:#037691" %)**AT Command**(%%)**:** 1359 1359 1360 - 1314 +(% style="color:blue" %)**AT+RPL=5** (%%) ~/~/ After receiving the package from the server, it will immediately upload the content of the package to the server, the port number is 100. 1361 1361 1362 1362 Example:**aa xx xx xx xx** ~/~/ aa indicates whether the configuration has changed, 00 is yes, 01 is no; xx xx xx xx are the bytes sent. 1363 1363 ... ... @@ -1380,7 +1380,7 @@ 1380 1380 * ((( 1381 1381 (% style="color:#037691" %)**Downlink Payload**(%%)**:** 1382 1382 1383 -**26 01 ** ~/~/ Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time. 1337 +(% style="color:blue" %)**26 01 ** (%%) ~/~/ Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time. 1384 1384 1385 1385 1386 1386 ))) ... ... @@ -1390,9 +1390,6 @@ 1390 1390 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173929-8.png?width=1205&height=76&rev=1.1||alt="image-20220823173929-8.png"]] 1391 1391 1392 1392 1393 - 1394 -))) 1395 - 1396 1396 == 3.5 Integrate with Mydevice == 1397 1397 1398 1398 ... ... @@ -1442,10 +1442,8 @@ 1442 1442 [[image:image-20220524094909-5.png||height="341" width="734"]] 1443 1443 1444 1444 1445 - 1446 1446 == 3.6 Interface Detail == 1447 1447 1448 - 1449 1449 === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) === 1450 1450 1451 1451 ... ... @@ -1454,7 +1454,6 @@ 1454 1454 [[image:1653356991268-289.png]] 1455 1455 1456 1456 1457 - 1458 1458 === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) === 1459 1459 1460 1460 ... ... @@ -1511,8 +1511,6 @@ 1511 1511 1512 1512 ((( 1513 1513 1514 - 1515 - 1516 1516 ))) 1517 1517 1518 1518 ((( ... ... @@ -1544,8 +1544,6 @@ 1544 1544 1545 1545 ((( 1546 1546 1547 - 1548 - 1549 1549 ))) 1550 1550 1551 1551 ((( ... ... @@ -1576,16 +1576,16 @@ 1576 1576 ))) 1577 1577 1578 1578 1579 - 1580 1580 === 3.6.3 Digital Output Port: DO1/DO2 /DO3 === 1581 1581 1582 1582 1583 -NPN output: GND or Float. Max voltage can apply to output pin is 36v. 1526 +**(% style="color:blue" %)NPN output**: GND or Float. Max voltage can apply to output pin is 36v. 1584 1584 1528 +**(% style="color:red" %)Note: DO pins go to float when device is power off.** 1529 + 1585 1585 [[image:1653357531600-905.png]] 1586 1586 1587 1587 1588 - 1589 1589 === 3.6.4 Analog Input Interface === 1590 1590 1591 1591 ... ... @@ -1617,12 +1617,13 @@ 1617 1617 [[image:1653357648330-671.png||height="155" width="733"]] 1618 1618 1619 1619 1620 - 1621 1621 === 3.6.5 Relay Output === 1622 1622 1623 1623 1624 1624 ((( 1625 -The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device’s Power Line to in serial of RO1_1 and RO_2. Such as below: 1568 +The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device's Power Line to in serial of RO1_1 and RO_2. Such as below: 1569 + 1570 +**Note**: RO pins go to Open(NO) when device is power off. 1626 1626 ))) 1627 1627 1628 1628 [[image:image-20220524100215-9.png]] ... ... @@ -1631,7 +1631,6 @@ 1631 1631 [[image:image-20220524100215-10.png||height="382" width="723"]] 1632 1632 1633 1633 1634 - 1635 1635 == 3.7 LEDs Indicators == 1636 1636 1637 1637 ... ... @@ -1638,10 +1638,8 @@ 1638 1638 [[image:image-20220524100748-11.png]] 1639 1639 1640 1640 1641 - 1642 1642 = 4. Use AT Command = 1643 1643 1644 - 1645 1645 == 4.1 Access AT Command == 1646 1646 1647 1647 ... ... @@ -1852,10 +1852,8 @@ 1852 1852 ))) 1853 1853 1854 1854 1855 - 1856 1856 == 4.2 Common AT Command Sequence == 1857 1857 1858 - 1859 1859 === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) === 1860 1860 1861 1861 ((( ... ... @@ -1900,7 +1900,6 @@ 1900 1900 ))) 1901 1901 1902 1902 1903 - 1904 1904 === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) === 1905 1905 1906 1906 ((( ... ... @@ -1973,7 +1973,7 @@ 1973 1973 **3. Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer [[this link>>url:http://www.dragino.com/downloads/index.php? 1974 1974 dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.** 1975 1975 1976 -**4. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5** 1915 +**4. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5.** 1977 1977 1978 1978 1979 1979 ))) ... ... @@ -1986,12 +1986,11 @@ 1986 1986 1987 1987 ))) 1988 1988 1989 - 1990 1990 === 4.2.3 Change to Class A === 1991 1991 1992 1992 1993 1993 ((( 1994 -(% style="color:blue" %)If sensor JOINED: 1932 +(% style="color:blue" %)**If sensor JOINED:** 1995 1995 1996 1996 (% style="background-color:#dcdcdc" %)**AT+CLASS=A 1997 1997 ATZ** ... ... @@ -1998,13 +1998,19 @@ 1998 1998 ))) 1999 1999 2000 2000 1939 += 5. Case Study = 2001 2001 2002 -= 5. F AQ=1941 +== 5.1 Counting how many objects pass in Flow Line == 2003 2003 2004 2004 2005 - ==5.1How to upgrade theimage?==1944 +Reference Link: [[How to set up to count objects pass in flow line>>How to set up to count objects pass in flow line]]? 2006 2006 2007 2007 1947 += 6. FAQ = 1948 + 1949 +== 6.1 How to upgrade the image? == 1950 + 1951 + 2008 2008 The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: 2009 2009 2010 2010 * Support new features ... ... @@ -2032,8 +2032,10 @@ 2032 2032 2033 2033 [[image:image-20220524103407-12.png]] 2034 2034 1979 + 2035 2035 [[image:image-20220524103429-13.png]] 2036 2036 1982 + 2037 2037 [[image:image-20220524104033-15.png]] 2038 2038 2039 2039 ... ... @@ -2045,10 +2045,8 @@ 2045 2045 2046 2046 ((( 2047 2047 ((( 2048 - 1994 +== 6.2 How to change the LoRa Frequency Bands/Region? == 2049 2049 2050 -== 5.2 How to change the LoRa Frequency Bands/Region? == 2051 - 2052 2052 2053 2053 ))) 2054 2054 ))) ... ... @@ -2060,9 +2060,8 @@ 2060 2060 ((( 2061 2061 2062 2062 2007 +== 6.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? == 2063 2063 2064 -== 5.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? == 2065 - 2066 2066 2067 2067 ))) 2068 2068 ... ... @@ -2076,7 +2076,6 @@ 2076 2076 ((( 2077 2077 Assume we have a LG02 working in the frequency 868400000 now , below is the step. 2078 2078 2079 - 2080 2080 2081 2081 ))) 2082 2082 ))) ... ... @@ -2125,26 +2125,23 @@ 2125 2125 [[image:1653360498588-932.png||height="485" width="726"]] 2126 2126 2127 2127 2070 +== 6.4 Can I see counting event in Serial? == 2128 2128 2129 -== 5.4 Can I see counting event in Serial? == 2130 2130 2131 - 2132 2132 ((( 2133 2133 User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesn't support AT+DEBUG. User can update to latest firmware first. 2134 2134 2135 2135 2077 +== 6.5 Can i use point to point communication for LT-22222-L? == 2136 2136 2137 -== 5.5 Can i use point to point communication for LT-22222-L? == 2138 2138 2080 +Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]] ,this is [[firmware>>https://github.com/dragino/LT-22222-L/releases]]. 2139 2139 2140 -Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]] ,this is [[firmware>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AADKXQ2v5ZT-S3sxdmbvE7UAa/LT-22222-L/image?dl=0&subfolder_nav_tracking=1]]. 2141 - 2142 - 2143 2143 2144 2144 ))) 2145 2145 2146 2146 ((( 2147 -== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==2086 +== 6.6 Why does the relay output become the default and open relay after the lt22222 is powered off? == 2148 2148 2149 2149 2150 2150 If the device is not shut down, but directly powered off. ... ... @@ -2156,10 +2156,9 @@ 2156 2156 After restart, the status before power failure will be read from flash. 2157 2157 2158 2158 2098 +== 6.7 Can i set up LT-22222-L as a NC(Normal Close) Relay? == 2159 2159 2160 -== 5.7 Can i set up LT-22222-L as a NC(Normal Close) Relay? == 2161 2161 2162 - 2163 2163 LT-22222-L built-in relay is NO (Normal Open). User can use an external relay to achieve Normal Close purpose. Diagram as below: 2164 2164 2165 2165 ... ... @@ -2166,15 +2166,18 @@ 2166 2166 [[image:image-20221006170630-1.png||height="610" width="945"]] 2167 2167 2168 2168 2107 +== 6.8 Can LT22222-L save RO state? == 2169 2169 2170 -= 6. Trouble Shooting = 2171 2171 2172 - 2110 +Firmware version needs to be no less than 1.6.0. 2111 + 2112 + 2113 += 7. Trouble Shooting = 2173 2173 ))) 2174 2174 2175 2175 ((( 2176 2176 ((( 2177 -== 6.1 Downlink doesn't work, how to solve it? ==2118 +== 7.1 Downlink doesn't work, how to solve it? == 2178 2178 2179 2179 2180 2180 ))) ... ... @@ -2187,9 +2187,8 @@ 2187 2187 ((( 2188 2188 2189 2189 2131 +== 7.2 Have trouble to upload image. == 2190 2190 2191 -== 6.2 Have trouble to upload image. == 2192 - 2193 2193 2194 2194 ))) 2195 2195 ... ... @@ -2200,9 +2200,8 @@ 2200 2200 ((( 2201 2201 2202 2202 2143 +== 7.3 Why I can't join TTN in US915 /AU915 bands? == 2203 2203 2204 -== 6.3 Why I can't join TTN in US915 /AU915 bands? == 2205 - 2206 2206 2207 2207 ))) 2208 2208 ... ... @@ -2211,10 +2211,9 @@ 2211 2211 ))) 2212 2212 2213 2213 2153 += 8. Order Info = 2214 2214 2215 -= 7. Order Info = 2216 2216 2217 - 2218 2218 (% style="color:#4f81bd" %)**LT-22222-L-XXX:** 2219 2219 2220 2220 (% style="color:#4f81bd" %)**XXX:** ... ... @@ -2229,9 +2229,11 @@ 2229 2229 * (% style="color:red" %)**IN865**(%%): LT with frequency bands IN865 2230 2230 * (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779 2231 2231 2232 -= 8. Packing Info = 2233 2233 2234 2234 2172 += 9. Packing Info = 2173 + 2174 + 2235 2235 **Package Includes**: 2236 2236 2237 2237 * LT-22222-L I/O Controller x 1 ... ... @@ -2239,6 +2239,7 @@ 2239 2239 * Bracket for controller x1 2240 2240 * Program cable x 1 2241 2241 2182 + 2242 2242 **Dimension and weight**: 2243 2243 2244 2244 * Device Size: 13.5 x 7 x 3 cm ... ... @@ -2246,9 +2246,11 @@ 2246 2246 * Package Size / pcs : 14.5 x 8 x 5 cm 2247 2247 * Weight / pcs : 170g 2248 2248 2249 -= 9. Support = 2250 2250 2251 2251 2192 += 10. Support = 2193 + 2194 + 2252 2252 * ((( 2253 2253 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. 2254 2254 ))) ... ... @@ -2256,13 +2256,14 @@ 2256 2256 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]] 2257 2257 2258 2258 2259 - 2260 2260 2261 2261 ))) 2262 2262 2263 -= 1 0. Reference =2205 += 11. Reference = 2264 2264 2265 2265 2266 2266 * 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]] 2267 2267 * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]] 2268 2268 * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]] 2211 + 2212 +
- image-20221112174847-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +102.6 KB - Content