<
From version < 92.1 >
edited by Bei Jinggeng
on 2022/08/24 15:31
To version < 98.1 >
edited by Edwin Chen
on 2022/10/06 17:06
>
Change comment: Uploaded new attachment "image-20221006170630-1.png", version {1}

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +XWiki.Edwin
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  * (((
... ... @@ -185,6 +185,7 @@
185 185  
186 186  
187 187  
189 +
188 188  == 1.4  Applications ==
189 189  
190 190  
... ... @@ -197,6 +197,7 @@
197 197  
198 198  
199 199  
202 +
200 200  == 1.5 Hardware Variants ==
201 201  
202 202  
... ... @@ -212,6 +212,8 @@
212 212  )))
213 213  
214 214  
218 +
219 +
215 215  = 2. Power ON Device =
216 216  
217 217  
... ... @@ -219,6 +219,8 @@
219 219  
220 220  (((
221 221  PWR will on when device is properly powered.
227 +
228 +
222 222  )))
223 223  
224 224  [[image:1653297104069-180.png]]
... ... @@ -227,6 +227,7 @@
227 227  
228 228  = 3. Operation Mode =
229 229  
237 +
230 230  == 3.1 How it works? ==
231 231  
232 232  
... ... @@ -304,6 +304,7 @@
304 304  
305 305  
306 306  
315 +
307 307  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
308 308  
309 309  
... ... @@ -323,8 +323,10 @@
323 323  * DI is for digital input. DIx=1: high or float, DIx=0: low.
324 324  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
325 325  
326 -(% style="color:red" %)Note: DI3 and DO3 bit are not valid for LT-22222-L
327 327  
336 +
337 +(% style="color:red" %)**Note: DI3 and DO3 bit are not valid for LT-22222-L**
338 +
328 328  For example if payload is: [[image:image-20220523175847-2.png]]
329 329  
330 330  
... ... @@ -343,6 +343,8 @@
343 343  * [1] RO1 relay channel is close and the RO1 LED is ON.
344 344  * [0] RO2 relay channel is open and RO2 LED is OFF;
345 345  
357 +
358 +
346 346  **LT22222-L:**
347 347  
348 348  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -360,6 +360,8 @@
360 360  
361 361  
362 362  
376 +
377 +
363 363  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
364 364  
365 365  
... ... @@ -383,7 +383,7 @@
383 383  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
384 384  
385 385  (((
386 -(% 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.**
387 387  )))
388 388  
389 389  (((
... ... @@ -405,6 +405,8 @@
405 405  
406 406  
407 407  (% style="color:#4f81bd" %)**AT Commands for counting:**
423 +
424 +
408 408  )))
409 409  
410 410  (((
... ... @@ -446,7 +446,7 @@
446 446  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
447 447  
448 448  (((
449 -(% 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.**
450 450  )))
451 451  
452 452  
... ... @@ -490,7 +490,7 @@
490 490  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
491 491  
492 492  (((
493 -(% 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.**
494 494  )))
495 495  
496 496  (((
... ... @@ -551,7 +551,7 @@
551 551  )))
552 552  
553 553  (((
554 -(% 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.**
555 555  )))
556 556  
557 557  (((
... ... @@ -585,11 +585,16 @@
585 585  * **AT+MOD=1 ** **~-~->**  The normal working mode
586 586  * **AT+ADDMOD6=1**   **~-~->**  Enable trigger
587 587  
605 +
606 +
588 588  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
589 589  
590 590  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
591 591  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.**
592 592  
612 +
613 +
614 +
593 593  (% style="color:#037691" %)**AT Command to set Trigger Condition**:
594 594  
595 595  
... ... @@ -597,6 +597,7 @@
597 597  
598 598  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
599 599  
622 +
600 600  **Example:**
601 601  
602 602  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)
... ... @@ -609,6 +609,7 @@
609 609  
610 610  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
611 611  
635 +
612 612  **Example:**
613 613  
614 614  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
... ... @@ -627,6 +627,7 @@
627 627  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
628 628  
629 629  
654 +
630 630  (% style="color:#037691" %)**Downlink Command to set Trigger Condition:**
631 631  
632 632  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
... ... @@ -670,11 +670,14 @@
670 670  
671 671  * Each bits shows if the corresponding trigger has been configured.
672 672  
698 +
699 +
673 673  **Example:**
674 674  
675 675  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
676 676  
677 677  
705 +
678 678  (% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below
679 679  
680 680  [[image:image-20220524090249-3.png]]
... ... @@ -681,11 +681,14 @@
681 681  
682 682  * Each bits shows which status has been trigger on this uplink.
683 683  
712 +
713 +
684 684  **Example:**
685 685  
686 686  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
687 687  
688 688  
719 +
689 689  (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
690 690  
691 691  [[image:image-20220524090456-4.png]]
... ... @@ -692,6 +692,8 @@
692 692  
693 693  * Each bits shows which status has been trigger on this uplink.
694 694  
726 +
727 +
695 695  **Example:**
696 696  
697 697  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
... ... @@ -699,6 +699,7 @@
699 699  00000101: Means both DI1 and DI2 trigger are enabled.
700 700  
701 701  
735 +
702 702  (% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable.
703 703  
704 704  Downlink command to poll MOD6 status:
... ... @@ -709,6 +709,7 @@
709 709  
710 710  
711 711  
746 +
712 712  === 3.3.7 Payload Decoder ===
713 713  
714 714  (((
... ... @@ -733,6 +733,8 @@
733 733  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
734 734  
735 735  
771 +
772 +
736 736  === 3.4.1 Common Commands ===
737 737  
738 738  
... ... @@ -795,6 +795,7 @@
795 795  
796 796  **0x08 FF     **~/~/ Poll an uplink
797 797  
835 +
798 798  **Example**: 0x08FF, ask device to send an Uplink
799 799  
800 800  
... ... @@ -883,6 +883,7 @@
883 883  
884 884  
885 885  
924 +
886 886  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
887 887  
888 888  
... ... @@ -961,7 +961,7 @@
961 961  (((
962 962  
963 963  
964 -(% style="color:red" %)Note: ATDC setting must be more than 5min
1003 +(% style="color:red" %)**Note: ATDC setting must be more than 5min**
965 965  )))
966 966  
967 967  
... ... @@ -989,11 +989,11 @@
989 989  [[image:image-20220524092754-5.png]]
990 990  
991 991  (((
992 -(% 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.**
993 993  )))
994 994  
995 995  (((
996 -(% 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.**
997 997  )))
998 998  
999 999  
... ... @@ -1038,11 +1038,11 @@
1038 1038  [[image:image-20220524093351-8.png]]
1039 1039  
1040 1040  
1041 -(% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1080 +(% style="color:#4f81bd" %)**Sixth and Seventh and Eighth and Ninth Byte**:
1042 1042  
1043 1043   Latching time. Unit: ms
1044 1044  
1045 -Device will upload a packet if downlink code executes successfully.
1084 +(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1046 1046  
1047 1047  
1048 1048  **Example payload:**
... ... @@ -1091,7 +1091,7 @@
1091 1091  [[image:image-20220524093724-9.png]]
1092 1092  )))
1093 1093  
1094 -Device will upload a packet if downlink code executes successfully.
1133 +(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1095 1095  
1096 1096  
1097 1097  
... ... @@ -1125,9 +1125,9 @@
1125 1125  [[image:image-20220714135731-1.png||height="406" width="627"]]
1126 1126  
1127 1127  
1128 -(% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1167 +(% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms
1129 1129  
1130 -Device will upload a packet if downlink code executes successfully.
1169 +(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1131 1131  
1132 1132  
1133 1133  **Example payload:**
... ... @@ -1150,7 +1150,6 @@
1150 1150  
1151 1151  
1152 1152  
1153 -
1154 1154  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1155 1155  
1156 1156  
... ... @@ -1223,11 +1223,14 @@
1223 1223  (((
1224 1224  range: aa bb cc:0 to 16777215,  (unit:second)
1225 1225  
1264 +
1265 +
1226 1226  
1227 1227  )))
1228 1228  
1229 1229  ==== 3.4.2.20 Reset save DR DO state ====
1230 1230  
1271 +
1231 1231  * (% style="color:#037691" %)**AT Command:**
1232 1232  
1233 1233  **AT+RODORET=1  **~/~/ RODO will close when the device joining the network. (default)
... ... @@ -1242,8 +1242,11 @@
1242 1242  (((
1243 1243  
1244 1244  
1286 +
1287 +
1245 1245  ==== 3.4.2.21 Encrypted payload ====
1246 1246  
1290 +
1247 1247  * (% style="color:#037691" %)**AT Command:**
1248 1248  
1249 1249  **AT+DECRYPT=1  **~/~/ The payload is uploaded without encryption
... ... @@ -1251,8 +1251,11 @@
1251 1251  **AT+DECRYPT=0  **~/~/Encrypt when uploading payload (default)
1252 1252  
1253 1253  
1298 +
1299 +
1254 1254  ==== 3.4.2.22 Get sensor value ====
1255 1255  
1302 +
1256 1256  * (% style="color:#037691" %)**AT Command:**
1257 1257  
1258 1258  **AT+GETSENSORVALUE=0  **~/~/ The serial port gets the reading of the current sensor
... ... @@ -1260,8 +1260,11 @@
1260 1260  **AT+GETSENSORVALUE=1  **~/~/The serial port gets the current sensor reading and uploads it.
1261 1261  
1262 1262  
1310 +
1311 +
1263 1263  ==== 3.4.2.23 Resets the downlink packet count ====
1264 1264  
1314 +
1265 1265  * (% style="color:#037691" %)**AT Command:**
1266 1266  
1267 1267  **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)
... ... @@ -1269,8 +1269,11 @@
1269 1269  **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.
1270 1270  
1271 1271  
1322 +
1323 +
1272 1272  ==== 3.4.2.24 When the limit bytes are exceeded, upload in batches ====
1273 1273  
1326 +
1274 1274  * (% style="color:#037691" %)**AT Command:**
1275 1275  
1276 1276   **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)
... ... @@ -1282,8 +1282,12 @@
1282 1282  
1283 1283  **0x21 00 01 ** ~/~/ Set  the DISMACANS=1
1284 1284  
1338 +
1339 +
1340 +
1285 1285  ==== 3.4.2.25 Copy downlink to uplink ====
1286 1286  
1343 +
1287 1287  * (% style="color:#037691" %)**AT Command**(%%)**:**
1288 1288  
1289 1289   **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.
... ... @@ -1302,11 +1302,16 @@
1302 1302  
1303 1303  ==== 3.4.2.26 Query version number and frequency band 、TDC ====
1304 1304  
1362 +
1305 1305  * (((
1306 -(% 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 +
1307 1307  )))
1308 1308  
1309 -Example:
1371 +**Example:**
1310 1310  
1311 1311  [[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"]]
1312 1312  
... ... @@ -1412,10 +1412,10 @@
1412 1412  )))
1413 1413  
1414 1414  * (((
1415 -Connect sensors output to DI1-
1477 +Connect sensor's output to DI1-
1416 1416  )))
1417 1417  * (((
1418 -Connect sensors VCC to DI1+.
1480 +Connect sensor's VCC to DI1+.
1419 1419  )))
1420 1420  
1421 1421  (((
... ... @@ -1423,11 +1423,11 @@
1423 1423  )))
1424 1424  
1425 1425  (((
1426 -[[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 1K.**
1488 +[[image:1653968155772-850.png||height="23" width="19"]]**= DI1**+** / 1K.**
1427 1427  )))
1428 1428  
1429 1429  (((
1430 -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.
1431 1431  )))
1432 1432  
1433 1433  (((
... ... @@ -1445,10 +1445,10 @@
1445 1445  )))
1446 1446  
1447 1447  * (((
1448 -Connect sensors output to DI1+
1510 +Connect sensor's output to DI1+
1449 1449  )))
1450 1450  * (((
1451 -Connect sensors GND DI1-.
1513 +Connect sensor's GND DI1-.
1452 1452  )))
1453 1453  
1454 1454  (((
... ... @@ -1478,10 +1478,10 @@
1478 1478  )))
1479 1479  
1480 1480  * (((
1481 -Connect sensors output to DI1+ with a serial 50K resistor
1543 +Connect sensor's output to DI1+ with a serial 50K resistor
1482 1482  )))
1483 1483  * (((
1484 -Connect sensors GND DI1-.
1546 +Connect sensor's GND DI1-.
1485 1485  )))
1486 1486  
1487 1487  (((
... ... @@ -1548,6 +1548,7 @@
1548 1548  
1549 1549  [[image:image-20220524100215-9.png]]
1550 1550  
1613 +
1551 1551  [[image:image-20220524100215-10.png||height="382" width="723"]]
1552 1552  
1553 1553  
... ... @@ -1921,7 +1921,7 @@
1921 1921  
1922 1922  (((
1923 1923  (% 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]].
1924 -(% 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/]].
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]].
1925 1925  (% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update.
1926 1926  
1927 1927  
... ... @@ -1977,6 +1977,7 @@
1977 1977  (((
1978 1978  Assume we have a LG02 working in the frequency 868400000 now , below is the step.
1979 1979  
2043 +
1980 1980  
1981 1981  )))
1982 1982  )))
... ... @@ -1983,10 +1983,14 @@
1983 1983  
1984 1984  (((
1985 1985  (% 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 +
1986 1986  )))
1987 1987  
1988 1988  (((
1989 1989  [[image:1653360231087-571.png||height="401" width="727"]]
2056 +
2057 +
1990 1990  )))
1991 1991  
1992 1992  (((
... ... @@ -1994,8 +1994,11 @@
1994 1994  )))
1995 1995  
1996 1996  
2065 +
1997 1997  (((
1998 1998  (% style="color:blue" %)**Step2**(%%)**:  **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
2068 +
2069 +
1999 1999  )))
2000 2000  
2001 2001  (((
... ... @@ -2052,6 +2052,8 @@
2052 2052  
2053 2053  
2054 2054  = 6. Trouble Shooting =
2126 +
2127 +
2055 2055  )))
2056 2056  
2057 2057  (((
... ... @@ -2111,6 +2111,9 @@
2111 2111  * (% style="color:red" %)**IN865**(%%):  LT with frequency bands IN865
2112 2112  * (% style="color:red" %)**CN779**(%%):  LT with frequency bands CN779
2113 2113  
2187 +
2188 +
2189 +
2114 2114  = 8. Packing Info =
2115 2115  
2116 2116  
... ... @@ -2128,6 +2128,9 @@
2128 2128  * Package Size / pcs : 14.5 x 8 x 5 cm
2129 2129  * Weight / pcs : 170g
2130 2130  
2207 +
2208 +
2209 +
2131 2131  = 9. Support =
2132 2132  
2133 2133  
image-20221006170630-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +486.5 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0