Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
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. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -15,6 +15,7 @@ 15 15 16 16 = 1.Introduction = 17 17 18 + 18 18 == 1.1 What is LT Series I/O Controller == 19 19 20 20 ((( ... ... @@ -57,7 +57,7 @@ 57 57 ((( 58 58 59 59 60 -**Hardware System:** 61 +(% style="color:#037691" %)**Hardware System:** 61 61 ))) 62 62 63 63 * ((( ... ... @@ -82,7 +82,7 @@ 82 82 ((( 83 83 84 84 85 -**Interface for Model: LT22222-L:** 86 +(% style="color:#037691" %)**Interface for Model: LT22222-L:** 86 86 ))) 87 87 88 88 * ((( ... ... @@ -107,7 +107,7 @@ 107 107 ((( 108 108 109 109 110 -**LoRa Spec:** 111 +(% style="color:#037691" %)**LoRa Spec:** 111 111 ))) 112 112 113 113 * ((( ... ... @@ -184,6 +184,8 @@ 184 184 * Counting 185 185 186 186 188 + 189 + 187 187 == 1.4 Applications == 188 188 189 189 ... ... @@ -195,6 +195,8 @@ 195 195 * Smart Factory 196 196 197 197 201 + 202 + 198 198 == 1.5 Hardware Variants == 199 199 200 200 ... ... @@ -209,6 +209,9 @@ 209 209 * 1 x Counting Port 210 210 ))) 211 211 217 + 218 + 219 + 212 212 = 2. Power ON Device = 213 213 214 214 ... ... @@ -216,6 +216,8 @@ 216 216 217 217 ((( 218 218 PWR will on when device is properly powered. 227 + 228 + 219 219 ))) 220 220 221 221 [[image:1653297104069-180.png]] ... ... @@ -224,6 +224,7 @@ 224 224 225 225 = 3. Operation Mode = 226 226 237 + 227 227 == 3.1 How it works? == 228 228 229 229 ... ... @@ -300,6 +300,8 @@ 300 300 * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5 301 301 302 302 314 + 315 + 303 303 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 304 304 305 305 ... ... @@ -319,8 +319,10 @@ 319 319 * DI is for digital input. DIx=1: high or float, DIx=0: low. 320 320 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 321 321 322 -(% style="color:red" %)Note: DI3 and DO3 bit are not valid for LT-22222-L 323 323 336 + 337 +(% style="color:red" %)**Note: DI3 and DO3 bit are not valid for LT-22222-L** 338 + 324 324 For example if payload is: [[image:image-20220523175847-2.png]] 325 325 326 326 ... ... @@ -339,6 +339,8 @@ 339 339 * [1] RO1 relay channel is close and the RO1 LED is ON. 340 340 * [0] RO2 relay channel is open and RO2 LED is OFF; 341 341 357 + 358 + 342 342 **LT22222-L:** 343 343 344 344 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -355,6 +355,9 @@ 355 355 ** DO1 LED is off in both case 356 356 357 357 375 + 376 + 377 + 358 358 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 359 359 360 360 ... ... @@ -378,7 +378,7 @@ 378 378 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 379 379 380 380 ((( 381 -(% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L. 401 +(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L.** 382 382 ))) 383 383 384 384 ((( ... ... @@ -400,6 +400,8 @@ 400 400 401 401 402 402 (% style="color:#4f81bd" %)**AT Commands for counting:** 423 + 424 + 403 403 ))) 404 404 405 405 ((( ... ... @@ -441,7 +441,7 @@ 441 441 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 442 442 443 443 ((( 444 -(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 466 +(% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.** 445 445 ))) 446 446 447 447 ... ... @@ -485,7 +485,7 @@ 485 485 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 486 486 487 487 ((( 488 -(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 510 +(% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.** 489 489 ))) 490 490 491 491 ((( ... ... @@ -546,7 +546,7 @@ 546 546 ))) 547 547 548 548 ((( 549 -(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 571 +(% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.** 550 550 ))) 551 551 552 552 ((( ... ... @@ -580,11 +580,16 @@ 580 580 * **AT+MOD=1 ** **~-~->** The normal working mode 581 581 * **AT+ADDMOD6=1** **~-~->** Enable trigger 582 582 605 + 606 + 583 583 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 584 584 585 585 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 586 586 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.** 587 587 612 + 613 + 614 + 588 588 (% style="color:#037691" %)**AT Command to set Trigger Condition**: 589 589 590 590 ... ... @@ -592,6 +592,7 @@ 592 592 593 593 Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> 594 594 622 + 595 595 **Example:** 596 596 597 597 AT+AVLIM=3000,6000,0,2000 (If AVI1 voltage lower than 3v or higher than 6v. or AV2 voltage is higher than 2v, LT will trigger Uplink) ... ... @@ -604,6 +604,7 @@ 604 604 605 605 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> 606 606 635 + 607 607 **Example:** 608 608 609 609 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) ... ... @@ -622,6 +622,7 @@ 622 622 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 623 623 624 624 654 + 625 625 (% style="color:#037691" %)**Downlink Command to set Trigger Condition:** 626 626 627 627 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** ... ... @@ -665,11 +665,14 @@ 665 665 666 666 * Each bits shows if the corresponding trigger has been configured. 667 667 698 + 699 + 668 668 **Example:** 669 669 670 670 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW 671 671 672 672 705 + 673 673 (% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below 674 674 675 675 [[image:image-20220524090249-3.png]] ... ... @@ -676,11 +676,14 @@ 676 676 677 677 * Each bits shows which status has been trigger on this uplink. 678 678 712 + 713 + 679 679 **Example:** 680 680 681 681 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. 682 682 683 683 719 + 684 684 (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below 685 685 686 686 [[image:image-20220524090456-4.png]] ... ... @@ -687,6 +687,8 @@ 687 687 688 688 * Each bits shows which status has been trigger on this uplink. 689 689 726 + 727 + 690 690 **Example:** 691 691 692 692 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -694,6 +694,7 @@ 694 694 00000101: Means both DI1 and DI2 trigger are enabled. 695 695 696 696 735 + 697 697 (% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable. 698 698 699 699 Downlink command to poll MOD6 status: ... ... @@ -704,6 +704,7 @@ 704 704 705 705 706 706 746 + 707 707 === 3.3.7 Payload Decoder === 708 708 709 709 ((( ... ... @@ -727,6 +727,9 @@ 727 727 728 728 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 729 729 770 + 771 + 772 + 730 730 === 3.4.1 Common Commands === 731 731 732 732 ... ... @@ -789,6 +789,7 @@ 789 789 790 790 **0x08 FF **~/~/ Poll an uplink 791 791 835 + 792 792 **Example**: 0x08FF, ask device to send an Uplink 793 793 794 794 ... ... @@ -876,6 +876,8 @@ 876 876 * **0x09 01 aa bb cc ** ~/~/ same as AT+TRIG1=aa,0x(bb cc) 877 877 878 878 923 + 924 + 879 879 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 880 880 881 881 ... ... @@ -954,7 +954,7 @@ 954 954 ((( 955 955 956 956 957 -(% style="color:red" %)Note: ATDC setting must be more than 5min 1003 +(% style="color:red" %)**Note: ATDC setting must be more than 5min** 958 958 ))) 959 959 960 960 ... ... @@ -982,11 +982,11 @@ 982 982 [[image:image-20220524092754-5.png]] 983 983 984 984 ((( 985 -(% style="color:red" %)Note: For LT-22222-L, there is no DO3, the last byte can use any value. 1031 +(% style="color:red" %)**Note: For LT-22222-L, there is no DO3, the last byte can use any value.** 986 986 ))) 987 987 988 988 ((( 989 -(% style="color:red" %)Device will upload a packet if downlink code executes successfully. 1035 +(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 990 990 ))) 991 991 992 992 ... ... @@ -1035,7 +1035,7 @@ 1035 1035 1036 1036 Latching time. Unit: ms 1037 1037 1038 -Device will upload a packet if downlink code executes successfully. 1084 +(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 1039 1039 1040 1040 1041 1041 **Example payload:** ... ... @@ -1056,7 +1056,6 @@ 1056 1056 1057 1057 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 1058 1058 1059 -(% style="color:red" %)Device will upload a packet if downlink code executes successfully. 1060 1060 1061 1061 1062 1062 ... ... @@ -1085,7 +1085,7 @@ 1085 1085 [[image:image-20220524093724-9.png]] 1086 1086 ))) 1087 1087 1088 -(% style="color:red" %)Device will upload a packet if downlink code executes successfully. 1133 +(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 1089 1089 1090 1090 1091 1091 ... ... @@ -1121,7 +1121,7 @@ 1121 1121 1122 1122 (% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms 1123 1123 1124 -Device will upload a packet if downlink code executes successfully. 1169 +(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 1125 1125 1126 1126 1127 1127 **Example payload:** ... ... @@ -1142,10 +1142,8 @@ 1142 1142 1143 1143 Relay 1 & relay2 will change to NO, last 2 seconds, then both change to NC. 1144 1144 1145 -(% style="color:red" %)Device will upload a packet if downlink code executes successfully. 1146 1146 1147 1147 1148 - 1149 1149 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1150 1150 1151 1151 ... ... @@ -1218,11 +1218,14 @@ 1218 1218 ((( 1219 1219 range: aa bb cc:0 to 16777215, (unit:second) 1220 1220 1264 + 1265 + 1221 1221 1222 1222 ))) 1223 1223 1224 1224 ==== 3.4.2.20 Reset save DR DO state ==== 1225 1225 1271 + 1226 1226 * (% style="color:#037691" %)**AT Command:** 1227 1227 1228 1228 **AT+RODORET=1 **~/~/ RODO will close when the device joining the network. (default) ... ... @@ -1237,8 +1237,11 @@ 1237 1237 ((( 1238 1238 1239 1239 1286 + 1287 + 1240 1240 ==== 3.4.2.21 Encrypted payload ==== 1241 1241 1290 + 1242 1242 * (% style="color:#037691" %)**AT Command:** 1243 1243 1244 1244 **AT+DECRYPT=1 **~/~/ The payload is uploaded without encryption ... ... @@ -1246,8 +1246,11 @@ 1246 1246 **AT+DECRYPT=0 **~/~/Encrypt when uploading payload (default) 1247 1247 1248 1248 1298 + 1299 + 1249 1249 ==== 3.4.2.22 Get sensor value ==== 1250 1250 1302 + 1251 1251 * (% style="color:#037691" %)**AT Command:** 1252 1252 1253 1253 **AT+GETSENSORVALUE=0 **~/~/ The serial port gets the reading of the current sensor ... ... @@ -1255,8 +1255,11 @@ 1255 1255 **AT+GETSENSORVALUE=1 **~/~/The serial port gets the current sensor reading and uploads it. 1256 1256 1257 1257 1310 + 1311 + 1258 1258 ==== 3.4.2.23 Resets the downlink packet count ==== 1259 1259 1314 + 1260 1260 * (% style="color:#037691" %)**AT Command:** 1261 1261 1262 1262 **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) ... ... @@ -1264,8 +1264,11 @@ 1264 1264 **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. 1265 1265 1266 1266 1322 + 1323 + 1267 1267 ==== 3.4.2.24 When the limit bytes are exceeded, upload in batches ==== 1268 1268 1326 + 1269 1269 * (% style="color:#037691" %)**AT Command:** 1270 1270 1271 1271 **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) ... ... @@ -1277,8 +1277,12 @@ 1277 1277 1278 1278 **0x21 00 01 ** ~/~/ Set the DISMACANS=1 1279 1279 1338 + 1339 + 1340 + 1280 1280 ==== 3.4.2.25 Copy downlink to uplink ==== 1281 1281 1343 + 1282 1282 * (% style="color:#037691" %)**AT Command**(%%)**:** 1283 1283 1284 1284 **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. ... ... @@ -1297,11 +1297,16 @@ 1297 1297 1298 1298 ==== 3.4.2.26 Query version number and frequency band 、TDC ==== 1299 1299 1362 + 1300 1300 * ((( 1301 -(% style="color:#037691" %)**Downlink Payload**(%%)**: 26 01 ** ~/~/ Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time. 1364 +(% style="color:#037691" %)**Downlink Payload**(%%)**:** 1365 + 1366 +**26 01 ** ~/~/ Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time. 1367 + 1368 + 1302 1302 ))) 1303 1303 1304 -Example: 1371 +**Example:** 1305 1305 1306 1306 [[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"]] 1307 1307 ... ... @@ -1407,10 +1407,10 @@ 1407 1407 ))) 1408 1408 1409 1409 * ((( 1410 -Connect sensor ’s output to DI1-1477 +Connect sensor's output to DI1- 1411 1411 ))) 1412 1412 * ((( 1413 -Connect sensor ’s VCC to DI1+.1480 +Connect sensor's VCC to DI1+. 1414 1414 ))) 1415 1415 1416 1416 ((( ... ... @@ -1418,11 +1418,11 @@ 1418 1418 ))) 1419 1419 1420 1420 ((( 1421 -[[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 1K.** 1488 +[[image:1653968155772-850.png||height="23" width="19"]]**= DI1**+** / 1K.** 1422 1422 ))) 1423 1423 1424 1424 ((( 1425 -If DI1+ = 12v, the [[image:1653968155772-850.png||height="23" width="19"]]= 12mA , So the LT-22222-L will be able to detect this active signal. 1492 +If** DI1+ **= **12v**, the [[image:1653968155772-850.png||height="23" width="19"]]= 12mA , So the LT-22222-L will be able to detect this active signal. 1426 1426 ))) 1427 1427 1428 1428 ((( ... ... @@ -1440,10 +1440,10 @@ 1440 1440 ))) 1441 1441 1442 1442 * ((( 1443 -Connect sensor ’s output to DI1+1510 +Connect sensor's output to DI1+ 1444 1444 ))) 1445 1445 * ((( 1446 -Connect sensor ’s GND DI1-.1513 +Connect sensor's GND DI1-. 1447 1447 ))) 1448 1448 1449 1449 ((( ... ... @@ -1473,10 +1473,10 @@ 1473 1473 ))) 1474 1474 1475 1475 * ((( 1476 -Connect sensor ’s output to DI1+ with a serial 50K resistor1543 +Connect sensor's output to DI1+ with a serial 50K resistor 1477 1477 ))) 1478 1478 * ((( 1479 -Connect sensor ’s GND DI1-.1546 +Connect sensor's GND DI1-. 1480 1480 ))) 1481 1481 1482 1482 ((( ... ... @@ -1543,6 +1543,7 @@ 1543 1543 1544 1544 [[image:image-20220524100215-9.png]] 1545 1545 1613 + 1546 1546 [[image:image-20220524100215-10.png||height="382" width="723"]] 1547 1547 1548 1548 ... ... @@ -1916,7 +1916,7 @@ 1916 1916 1917 1917 ((( 1918 1918 (% 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]]. 1919 -(% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>url:http://www.dr agino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].1987 +(% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>url:https://www.dropbox.com/sh/g99v0fxcltn9r1y/AADKXQ2v5ZT-S3sxdmbvE7UAa/LT-22222-L/image?dl=0&subfolder_nav_tracking=1]]. 1920 1920 (% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update. 1921 1921 1922 1922 ... ... @@ -1972,6 +1972,7 @@ 1972 1972 ((( 1973 1973 Assume we have a LG02 working in the frequency 868400000 now , below is the step. 1974 1974 2043 + 1975 1975 1976 1976 ))) 1977 1977 ))) ... ... @@ -1978,10 +1978,14 @@ 1978 1978 1979 1979 ((( 1980 1980 (% style="color:blue" %)**Step1**(%%): Log in TTN, Create an ABP device in the application and input the network session key (NETSKEY), app session key (APPSKEY) from the device. 2050 + 2051 + 1981 1981 ))) 1982 1982 1983 1983 ((( 1984 1984 [[image:1653360231087-571.png||height="401" width="727"]] 2056 + 2057 + 1985 1985 ))) 1986 1986 1987 1987 ((( ... ... @@ -1989,8 +1989,11 @@ 1989 1989 ))) 1990 1990 1991 1991 2065 + 1992 1992 ((( 1993 1993 (% style="color:blue" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands: 2068 + 2069 + 1994 1994 ))) 1995 1995 1996 1996 ((( ... ... @@ -2047,6 +2047,8 @@ 2047 2047 2048 2048 2049 2049 = 6. Trouble Shooting = 2126 + 2127 + 2050 2050 ))) 2051 2051 2052 2052 ((( ... ... @@ -2106,6 +2106,9 @@ 2106 2106 * (% style="color:red" %)**IN865**(%%): LT with frequency bands IN865 2107 2107 * (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779 2108 2108 2187 + 2188 + 2189 + 2109 2109 = 8. Packing Info = 2110 2110 2111 2111 ... ... @@ -2123,6 +2123,9 @@ 2123 2123 * Package Size / pcs : 14.5 x 8 x 5 cm 2124 2124 * Weight / pcs : 170g 2125 2125 2207 + 2208 + 2209 + 2126 2126 = 9. Support = 2127 2127 2128 2128