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, 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 * ((( ... ... @@ -177,7 +177,7 @@ 177 177 178 178 * LoRaWAN Class A & Class C protocol 179 179 * Optional Customized LoRa Protocol 180 -* Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865 181 +* Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865/MA869 181 181 * AT Commands to change parameters 182 182 * Remote configure parameters via LoRa Downlink 183 183 * Firmware upgradable via program port ... ... @@ -185,8 +185,6 @@ 185 185 186 186 187 187 188 - 189 - 190 190 == 1.4 Applications == 191 191 192 192 ... ... @@ -199,8 +199,6 @@ 199 199 200 200 201 201 202 - 203 - 204 204 == 1.5 Hardware Variants == 205 205 206 206 ... ... @@ -217,7 +217,6 @@ 217 217 218 218 219 219 220 - 221 221 = 2. Power ON Device = 222 222 223 223 ... ... @@ -225,6 +225,8 @@ 225 225 226 226 ((( 227 227 PWR will on when device is properly powered. 224 + 225 + 228 228 ))) 229 229 230 230 [[image:1653297104069-180.png]] ... ... @@ -233,6 +233,7 @@ 233 233 234 234 = 3. Operation Mode = 235 235 234 + 236 236 == 3.1 How it works? == 237 237 238 238 ... ... @@ -310,8 +310,6 @@ 310 310 311 311 312 312 313 - 314 - 315 315 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 316 316 317 317 ... ... @@ -331,7 +331,7 @@ 331 331 * DI is for digital input. DIx=1: high or float, DIx=0: low. 332 332 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 333 333 334 -(% style="color:red" %)Note: DI3 and DO3 bit are not valid for LT-22222-L 331 +(% style="color:red" %)**Note: DI3 and DO3 bit are not valid for LT-22222-L** 335 335 336 336 For example if payload is: [[image:image-20220523175847-2.png]] 337 337 ... ... @@ -351,6 +351,8 @@ 351 351 * [1] RO1 relay channel is close and the RO1 LED is ON. 352 352 * [0] RO2 relay channel is open and RO2 LED is OFF; 353 353 351 + 352 + 354 354 **LT22222-L:** 355 355 356 356 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -367,9 +367,6 @@ 367 367 ** DO1 LED is off in both case 368 368 369 369 370 - 371 - 372 - 373 373 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 374 374 375 375 ... ... @@ -393,7 +393,7 @@ 393 393 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 394 394 395 395 ((( 396 -(% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L. 392 +(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L.** 397 397 ))) 398 398 399 399 ((( ... ... @@ -415,6 +415,8 @@ 415 415 416 416 417 417 (% style="color:#4f81bd" %)**AT Commands for counting:** 414 + 415 + 418 418 ))) 419 419 420 420 ((( ... ... @@ -456,7 +456,7 @@ 456 456 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 457 457 458 458 ((( 459 -(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 457 +(% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.** 460 460 ))) 461 461 462 462 ... ... @@ -500,7 +500,7 @@ 500 500 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 501 501 502 502 ((( 503 -(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 501 +(% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.** 504 504 ))) 505 505 506 506 ((( ... ... @@ -561,7 +561,7 @@ 561 561 ))) 562 562 563 563 ((( 564 -(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 562 +(% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.** 565 565 ))) 566 566 567 567 ((( ... ... @@ -607,6 +607,7 @@ 607 607 608 608 Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> 609 609 608 + 610 610 **Example:** 611 611 612 612 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) ... ... @@ -619,6 +619,7 @@ 619 619 620 620 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> 621 621 621 + 622 622 **Example:** 623 623 624 624 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) ... ... @@ -637,6 +637,7 @@ 637 637 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 638 638 639 639 640 + 640 640 (% style="color:#037691" %)**Downlink Command to set Trigger Condition:** 641 641 642 642 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** ... ... @@ -685,6 +685,7 @@ 685 685 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW 686 686 687 687 689 + 688 688 (% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below 689 689 690 690 [[image:image-20220524090249-3.png]] ... ... @@ -696,6 +696,7 @@ 696 696 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. 697 697 698 698 701 + 699 699 (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below 700 700 701 701 [[image:image-20220524090456-4.png]] ... ... @@ -709,6 +709,7 @@ 709 709 00000101: Means both DI1 and DI2 trigger are enabled. 710 710 711 711 715 + 712 712 (% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable. 713 713 714 714 Downlink command to poll MOD6 status: ... ... @@ -719,12 +719,13 @@ 719 719 720 720 721 721 726 + 722 722 === 3.3.7 Payload Decoder === 723 723 724 724 ((( 725 725 726 726 727 -**Decoder for TTN/loraserver/ChirpStack**: www.dropbox.com/sh/wtrzu7avdtkmn3z/AACK5NwOMkU9jnvf1uCMuqrVa?dl=0>>https://www.dropbox.com/sh/wtrzu7avdtkmn3z/AACK5NwOMkU9jnvf1uCMuqrVa?dl=0]]732 +**Decoder for TTN/loraserver/ChirpStack**: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]] 728 728 ))) 729 729 730 730 ... ... @@ -744,7 +744,6 @@ 744 744 745 745 746 746 747 - 748 748 === 3.4.1 Common Commands === 749 749 750 750 ... ... @@ -807,6 +807,7 @@ 807 807 808 808 **0x08 FF **~/~/ Poll an uplink 809 809 814 + 810 810 **Example**: 0x08FF, ask device to send an Uplink 811 811 812 812 ... ... @@ -895,8 +895,6 @@ 895 895 896 896 897 897 898 - 899 - 900 900 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 901 901 902 902 ... ... @@ -975,7 +975,7 @@ 975 975 ((( 976 976 977 977 978 -(% style="color:red" %)Note: ATDC setting must be more than 5min 981 +(% style="color:red" %)**Note: ATDC setting must be more than 5min** 979 979 ))) 980 980 981 981 ... ... @@ -1003,11 +1003,11 @@ 1003 1003 [[image:image-20220524092754-5.png]] 1004 1004 1005 1005 ((( 1006 -(% style="color:red" %)Note: For LT-22222-L, there is no DO3, the last byte can use any value. 1009 +(% style="color:red" %)**Note: For LT-22222-L, there is no DO3, the last byte can use any value.** 1007 1007 ))) 1008 1008 1009 1009 ((( 1010 -(% style="color:red" %)Device will upload a packet if downlink code executes successfully. 1013 +(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 1011 1011 ))) 1012 1012 1013 1013 ... ... @@ -1052,11 +1052,11 @@ 1052 1052 [[image:image-20220524093351-8.png]] 1053 1053 1054 1054 1055 -(% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 1058 +(% style="color:#4f81bd" %)**Sixth and Seventh and Eighth and Ninth Byte**: 1056 1056 1057 1057 Latching time. Unit: ms 1058 1058 1059 -Device will upload a packet if downlink code executes successfully. 1062 +(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 1060 1060 1061 1061 1062 1062 **Example payload:** ... ... @@ -1105,7 +1105,7 @@ 1105 1105 [[image:image-20220524093724-9.png]] 1106 1106 ))) 1107 1107 1108 -Device will upload a packet if downlink code executes successfully. 1111 +(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 1109 1109 1110 1110 1111 1111 ... ... @@ -1136,12 +1136,12 @@ 1136 1136 1137 1137 (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status: 1138 1138 1139 -[[image:image-2022 0714135731-1.png||height="406" width="627"]]1142 +[[image:image-20221008095908-1.png||height="364" width="564"]] 1140 1140 1141 1141 1142 -(% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms 1145 +(% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms 1143 1143 1144 -Device will upload a packet if downlink code executes successfully. 1147 +(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 1145 1145 1146 1146 1147 1147 **Example payload:** ... ... @@ -1164,7 +1164,6 @@ 1164 1164 1165 1165 1166 1166 1167 - 1168 1168 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1169 1169 1170 1170 ... ... @@ -1237,11 +1237,124 @@ 1237 1237 ((( 1238 1238 range: aa bb cc:0 to 16777215, (unit:second) 1239 1239 1242 + 1243 + 1240 1240 1241 1241 ))) 1242 1242 1247 +==== 3.4.2.20 Reset save DR DO state ==== 1243 1243 1244 1244 1250 +* (% style="color:#037691" %)**AT Command:** 1251 + 1252 +**AT+RODORET=1 **~/~/ RODO will close when the device joining the network. (default) 1253 + 1254 +**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. 1255 + 1256 + 1257 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAD):** 1258 + 1259 +**0x AD aa **~/~/ same as AT+RODORET =aa 1260 + 1261 +((( 1262 + 1263 + 1264 + 1265 + 1266 +==== 3.4.2.21 Encrypted payload ==== 1267 + 1268 + 1269 +* (% style="color:#037691" %)**AT Command:** 1270 + 1271 +**AT+DECRYPT=1 **~/~/ The payload is uploaded without encryption 1272 + 1273 +**AT+DECRYPT=0 **~/~/Encrypt when uploading payload (default) 1274 + 1275 + 1276 + 1277 + 1278 +==== 3.4.2.22 Get sensor value ==== 1279 + 1280 + 1281 +* (% style="color:#037691" %)**AT Command:** 1282 + 1283 +**AT+GETSENSORVALUE=0 **~/~/ The serial port gets the reading of the current sensor 1284 + 1285 +**AT+GETSENSORVALUE=1 **~/~/The serial port gets the current sensor reading and uploads it. 1286 + 1287 + 1288 + 1289 + 1290 +==== 3.4.2.23 Resets the downlink packet count ==== 1291 + 1292 + 1293 +* (% style="color:#037691" %)**AT Command:** 1294 + 1295 +**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) 1296 + 1297 +**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. 1298 + 1299 + 1300 + 1301 + 1302 +==== 3.4.2.24 When the limit bytes are exceeded, upload in batches ==== 1303 + 1304 + 1305 +* (% style="color:#037691" %)**AT Command:** 1306 + 1307 + **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) 1308 + 1309 + **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. 1310 + 1311 + 1312 +* (% style="color:#037691" %)**Downlink Payload **(%%)**:** 1313 + 1314 +**0x21 00 01 ** ~/~/ Set the DISMACANS=1 1315 + 1316 + 1317 + 1318 + 1319 +==== 3.4.2.25 Copy downlink to uplink ==== 1320 + 1321 + 1322 +* (% style="color:#037691" %)**AT Command**(%%)**:** 1323 + 1324 + **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. 1325 + 1326 +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. 1327 + 1328 + 1329 +[[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-20220823173747-6.png?width=1124&height=165&rev=1.1||alt="image-20220823173747-6.png"]] 1330 + 1331 +For example, sending 11 22 33 44 55 66 77 will return invalid configuration 00 11 22 33 44 55 66 77. 1332 + 1333 + 1334 + 1335 +[[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-20220823173833-7.png?width=1124&height=149&rev=1.1||alt="image-20220823173833-7.png"]] 1336 + 1337 +For example, if 01 00 02 58 is issued, a valid configuration of 01 01 00 02 58 will be returned. 1338 + 1339 + 1340 + 1341 +==== 3.4.2.26 Query version number and frequency band 、TDC ==== 1342 + 1343 + 1344 +* ((( 1345 +(% style="color:#037691" %)**Downlink Payload**(%%)**:** 1346 + 1347 +**26 01 ** ~/~/ Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time. 1348 + 1349 + 1350 +))) 1351 + 1352 +**Example:** 1353 + 1354 +[[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"]] 1355 + 1356 + 1357 + 1358 +))) 1359 + 1245 1245 == 3.5 Integrate with Mydevice == 1246 1246 1247 1247 ... ... @@ -1340,10 +1340,10 @@ 1340 1340 ))) 1341 1341 1342 1342 * ((( 1343 -Connect sensor ’s output to DI1-1458 +Connect sensor's output to DI1- 1344 1344 ))) 1345 1345 * ((( 1346 -Connect sensor ’s VCC to DI1+.1461 +Connect sensor's VCC to DI1+. 1347 1347 ))) 1348 1348 1349 1349 ((( ... ... @@ -1351,11 +1351,11 @@ 1351 1351 ))) 1352 1352 1353 1353 ((( 1354 -[[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ 1469 +[[image:1653968155772-850.png||height="23" width="19"]]**= DI1**+** / 1K.** 1355 1355 ))) 1356 1356 1357 1357 ((( 1358 -If 1473 +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. 1359 1359 ))) 1360 1360 1361 1361 ((( ... ... @@ -1373,10 +1373,10 @@ 1373 1373 ))) 1374 1374 1375 1375 * ((( 1376 -Connect sensor ’s output to DI1+1491 +Connect sensor's output to DI1+ 1377 1377 ))) 1378 1378 * ((( 1379 -Connect sensor ’s GND DI1-.1494 +Connect sensor's GND DI1-. 1380 1380 ))) 1381 1381 1382 1382 ((( ... ... @@ -1406,10 +1406,10 @@ 1406 1406 ))) 1407 1407 1408 1408 * ((( 1409 -Connect sensor ’s output to DI1+ with a serial 50K resistor1524 +Connect sensor's output to DI1+ with a serial 50K resistor 1410 1410 ))) 1411 1411 * ((( 1412 -Connect sensor ’s GND DI1-.1527 +Connect sensor's GND DI1-. 1413 1413 ))) 1414 1414 1415 1415 ((( ... ... @@ -1476,6 +1476,7 @@ 1476 1476 1477 1477 [[image:image-20220524100215-9.png]] 1478 1478 1594 + 1479 1479 [[image:image-20220524100215-10.png||height="382" width="723"]] 1480 1480 1481 1481 ... ... @@ -1849,7 +1849,7 @@ 1849 1849 1850 1850 ((( 1851 1851 (% 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]]. 1852 -(% 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/]].1968 +(% 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]]. 1853 1853 (% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update. 1854 1854 1855 1855 ... ... @@ -1905,6 +1905,7 @@ 1905 1905 ((( 1906 1906 Assume we have a LG02 working in the frequency 868400000 now , below is the step. 1907 1907 2024 + 1908 1908 1909 1909 ))) 1910 1910 ))) ... ... @@ -1911,10 +1911,14 @@ 1911 1911 1912 1912 ((( 1913 1913 (% 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. 2031 + 2032 + 1914 1914 ))) 1915 1915 1916 1916 ((( 1917 1917 [[image:1653360231087-571.png||height="401" width="727"]] 2037 + 2038 + 1918 1918 ))) 1919 1919 1920 1920 ((( ... ... @@ -1922,8 +1922,11 @@ 1922 1922 ))) 1923 1923 1924 1924 2046 + 1925 1925 ((( 1926 1926 (% style="color:blue" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands: 2049 + 2050 + 1927 1927 ))) 1928 1928 1929 1929 ((( ... ... @@ -1978,8 +1978,17 @@ 1978 1978 After restart, the status before power failure will be read from flash. 1979 1979 1980 1980 2105 +== 5.7 Can i set up LT-22222-L as a NC(Normal Close) Relay? == 1981 1981 2107 +LT-22222-L built-in relay is NO (Normal Open). User can use an external relay to achieve Normal Close purpose. Diagram as below: 2108 + 2109 +[[image:image-20221006170630-1.png||height="610" width="945"]] 2110 + 2111 + 2112 + 1982 1982 = 6. Trouble Shooting = 2114 + 2115 + 1983 1983 ))) 1984 1984 1985 1985 ((( ... ... @@ -2080,5 +2080,3 @@ 2080 2080 * 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]] 2081 2081 * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]] 2082 2082 * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]] 2083 - 2084 -
- 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