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

From version 223.1
edited by Dilisi S
on 2024/11/26 05:20
Change comment: Nov 25 edits
To version 230.12
edited by Xiaoling
on 2024/12/09 10:15
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.pradeeka
1 +XWiki.Xiaoling
Content
... ... @@ -21,6 +21,7 @@
21 21  
22 22  == 1.1 What is the LT-22222-L I/O Controller? ==
23 23  
24 +
24 24  (((
25 25  (((
26 26  {{info}}
... ... @@ -54,8 +54,10 @@
54 54  (% class="wikigeneratedid" %)
55 55  [[image:lorawan-nw.jpg||height="354" width="900"]]
56 56  
58 +
57 57  == 1.2 Specifications ==
58 58  
61 +
59 59  (% style="color:#037691" %)**Hardware System:**
60 60  
61 61  * STM32L072xxxx MCU
... ... @@ -95,8 +95,11 @@
95 95  * Automatic RF Sense and CAD with ultra-fast AFC.
96 96  * Packet engine up to 256 bytes with CRC.
97 97  
101 +
102 +
98 98  == 1.3 Features ==
99 99  
105 +
100 100  * LoRaWAN Class A & Class C modes
101 101  * Optional Customized LoRa Protocol
102 102  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865/MA869
... ... @@ -105,8 +105,11 @@
105 105  * Firmware upgradable via program port
106 106  * Counting
107 107  
114 +
115 +
108 108  == 1.4 Applications ==
109 109  
118 +
110 110  * Smart buildings & home automation
111 111  * Logistics and supply chain management
112 112  * Smart metering
... ... @@ -114,15 +114,19 @@
114 114  * Smart cities
115 115  * Smart factory
116 116  
126 +
127 +
117 117  == 1.5 Hardware Variants ==
118 118  
119 -(% style="width:650px" %)
120 -|(% style="width:94px" %)**Model**|(% style="width:172px" %)**Photo**|(% style="width:256px" %)**Description**
121 -|(% style="width:94px" %)**LT-33222-L**|(% style="width:172px" %)(((
122 -[[image:lt33222-l.jpg]]
130 +
131 +(% border="1" cellspacing="3" style="width:510px" %)
132 +|(% style="background-color:#4f81bd; color:white; width:94px" %)**Model**|(% style="background-color:#4f81bd; color:white; width:172px" %)**Photo**|(% style="background-color:#4f81bd; color:white; width:244px" %)**Description**
133 +|(% style="width:94px" %)**LT-22222-L**|(% style="width:172px" %)(((
134 +(% style="text-align:center" %)
135 +[[image:lt33222-l.jpg||height="116" width="100"]]
123 123  )))|(% style="width:256px" %)(((
124 -* 3 x Digital Input (Bi-direction)
125 -* 3 x Digital Output
137 +* 2 x Digital Input (Bi-direction)
138 +* 2 x Digital Output
126 126  * 2 x Relay Output (5A@250VAC / 30VDC)
127 127  * 2 x 0~~20mA Analog Input (res:0.01mA)
128 128  * 2 x 0~~30V Analog Input (res:0.01v)
... ... @@ -174,7 +174,7 @@
174 174  The LT-22222-L I/O Controller can be powered by a **7–24V DC** power source. Connect your power supply’s **positive wire** to the **VIN** and the **negative wire** to the **GND** screw terminals. The power indicator **(PWR) LED** will turn on when the device is properly powered.
175 175  
176 176  {{warning}}
177 -**We recommend that you power on the LT-22222-L after configuring its registration information with a LoRaWAN network server. Otherwise, the device will continuously send join-request messages to attempt to join a LoRaWAN network but will fail.**
190 +**We recommend that you power on the LT-22222-L after adding its registration information to the LoRaWAN network server. Otherwise, the device will continuously send join-request messages to attempt to join a LoRaWAN network but will fail.**
178 178  {{/warning}}
179 179  
180 180  
... ... @@ -311,6 +311,12 @@
311 311  [[image:lt-22222-ul-payload-fmt.png]]
312 312  
313 313  
327 +We also have a payload formatter that resolves some decoding issues present in the Device Repository formatter. You can add it under the Custom JavaScript formatter. It can be found [[here>>https://github.com/dragino/dragino-end-node-decoder/blob/main/LT22222-L/v1.6_decoder_ttn%20.txt]]:
328 +
329 +(% class="wikigeneratedid" %)
330 +[[image:lt-22222-l-js-custom-payload-formatter.png]]
331 +
332 +
314 314  ==== 3.2.2.6 Downlinks ====
315 315  
316 316  When the LT-22222-L receives a downlink message from the server, the **RX LED** turns on for **1 second**.
... ... @@ -753,7 +753,7 @@
753 753  
754 754  MOD6 Payload: total of 11 bytes
755 755  
756 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
775 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %)
757 757  |(% style="background-color:#4f81bd; color:white; width:60px" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:69px" %)**1**|(% style="background-color:#4f81bd; color:white; width:69px" %)**1**|(% style="background-color:#4f81bd; color:white; width:109px" %)**1**|(% style="background-color:#4f81bd; color:white; width:49px" %)**6**|(% style="background-color:#4f81bd; color:white; width:109px" %)**1**|(% style="background-color:#4f81bd; color:white; width:50px" %)**1**
758 758  |Value|(((
759 759  TRI_A FLAG
... ... @@ -767,7 +767,7 @@
767 767  
768 768  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if the trigger is set for this part. Totally 1 byte as below
769 769  
770 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
789 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %)
771 771  |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0**
772 772  |(((
773 773  AV1_LOW
... ... @@ -796,7 +796,7 @@
796 796  
797 797  (% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1 byte as below
798 798  
799 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
818 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %)
800 800  |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0**
801 801  |(((
802 802  AV1_LOW
... ... @@ -825,9 +825,9 @@
825 825  
826 826  (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
827 827  
828 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:674px" %)
829 -|(% 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**
830 -|(% 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
847 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %)
848 +|(% style="width:50px" %)**bit 7**|(% style="width:50px" %)**bit 6**|(% style="width:50px" %)**bit 5**|(% style="width:50px" %)**bit 4**|(% style="width:90px" %)**bit 3**|(% style="width:80px" %)**bit 2**|(% style="width:90px" %)**bit 1**|(% style="width:95px" %)**bit 0**
849 +|(% style="width:49px" %)N/A|(% style="width:53px" %)N/A|(% style="width:53px" %)N/A|(% style="width:55px" %)N/A|(% style="width:99px" %)DI2_STATUS|(% style="width:83px" %)DI2_FLAG|(% style="width:98px" %)DI1_STATUS|(% style="width:85px" %)DI1_FLAG
831 831  
832 832  * Each bit shows which status has been triggered on this uplink.
833 833  
... ... @@ -858,6 +858,7 @@
858 858  
859 859  == 3.4 ​Configure LT-22222-L via AT Commands or Downlinks ==
860 860  
880 +
861 861  (((
862 862  You can configure LT-22222-L I/O Controller via AT Commands or LoRaWAN Downlinks.
863 863  )))
... ... @@ -872,19 +872,25 @@
872 872  
873 873  * (% style="color:blue" %)**Sensor-related commands**(%%):
874 874  
895 +
875 875  === 3.4.1 Common commands ===
876 876  
898 +
877 877  (((
878 878  These are available for each sensors and include actions such as changing the uplink interval or resetting the device. For firmware v1.5.4, you can find the supported common commands under: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]s.
901 +
902 +
879 879  )))
880 880  
881 881  === 3.4.2 Sensor-related commands ===
882 882  
907 +
883 883  These commands are specially designed for the LT-22222-L. Commands can be sent to the device using options such as an AT command or a LoRaWAN downlink payload.
884 884  
885 885  
886 886  ==== 3.4.2.1 Set Transmit/Uplink Interval ====
887 887  
913 +
888 888  Sets the uplink interval of the device. The default uplink transmission interval is 10 minutes.
889 889  
890 890  (% style="color:#037691" %)**AT command**
... ... @@ -891,8 +891,15 @@
891 891  
892 892  (% border="2" style="width:500px" %)
893 893  |**Command**|AT+TDC=<time>
894 -|**Response**|
895 -|**Parameters**|**time** : uplink interval is in **milliseconds**
920 +|**Parameters**|**time **: uplink interval in milliseconds
921 +|**Get**|AT+TDC=?
922 +|**Response**|(((
923 +current uplink interval
924 +
925 +OK
926 +)))
927 +|**Set**|AT+TDC=<time>
928 +|**Response**|OK
896 896  |**Example**|(((
897 897  AT+TDC=30000
898 898  
... ... @@ -908,7 +908,7 @@
908 908  |**Parameters**|(((
909 909  **prefix** : 0x01
910 910  
911 -**time** : uplink interval is in **seconds**, represented by **3  bytes** in **hexadecimal**.
944 +**time** : uplink interval in **seconds**, represented by **3  bytes** in **hexadecimal**.
912 912  )))
913 913  |**Example**|(((
914 914  01 **00 00 1E**
... ... @@ -924,13 +924,13 @@
924 924  
925 925  ==== 3.4.2.2 Set the Working Mode (AT+MOD) ====
926 926  
960 +
927 927  Sets the working mode.
928 928  
929 929  (% style="color:#037691" %)**AT command**
930 930  
931 931  (% border="2" style="width:500px" %)
932 -|(% style="width:97px" %)**Command**|(% style="width:413px" %)AT+MODE=<working_mode>
933 -|(% style="width:97px" %)**Response**|(% style="width:413px" %)
966 +|(% style="width:97px" %)**Command**|(% style="width:413px" %)AT+MOD=<working_mode>
934 934  |(% style="width:97px" %)**Parameters**|(% style="width:413px" %)(((
935 935  **working_mode** :
936 936  
... ... @@ -946,6 +946,18 @@
946 946  
947 947  6 = Trigger Mode, Optional, used together with MOD1 ~~ MOD5
948 948  )))
982 +|(% style="width:97px" %)**Get**|(% style="width:413px" %)AT+MOD=?
983 +|(% style="width:97px" %)**Response**|(% style="width:413px" %)(((
984 +Current working mode
985 +
986 +OK
987 +)))
988 +|(% style="width:97px" %)**Set**|(% style="width:413px" %)AT+MOD=<working_mode>
989 +|(% style="width:97px" %)**Response**|(% style="width:413px" %)(((
990 +Attention:Take effect after ATZ
991 +
992 +OK
993 +)))
949 949  |(% style="width:97px" %)**Example**|(% style="width:413px" %)(((
950 950  AT+MOD=2
951 951  
... ... @@ -968,8 +968,10 @@
968 968  Sets the device to working mode 2 (Double DI Counting + DO + RO)
969 969  )))
970 970  
1016 +
971 971  ==== 3.4.2.3 Request an uplink from the device ====
972 972  
1019 +
973 973  Requests an uplink from LT-22222-L. The content of the uplink payload varies based on the device's current working mode.
974 974  
975 975  (% style="color:#037691" %)**AT command**
... ... @@ -987,8 +987,10 @@
987 987  Requests an uplink from LT-22222-L.
988 988  )))
989 989  
1037 +
990 990  ==== 3.4.2.4 Enable/Disable Trigger Mode ====
991 991  
1040 +
992 992  Enable or disable the trigger mode for the current working mode (see also [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]).
993 993  
994 994  (% style="color:#037691" %)**AT Command**
... ... @@ -1024,8 +1024,10 @@
1024 1024  Enable trigger mode for the current working mode
1025 1025  )))
1026 1026  
1076 +
1027 1027  ==== 3.4.2.5 Request trigger settings ====
1028 1028  
1079 +
1029 1029  Requests the trigger settings.
1030 1030  
1031 1031  (% style="color:#037691" %)**AT Command:**
... ... @@ -1043,8 +1043,10 @@
1043 1043  Uplinks the trigger settings.
1044 1044  )))
1045 1045  
1097 +
1046 1046  ==== 3.4.2.6 Enable/Disable DI1/DI2/DI3 as a trigger ====
1047 1047  
1100 +
1048 1048  Enable or disable DI1/DI2/DI3 as a trigger.
1049 1049  
1050 1050  (% style="color:#037691" %)**AT Command**
... ... @@ -1097,11 +1097,12 @@
1097 1097  Enable DI1 trigger, disable DI2 trigger
1098 1098  )))
1099 1099  
1153 +
1100 1100  ==== 3.4.2.7 Trigger1 – Set DI or DI3 as a trigger ====
1101 1101  
1156 +
1102 1102  Sets DI1 or DI3 (for LT-33222-L) as a trigger.
1103 1103  
1104 -
1105 1105  (% style="color:#037691" %)**AT Command**
1106 1106  
1107 1107  (% border="2" style="width:500px" %)
... ... @@ -1136,11 +1136,12 @@
1136 1136  Set the DI1 port to trigger on a rising edge; the valid signal duration is 100 ms.
1137 1137  )))
1138 1138  
1193 +
1139 1139  ==== 3.4.2.8 Trigger2 – Set DI2 as a trigger ====
1140 1140  
1196 +
1141 1141  Sets DI2 as a trigger.
1142 1142  
1143 -
1144 1144  (% style="color:#037691" %)**AT Command**
1145 1145  
1146 1146  (% border="2" style="width:500px" %)
... ... @@ -1170,8 +1170,10 @@
1170 1170  )))
1171 1171  |(% style="width:96px" %)**Example**|(% style="width:402px" %)09 02 **00 00 64**
1172 1172  
1228 +
1173 1173  ==== 3.4.2.9 Trigger – Set AC (current) as a trigger ====
1174 1174  
1231 +
1175 1175  Sets the current trigger based on the AC port. See also [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1176 1176  
1177 1177  (% style="color:#037691" %)**AT Command**
... ... @@ -1219,8 +1219,10 @@
1219 1219  )))
1220 1220  |(% style="width:104px" %)Note|(% style="width:394px" %)See also, [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1221 1221  
1279 +
1222 1222  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
1223 1223  
1282 +
1224 1224  Sets the current trigger based on the AV port. See also [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1225 1225  
1226 1226  (% style="color:#037691" %)**AT Command**
... ... @@ -1266,8 +1266,10 @@
1266 1266  )))
1267 1267  |(% style="width:104px" %)**Note**|(% style="width:394px" %)See also, [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1268 1268  
1328 +
1269 1269  ==== 3.4.2.11 Trigger – Set minimum interval ====
1270 1270  
1331 +
1271 1271  Sets the AV and AC trigger minimum interval. The device won't respond to a second trigger within this set time after the first trigger.
1272 1272  
1273 1273  (% style="color:#037691" %)**AT Command**
... ... @@ -1301,8 +1301,10 @@
1301 1301  )))
1302 1302  |(% style="width:112px" %)Note|(% style="width:386px" %)(% style="color:red" %)**The time must be greater than 5 minutes.**
1303 1303  
1365 +
1304 1304  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
1305 1305  
1368 +
1306 1306  Controls the digital outputs DO1, DO2, and DO3
1307 1307  
1308 1308  (% style="color:#037691" %)**AT Command**
... ... @@ -1333,11 +1333,11 @@
1333 1333  (((
1334 1334  01: Low,  00: High,  11: No action
1335 1335  
1336 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1337 -|(% style="background-color:#4f81bd; color:white" %)**Downlink Code**|(% style="background-color:#4f81bd; color:white" %)**DO1**|(% style="background-color:#4f81bd; color:white" %)**DO2**|(% style="background-color:#4f81bd; color:white" %)**DO3**
1338 -|02  01  00  11|Low|High|No Action
1339 -|02  00  11  01|High|No Action|Low
1340 -|02  11  01  00|No Action|Low|High
1399 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:383px" %)
1400 +|(% style="background-color:#4f81bd; color:white; width:126px" %)**Downlink Code**|(% style="background-color:#4f81bd; color:white; width:85px" %)**DO1**|(% style="background-color:#4f81bd; color:white; width:86px" %)**DO2**|(% style="background-color:#4f81bd; color:white; width:86px" %)**DO3**
1401 +|(% style="width:126px" %)02  01  00  11|(% style="width:85px" %)Low|(% style="width:86px" %)High|(% style="width:86px" %)No Action
1402 +|(% style="width:126px" %)02  00  11  01|(% style="width:85px" %)High|(% style="width:86px" %)No Action|(% style="width:86px" %)Low
1403 +|(% style="width:126px" %)02  11  01  00|(% style="width:85px" %)No Action|(% style="width:86px" %)Low|(% style="width:86px" %)High
1341 1341  )))
1342 1342  
1343 1343  (((
... ... @@ -1351,6 +1351,7 @@
1351 1351  )))
1352 1352  )))
1353 1353  
1417 +
1354 1354  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1355 1355  
1356 1356  
... ... @@ -1465,6 +1465,7 @@
1465 1465  
1466 1466  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1467 1467  
1532 +
1468 1468  Controls the relay output time.
1469 1469  
1470 1470  * (% style="color:#037691" %)**AT Command:**
... ... @@ -1662,8 +1662,10 @@
1662 1662  )))
1663 1663  |(% style="width:141px" %)**Example**|(% style="width:357px" %)A6 **01**
1664 1664  
1730 +
1665 1665  ==== 3.4.2.19 Counting ~-~- Set Saving Interval for 'Counting Result' ====
1666 1666  
1733 +
1667 1667  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.
1668 1668  
1669 1669  (% style="color:#037691" %)**AT Command**
... ... @@ -1693,8 +1693,10 @@
1693 1693  Sets the device to save its counting results to the memory every 60 seconds.
1694 1694  )))
1695 1695  
1763 +
1696 1696  ==== 3.4.2.20 Reset saved RO and DO states ====
1697 1697  
1766 +
1698 1698  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.
1699 1699  
1700 1700  (% style="color:#037691" %)**AT Command**
... ... @@ -1742,8 +1742,10 @@
1742 1742  After the device is reset, the previously saved RODO state (limited to MOD2 to MOD5) is read, and it will not change when the device reconnects to the network.
1743 1743  )))
1744 1744  
1814 +
1745 1745  ==== 3.4.2.21 Encrypted payload ====
1746 1746  
1817 +
1747 1747  This command allows you to configure whether the device should upload data in an encrypted format or in plaintext. By default, the device encrypts the payload before uploading. You can toggle this setting to either upload encrypted data or transmit it without encryption.
1748 1748  
1749 1749  (% style="color:#037691" %)**AT Command:**
... ... @@ -1773,6 +1773,7 @@
1773 1773  
1774 1774  ==== 3.4.2.22 Get sensor value ====
1775 1775  
1847 +
1776 1776  This command allows you to retrieve and optionally uplink sensor readings through the serial port.
1777 1777  
1778 1778  (% style="color:#037691" %)**AT Command**
... ... @@ -1802,6 +1802,7 @@
1802 1802  
1803 1803  ==== 3.4.2.23 Resetting the downlink packet count ====
1804 1804  
1877 +
1805 1805  This command manages how the node handles mismatched downlink packet counts. It offers two modes: one disables the reception of further downlink packets if discrepancies occur, while the other resets the downlink packet count to align with the server, ensuring continued communication.
1806 1806  
1807 1807  (% style="color:#037691" %)**AT Command**
... ... @@ -1878,45 +1878,36 @@
1878 1878  Set DISMACANS=1
1879 1879  )))
1880 1880  
1954 +
1881 1881  ==== 3.4.2.25 Copy downlink to uplink ====
1882 1882  
1883 -This command enables the device to immediately uplink the content of a received downlink packet back to the server. The command allows for quick data replication from downlink to uplink, with a fixed port number of 100.
1884 1884  
1885 -* (% style="color:#037691" %)**AT Command**(%%)**:**
1958 +This command enables the device to immediately uplink the payload of a received downlink packet back to the server. The command allows for quick data replication from downlink to uplink, with a fixed port number of 100.
1886 1886  
1887 -(% style="color:blue" %)**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.
1960 +(% style="color:#037691" %)**AT Command**(%%)**:**
1888 1888  
1889 -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.
1962 +(% style="color:blue" %)**AT+RPL=5**   (%%) ~/~/ After receiving a downlink payload from the server, the device will immediately uplink the payload back to the server using port number 100.
1890 1890  
1964 +Example:**aa xx xx xx xx**         ~/~/ **aa** indicates whether the configuration has changed: **00** means YES, and **01** means NO. **xx xx xx xx** are the bytes uplinked back.
1891 1891  
1966 +
1892 1892  [[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"]]
1893 1893  
1894 1894  For example, sending 11 22 33 44 55 66 77 will return invalid configuration 00 11 22 33 44 55 66 77.
1895 1895  
1896 -(% border="2" style="width:500px" %)
1897 -|(% style="width:122px" %)**Command**|(% style="width:376px" %)(((
1898 -AT+RPL=5
1899 -
1900 -After receiving a downlink packet from the server, the node immediately uplinks the content of the packet back to the server using port number 100.
1901 -)))
1902 -|(% style="width:122px" %)**Example**|(% style="width:376px" %)(((
1903 -Downlink:
1904 -
1905 -01 00 02 58
1906 -
1907 -Uplink:
1908 -
1909 -01 01 00 02 58
1910 -)))
1911 -
1912 1912  [[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"]]
1913 1913  
1914 1914  For example, if 01 00 02 58 is issued, a valid configuration of 01 01 00 02 58 will be returned.
1915 1915  
1916 1916  
1976 +(% style="color:#037691" %)**Downlink Payload**(%%)**:**
1917 1917  
1978 +There is no downlink option available for this feature.
1979 +
1980 +
1918 1918  ==== 3.4.2.26 Query firmware version, frequency band, sub band, and TDC time ====
1919 1919  
1983 +
1920 1920  This command is used to query key information about the device, including its firmware version, frequency band, sub band, and TDC time. By sending the specified payload as a downlink, the server can retrieve this essential data from the device.
1921 1921  
1922 1922  * (((
... ... @@ -1935,10 +1935,13 @@
1935 1935  
1936 1936  == 3.5 Integrating with ThingsEye.io ==
1937 1937  
2002 +
1938 1938  The Things Stack application supports integration with ThingsEye.io. Once integrated, ThingsEye.io acts as an MQTT client for The Things Stack MQTT broker, allowing it to subscribe to upstream traffic and publish downlink traffic.
1939 1939  
2005 +
1940 1940  === 3.5.1 Configuring The Things Stack ===
1941 1941  
2008 +
1942 1942  We use The Things Stack Sandbox in this example:
1943 1943  
1944 1944  * In **The Things Stack Sandbox**, go to the **Application **for the LT-22222-L you added.
... ... @@ -1952,8 +1952,10 @@
1952 1952  
1953 1953  [[image:tts-mqtt-integration.png]]
1954 1954  
2022 +
1955 1955  === 3.5.2 Configuring ThingsEye.io ===
1956 1956  
2025 +
1957 1957  The ThingsEye.io IoT platform is not open for self-registration at the moment. If you are interested in testing the platform, please send your project information to admin@thingseye.io, and we will create an account for you.
1958 1958  
1959 1959  * Login to your [[ThingsEye.io >>https://thingseye.io]]account.
... ... @@ -2023,6 +2023,7 @@
2023 2023  
2024 2024  ==== 3.5.2.1 Viewing integration details ====
2025 2025  
2095 +
2026 2026  Click on your integration from the list. The **Integration details** window will appear with the **Details **tab selected. The **Details **tab shows all the settings you have provided for this integration.
2027 2027  
2028 2028  [[image:integration-details.png]]
... ... @@ -2034,8 +2034,10 @@
2034 2034  See also [[ThingsEye documentation>>https://wiki.thingseye.io/xwiki/bin/view/Main/]].
2035 2035  {{/info}}
2036 2036  
2037 -==== **3.5.2.2 Viewing events** ====
2038 2038  
2108 +==== 3.5.2.2 Viewing events ====
2109 +
2110 +
2039 2039  The **Events **tab displays all the uplink messages from the LT-22222-L.
2040 2040  
2041 2041  * Select **Debug **from the **Event type** dropdown.
... ... @@ -2049,13 +2049,15 @@
2049 2049  [[image:thingseye-json.png]]
2050 2050  
2051 2051  
2052 -==== **3.5.2.3 Deleting an integration** ====
2124 +==== 3.5.2.3 Deleting an integration ====
2053 2053  
2126 +
2054 2054  If you want to delete an integration, click the **Delete integratio**n button on the Integrations page.
2055 2055  
2056 2056  
2057 2057  ==== 3.5.2.4 Creating a Dashboard to Display and Analyze LT-22222-L Data ====
2058 2058  
2132 +
2059 2059  This will be added soon.
2060 2060  
2061 2061  
... ... @@ -2272,6 +2272,7 @@
2272 2272  
2273 2273  == 3.7 LED Indicators ==
2274 2274  
2349 +
2275 2275  The table below lists the behavior of LED indicators for each port function.
2276 2276  
2277 2277  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
... ... @@ -2302,12 +2302,16 @@
2302 2302  |**RO1**|For LT-22222-L: ON when RO1 is closed, OFF when RO1 is open
2303 2303  |**RO2**|For LT-22222-L: ON when RO2 is closed, OFF when RO2 is open
2304 2304  
2380 +
2305 2305  = 4. Using AT Commands =
2306 2306  
2383 +
2307 2307  The LT-22222-L supports programming using AT Commands.
2308 2308  
2386 +
2309 2309  == 4.1 Connecting the LT-22222-L to a PC ==
2310 2310  
2389 +
2311 2311  (((
2312 2312  You can use a USB-to-TTL adapter/converter along with a 3.5mm Program Cable to connect the LT-22222-L to a PC, as shown below.
2313 2313  
... ... @@ -2327,7 +2327,10 @@
2327 2327  (((
2328 2328  You can find more details in the [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]]
2329 2329  
2409 +
2330 2330  == 4.2 LT-22222-L related AT commands ==
2411 +
2412 +
2331 2331  )))
2332 2332  
2333 2333  (((
... ... @@ -2524,16 +2524,19 @@
2524 2524  
2525 2525  == 5.1 Counting how many objects pass through the flow line ==
2526 2526  
2609 +
2527 2527  See [[How to set up to setup counting for objects passing through the flow line>>How to set up to count objects pass in flow line]]?
2528 2528  
2529 2529  
2530 2530  = 6. FAQ =
2531 2531  
2615 +
2532 2532  This section contains some frequently asked questions, which can help you resolve common issues and find solutions quickly.
2533 2533  
2534 2534  
2535 2535  == 6.1 How to update the firmware? ==
2536 2536  
2621 +
2537 2537  Dragino frequently releases firmware updates for the LT-22222-L. Updating your LT-22222-L with the latest firmware version helps to:
2538 2538  
2539 2539  * Support new features
... ... @@ -2586,6 +2586,8 @@
2586 2586  (((
2587 2587  (((
2588 2588  == 6.2 How to change the LoRaWAN frequency band/region? ==
2674 +
2675 +
2589 2589  )))
2590 2590  )))
2591 2591  
... ... @@ -2597,6 +2597,8 @@
2597 2597  
2598 2598  
2599 2599  == 6.3 How to setup LT-22222-L to work with a Single Channel Gateway, such as LG01/LG02? ==
2687 +
2688 +
2600 2600  )))
2601 2601  
2602 2602  (((
... ... @@ -2670,11 +2670,13 @@
2670 2670  
2671 2671  == 6.4 How to change the uplink interval? ==
2672 2672  
2762 +
2673 2673  Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/]]
2674 2674  
2675 2675  
2676 2676  == 6.5 Can I see the counting event in the serial output? ==
2677 2677  
2768 +
2678 2678  (((
2679 2679  You can run the AT command **AT+DEBUG** to view the counting event in the serial output. If the firmware is too old and doesn’t support AT+DEBUG, update to the latest firmware first.
2680 2680  
... ... @@ -2681,6 +2681,7 @@
2681 2681  
2682 2682  == 6.6 Can I use point-to-point communication with LT-22222-L? ==
2683 2683  
2775 +
2684 2684  Yes, you can. Please refer to the [[Point-to-Point Communication of LT-22222-L>>https://wiki.dragino.com/xwiki/bin/view/Main/%20Point%20to%20Point%20Communication%20of%20LT-22222-L/]] page. The firmware that supports point-to-point communication can be found [[here>>https://github.com/dragino/LT-22222-L/releases]].
2685 2685  
2686 2686  
... ... @@ -2689,13 +2689,16 @@
2689 2689  (((
2690 2690  == 6.7 Why does the relay output default to an open relay after the LT-22222-L is powered off? ==
2691 2691  
2784 +
2692 2692  * If the device is not properly shut down and is directly powered off.
2693 2693  * It will default to a power-off state.
2694 2694  * In modes 2 to 5, the DO/RO status and pulse count are saved to flash memory.
2695 2695  * After a restart, the status before the power failure will be read from flash.
2696 2696  
2790 +
2697 2697  == 6.8 Can I setup LT-22222-L as a NC (Normally Closed) relay? ==
2698 2698  
2793 +
2699 2699  The LT-22222-L's built-in relay is Normally Open (NO). You can use an external relay to achieve a Normally Closed (NC) configuration. The circuit diagram is shown below:
2700 2700  
2701 2701  
... ... @@ -2704,16 +2704,19 @@
2704 2704  
2705 2705  == 6.9 Can the LT-22222-L save the RO state? ==
2706 2706  
2802 +
2707 2707  To enable this feature, the firmware version must be 1.6.0 or higher.
2708 2708  
2709 2709  
2710 2710  == 6.10 Why does the LT-22222-L always report 15.585V when measuring the AVI? ==
2711 2711  
2808 +
2712 2712  It is likely that the GND is not connected during the measurement, or that the wire connected to the GND is loose.
2713 2713  
2714 2714  
2715 2715  = 7. Troubleshooting =
2716 2716  
2814 +
2717 2717  This section provides some known troubleshooting tips.
2718 2718  
2719 2719  
... ... @@ -2722,6 +2722,8 @@
2722 2722  (((
2723 2723  (((
2724 2724  == 7.1 Downlink isn't working. How can I solve this? ==
2823 +
2824 +
2725 2725  )))
2726 2726  )))
2727 2727  
... ... @@ -2733,6 +2733,8 @@
2733 2733  
2734 2734  
2735 2735  == 7.2 Having trouble uploading an image? ==
2836 +
2837 +
2736 2736  )))
2737 2737  
2738 2738  (((
... ... @@ -2743,6 +2743,8 @@
2743 2743  
2744 2744  
2745 2745  == 7.3 Why can't I join TTN in the US915 /AU915 bands? ==
2848 +
2849 +
2746 2746  )))
2747 2747  
2748 2748  (((
... ... @@ -2752,6 +2752,7 @@
2752 2752  
2753 2753  == 7.4 Why can the LT-22222-L perform uplink normally, but cannot receive downlink? ==
2754 2754  
2859 +
2755 2755  The FCD count of the gateway is inconsistent with the FCD count of the node, causing the downlink to remain in the queue.
2756 2756  Use this command to synchronize their counts: [[Resets the downlink packet count>>||anchor="H3.4.2.23Resetsthedownlinkpacketcount"]]
2757 2757  
... ... @@ -2758,6 +2758,7 @@
2758 2758  
2759 2759  = 8. Ordering information =
2760 2760  
2866 +
2761 2761  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
2762 2762  
2763 2763  (% style="color:#4f81bd" %)**XXX:**
... ... @@ -2772,8 +2772,11 @@
2772 2772  * (% style="color:red" %)**IN865**(%%): LT with frequency bands IN865
2773 2773  * (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779
2774 2774  
2881 +
2882 +
2775 2775  = 9. Package information =
2776 2776  
2885 +
2777 2777  **Package includes**:
2778 2778  
2779 2779  * 1 x LT-22222-L I/O Controller
... ... @@ -2788,8 +2788,11 @@
2788 2788  * Package Size / pcs : 14.5 x 8 x 5 cm
2789 2789  * Weight / pcs : 170 g
2790 2790  
2900 +
2901 +
2791 2791  = 10. Support =
2792 2792  
2904 +
2793 2793  * (((
2794 2794  Support is available Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different time zones, we cannot offer live support. However, your questions will be answered as soon as possible within the aforementioned schedule.
2795 2795  )))
... ... @@ -2801,6 +2801,7 @@
2801 2801  
2802 2802  = 11. Reference​​​​​ =
2803 2803  
2916 +
2804 2804  * 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]]
2805 2805  * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]]
2806 2806  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
Screenshot 2024-12-08 193946.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.pradeeka
Size
... ... @@ -1,0 +1,1 @@
1 +32.4 KB
Content
lt-22222-l-js-custom-payload-formatter.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.pradeeka
Size
... ... @@ -1,0 +1,1 @@
1 +453.9 KB
Content