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

From version 235.1
edited by Dilisi S
on 2024/12/17 06:12
Change comment: Dec 16 edits
To version 230.16
edited by Xiaoling
on 2024/12/09 10:58
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
... ... @@ -179,6 +179,7 @@
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 +
182 182  == 2.3 Connecting LT-22222-L to a Power Source ==
183 183  
184 184  
... ... @@ -198,7 +198,7 @@
198 198  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.
199 199  
200 200  
201 -== 3.1 Prerequisites ==
202 +=== 3.2.1 Prerequisites ===
202 202  
203 203  
204 204  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.
... ... @@ -206,13 +206,13 @@
206 206  [[image:image-20230425173427-2.png||height="246" width="530"]]
207 207  
208 208  {{info}}
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.
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.
210 210  {{/info}}
211 211  
212 212  The following subsections explain how to register the LT-22222-L with different LoRaWAN network server providers.
213 213  
214 214  
215 -== 3.2 The Things Stack ==
216 +=== 3.2.2 The Things Stack ===
216 216  
217 217  
218 218  This section guides you through how to register your LT-22222-L with The Things Stack Sandbox.
... ... @@ -232,7 +232,7 @@
232 232  {{/info}}
233 233  
234 234  
235 -=== 3.2.1 Setting up ===
236 +==== 3.2.2.1 Setting up ====
236 236  
237 237  
238 238  * Sign up for a free account with [[The Things Stack Sandbox>>https://eu1.cloud.thethings.network]] if you do not have one yet.
... ... @@ -241,9 +241,10 @@
241 241  * Go to your application's page and click on the **End devices** in the left menu.
242 242  * On the End devices page, click on **+ Register end device**. Two registration options are available:
243 243  
244 -==== 3.2.1.1 Using the LoRaWAN Device Repository ====
245 245  
246 +==== 3.2.2.2 Using the LoRaWAN Device Repository ====
246 246  
248 +
247 247  * On the **Register end device** page:
248 248  ** Select the option **Select the end device in the LoRaWAN Device Repository **under **Input method**.
249 249  ** Select the **End device brand**, **Model**, **Hardware version**, **Firmware version**, and **Profile (Region)** from the respective dropdown lists.
... ... @@ -267,7 +267,7 @@
267 267  [[image:lt-22222-l-dev-repo-reg-p2.png]]
268 268  
269 269  
270 -==== 3.2.1.2 Adding device manually ====
272 +==== 3.2.2.3 Adding device manually ====
271 271  
272 272  
273 273  * On the **Register end device** page:
... ... @@ -299,7 +299,7 @@
299 299  [[image:lt-22222-device-overview.png]]
300 300  
301 301  
302 -=== 3.2.2 Joining ===
304 +==== 3.2.2.4 Joining ====
303 303  
304 304  
305 305  On the Device's page, click on **Live data** tab. The Live data panel for your device will display.
... ... @@ -310,7 +310,7 @@
310 310  [[image:lt-22222-l-joining.png]]
311 311  
312 312  
313 -=== 3.2.3 Uplinks ===
315 +==== 3.2.2.5 Uplinks ====
314 314  
315 315  
316 316  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.
... ... @@ -335,7 +335,7 @@
335 335  [[image:lt-22222-l-js-custom-payload-formatter.png]]
336 336  
337 337  
338 -=== 3.2.4 Downlinks ===
340 +==== 3.2.2.6 Downlinks ====
339 339  
340 340  
341 341  When the LT-22222-L receives a downlink message from the server, the **RX LED** turns on for **1 second**.
... ... @@ -904,6 +904,7 @@
904 904  
905 905  * (% style="color:blue" %)**Sensor-related commands**(%%):
906 906  
909 +
907 907  === 3.4.1 Common commands ===
908 908  
909 909  
... ... @@ -1418,127 +1418,113 @@
1418 1418  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1419 1419  
1420 1420  
1421 -(% style="color:#037691" %)**AT command**
1424 +* (% style="color:#037691" %)**AT Command**
1422 1422  
1423 1423  There is no AT command to control the digital output.
1424 1424  
1425 1425  
1426 -(% style="color:#037691" %)**Downlink payload**
1429 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**
1427 1427  
1431 +(% style="color:blue" %)**0xA9 aa bb cc     **(%%) ~/~/ Sets DO1/DO2/DO3 outputs with time control
1428 1428  
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.
1433 +This is to control the digital output time of DO pin. Include four bytes:
1433 1433  
1435 +(% style="color:#4f81bd" %)**First byte**(%%)**:** Type code (0xA9)
1436 +
1437 +(% style="color:#4f81bd" %)**Second byte**(%%): Inverter Mode
1438 +
1434 1434  **01:** DO pins revert to their original state after the timeout.
1435 1435  **00:** DO pins switch to an inverted state after the timeout.
1436 1436  
1437 1437  
1438 -**DO1_control_method_and_port_status **- 1 byte in hex
1443 +(% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Port status:
1439 1439  
1440 -0x01 : DO1 set to low
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
1441 1441  
1442 -0x00 : DO1 set to high
1451 +(% style="color:#4f81bd" %)**Fourth byte**(%%): Control Method and Port status:
1443 1443  
1444 -0x11 : DO1 NO action
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
1445 1445  
1459 +(% style="color:#4f81bd" %)**Fifth byte**(%%): Control Method and Port status:
1446 1446  
1447 -**DO2_control_method_and_port_status** - 1 byte in hex
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
1448 1448  
1449 -0x01 : DO2 set to low
1467 +(% style="color:#4f81bd" %)**Sixth, Seventh, Eighth, and Ninth bytes**:(%%) Latching time (Unit: ms)
1450 1450  
1451 -0x00 : DO2 set to high
1452 1452  
1453 -0x11 : DO2 NO action
1454 -
1455 -
1456 -**DO3_control_method_and_port_status **- 1 byte in hex
1457 -
1458 -0x01 : DO3 set to low
1459 -
1460 -0x00 : DO3 set to high
1461 -
1462 -0x11 : DO3 NO action
1463 -
1464 -
1465 -**latching_time** : 4 bytes in hex
1466 -
1467 1467  (% style="color:red" %)**Note: **
1468 1468  
1469 - Since firmware v1.6.0, the latch time support 4 bytes or 2 bytes
1472 + Since firmware v1.6.0, the latch time support 4 bytes and 2 bytes
1470 1470  
1471 1471   Before firmware v1.6.0, the latch time only supported 2 bytes.
1472 1472  
1473 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 1478  
1479 -DO1 pin, DO2 pin, and DO3 pin will be set to low, last for 2 seconds, and then revert to their original state.
1480 1480  
1479 +**Example payload:**
1481 1481  
1482 -**A9 01 00 01 11 07 D0**
1481 +**~1. A9 01 01 01 01 07 D0**
1483 1483  
1484 -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.
1483 +DO1 pin, DO2 pin, and DO3 pin will be set to low, last for 2 seconds, and then revert to their original state.
1485 1485  
1485 +**2. A9 01 00 01 11 07 D0**
1486 1486  
1487 -**A9 00 00 00 00 07 D0**
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 +
1489 1489  DO1 pin, DO2 pin, and DO3 pin will be set to high, last for 2 seconds, and then all change to low.
1490 1490  
1493 +**4. A9 00 11 01 00 07 D0**
1491 1491  
1492 -**A9 00 11 01 00 07 D0**
1493 -
1494 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 DO1 pin takes no action, DO2 pin is set to high, and DO3 pin is set to low.
1495 -)))
1496 1496  
1497 +
1497 1497  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1498 1498  
1499 1499  
1500 -(% style="color:#037691" %)**AT Command:**
1501 +* (% style="color:#037691" %)**AT Command:**
1501 1501  
1502 -There is no AT Command to control the Relay Output.
1503 +There is no AT Command to control the Relay Output
1503 1503  
1504 1504  
1505 -(% style="color:#037691" %)**Downlink Payload**
1506 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1506 1506  
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
1508 +(% style="color:blue" %)**0x03 aa bb     ** (%%)~/~/ Sets RO1/RO2 output
1511 1511  
1512 -00: Close
1513 1513  
1514 -01: Open
1511 +(((
1512 +If the payload is 0x030100, it means setting RO1 to close and RO2 to open.
1513 +)))
1515 1515  
1516 -11: No action
1515 +(((
1516 +00: Close ,  01: Open , 11: No action
1517 1517  
1518 -
1519 -**RO2_status** : 1 byte in hex
1520 -
1521 -00: Close
1522 -
1523 -01: Open
1524 -
1525 -11: No action
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
1526 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 1539  
1540 -(% style="color:red" %)**The device will transmit an uplink packet if the downlink payload is executed successfully.**
1541 -)))
1530 +(% style="color:red" %)**The device will uplink a packet if the downlink code executes successfully.**
1542 1542  
1543 1543  
1544 1544  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
... ... @@ -1546,13 +1546,12 @@
1546 1546  
1547 1547  Controls the relay output time.
1548 1548  
1538 +* (% style="color:#037691" %)**AT Command:**
1549 1549  
1550 -(% style="color:#037691" %)**AT Command:**
1551 -
1552 1552  There is no AT Command to control the Relay Output
1553 1553  
1554 1554  
1555 -(% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1543 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1556 1556  
1557 1557  (% style="color:blue" %)**0x05 aa bb cc dd     ** (%%)~/~/ Sets RO1/RO2 relays with time control
1558 1558  
... ... @@ -2127,7 +2127,7 @@
2127 2127  [[image:thingseye-events.png]]
2128 2128  
2129 2129  
2130 -* To view the **JSON payload** of a message, click on the **three dots (...)** in the **Message** column of the desired message.
2118 +* To view the **JSON payload** of a message, click on the **three dots (...)** in the Message column of the desired message.
2131 2131  
2132 2132  [[image:thingseye-json.png]]
2133 2133  
... ... @@ -2138,16 +2138,12 @@
2138 2138  If you want to delete an integration, click the **Delete integratio**n button on the Integrations page.
2139 2139  
2140 2140  
2141 -==== 3.5.2.4 Viewing sensor data on a dashboard ====
2129 +==== 3.5.2.4 Creating a Dashboard to Display and Analyze LT-22222-L Data ====
2142 2142  
2143 2143  
2144 -You can create a dashboard with ThingsEye to visualize the sensor data coming from the LHT65N-VIB. The following image shows a dashboard created for the LT-22222-L. See **Creating a dashboard** in ThingsEye documentation for more information.
2132 +This will be added soon.
2145 2145  
2146 2146  
2147 -
2148 -[[image:lt-22222-l-dashboard.png]]
2149 -
2150 -
2151 2151  == 3.6 Interface Details ==
2152 2152  
2153 2153  === 3.6.1 Digital Input Ports: DI1/DI2/DI3 (For LT-33222-L, Low Active) ===
lt-22222-l-dashboard.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.pradeeka
Size
... ... @@ -1,1 +1,0 @@
1 -352.8 KB
Content