Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Mengting Qiu on 2025/06/04 18:42
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. pradeeka1 +XWiki.Xiaoling - Content
-
... ... @@ -125,8 +125,8 @@ 125 125 (% style="text-align:center" %) 126 126 [[image:lt33222-l.jpg||height="116" width="100"]] 127 127 )))|(% style="width:256px" %)((( 128 -* 3x Digital Input (Bi-direction)129 -* 3x Digital Output128 +* 2 x Digital Input (Bi-direction) 129 +* 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) ... ... @@ -763,7 +763,7 @@ 763 763 764 764 MOD6 Payload: total of 11 bytes 765 765 766 -(% border="1" cellspacing=" 4" style="background-color:#f2f2f2; width:515px" %)766 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %) 767 767 |(% 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** 768 768 |Value|((( 769 769 TRI_A FLAG ... ... @@ -777,7 +777,7 @@ 777 777 778 778 (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if the trigger is set for this part. Totally 1 byte as below 779 779 780 -(% border="1" cellspacing=" 4" style="background-color:#f2f2f2; width:515px" %)780 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %) 781 781 |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** 782 782 |((( 783 783 AV1_LOW ... ... @@ -806,7 +806,7 @@ 806 806 807 807 (% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1 byte as below 808 808 809 -(% border="1" cellspacing=" 4" style="background-color:#f2f2f2; width:515px" %)809 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %) 810 810 |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** 811 811 |((( 812 812 AV1_LOW ... ... @@ -835,9 +835,9 @@ 835 835 836 836 (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below 837 837 838 -(% border="1" cellspacing=" 4" style="background-color:#f2f2f2; width:674px" %)839 -|(% 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**840 -|(% 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_FLAG838 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %) 839 +|(% 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** 840 +|(% 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 841 841 842 842 * Each bit shows which status has been triggered on this uplink. 843 843 ... ... @@ -868,6 +868,7 @@ 868 868 869 869 == 3.4 Configure LT-22222-L via AT Commands or Downlinks == 870 870 871 + 871 871 ((( 872 872 You can configure LT-22222-L I/O Controller via AT Commands or LoRaWAN Downlinks. 873 873 ))) ... ... @@ -882,19 +882,25 @@ 882 882 883 883 * (% style="color:blue" %)**Sensor-related commands**(%%): 884 884 886 + 885 885 === 3.4.1 Common commands === 886 886 889 + 887 887 ((( 888 888 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. 892 + 893 + 889 889 ))) 890 890 891 891 === 3.4.2 Sensor-related commands === 892 892 898 + 893 893 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. 894 894 895 895 896 896 ==== 3.4.2.1 Set Transmit/Uplink Interval ==== 897 897 904 + 898 898 Sets the uplink interval of the device. The default uplink transmission interval is 10 minutes. 899 899 900 900 (% style="color:#037691" %)**AT command** ... ... @@ -901,8 +901,15 @@ 901 901 902 902 (% border="2" style="width:500px" %) 903 903 |**Command**|AT+TDC=<time> 904 -|**Response**| 905 -|**Parameters**|**time** : uplink interval is in **milliseconds** 911 +|**Parameters**|**time **: uplink interval in milliseconds 912 +|**Get**|AT+TDC=? 913 +|**Response**|((( 914 +current uplink interval 915 + 916 +OK 917 +))) 918 +|**Set**|AT+TDC=<time> 919 +|**Response**|OK 906 906 |**Example**|((( 907 907 AT+TDC=30000 908 908 ... ... @@ -918,7 +918,7 @@ 918 918 |**Parameters**|((( 919 919 **prefix** : 0x01 920 920 921 -**time** : uplink interval i s in **seconds**, represented by **3 bytes** in **hexadecimal**.935 +**time** : uplink interval in **seconds**, represented by **3 bytes** in **hexadecimal**. 922 922 ))) 923 923 |**Example**|((( 924 924 01 **00 00 1E** ... ... @@ -934,13 +934,13 @@ 934 934 935 935 ==== 3.4.2.2 Set the Working Mode (AT+MOD) ==== 936 936 951 + 937 937 Sets the working mode. 938 938 939 939 (% style="color:#037691" %)**AT command** 940 940 941 941 (% border="2" style="width:500px" %) 942 -|(% style="width:97px" %)**Command**|(% style="width:413px" %)AT+MODE=<working_mode> 943 -|(% style="width:97px" %)**Response**|(% style="width:413px" %) 957 +|(% style="width:97px" %)**Command**|(% style="width:413px" %)AT+MOD=<working_mode> 944 944 |(% style="width:97px" %)**Parameters**|(% style="width:413px" %)((( 945 945 **working_mode** : 946 946 ... ... @@ -956,6 +956,18 @@ 956 956 957 957 6 = Trigger Mode, Optional, used together with MOD1 ~~ MOD5 958 958 ))) 973 +|(% style="width:97px" %)**Get**|(% style="width:413px" %)AT+MOD=? 974 +|(% style="width:97px" %)**Response**|(% style="width:413px" %)((( 975 +Current working mode 976 + 977 +OK 978 +))) 979 +|(% style="width:97px" %)**Set**|(% style="width:413px" %)AT+MOD=<working_mode> 980 +|(% style="width:97px" %)**Response**|(% style="width:413px" %)((( 981 +Attention:Take effect after ATZ 982 + 983 +OK 984 +))) 959 959 |(% style="width:97px" %)**Example**|(% style="width:413px" %)((( 960 960 AT+MOD=2 961 961 ... ... @@ -978,8 +978,10 @@ 978 978 Sets the device to working mode 2 (Double DI Counting + DO + RO) 979 979 ))) 980 980 1007 + 981 981 ==== 3.4.2.3 Request an uplink from the device ==== 982 982 1010 + 983 983 Requests an uplink from LT-22222-L. The content of the uplink payload varies based on the device's current working mode. 984 984 985 985 (% style="color:#037691" %)**AT command** ... ... @@ -997,8 +997,10 @@ 997 997 Requests an uplink from LT-22222-L. 998 998 ))) 999 999 1028 + 1000 1000 ==== 3.4.2.4 Enable/Disable Trigger Mode ==== 1001 1001 1031 + 1002 1002 Enable or disable the trigger mode for the current working mode (see also [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]). 1003 1003 1004 1004 (% style="color:#037691" %)**AT Command** ... ... @@ -1034,8 +1034,10 @@ 1034 1034 Enable trigger mode for the current working mode 1035 1035 ))) 1036 1036 1067 + 1037 1037 ==== 3.4.2.5 Request trigger settings ==== 1038 1038 1070 + 1039 1039 Requests the trigger settings. 1040 1040 1041 1041 (% style="color:#037691" %)**AT Command:** ... ... @@ -1053,8 +1053,10 @@ 1053 1053 Uplinks the trigger settings. 1054 1054 ))) 1055 1055 1088 + 1056 1056 ==== 3.4.2.6 Enable/Disable DI1/DI2/DI3 as a trigger ==== 1057 1057 1091 + 1058 1058 Enable or disable DI1/DI2/DI3 as a trigger. 1059 1059 1060 1060 (% style="color:#037691" %)**AT Command** ... ... @@ -1107,11 +1107,12 @@ 1107 1107 Enable DI1 trigger, disable DI2 trigger 1108 1108 ))) 1109 1109 1144 + 1110 1110 ==== 3.4.2.7 Trigger1 – Set DI or DI3 as a trigger ==== 1111 1111 1147 + 1112 1112 Sets DI1 or DI3 (for LT-33222-L) as a trigger. 1113 1113 1114 - 1115 1115 (% style="color:#037691" %)**AT Command** 1116 1116 1117 1117 (% border="2" style="width:500px" %) ... ... @@ -1146,11 +1146,12 @@ 1146 1146 Set the DI1 port to trigger on a rising edge; the valid signal duration is 100 ms. 1147 1147 ))) 1148 1148 1184 + 1149 1149 ==== 3.4.2.8 Trigger2 – Set DI2 as a trigger ==== 1150 1150 1187 + 1151 1151 Sets DI2 as a trigger. 1152 1152 1153 - 1154 1154 (% style="color:#037691" %)**AT Command** 1155 1155 1156 1156 (% border="2" style="width:500px" %) ... ... @@ -1180,8 +1180,10 @@ 1180 1180 ))) 1181 1181 |(% style="width:96px" %)**Example**|(% style="width:402px" %)09 02 **00 00 64** 1182 1182 1219 + 1183 1183 ==== 3.4.2.9 Trigger – Set AC (current) as a trigger ==== 1184 1184 1222 + 1185 1185 Sets the current trigger based on the AC port. See also [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1186 1186 1187 1187 (% style="color:#037691" %)**AT Command** ... ... @@ -1229,8 +1229,10 @@ 1229 1229 ))) 1230 1230 |(% style="width:104px" %)Note|(% style="width:394px" %)See also, [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1231 1231 1270 + 1232 1232 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 1233 1233 1273 + 1234 1234 Sets the current trigger based on the AV port. See also [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1235 1235 1236 1236 (% style="color:#037691" %)**AT Command** ... ... @@ -1276,8 +1276,10 @@ 1276 1276 ))) 1277 1277 |(% style="width:104px" %)**Note**|(% style="width:394px" %)See also, [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1278 1278 1319 + 1279 1279 ==== 3.4.2.11 Trigger – Set minimum interval ==== 1280 1280 1322 + 1281 1281 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. 1282 1282 1283 1283 (% style="color:#037691" %)**AT Command** ... ... @@ -1311,8 +1311,10 @@ 1311 1311 ))) 1312 1312 |(% style="width:112px" %)Note|(% style="width:386px" %)(% style="color:red" %)**The time must be greater than 5 minutes.** 1313 1313 1356 + 1314 1314 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 1315 1315 1359 + 1316 1316 Controls the digital outputs DO1, DO2, and DO3 1317 1317 1318 1318 (% style="color:#037691" %)**AT Command** ... ... @@ -1361,6 +1361,7 @@ 1361 1361 ))) 1362 1362 ))) 1363 1363 1408 + 1364 1364 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 1365 1365 1366 1366 ... ... @@ -1475,6 +1475,7 @@ 1475 1475 1476 1476 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1477 1477 1523 + 1478 1478 Controls the relay output time. 1479 1479 1480 1480 * (% style="color:#037691" %)**AT Command:** ... ... @@ -1672,8 +1672,10 @@ 1672 1672 ))) 1673 1673 |(% style="width:141px" %)**Example**|(% style="width:357px" %)A6 **01** 1674 1674 1721 + 1675 1675 ==== 3.4.2.19 Counting ~-~- Set Saving Interval for 'Counting Result' ==== 1676 1676 1724 + 1677 1677 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. 1678 1678 1679 1679 (% style="color:#037691" %)**AT Command** ... ... @@ -1703,8 +1703,10 @@ 1703 1703 Sets the device to save its counting results to the memory every 60 seconds. 1704 1704 ))) 1705 1705 1754 + 1706 1706 ==== 3.4.2.20 Reset saved RO and DO states ==== 1707 1707 1757 + 1708 1708 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. 1709 1709 1710 1710 (% style="color:#037691" %)**AT Command** ... ... @@ -1752,8 +1752,10 @@ 1752 1752 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. 1753 1753 ))) 1754 1754 1805 + 1755 1755 ==== 3.4.2.21 Encrypted payload ==== 1756 1756 1808 + 1757 1757 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. 1758 1758 1759 1759 (% style="color:#037691" %)**AT Command:** ... ... @@ -1783,6 +1783,7 @@ 1783 1783 1784 1784 ==== 3.4.2.22 Get sensor value ==== 1785 1785 1838 + 1786 1786 This command allows you to retrieve and optionally uplink sensor readings through the serial port. 1787 1787 1788 1788 (% style="color:#037691" %)**AT Command** ... ... @@ -1812,6 +1812,7 @@ 1812 1812 1813 1813 ==== 3.4.2.23 Resetting the downlink packet count ==== 1814 1814 1868 + 1815 1815 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. 1816 1816 1817 1817 (% style="color:#037691" %)**AT Command** ... ... @@ -1888,8 +1888,10 @@ 1888 1888 Set DISMACANS=1 1889 1889 ))) 1890 1890 1945 + 1891 1891 ==== 3.4.2.25 Copy downlink to uplink ==== 1892 1892 1948 + 1893 1893 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. 1894 1894 1895 1895 (% style="color:#037691" %)**AT Command**(%%)**:** ... ... @@ -1915,6 +1915,7 @@ 1915 1915 1916 1916 ==== 3.4.2.26 Query firmware version, frequency band, sub band, and TDC time ==== 1917 1917 1974 + 1918 1918 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. 1919 1919 1920 1920 * ((( ... ... @@ -1933,10 +1933,13 @@ 1933 1933 1934 1934 == 3.5 Integrating with ThingsEye.io == 1935 1935 1993 + 1936 1936 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. 1937 1937 1996 + 1938 1938 === 3.5.1 Configuring The Things Stack === 1939 1939 1999 + 1940 1940 We use The Things Stack Sandbox in this example: 1941 1941 1942 1942 * In **The Things Stack Sandbox**, go to the **Application **for the LT-22222-L you added. ... ... @@ -1950,8 +1950,10 @@ 1950 1950 1951 1951 [[image:tts-mqtt-integration.png]] 1952 1952 2013 + 1953 1953 === 3.5.2 Configuring ThingsEye.io === 1954 1954 2016 + 1955 1955 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. 1956 1956 1957 1957 * Login to your [[ThingsEye.io >>https://thingseye.io]]account. ... ... @@ -2021,6 +2021,7 @@ 2021 2021 2022 2022 ==== 3.5.2.1 Viewing integration details ==== 2023 2023 2086 + 2024 2024 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. 2025 2025 2026 2026 [[image:integration-details.png]] ... ... @@ -2032,8 +2032,10 @@ 2032 2032 See also [[ThingsEye documentation>>https://wiki.thingseye.io/xwiki/bin/view/Main/]]. 2033 2033 {{/info}} 2034 2034 2035 -==== **3.5.2.2 Viewing events** ==== 2036 2036 2099 +==== 3.5.2.2 Viewing events ==== 2100 + 2101 + 2037 2037 The **Events **tab displays all the uplink messages from the LT-22222-L. 2038 2038 2039 2039 * Select **Debug **from the **Event type** dropdown. ... ... @@ -2047,13 +2047,15 @@ 2047 2047 [[image:thingseye-json.png]] 2048 2048 2049 2049 2050 -==== **3.5.2.3 Deleting an integration**====2115 +==== 3.5.2.3 Deleting an integration ==== 2051 2051 2117 + 2052 2052 If you want to delete an integration, click the **Delete integratio**n button on the Integrations page. 2053 2053 2054 2054 2055 2055 ==== 3.5.2.4 Creating a Dashboard to Display and Analyze LT-22222-L Data ==== 2056 2056 2123 + 2057 2057 This will be added soon. 2058 2058 2059 2059
- Screenshot 2024-12-08 193946.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +32.4 KB - Content