Last modified by Mengting Qiu on 2025/06/04 18:42

From version 223.4
edited by Xiaoling
on 2024/11/27 16:02
Change comment: There is no comment for this version
To version 220.1
edited by Dilisi S
on 2024/11/25 01:59
Change comment: Uploaded new attachment "lt-22222-l-joining.png", version {1}

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.pradeeka
Content
... ... @@ -54,10 +54,8 @@
54 54  (% class="wikigeneratedid" %)
55 55  [[image:lorawan-nw.jpg||height="354" width="900"]]
56 56  
57 -
58 58  == 1.2 Specifications ==
59 59  
60 -
61 61  (% style="color:#037691" %)**Hardware System:**
62 62  
63 63  * STM32L072xxxx MCU
... ... @@ -118,15 +118,13 @@
118 118  
119 119  == 1.5 Hardware Variants ==
120 120  
121 -
122 -(% border="1" cellspacing="3" style="background-color:#f2f2f2;width:510px" %)
123 -|(% style="width:94px;background-color:#4F81BD;color:white" %)**Model**|(% style="width:172px;background-color:#4F81BD;color:white" %)**Photo**|(% style="width:244px;background-color:#4F81BD;color:white" %)**Description**
124 -|(% style="width:94px" %)**LT-22222-L**|(% style="width:172px" %)(((
125 -(% style="text-align:center" %)
126 -[[image:lt33222-l.jpg||height="139" width="120"]]
127 -)))|(% style="width:256px" %)(((
128 -* 3 x Digital Input (Bi-direction)
129 -* 3 x Digital Output
119 +(% style="width:524px" %)
120 +|(% style="width:94px" %)**Model**|(% style="width:98px" %)**Photo**|(% style="width:329px" %)**Description**
121 +|(% style="width:94px" %)**LT33222-L**|(% style="width:98px" %)(((
122 +
123 +)))|(% style="width:329px" %)(((
124 +* 2 x Digital Input (Bi-direction)
125 +* 2 x Digital Output
130 130  * 2 x Relay Output (5A@250VAC / 30VDC)
131 131  * 2 x 0~~20mA Analog Input (res:0.01mA)
132 132  * 2 x 0~~30V Analog Input (res:0.01v)
... ... @@ -603,11 +603,11 @@
603 603  
604 604  (% style="color:blue" %)**AT+SETCNT=3,60 **(%%)**(Sets AVI1 Count to 60)**
605 605  
606 -(% style="color:blue" %)**AT+VOLMAX=20000 **(%%)**(If the AVI1 voltage is higher than VOLMAX (20000mV =20V), the counter increases by 1)**
602 +(% style="color:blue" %)**AT+VOLMAX=20000 **(%%)**(If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
607 607  
608 -(% style="color:blue" %)**AT+VOLMAX=20000,0 **(%%)**(If the AVI1 voltage is lower than VOLMAX (20000mV =20V), counter increases by 1)**
604 +(% style="color:blue" %)**AT+VOLMAX=20000,0 **(%%)**(If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
609 609  
610 -(% style="color:blue" %)**AT+VOLMAX=20000,1 **(%%)**(If the AVI1 voltage is higher than VOLMAX (20000mV =20V), counter increases by 1)**
606 +(% style="color:blue" %)**AT+VOLMAX=20000,1 **(%%)**(If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
611 611  )))
612 612  
613 613  
... ... @@ -726,9 +726,9 @@
726 726  
727 727  (% style="color:#037691" %)**LoRaWAN Downlink Commands for Setting the Trigger Conditions:**
728 728  
729 -**Type Code**: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
725 +Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
730 730  
731 -**Format**: AA xx yy1 yy1 yy2 yy2 yy3 yy3 yy4 yy4
727 +Format: AA xx yy1 yy1 yy2 yy2 yy3 yy3 yy4 yy4
732 732  
733 733   AA: Type Code for this downlink Command:
734 734  
... ... @@ -795,7 +795,7 @@
795 795  
796 796  **Example:**
797 797  
798 -10100000: This means the system is configured to use the triggers AV1_LOW and AV2_LOW.
794 +10100000: Means the system has configure to use the trigger: AV1_LOW and AV2_LOW
799 799  
800 800  
801 801  (% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1 byte as below
... ... @@ -824,7 +824,7 @@
824 824  
825 825  **Example:**
826 826  
827 -10000000: The uplink is triggered by AV1_LOW, indicating that the voltage is too low.
823 +10000000: Means this uplink is triggered by AV1_LOW. That means the voltage is too low.
828 828  
829 829  
830 830  (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
... ... @@ -833,22 +833,22 @@
833 833  |(% style="width:64px" %)**bit 7**|(% style="width:68px" %)**bit 6**|(% style="width:63px" %)**bit 5**|(% style="width:66px" %)**bit 4**|(% style="width:109px" %)**bit 3**|(% style="width:93px" %)**bit 2**|(% style="width:109px" %)**bit 1**|(% style="width:99px" %)**bit 0**
834 834  |(% style="width:64px" %)N/A|(% style="width:68px" %)N/A|(% style="width:63px" %)N/A|(% style="width:66px" %)N/A|(% style="width:109px" %)DI2_STATUS|(% style="width:93px" %)DI2_FLAG|(% style="width:109px" %)DI1_STATUS|(% style="width:99px" %)DI1_FLAG
835 835  
836 -* Each bit shows which status has been triggered on this uplink.
832 +* Each bits shows which status has been triggered on this uplink.
837 837  
838 838  **Example:**
839 839  
840 -00000111: This means both DI1 and DI2 triggers are enabled, and this packet is trigger by DI1.
836 +00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
841 841  
842 -00000101: This means both DI1 and DI2 triggers are enabled.
838 +00000101: Means both DI1 and DI2 trigger are enabled.
843 843  
844 844  
845 -(% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enabled. 0x00: MOD6 is disabled.
841 +(% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable.
846 846  
847 -Downlink command to poll/request MOD6 status:
843 +Downlink command to poll MOD6 status:
848 848  
849 849  **AB 06**
850 850  
851 -When device receives this command, it will send the MOD6 payload.
847 +When device got this command, it will send the MOD6 payload.
852 852  
853 853  
854 854  === 3.3.7 Payload Decoder ===
... ... @@ -972,7 +972,7 @@
972 972  Sets the device to working mode 2 (Double DI Counting + DO + RO)
973 973  )))
974 974  
975 -==== 3.4.2.3 Request an uplink from the device ====
971 +==== 3.4.2.3 Poll an uplink ====
976 976  
977 977  Requests an uplink from LT-22222-L. The content of the uplink payload varies based on the device's current working mode.
978 978  
... ... @@ -1028,9 +1028,9 @@
1028 1028  Enable trigger mode for the current working mode
1029 1029  )))
1030 1030  
1031 -==== 3.4.2.5 Request trigger settings ====
1027 +==== 3.4.2.5 Poll trigger settings ====
1032 1032  
1033 -Requests the trigger settings.
1029 +Polls the trigger settings.
1034 1034  
1035 1035  (% style="color:#037691" %)**AT Command:**
1036 1036  
... ... @@ -1360,23 +1360,25 @@
1360 1360  
1361 1361  * (% style="color:#037691" %)**AT Command**
1362 1362  
1363 -There is no AT command to control the digital output.
1359 +There is no AT Command to control Digital Output
1364 1364  
1365 1365  
1366 1366  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**
1367 1367  
1368 -(% style="color:blue" %)**0xA9 aa bb cc     **(%%) ~/~/ Sets DO1/DO2/DO3 outputs with time control
1364 +(% style="color:blue" %)**0xA9 aa bb cc     **(%%) ~/~/ Set DO1/DO2/DO3 output with time control
1369 1369  
1366 +
1370 1370  This is to control the digital output time of DO pin. Include four bytes:
1371 1371  
1372 -(% style="color:#4f81bd" %)**First byte**(%%)**:** Type code (0xA9)
1369 +(% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9)
1373 1373  
1374 -(% style="color:#4f81bd" %)**Second byte**(%%): Inverter Mode
1371 +(% style="color:#4f81bd" %)**Second Byte**(%%): Inverter Mode
1375 1375  
1376 -**01:** DO pins revert to their original state after the timeout.
1377 -**00:** DO pins switch to an inverted state after the timeout.
1373 +01: DO pins will change back to original state after timeout.
1378 1378  
1375 +00: DO pins will change to an inverter state after timeout 
1379 1379  
1377 +
1380 1380  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Port status:
1381 1381  
1382 1382  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
... ... @@ -1385,7 +1385,7 @@
1385 1385  |0x00|DO1 set to high
1386 1386  |0x11|DO1 NO Action
1387 1387  
1388 -(% style="color:#4f81bd" %)**Fourth byte**(%%): Control Method and Port status:
1386 +(% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Port status:
1389 1389  
1390 1390  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1391 1391  |(% style="background-color:#4f81bd; color:white" %)**Second Byte**|(% style="background-color:#4f81bd; color:white" %)**Status**
... ... @@ -1393,7 +1393,7 @@
1393 1393  |0x00|DO2 set to high
1394 1394  |0x11|DO2 NO Action
1395 1395  
1396 -(% style="color:#4f81bd" %)**Fifth byte**(%%): Control Method and Port status:
1394 +(% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Port status:
1397 1397  
1398 1398  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1399 1399  |(% style="background-color:#4f81bd; color:white" %)**Second Byte**|(% style="background-color:#4f81bd; color:white" %)**Status**
... ... @@ -1401,7 +1401,7 @@
1401 1401  |0x00|DO3 set to high
1402 1402  |0x11|DO3 NO Action
1403 1403  
1404 -(% style="color:#4f81bd" %)**Sixth, Seventh, Eighth, and Ninth bytes**:(%%) Latching time (Unit: ms)
1402 +(% style="color:#4f81bd" %)**Sixth, Seventh, Eighth, and Ninth Bytes**:(%%) Latching time (Unit: ms)
1405 1405  
1406 1406  
1407 1407  (% style="color:red" %)**Note: **
... ... @@ -1410,7 +1410,7 @@
1410 1410  
1411 1411   Before firmware v1.6.0, the latch time only supported 2 bytes.
1412 1412  
1413 -(% style="color:red" %)**The device will uplink a packet if the downlink code executes successfully.**
1411 +(% style="color:red" %)**Device will upload a packet if the downlink code executes successfully.**
1414 1414  
1415 1415  
1416 1416  **Example payload:**
... ... @@ -1437,16 +1437,16 @@
1437 1437  
1438 1438  * (% style="color:#037691" %)**AT Command:**
1439 1439  
1440 -There is no AT Command to control the Relay Output
1438 +There is no AT Command to control Relay Output
1441 1441  
1442 1442  
1443 1443  * (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1444 1444  
1445 -(% style="color:blue" %)**0x03 aa bb     ** (%%)~/~/ Sets RO1/RO2 output
1443 +(% style="color:blue" %)**0x03 aa bb     ** (%%)~/~/ Set RO1/RO2 output
1446 1446  
1447 1447  
1448 1448  (((
1449 -If the payload is 0x030100, it means setting RO1 to close and RO2 to open.
1447 +If payload is 0x030100, it means setting RO1 to close and RO2 to open.
1450 1450  )))
1451 1451  
1452 1452  (((
... ... @@ -1464,7 +1464,7 @@
1464 1464  |03  00  01|Open|Close
1465 1465  )))
1466 1466  
1467 -(% style="color:red" %)**The device will uplink a packet if the downlink code executes successfully.**
1465 +(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1468 1468  
1469 1469  
1470 1470  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
... ... @@ -1473,19 +1473,19 @@
1473 1473  
1474 1474  * (% style="color:#037691" %)**AT Command:**
1475 1475  
1476 -There is no AT Command to control the Relay Output
1474 +There is no AT Command to control Relay Output
1477 1477  
1478 1478  
1479 1479  * (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1480 1480  
1481 -(% style="color:blue" %)**0x05 aa bb cc dd     ** (%%)~/~/ Sets RO1/RO2 relays with time control
1479 +(% style="color:blue" %)**0x05 aa bb cc dd     ** (%%)~/~/ Set RO1/RO2 relay with time control
1482 1482  
1483 1483  
1484 -This controls the relay output time and includes 4 bytes:
1482 +This is to control the relay output time. It includes four bytes:
1485 1485  
1486 -(% style="color:#4f81bd" %)**First byte **(%%)**:** Type code (0x05)
1484 +(% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05)
1487 1487  
1488 -(% style="color:#4f81bd" %)**Second byte (aa)**(%%): Inverter Mode
1486 +(% style="color:#4f81bd" %)**Second Byte(aa)**(%%): Inverter Mode
1489 1489  
1490 1490  01: Relays will change back to their original state after timeout.
1491 1491  
... ... @@ -1492,12 +1492,12 @@
1492 1492  00: Relays will change to the inverter state after timeout.
1493 1493  
1494 1494  
1495 -(% style="color:#4f81bd" %)**Third byte (bb)**(%%): Control Method and Ports status:
1493 +(% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1496 1496  
1497 1497  [[image:image-20221008095908-1.png||height="364" width="564"]]
1498 1498  
1499 1499  
1500 -(% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh bytes (cc)**(%%): Latching time. Unit: ms
1498 +(% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms
1501 1501  
1502 1502  
1503 1503  (% style="color:red" %)**Note:**
... ... @@ -1507,7 +1507,7 @@
1507 1507   Before firmware v1.6.0, the latch time only supported 2 bytes.
1508 1508  
1509 1509  
1510 -(% style="color:red" %)**The device will uplink a packet if the downlink code executes successfully.**
1508 +(% style="color:red" %)**Device will upload a packet if the downlink code executes successfully.**
1511 1511  
1512 1512  
1513 1513  **Example payload:**
... ... @@ -1666,7 +1666,7 @@
1666 1666  )))
1667 1667  |(% style="width:141px" %)**Example**|(% style="width:357px" %)A6 **01**
1668 1668  
1669 -==== 3.4.2.19 Counting ~-~- Set Saving Interval for 'Counting Result' ====
1667 +==== 3.4.2.19 Counting ~-~- Change counting mode to save time ====
1670 1670  
1671 1671  This command allows you to configure the device to save its counting result to internal flash memory at specified intervals. By setting a save time, the device will periodically store the counting data to prevent loss in case of power failure. The save interval can be adjusted to suit your requirements, with a minimum value of 30 seconds.
1672 1672  
... ... @@ -1697,7 +1697,7 @@
1697 1697  Sets the device to save its counting results to the memory every 60 seconds.
1698 1698  )))
1699 1699  
1700 -==== 3.4.2.20 Reset saved RO and DO states ====
1698 +==== 3.4.2.20 Reset save RO DO state ====
1701 1701  
1702 1702  This command allows you to reset the saved relay output (RO) and digital output (DO) states when the device joins the network. By configuring this setting, you can control whether the device should retain or reset the relay states after a reset and rejoin to the network.
1703 1703  
lt33222-l.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.pradeeka
Size
... ... @@ -1,1 +1,0 @@
1 -31.3 KB
Content