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

From version 230.16
edited by Xiaoling
on 2024/12/09 10:58
Change comment: There is no comment for this version
To version 239.1
edited by Dilisi S
on 2025/01/10 03:53
Change comment: Jan 09 - Fix typo

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.pradeeka
Content
... ... @@ -124,12 +124,12 @@
124 124  
125 125  (% border="1" cellspacing="3" style="width:510px" %)
126 126  |(% 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**
127 -|(% style="width:94px" %)**LT-22222-L**|(% style="width:172px" %)(((
127 +|(% style="width:94px" %)**LT-33222-L**|(% style="width:172px" %)(((
128 128  (% style="text-align:center" %)
129 129  [[image:lt33222-l.jpg||height="110" width="95"]]
130 130  )))|(% style="width:256px" %)(((
131 -* 2 x Digital Input (Bi-direction)
132 -* 2 x Digital Output
131 +* 3 x Digital Input (Bi-direction)
132 +* 3 x Digital Output
133 133  * 2 x Relay Output (5A@250VAC / 30VDC)
134 134  * 2 x 0~~20mA Analog Input (res:0.01mA)
135 135  * 2 x 0~~30V Analog Input (res:0.01v)
... ... @@ -151,7 +151,7 @@
151 151  == 2.2 Terminals ==
152 152  
153 153  
154 -The  LT-22222-L has two screw terminal blocks. The upper screw treminal block has 6 screw terminals and the lower screw terminal block has 10 screw terminals.
154 +The  LT-22222-L has two screw terminal blocks. The upper screw terminal block has 6 screw terminals and the lower screw terminal block has 10 screw terminals.
155 155  
156 156  **Upper screw terminal block (from left to right):**
157 157  
... ... @@ -179,7 +179,6 @@
179 179  |(% style="width:125px" %)DO2|(% style="width:128px" %)Digital Output 2
180 180  |(% style="width:125px" %)DO1|(% style="width:128px" %)Digital Output 1
181 181  
182 -
183 183  == 2.3 Connecting LT-22222-L to a Power Source ==
184 184  
185 185  
... ... @@ -199,21 +199,21 @@
199 199  The LT-22222-L supports both OTAA (Over-the-Air Activation) and ABP (Activation By Personalization) methods to activate with a LoRaWAN Network Server. However, OTAA is the most secure method for activating a device with a LoRaWAN Network Server. OTAA regenerates session keys upon initial registration and regenerates new session keys after any subsequent reboots. By default, the LT-22222-L is configured to operate in LoRaWAN Class C mode.
200 200  
201 201  
202 -=== 3.2.1 Prerequisites ===
201 +== 3.1 Prerequisites ==
203 203  
204 204  
205 -The LT-22222-L comes with device registration information such as DevEUI, AppEUI, and AppKey that allows you to register it with a LoRaWAN network. These registration information can be found on a sticker that can be found inside the package. Please keep the **registration information** sticker in a safe place for future reference.
204 +The LT-22222-L comes with device registration information such as DevEUI, AppEUI, and AppKey which allows you to register it with a LoRaWAN network. This registration information can be found on a sticker that can be found inside the package. Please keep the **registration information** sticker in a safe place for future reference.
206 206  
207 207  [[image:image-20230425173427-2.png||height="246" width="530"]]
208 208  
209 209  {{info}}
210 -In case you can't set the root key and other identifiers in the network server and must use them from the server, you can use [[AT Commands>>||anchor="H4.UseATCommand"]] to configure them on the device.
209 +If you are unable to set the provided root key and other identifiers in the network server, you must generate new keys and identifiers with the network server and configure the device with them using AT commands.
211 211  {{/info}}
212 212  
213 213  The following subsections explain how to register the LT-22222-L with different LoRaWAN network server providers.
214 214  
215 215  
216 -=== 3.2.2 The Things Stack ===
215 +== 3.2 The Things Stack ==
217 217  
218 218  
219 219  This section guides you through how to register your LT-22222-L with The Things Stack Sandbox.
... ... @@ -233,7 +233,7 @@
233 233  {{/info}}
234 234  
235 235  
236 -==== 3.2.2.1 Setting up ====
235 +=== 3.2.1 Setting up ===
237 237  
238 238  
239 239  * Sign up for a free account with [[The Things Stack Sandbox>>https://eu1.cloud.thethings.network]] if you do not have one yet.
... ... @@ -242,10 +242,9 @@
242 242  * Go to your application's page and click on the **End devices** in the left menu.
243 243  * On the End devices page, click on **+ Register end device**. Two registration options are available:
244 244  
244 +==== 3.2.1.1 Using the LoRaWAN Device Repository ====
245 245  
246 -==== 3.2.2.2 Using the LoRaWAN Device Repository ====
247 247  
248 -
249 249  * On the **Register end device** page:
250 250  ** Select the option **Select the end device in the LoRaWAN Device Repository **under **Input method**.
251 251  ** Select the **End device brand**, **Model**, **Hardware version**, **Firmware version**, and **Profile (Region)** from the respective dropdown lists.
... ... @@ -269,7 +269,7 @@
269 269  [[image:lt-22222-l-dev-repo-reg-p2.png]]
270 270  
271 271  
272 -==== 3.2.2.3 Adding device manually ====
270 +==== 3.2.1.2 Adding device manually ====
273 273  
274 274  
275 275  * On the **Register end device** page:
... ... @@ -301,10 +301,10 @@
301 301  [[image:lt-22222-device-overview.png]]
302 302  
303 303  
304 -==== 3.2.2.4 Joining ====
302 +=== 3.2.2 Joining ===
305 305  
306 306  
307 -On the Device's page, click on **Live data** tab. The Live data panel for your device will display.
305 +On the end device's page (in this case, lt-22222-l), click on **Live data** tab. The Live data panel for your device will display. Initially, it is blank.
308 308  
309 309  Now power on your LT-22222-L. The **TX LED** will **fast-blink 5 times** which means the LT-22222-L will enter the **work mode** and start to **join** The Things Stack network server. The **TX LED** will be on for **5 seconds** after joining the network. In the **Live data** panel, you can see the **join-request** and **join-accept** messages exchanged between the device and the network server.
310 310  
... ... @@ -312,17 +312,17 @@
312 312  [[image:lt-22222-l-joining.png]]
313 313  
314 314  
315 -==== 3.2.2.5 Uplinks ====
313 +=== 3.2.3 Uplinks ===
316 316  
317 317  
318 -After successfully joining, the device will send its first **uplink data message** to the application it belongs to (in this example, **dragino-docs**). When the LT-22222-L sends an uplink message to the server, the **TX LED** turns on for **1 second**. By default, you will receive an uplink data message from the device every 10 minutes.
316 +After successfully joining, the device will send its first **uplink data message** to The Things Stack application it belongs to (in this example, it is **dragino-docs**). When the LT-22222-L sends an uplink message to the server, the **TX LED** turns on for **1 second**. By default, you will receive an uplink data message from the device every 10 minutes.
319 319  
320 -Click on one of a **Forward uplink data messages **to see its payload content. The payload content is encapsulated within the decode_payload {} JSON object.
318 +Click on one of the **Forward uplink data messages **to see its payload content. The payload content is encapsulated within the **decode_payload {}** JSON object.
321 321  
322 322  [[image:lt-22222-ul-payload-decoded.png]]
323 323  
324 324  
325 -If you can't see the decoded payload, it is because you haven't added the uplink formatter code. To add the uplink formatter code, select **Applications > your application > End devices** > **your end device** > **Payload formatters** > **Uplink**. Then  select **Use Device repository formatters** for the **Formatter type** dropdown. Click the **Save changes** button to apply the changes.
323 +If you can't see the decoded payload, it is because you haven't added the uplink formatter code. To add the uplink formatter code, select **Applications > [your application] > End devices** > [**your end device]** > **Payload formatters** > **Uplink**. Then select **Use Device repository formatters** for the **Formatter type** dropdown. Click the **Save changes** button to apply the changes.
326 326  
327 327  {{info}}
328 328  The Things Stack provides two levels of payload formatters: application level and device level. The device-level payload formatters **override **the application-level payload formatters.
... ... @@ -331,16 +331,16 @@
331 331  [[image:lt-22222-ul-payload-fmt.png]]
332 332  
333 333  
334 -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]]:
332 +We have written a payload formatter that resolves some decoding issues present in The Things Stack Device Repository payload 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]]:
335 335  
336 336  (% class="wikigeneratedid" %)
337 337  [[image:lt-22222-l-js-custom-payload-formatter.png]]
338 338  
339 339  
340 -==== 3.2.2.6 Downlinks ====
338 +=== 3.2.4 Downlinks ===
341 341  
342 342  
343 -When the LT-22222-L receives a downlink message from the server, the **RX LED** turns on for **1 second**.
341 +When the LT-22222-L receives a downlink message from the LoRaWAN Network Server, the **RX LED** turns on for **1 second**.
344 344  
345 345  
346 346  == 3.3 Working Modes and Uplink Payload formats ==
... ... @@ -728,7 +728,7 @@
728 728  
729 729  AT+AVLIM=3000,6000,0,2000 (triggers an uplink if AVI1 voltage is lower than 3V or higher than 6V, or if AV2 voltage is higher than 2V)
730 730  
731 -AT+AVLIM=5000,0,0,0 (triggers an uplink if AVI1 voltage lower than 5V. Use 0 for parameters that are not in use)
729 +AT+AVLIM=5000,0,0,0 (triggers an uplink if AVI1 voltage is lower than 5V. Use 0 for parameters that are not in use)
732 732  
733 733  
734 734  (% style="color:#4f81bd" %)**Trigger based on current**:
... ... @@ -784,7 +784,7 @@
784 784  
785 785  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
786 786  
787 -MOD6 Payload: total of 11 bytes
785 +MOD6 Payload: a total of 11 bytes
788 788  
789 789  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %)
790 790  |(% 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**
... ... @@ -798,7 +798,7 @@
798 798  MOD(6)
799 799  )))
800 800  
801 -(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if the trigger is set for this part. Totally 1 byte as below
799 +(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if the trigger is set for this part. Total 1 byte as below.
802 802  
803 803  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %)
804 804  |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0**
... ... @@ -827,7 +827,7 @@
827 827  10100000: This means the system is configured to use the triggers AV1_LOW and AV2_LOW.
828 828  
829 829  
830 -(% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1 byte as below
828 +(% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is triggered. Total 1 byte as below.
831 831  
832 832  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %)
833 833  |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0**
... ... @@ -856,7 +856,7 @@
856 856  10000000: The uplink is triggered by AV1_LOW, indicating that the voltage is too low.
857 857  
858 858  
859 -(% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
857 +(% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is triggered. Total 1 byte as below.
860 860  
861 861  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %)
862 862  |(% 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**
... ... @@ -866,7 +866,7 @@
866 866  
867 867  **Example:**
868 868  
869 -00000111: This means both DI1 and DI2 triggers are enabled, and this packet is trigger by DI1.
867 +00000111: This means both DI1 and DI2 triggers are enabled, and this packet is triggered by DI1.
870 870  
871 871  00000101: This means both DI1 and DI2 triggers are enabled.
872 872  
... ... @@ -877,7 +877,7 @@
877 877  
878 878  **AB 06**
879 879  
880 -When device receives this command, it will send the MOD6 payload.
878 +When the device receives this command, it will send the MOD6 payload.
881 881  
882 882  
883 883  === 3.3.7 Payload Decoder ===
... ... @@ -898,7 +898,7 @@
898 898  
899 899  (((
900 900  (((
901 -There are two tytes of commands:
899 +There are two types of commands:
902 902  )))
903 903  )))
904 904  
... ... @@ -906,12 +906,11 @@
906 906  
907 907  * (% style="color:blue" %)**Sensor-related commands**(%%):
908 908  
909 -
910 910  === 3.4.1 Common commands ===
911 911  
912 912  
913 913  (((
914 -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.
911 +These are available for each sensor 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.
915 915  
916 916  
917 917  )))
... ... @@ -1102,7 +1102,7 @@
1102 1102  |(% style="width:95px" %)**Example**|(% style="width:403px" %)(((
1103 1103  AB 06
1104 1104  
1105 -Uplinks the trigger settings.
1102 +Uplink the trigger settings.
1106 1106  )))
1107 1107  
1108 1108  ==== 3.4.2.6 Enable/Disable DI1/DI2/DI3 as a trigger ====
... ... @@ -1331,7 +1331,7 @@
1331 1331  )))
1332 1332  |(% style="width:104px" %)**Note**|(% style="width:394px" %)See also, [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1333 1333  
1334 -==== 3.4.2.11 Trigger – Set minimum interval ====
1331 +==== 3.4.2.11 Trigger – Set the minimum interval ====
1335 1335  
1336 1336  
1337 1337  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.
... ... @@ -1421,126 +1421,140 @@
1421 1421  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1422 1422  
1423 1423  
1424 -* (% style="color:#037691" %)**AT Command**
1421 +(% style="color:#037691" %)**AT command**
1425 1425  
1426 1426  There is no AT command to control the digital output.
1427 1427  
1428 1428  
1429 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**
1426 +(% style="color:#037691" %)**Downlink payload**
1430 1430  
1431 -(% style="color:blue" %)**0xA9 aa bb cc     **(%%) ~/~/ Sets DO1/DO2/DO3 outputs with time control
1432 1432  
1433 -This is to control the digital output time of DO pin. Include four bytes:
1429 +(% border="2" style="width:500px" %)
1430 +|(% style="width:116px" %)**Prefix**|(% style="width:382px" %)0xA9
1431 +|(% style="width:116px" %)**Parameters**|(% style="width:382px" %)(((
1432 +**inverter_mode**: 1 byte in hex.
1434 1434  
1435 -(% style="color:#4f81bd" %)**First byte**(%%)**:** Type code (0xA9)
1436 -
1437 -(% style="color:#4f81bd" %)**Second byte**(%%): Inverter Mode
1438 -
1439 1439  **01:** DO pins revert to their original state after the timeout.
1440 1440  **00:** DO pins switch to an inverted state after the timeout.
1441 1441  
1442 1442  
1443 -(% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Port status:
1438 +**DO1_control_method_and_port_status **- 1 byte in hex
1444 1444  
1445 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1446 -|(% style="background-color:#4f81bd; color:white" %)**Second Byte**|(% style="background-color:#4f81bd; color:white" %)**Status**
1447 -|0x01|DO1 set to low
1448 -|0x00|DO1 set to high
1449 -|0x11|DO1 NO Action
1440 +0x01 : DO1 set to low
1450 1450  
1451 -(% style="color:#4f81bd" %)**Fourth byte**(%%): Control Method and Port status:
1442 +0x00 : DO1 set to high
1452 1452  
1453 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1454 -|(% style="background-color:#4f81bd; color:white" %)**Second Byte**|(% style="background-color:#4f81bd; color:white" %)**Status**
1455 -|0x01|DO2 set to low
1456 -|0x00|DO2 set to high
1457 -|0x11|DO2 NO Action
1444 +0x11 : DO1 NO action
1458 1458  
1459 -(% style="color:#4f81bd" %)**Fifth byte**(%%): Control Method and Port status:
1460 1460  
1461 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1462 -|(% style="background-color:#4f81bd; color:white" %)**Second Byte**|(% style="background-color:#4f81bd; color:white" %)**Status**
1463 -|0x01|DO3 set to low
1464 -|0x00|DO3 set to high
1465 -|0x11|DO3 NO Action
1447 +**DO2_control_method_and_port_status** - 1 byte in hex
1466 1466  
1467 -(% style="color:#4f81bd" %)**Sixth, Seventh, Eighth, and Ninth bytes**:(%%) Latching time (Unit: ms)
1449 +0x01 : DO2 set to low
1468 1468  
1451 +0x00 : DO2 set to high
1469 1469  
1470 -(% style="color:red" %)**Note: **
1453 +0x11 : DO2 NO action
1471 1471  
1472 - Since firmware v1.6.0, the latch time support 4 bytes and 2 bytes
1473 1473  
1474 - Before firmware v1.6.0, the latch time only supported 2 bytes.
1456 +**DO3_control_method_and_port_status **- 1 byte in hex
1475 1475  
1476 -(% style="color:red" %)**The device will uplink a packet if the downlink code executes successfully.**
1458 +0x01 : DO3 set to low
1477 1477  
1460 +0x00 : DO3 set to high
1478 1478  
1479 -**Example payload:**
1462 +0x11 : DO3 NO action
1480 1480  
1481 -**~1. A9 01 01 01 01 07 D0**
1482 1482  
1465 +**latching_time** : 4 bytes in hex
1466 +
1467 +(% style="color:red" %)**Note: **
1468 +
1469 + Since firmware v1.6.0, the latch time supports 4 bytes or 2 bytes
1470 +
1471 + Before firmware v1.6.0, the latch time only supported 2 bytes.
1472 +
1473 +(% style="color:red" %)**The device will uplink a packet if the downlink code executes successfully.**
1474 +)))
1475 +|(% style="width:116px" %)**Payload format**|(% style="width:382px" %)<prefix><inverter_mode><DO1_control_method_and_port_status><DO2_control_method_and_port_status><DO2_control_method_and_port_status><latching_time>
1476 +|(% style="width:116px" %)**Example**|(% style="width:382px" %)(((
1477 +**A9 01 01 01 01 07 D0**
1478 +
1483 1483  DO1 pin, DO2 pin, and DO3 pin will be set to low, last for 2 seconds, and then revert to their original state.
1484 1484  
1485 -**2. A9 01 00 01 11 07 D0**
1486 1486  
1482 +**A9 01 00 01 11 07 D0**
1483 +
1487 1487  DO1 pin is set to high, DO2 pin is set to low, and DO3 pin takes no action. This lasts for 2 seconds and then reverts to the original state.
1488 1488  
1489 -**3. A9 00 00 00 00 07 D0**
1490 1490  
1487 +**A9 00 00 00 00 07 D0**
1488 +
1491 1491  DO1 pin, DO2 pin, and DO3 pin will be set to high, last for 2 seconds, and then all change to low.
1492 1492  
1493 -**4. A9 00 11 01 00 07 D0**
1494 1494  
1495 -DO1 pin takes no action, DO2 pin is set to low, and DO3 pin is set to high. This lasts for 2 seconds, after which DO1 pin takes no action, DO2 pin is set to high, and DO3 pin is set to low.
1492 +**A9 00 11 01 00 07 D0**
1496 1496  
1494 +DO1 pin takes no action, DO2 pin is set to low, and DO3 pin is set to high. This lasts for 2 seconds, after which the DO1 pin takes no action, the DO2 pin is set to high, and the DO3 pin is set to low.
1495 +)))
1497 1497  
1498 1498  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1499 1499  
1500 1500  
1501 -* (% style="color:#037691" %)**AT Command:**
1500 +(% style="color:#037691" %)**AT Command:**
1502 1502  
1503 -There is no AT Command to control the Relay Output
1502 +There is no AT Command to control the Relay Output.
1504 1504  
1505 1505  
1506 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1505 +(% style="color:#037691" %)**Downlink Payload**
1507 1507  
1508 -(% style="color:blue" %)**0x03 aa bb     ** (%%)~/~/ Sets RO1/RO2 output
1507 +(% border="2" style="width:500px" %)
1508 +|(% style="width:113px" %)**Prefix**|(% style="width:384px" %)0x03
1509 +|(% style="width:113px" %)**Parameters**|(% style="width:384px" %)(((
1510 +**RO1_status** : 1 byte in hex
1509 1509  
1512 +00: Close
1510 1510  
1511 -(((
1512 -If the payload is 0x030100, it means setting RO1 to close and RO2 to open.
1513 -)))
1514 +01: Open
1514 1514  
1515 -(((
1516 -00: Close ,  01: Open , 11: No action
1516 +11: No action
1517 1517  
1518 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:320px" %)
1519 -|(% style="background-color:#4f81bd; color:white" %)**Downlink Code**|(% style="background-color:#4f81bd; color:white" %)**RO1**|(% style="background-color:#4f81bd; color:white" %)**RO2**
1520 -|03  00  11|Open|No Action
1521 -|03  01  11|Close|No Action
1522 -|03  11  00|No Action|Open
1523 -|03  11  01|No Action|Close
1524 -|03  00  00|Open|Open
1525 -|03  01  01|Close|Close
1526 -|03  01  00|Close|Open
1527 -|03  00  01|Open|Close
1528 -)))
1529 1529  
1530 -(% style="color:red" %)**The device will uplink a packet if the downlink code executes successfully.**
1519 +**RO2_status** : 1 byte in hex
1531 1531  
1521 +00: Close
1532 1532  
1523 +01: Open
1524 +
1525 +11: No action
1526 +)))
1527 +|(% style="width:113px" %)**Payload format**|(% style="width:384px" %)<prefix><RO1_status><RO2_status>
1528 +|(% style="width:113px" %)**Example**|(% style="width:384px" %)(((
1529 +(% border="2" %)
1530 +|=Payload|=RO1|=RO2
1531 +|03  00  11|Open|No action
1532 +|03  01  11|Close|No action
1533 +|03 11  00|No action|Open
1534 +|03 11 10|No action|Close
1535 +|03 00 00|Open|Open
1536 +|03 01 01|Close|Close
1537 +|03 01 00|Close|Open
1538 +|03 00 01|Open|Close
1539 +
1540 +(% style="color:red" %)**The device will transmit an uplink packet if the downlink payload is executed successfully.**
1541 +)))
1542 +
1533 1533  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1534 1534  
1535 1535  
1536 1536  Controls the relay output time.
1537 1537  
1538 -* (% style="color:#037691" %)**AT Command:**
1539 1539  
1549 +(% style="color:#037691" %)**AT Command:**
1550 +
1540 1540  There is no AT Command to control the Relay Output
1541 1541  
1542 1542  
1543 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1554 +(% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1544 1544  
1545 1545  (% style="color:blue" %)**0x05 aa bb cc dd     ** (%%)~/~/ Sets RO1/RO2 relays with time control
1546 1546  
... ... @@ -1551,9 +1551,9 @@
1551 1551  
1552 1552  (% style="color:#4f81bd" %)**Second byte (aa)**(%%): Inverter Mode
1553 1553  
1554 -01: Relays will change back to their original state after timeout.
1565 +01: Relays will change back to their original state after a timeout.
1555 1555  
1556 -00: Relays will change to the inverter state after timeout.
1567 +00: Relays will change to the inverter state after a timeout.
1557 1557  
1558 1558  
1559 1559  (% style="color:#4f81bd" %)**Third byte (bb)**(%%): Control Method and Ports status:
... ... @@ -1582,7 +1582,7 @@
1582 1582  
1583 1583  **2. 05 01 10 07 D0**
1584 1584  
1585 -Relay1 will change to NC, Relay2 will change to NO, lasting 2 seconds, then both will revert to their original state.
1596 +Relay1 will change to NC, Relay2 will change to NO, lasting 2 seconds, and then both will revert to their original state.
1586 1586  
1587 1587  **3. 05 00 01 07 D0**
1588 1588  
... ... @@ -1613,7 +1613,7 @@
1613 1613  
1614 1614  **1**: higher than
1615 1615  
1616 -if you leave logic parameter blank, it is considered 0
1627 +if you leave the logic parameter blank, it is considered 0
1617 1617  )))
1618 1618  |(% style="width:137px" %)**Examples**|(% style="width:361px" %)(((
1619 1619  AT+VOLMAX=20000
... ... @@ -1644,7 +1644,7 @@
1644 1644  
1645 1645  **1**: higher than
1646 1646  
1647 -if you leave logic parameter blank, it is considered 1 (higher than)
1658 +if you leave the logic parameter blank, it is considered 1 (higher than)
1648 1648  )))
1649 1649  |(% style="width:140px" %)**Example**|(% style="width:358px" %)(((
1650 1650  A5 **4E 20**
... ... @@ -1908,7 +1908,7 @@
1908 1908  ==== 3.4.2.24 When the limit bytes are exceeded, upload in batches ====
1909 1909  
1910 1910  
1911 -This command controls the behavior of the node when the combined size of the MAC commands (MACANS) from the server and the payload exceeds the allowed byte limit for the current data rate (DR). The command provides two modes: one enables splitting the data into batches to ensure compliance with the byte limit, while the other prioritizes the payload and ignores the MACANS in cases of overflow.
1922 +This command controls the behavior of the node when the combined size of the MAC commands (MACANS) from the server and the payload exceed the allowed byte limit for the current data rate (DR). The command provides two modes: one enables splitting the data into batches to ensure compliance with the byte limit, while the other prioritizes the payload and ignores the MACANS in cases of overflow.
1912 1912  
1913 1913  (% style="color:#037691" %)**AT Command**
1914 1914  
... ... @@ -1977,15 +1977,15 @@
1977 1977  There is no downlink option available for this feature.
1978 1978  
1979 1979  
1980 -==== 3.4.2.26 Query firmware version, frequency band, sub band, and TDC time ====
1991 +==== 3.4.2.26 Query firmware version, frequency band, subband, and TDC time ====
1981 1981  
1982 1982  
1983 -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.
1994 +This command is used to query key information about the device, including its firmware version, frequency band, subband, and TDC time. By sending the specified payload as a downlink, the server can retrieve this essential data from the device.
1984 1984  
1985 1985  * (((
1986 1986  (% style="color:#037691" %)**Downlink Payload**(%%)**:**
1987 1987  
1988 -(% style="color:blue" %)**26 01  ** (%%) ~/~/  The downlink payload 26 01 is used to query the device's firmware version, frequency band, sub band, and TDC time.
1999 +(% style="color:blue" %)**26 01  ** (%%) ~/~/  The downlink payload 26 01 is used to query the device's firmware version, frequency band, subband, and TDC time.
1989 1989  
1990 1990  
1991 1991  
... ... @@ -2040,7 +2040,7 @@
2040 2040  * Ensure the following options are turned on.
2041 2041  ** Enable integration
2042 2042  ** Debug mode
2043 -** Allow create devices or assets
2054 +** Allow creating devices or assets
2044 2044  * Click the **Next** button. you will be navigated to the **Uplink data converter** tab.
2045 2045  
2046 2046  [[image:thingseye-io-step-2.png]]
... ... @@ -2115,7 +2115,7 @@
2115 2115  [[image:thingseye-events.png]]
2116 2116  
2117 2117  
2118 -* To view the **JSON payload** of a message, click on the **three dots (...)** in the Message column of the desired message.
2129 +* To view the **JSON payload** of a message, click on the **three dots (...)** in the **Message** column of the desired message.
2119 2119  
2120 2120  [[image:thingseye-json.png]]
2121 2121  
... ... @@ -2126,12 +2126,16 @@
2126 2126  If you want to delete an integration, click the **Delete integratio**n button on the Integrations page.
2127 2127  
2128 2128  
2129 -==== 3.5.2.4 Creating a Dashboard to Display and Analyze LT-22222-L Data ====
2140 +==== 3.5.2.4 Viewing sensor data on a dashboard ====
2130 2130  
2131 2131  
2132 -This will be added soon.
2143 +You can create a dashboard with ThingsEye to visualize the sensor data coming from the LT-22222-L. The following image shows a dashboard created for the LT-22222-L. See **Creating a dashboard** in ThingsEye documentation for more information.
2133 2133  
2134 2134  
2146 +
2147 +[[image:lt-22222-l-dashboard.png]]
2148 +
2149 +
2135 2135  == 3.6 Interface Details ==
2136 2136  
2137 2137  === 3.6.1 Digital Input Ports: DI1/DI2/DI3 (For LT-33222-L, Low Active) ===
... ... @@ -2346,7 +2346,7 @@
2346 2346  == 3.7 LED Indicators ==
2347 2347  
2348 2348  
2349 -The table below lists the behavior of LED indicators for each port function.
2364 +The table below lists the behaviour of LED indicators for each port function.
2350 2350  
2351 2351  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
2352 2352  |(% style="background-color:#4f81bd; color:white; width:50px" %)**LEDs**|(% style="background-color:#4f81bd; color:white; width:460px" %)**Feature**
... ... @@ -2353,11 +2353,11 @@
2353 2353  |**PWR**|Always on when there is power
2354 2354  |**TX**|(((
2355 2355  (((
2356 -Device boot: TX blinks 5 times.
2371 +Device booting: TX blinks 5 times.
2357 2357  )))
2358 2358  
2359 2359  (((
2360 -Successful network join: TX remains ON for 5 seconds.
2375 +Successful network joins: TX remains ON for 5 seconds.
2361 2361  )))
2362 2362  
2363 2363  (((
... ... @@ -2441,13 +2441,13 @@
2441 2441  * ##**AT+FCU**##: Get or set the Frame Counter Uplink (FCntUp)
2442 2442  * ##**AT+FCD**##: Get or set the Frame Counter Downlink (FCntDown)
2443 2443  * ##**AT+CLASS**##: Get or set the Device Class
2444 -* ##**AT+JOIN**##: Join network
2459 +* ##**AT+JOIN**##: Join Network
2445 2445  * ##**AT+NJS**##: Get OTAA Join Status
2446 2446  * ##**AT+SENDB**##: Send hexadecimal data along with the application port
2447 2447  * ##**AT+SEND**##: Send text data along with the application port
2448 -* ##**AT+RECVB**##: Print last received data in binary format (with hexadecimal values)
2449 -* ##**AT+RECV**##: Print last received data in raw format
2450 -* ##**AT+VER**##: Get current image version and Frequency Band
2463 +* ##**AT+RECVB**##: Print the last received data in binary format (with hexadecimal values)
2464 +* ##**AT+RECV**##: Print the last received data in raw format
2465 +* ##**AT+VER**##: Get the current image version and Frequency Band
2451 2451  * ##**AT+CFM**##: Get or Set the confirmation mode (0-1)
2452 2452  * ##**AT+CFS**##: Get confirmation status of the last AT+SEND (0-1)
2453 2453  * ##**AT+SNR**##: Get the SNR of the last received packet
... ... @@ -2475,7 +2475,7 @@
2475 2475  )))
2476 2476  
2477 2477  (((
2478 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT commands access**##
2493 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT command access**##
2479 2479  )))
2480 2480  
2481 2481  (((
... ... @@ -2483,7 +2483,7 @@
2483 2483  )))
2484 2484  
2485 2485  (((
2486 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT commands access**##
2501 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT command access**##
2487 2487  )))
2488 2488  
2489 2489  (((
... ... @@ -2514,7 +2514,7 @@
2514 2514  
2515 2515  
2516 2516  (((
2517 -(% style="background-color:#dcdcdc" %)**123456**(%%)  ~/~/ Enter password to enable AT commands access
2532 +(% style="background-color:#dcdcdc" %)**123456**(%%)  ~/~/ Enter the password to enable AT commands access
2518 2518  )))
2519 2519  )))
2520 2520  
... ... @@ -2523,7 +2523,7 @@
2523 2523  )))
2524 2524  
2525 2525  (((
2526 -(% style="background-color:#dcdcdc" %)** 123456**(%%)  ~/~/ Enter password to enable AT commands access
2541 +(% style="background-color:#dcdcdc" %)** 123456**(%%)  ~/~/ Enter the password to enable AT command access
2527 2527  )))
2528 2528  
2529 2529  (((
... ... @@ -2605,7 +2605,7 @@
2605 2605  == 5.1 Counting how many objects pass through the flow line ==
2606 2606  
2607 2607  
2608 -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]]?
2623 +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]].
2609 2609  
2610 2610  
2611 2611  = 6. FAQ =
... ... @@ -2675,13 +2675,13 @@
2675 2675  )))
2676 2676  
2677 2677  (((
2678 -You can follow the introductions on [[how to upgrade image>>||anchor="H5.1Howtoupgradetheimage3F"]]. When downloading, select the required image file.
2693 +You can follow the introductions on [[how to upgrade the image>>||anchor="H5.1Howtoupgradetheimage3F"]]. When downloading, select the required image file.
2679 2679  )))
2680 2680  
2681 2681  (((
2682 2682  
2683 2683  
2684 -== 6.3 How to setup LT-22222-L to work with a Single Channel Gateway, such as LG01/LG02? ==
2699 +== 6.3 How to set up LT-22222-L to work with a Single Channel Gateway, such as LG01/LG02? ==
2685 2685  
2686 2686  
2687 2687  )))
... ... @@ -2783,9 +2783,9 @@
2783 2783  * If the device is not properly shut down and is directly powered off.
2784 2784  * It will default to a power-off state.
2785 2785  * In modes 2 to 5, the DO/RO status and pulse count are saved to flash memory.
2786 -* After a restart, the status before the power failure will be read from flash.
2801 +* After a restart, the status before the power failure will be read from Flash.
2787 2787  
2788 -== 6.8 Can I setup LT-22222-L as a NC (Normally Closed) relay? ==
2803 +== 6.8 Can I set up LT-22222-L as an NC (Normally Closed) relay? ==
2789 2789  
2790 2790  
2791 2791  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:
lt-22222-l-dashboard.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.pradeeka
Size
... ... @@ -1,0 +1,1 @@
1 +352.8 KB
Content