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:
Uploaded new attachment "image-20221008095908-1.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- 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 * ((( ... ... @@ -183,6 +183,8 @@ 183 183 * Firmware upgradable via program port 184 184 * Counting 185 185 187 + 188 + 186 186 == 1.4 Applications == 187 187 188 188 ... ... @@ -193,6 +193,8 @@ 193 193 * Smart Cities 194 194 * Smart Factory 195 195 199 + 200 + 196 196 == 1.5 Hardware Variants == 197 197 198 198 ... ... @@ -207,6 +207,8 @@ 207 207 * 1 x Counting Port 208 208 ))) 209 209 215 + 216 + 210 210 = 2. Power ON Device = 211 211 212 212 ... ... @@ -214,6 +214,8 @@ 214 214 215 215 ((( 216 216 PWR will on when device is properly powered. 224 + 225 + 217 217 ))) 218 218 219 219 [[image:1653297104069-180.png]] ... ... @@ -222,6 +222,7 @@ 222 222 223 223 = 3. Operation Mode = 224 224 234 + 225 225 == 3.1 How it works? == 226 226 227 227 ... ... @@ -297,6 +297,8 @@ 297 297 * (% style="color:blue" %)**MOD5**(%%): Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 298 298 * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5 299 299 310 + 311 + 300 300 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 301 301 302 302 ... ... @@ -316,8 +316,9 @@ 316 316 * DI is for digital input. DIx=1: high or float, DIx=0: low. 317 317 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 318 318 319 -(% style="color:red" %)Note: DI3 and DO3 bit are not valid for LT-22222-L 320 320 332 +(% style="color:red" %)**Note: DI3 and DO3 bit are not valid for LT-22222-L** 333 + 321 321 For example if payload is: [[image:image-20220523175847-2.png]] 322 322 323 323 ... ... @@ -336,6 +336,7 @@ 336 336 * [1] RO1 relay channel is close and the RO1 LED is ON. 337 337 * [0] RO2 relay channel is open and RO2 LED is OFF; 338 338 352 + 339 339 **LT22222-L:** 340 340 341 341 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -351,6 +351,9 @@ 351 351 ** DO1 is high in case there is load between DO1 and V+. 352 352 ** DO1 LED is off in both case 353 353 368 + 369 + 370 + 354 354 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 355 355 356 356 ... ... @@ -374,7 +374,7 @@ 374 374 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 375 375 376 376 ((( 377 -(% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L. 394 +(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L.** 378 378 ))) 379 379 380 380 ((( ... ... @@ -396,6 +396,8 @@ 396 396 397 397 398 398 (% style="color:#4f81bd" %)**AT Commands for counting:** 416 + 417 + 399 399 ))) 400 400 401 401 ((( ... ... @@ -437,7 +437,7 @@ 437 437 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 438 438 439 439 ((( 440 -(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 459 +(% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.** 441 441 ))) 442 442 443 443 ... ... @@ -481,7 +481,7 @@ 481 481 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 482 482 483 483 ((( 484 -(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 503 +(% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.** 485 485 ))) 486 486 487 487 ((( ... ... @@ -542,7 +542,7 @@ 542 542 ))) 543 543 544 544 ((( 545 -(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 564 +(% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.** 546 546 ))) 547 547 548 548 ((( ... ... @@ -576,11 +576,14 @@ 576 576 * **AT+MOD=1 ** **~-~->** The normal working mode 577 577 * **AT+ADDMOD6=1** **~-~->** Enable trigger 578 578 598 + 579 579 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 580 580 581 581 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 582 582 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.** 583 583 604 + 605 + 584 584 (% style="color:#037691" %)**AT Command to set Trigger Condition**: 585 585 586 586 ... ... @@ -588,6 +588,7 @@ 588 588 589 589 Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> 590 590 613 + 591 591 **Example:** 592 592 593 593 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) ... ... @@ -600,6 +600,7 @@ 600 600 601 601 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> 602 602 626 + 603 603 **Example:** 604 604 605 605 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) ... ... @@ -618,6 +618,7 @@ 618 618 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 619 619 620 620 645 + 621 621 (% style="color:#037691" %)**Downlink Command to set Trigger Condition:** 622 622 623 623 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** ... ... @@ -661,11 +661,13 @@ 661 661 662 662 * Each bits shows if the corresponding trigger has been configured. 663 663 689 + 664 664 **Example:** 665 665 666 666 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW 667 667 668 668 695 + 669 669 (% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below 670 670 671 671 [[image:image-20220524090249-3.png]] ... ... @@ -672,11 +672,13 @@ 672 672 673 673 * Each bits shows which status has been trigger on this uplink. 674 674 702 + 675 675 **Example:** 676 676 677 677 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. 678 678 679 679 708 + 680 680 (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below 681 681 682 682 [[image:image-20220524090456-4.png]] ... ... @@ -683,6 +683,7 @@ 683 683 684 684 * Each bits shows which status has been trigger on this uplink. 685 685 715 + 686 686 **Example:** 687 687 688 688 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -690,6 +690,7 @@ 690 690 00000101: Means both DI1 and DI2 trigger are enabled. 691 691 692 692 723 + 693 693 (% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable. 694 694 695 695 Downlink command to poll MOD6 status: ... ... @@ -700,6 +700,7 @@ 700 700 701 701 702 702 734 + 703 703 === 3.3.7 Payload Decoder === 704 704 705 705 ((( ... ... @@ -723,6 +723,8 @@ 723 723 724 724 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 725 725 758 + 759 + 726 726 === 3.4.1 Common Commands === 727 727 728 728 ... ... @@ -785,6 +785,7 @@ 785 785 786 786 **0x08 FF **~/~/ Poll an uplink 787 787 822 + 788 788 **Example**: 0x08FF, ask device to send an Uplink 789 789 790 790 ... ... @@ -871,6 +871,8 @@ 871 871 * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):** 872 872 * **0x09 01 aa bb cc ** ~/~/ same as AT+TRIG1=aa,0x(bb cc) 873 873 909 + 910 + 874 874 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 875 875 876 876 ... ... @@ -949,7 +949,7 @@ 949 949 ((( 950 950 951 951 952 -(% style="color:red" %)Note: ATDC setting must be more than 5min 989 +(% style="color:red" %)**Note: ATDC setting must be more than 5min** 953 953 ))) 954 954 955 955 ... ... @@ -977,11 +977,11 @@ 977 977 [[image:image-20220524092754-5.png]] 978 978 979 979 ((( 980 -(% style="color:red" %)Note: For LT-22222-L, there is no DO3, the last byte can use any value. 1017 +(% style="color:red" %)**Note: For LT-22222-L, there is no DO3, the last byte can use any value.** 981 981 ))) 982 982 983 983 ((( 984 -(% style="color:red" %)Device will upload a packet if downlink code executes successfully. 1021 +(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 985 985 ))) 986 986 987 987 ... ... @@ -1030,7 +1030,7 @@ 1030 1030 1031 1031 Latching time. Unit: ms 1032 1032 1033 -(% style="color:red" %)Device will upload a packet if downlink code executes successfully. 1070 +(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 1034 1034 1035 1035 1036 1036 **Example payload:** ... ... @@ -1079,7 +1079,7 @@ 1079 1079 [[image:image-20220524093724-9.png]] 1080 1080 ))) 1081 1081 1082 -(% style="color:red" %)Device will upload a packet if downlink code executes successfully. 1119 +(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 1083 1083 1084 1084 1085 1085 ... ... @@ -1115,7 +1115,7 @@ 1115 1115 1116 1116 (% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms 1117 1117 1118 -(% style="color:red" %)Device will upload a packet if downlink code executes successfully. 1155 +(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 1119 1119 1120 1120 1121 1121 **Example payload:** ... ... @@ -1138,7 +1138,6 @@ 1138 1138 1139 1139 1140 1140 1141 - 1142 1142 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1143 1143 1144 1144 ... ... @@ -1211,11 +1211,14 @@ 1211 1211 ((( 1212 1212 range: aa bb cc:0 to 16777215, (unit:second) 1213 1213 1250 + 1251 + 1214 1214 1215 1215 ))) 1216 1216 1217 1217 ==== 3.4.2.20 Reset save DR DO state ==== 1218 1218 1257 + 1219 1219 * (% style="color:#037691" %)**AT Command:** 1220 1220 1221 1221 **AT+RODORET=1 **~/~/ RODO will close when the device joining the network. (default) ... ... @@ -1230,8 +1230,11 @@ 1230 1230 ((( 1231 1231 1232 1232 1272 + 1273 + 1233 1233 ==== 3.4.2.21 Encrypted payload ==== 1234 1234 1276 + 1235 1235 * (% style="color:#037691" %)**AT Command:** 1236 1236 1237 1237 **AT+DECRYPT=1 **~/~/ The payload is uploaded without encryption ... ... @@ -1239,8 +1239,11 @@ 1239 1239 **AT+DECRYPT=0 **~/~/Encrypt when uploading payload (default) 1240 1240 1241 1241 1284 + 1285 + 1242 1242 ==== 3.4.2.22 Get sensor value ==== 1243 1243 1288 + 1244 1244 * (% style="color:#037691" %)**AT Command:** 1245 1245 1246 1246 **AT+GETSENSORVALUE=0 **~/~/ The serial port gets the reading of the current sensor ... ... @@ -1248,8 +1248,11 @@ 1248 1248 **AT+GETSENSORVALUE=1 **~/~/The serial port gets the current sensor reading and uploads it. 1249 1249 1250 1250 1296 + 1297 + 1251 1251 ==== 3.4.2.23 Resets the downlink packet count ==== 1252 1252 1300 + 1253 1253 * (% style="color:#037691" %)**AT Command:** 1254 1254 1255 1255 **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) ... ... @@ -1257,8 +1257,11 @@ 1257 1257 **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. 1258 1258 1259 1259 1308 + 1309 + 1260 1260 ==== 3.4.2.24 When the limit bytes are exceeded, upload in batches ==== 1261 1261 1312 + 1262 1262 * (% style="color:#037691" %)**AT Command:** 1263 1263 1264 1264 **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) ... ... @@ -1270,8 +1270,12 @@ 1270 1270 1271 1271 **0x21 00 01 ** ~/~/ Set the DISMACANS=1 1272 1272 1324 + 1325 + 1326 + 1273 1273 ==== 3.4.2.25 Copy downlink to uplink ==== 1274 1274 1329 + 1275 1275 * (% style="color:#037691" %)**AT Command**(%%)**:** 1276 1276 1277 1277 **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. ... ... @@ -1290,11 +1290,16 @@ 1290 1290 1291 1291 ==== 3.4.2.26 Query version number and frequency band 、TDC ==== 1292 1292 1348 + 1293 1293 * ((( 1294 -(% style="color:#037691" %)**Downlink Payload**(%%)**: 26 01 ** ~/~/ Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time. 1350 +(% style="color:#037691" %)**Downlink Payload**(%%)**:** 1351 + 1352 +**26 01 ** ~/~/ Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time. 1353 + 1354 + 1295 1295 ))) 1296 1296 1297 -Example: 1357 +**Example:** 1298 1298 1299 1299 [[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"]] 1300 1300 ... ... @@ -1400,10 +1400,10 @@ 1400 1400 ))) 1401 1401 1402 1402 * ((( 1403 -Connect sensor ’s output to DI1-1463 +Connect sensor's output to DI1- 1404 1404 ))) 1405 1405 * ((( 1406 -Connect sensor ’s VCC to DI1+.1466 +Connect sensor's VCC to DI1+. 1407 1407 ))) 1408 1408 1409 1409 ((( ... ... @@ -1411,11 +1411,11 @@ 1411 1411 ))) 1412 1412 1413 1413 ((( 1414 -[[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ 1474 +[[image:1653968155772-850.png||height="23" width="19"]]**= DI1**+** / 1K.** 1415 1415 ))) 1416 1416 1417 1417 ((( 1418 -If 1478 +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. 1419 1419 ))) 1420 1420 1421 1421 ((( ... ... @@ -1433,10 +1433,10 @@ 1433 1433 ))) 1434 1434 1435 1435 * ((( 1436 -Connect sensor ’s output to DI1+1496 +Connect sensor's output to DI1+ 1437 1437 ))) 1438 1438 * ((( 1439 -Connect sensor ’s GND DI1-.1499 +Connect sensor's GND DI1-. 1440 1440 ))) 1441 1441 1442 1442 ((( ... ... @@ -1466,10 +1466,10 @@ 1466 1466 ))) 1467 1467 1468 1468 * ((( 1469 -Connect sensor ’s output to DI1+ with a serial 50K resistor1529 +Connect sensor's output to DI1+ with a serial 50K resistor 1470 1470 ))) 1471 1471 * ((( 1472 -Connect sensor ’s GND DI1-.1532 +Connect sensor's GND DI1-. 1473 1473 ))) 1474 1474 1475 1475 ((( ... ... @@ -1536,6 +1536,7 @@ 1536 1536 1537 1537 [[image:image-20220524100215-9.png]] 1538 1538 1599 + 1539 1539 [[image:image-20220524100215-10.png||height="382" width="723"]] 1540 1540 1541 1541 ... ... @@ -1909,7 +1909,7 @@ 1909 1909 1910 1910 ((( 1911 1911 (% 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]]. 1912 -(% 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/]].1973 +(% 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]]. 1913 1913 (% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update. 1914 1914 1915 1915 ... ... @@ -1965,6 +1965,7 @@ 1965 1965 ((( 1966 1966 Assume we have a LG02 working in the frequency 868400000 now , below is the step. 1967 1967 2029 + 1968 1968 1969 1969 ))) 1970 1970 ))) ... ... @@ -1971,10 +1971,14 @@ 1971 1971 1972 1972 ((( 1973 1973 (% 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. 2036 + 2037 + 1974 1974 ))) 1975 1975 1976 1976 ((( 1977 1977 [[image:1653360231087-571.png||height="401" width="727"]] 2042 + 2043 + 1978 1978 ))) 1979 1979 1980 1980 ((( ... ... @@ -1982,8 +1982,11 @@ 1982 1982 ))) 1983 1983 1984 1984 2051 + 1985 1985 ((( 1986 1986 (% style="color:blue" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands: 2054 + 2055 + 1987 1987 ))) 1988 1988 1989 1989 ((( ... ... @@ -2038,8 +2038,18 @@ 2038 2038 After restart, the status before power failure will be read from flash. 2039 2039 2040 2040 2110 +== 5.7 Can i set up LT-22222-L as a NC(Normal Close) Relay? == 2041 2041 2112 +LT-22222-L built-in relay is NO (Normal Open). User can use an external relay to achieve Normal Close purpose. Diagram as below: 2113 + 2114 +[[image:image-20221006170630-1.png||height="610" width="945"]] 2115 + 2116 + 2117 + 2118 + 2042 2042 = 6. Trouble Shooting = 2120 + 2121 + 2043 2043 ))) 2044 2044 2045 2045 ((( ... ... @@ -2099,6 +2099,8 @@ 2099 2099 * (% style="color:red" %)**IN865**(%%): LT with frequency bands IN865 2100 2100 * (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779 2101 2101 2181 + 2182 + 2102 2102 = 8. Packing Info = 2103 2103 2104 2104 ... ... @@ -2116,6 +2116,8 @@ 2116 2116 * Package Size / pcs : 14.5 x 8 x 5 cm 2117 2117 * Weight / pcs : 170g 2118 2118 2200 + 2201 + 2119 2119 = 9. Support = 2120 2120 2121 2121 ... ... @@ -2137,4 +2137,3 @@ 2137 2137 * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]] 2138 2138 * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]] 2139 2139 2140 -
- image-20221006170630-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +486.5 KB - Content
- image-20221008095908-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +41.8 KB - Content