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)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. pradeeka1 +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 -I fyou are unabletoset theprovided root key and other identifiers in the network server,youmustgeneratenew keysandidentifierswith the networkserverand configure thedevicewiththemusing ATcommands.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. ... ... @@ -242,7 +242,7 @@ 242 242 * On the End devices page, click on **+ Register end device**. Two registration options are available: 243 243 244 244 245 -==== 3.2. 1.1Using the LoRaWAN Device Repository ====246 +==== 3.2.2.2 Using the LoRaWAN Device Repository ==== 246 246 247 247 248 248 * On the **Register end device** page: ... ... @@ -268,7 +268,7 @@ 268 268 [[image:lt-22222-l-dev-repo-reg-p2.png]] 269 269 270 270 271 -==== 3.2. 1.2 Adding device manually ====272 +==== 3.2.2.3 Adding device manually ==== 272 272 273 273 274 274 * On the **Register end device** page: ... ... @@ -300,7 +300,7 @@ 300 300 [[image:lt-22222-device-overview.png]] 301 301 302 302 303 -=== 3.2.2 Joining === 304 +==== 3.2.2.4 Joining ==== 304 304 305 305 306 306 On the Device's page, click on **Live data** tab. The Live data panel for your device will display. ... ... @@ -311,7 +311,7 @@ 311 311 [[image:lt-22222-l-joining.png]] 312 312 313 313 314 -=== 3.2. 3Uplinks ===315 +==== 3.2.2.5 Uplinks ==== 315 315 316 316 317 317 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. ... ... @@ -336,7 +336,7 @@ 336 336 [[image:lt-22222-l-js-custom-payload-formatter.png]] 337 337 338 338 339 -=== 3.2. 4Downlinks ===340 +==== 3.2.2.6 Downlinks ==== 340 340 341 341 342 342 When the LT-22222-L receives a downlink message from the server, the **RX LED** turns on for **1 second**. ... ... @@ -905,6 +905,7 @@ 905 905 906 906 * (% style="color:blue" %)**Sensor-related commands**(%%): 907 907 909 + 908 908 === 3.4.1 Common commands === 909 909 910 910 ... ... @@ -1419,81 +1419,78 @@ 1419 1419 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 1420 1420 1421 1421 1422 -(% style="color:#037691" %)**AT command**1424 +* (% style="color:#037691" %)**AT Command** 1423 1423 1424 1424 There is no AT command to control the digital output. 1425 1425 1426 1426 1427 -(% style="color:#037691" %)**Downlink payload**1429 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)** 1428 1428 1431 +(% style="color:blue" %)**0xA9 aa bb cc **(%%) ~/~/ Sets DO1/DO2/DO3 outputs with time control 1429 1429 1430 -(% border="2" style="width:500px" %) 1431 -|(% style="width:116px" %)**Prefix**|(% style="width:382px" %)0xA9 1432 -|(% style="width:116px" %)**Parameters**|(% style="width:382px" %)((( 1433 -**inverter_mode**: 1 byte in hex. 1433 +This is to control the digital output time of DO pin. Include four bytes: 1434 1434 1435 +(% style="color:#4f81bd" %)**First byte**(%%)**:** Type code (0xA9) 1436 + 1437 +(% style="color:#4f81bd" %)**Second byte**(%%): Inverter Mode 1438 + 1435 1435 **01:** DO pins revert to their original state after the timeout. 1436 1436 **00:** DO pins switch to an inverted state after the timeout. 1437 1437 1438 1438 1439 -** DO1_control_method_and_port_status**- 1 byte in hex1443 +(% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Port status: 1440 1440 1441 -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 1442 1442 1443 - 0x00:DO1set to high1451 +(% style="color:#4f81bd" %)**Fourth byte**(%%): Control Method and Port status: 1444 1444 1445 -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 1446 1446 1459 +(% style="color:#4f81bd" %)**Fifth byte**(%%): Control Method and Port status: 1447 1447 1448 -**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 1449 1449 1450 - 0x01:DO2set tolow1467 +(% style="color:#4f81bd" %)**Sixth, Seventh, Eighth, and Ninth bytes**:(%%) Latching time (Unit: ms) 1451 1451 1452 -0x00 : DO2 set to high 1453 1453 1454 -0x11 : DO2 NO action 1455 - 1456 - 1457 -**DO3_control_method_and_port_status **- 1 byte in hex 1458 - 1459 -0x01 : DO3 set to low 1460 - 1461 -0x00 : DO3 set to high 1462 - 1463 -0x11 : DO3 NO action 1464 - 1465 - 1466 -**latching_time** : 4 bytes in hex 1467 - 1468 1468 (% style="color:red" %)**Note: ** 1469 1469 1470 - Since firmware v1.6.0, the latch time support 4 bytes or2 bytes1472 + Since firmware v1.6.0, the latch time support 4 bytes and 2 bytes 1471 1471 1472 1472 Before firmware v1.6.0, the latch time only supported 2 bytes. 1473 1473 1474 1474 (% style="color:red" %)**The device will uplink a packet if the downlink code executes successfully.** 1475 -))) 1476 -|(% 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> 1477 -|(% style="width:116px" %)**Example**|(% style="width:382px" %)((( 1478 -**A9 01 01 01 01 07 D0** 1479 1479 1480 -DO1 pin, DO2 pin, and DO3 pin will be set to low, last for 2 seconds, and then revert to their original state. 1481 1481 1479 +**Example payload:** 1482 1482 1483 -**A9 01 0 001 1107 D0**1481 +**~1. A9 01 01 01 01 07 D0** 1484 1484 1485 -DO1 pin is set to high, DO2 pinis set to low, and DO3 pintakesnoaction.Thislastsfor 2 seconds and then revertsto 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. 1486 1486 1485 +**2. A9 01 00 01 11 07 D0** 1487 1487 1488 - **A90000000007D0**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. 1489 1489 1489 +**3. A9 00 00 00 00 07 D0** 1490 + 1490 1490 DO1 pin, DO2 pin, and DO3 pin will be set to high, last for 2 seconds, and then all change to low. 1491 1491 1493 +**4. A9 00 11 01 00 07 D0** 1492 1492 1493 -**A9 00 11 01 00 07 D0** 1494 - 1495 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. 1496 -))) 1497 1497 1498 1498 1499 1499 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====