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. Xiaoling1 +XWiki.pradeeka - Content
-
... ... @@ -98,7 +98,6 @@ 98 98 * Automatic RF Sense and CAD with ultra-fast AFC. 99 99 * Packet engine up to 256 bytes with CRC. 100 100 101 - 102 102 == 1.3 Features == 103 103 104 104 ... ... @@ -110,7 +110,6 @@ 110 110 * Firmware upgradable via program port 111 111 * Counting 112 112 113 - 114 114 == 1.4 Applications == 115 115 116 116 ... ... @@ -121,7 +121,6 @@ 121 121 * Smart cities 122 122 * Smart factory 123 123 124 - 125 125 == 1.5 Hardware Variants == 126 126 127 127 ... ... @@ -139,7 +139,6 @@ 139 139 * 1 x Counting Port 140 140 ))) 141 141 142 - 143 143 = 2. Assembling the device = 144 144 145 145 == 2.1 Connecting the antenna == ... ... @@ -159,8 +159,8 @@ 159 159 160 160 **Upper screw terminal block (from left to right):** 161 161 162 -(% style="width:38 5px" %)163 -|=(% style="width: 139px;" %)Screw Terminal|=(% style="width: 242px;" %)Function 158 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:381px" %) 159 +|=(% style="width: 139px;background-color:#4f81bd;color:white" %)Screw Terminal|=(% style="width: 242px;background-color:#4f81bd;color:white" %)Function 164 164 |(% style="width:139px" %)GND|(% style="width:242px" %)Ground 165 165 |(% style="width:139px" %)VIN|(% style="width:242px" %)Input Voltage 166 166 |(% style="width:139px" %)AVI2|(% style="width:242px" %)Analog Voltage Input Terminal 2 ... ... @@ -170,8 +170,8 @@ 170 170 171 171 **Lower screw terminal block (from left to right):** 172 172 173 -(% style="width:25 7px" %)174 -|=(% style="width: 125px;" %)Screw Terminal|=(% style="width: 128px;" %)Function 169 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:253px" %) 170 +|=(% style="width: 125px;background-color:#4f81bd;color:white" %)Screw Terminal|=(% style="width: 128px;background-color:#4f81bd;color:white" %)Function 175 175 |(% style="width:125px" %)RO1-2|(% style="width:128px" %)Relay Output 1 176 176 |(% style="width:125px" %)RO1-1|(% style="width:128px" %)Relay Output 1 177 177 |(% style="width:125px" %)RO2-2|(% style="width:128px" %)Relay Output 2 ... ... @@ -185,6 +185,7 @@ 185 185 186 186 == 2.3 Connecting LT-22222-L to a Power Source == 187 187 184 + 188 188 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. 189 189 190 190 {{warning}} ... ... @@ -197,23 +197,27 @@ 197 197 198 198 = 3. Registering LT-22222-L with a LoRaWAN Network Server = 199 199 197 + 200 200 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. 201 201 202 202 203 -== =3.2.1 Prerequisites ===201 +== 3.1 Prerequisites == 204 204 203 + 205 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. 206 206 207 207 [[image:image-20230425173427-2.png||height="246" width="530"]] 208 208 209 209 {{info}} 210 -I ncaseyoucan't set the root key and other identifiers in the network serverandmustusethem fromtheserver,youcanuse[[AT Commands>>||anchor="H4.UseATCommand"]] toconfigure themonthedevice.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 -=== 3.2.2 The Things Stack === 216 216 215 +== 3.2 The Things Stack == 216 + 217 + 217 217 This section guides you through how to register your LT-22222-L with The Things Stack Sandbox. 218 218 219 219 {{info}} ... ... @@ -224,7 +224,7 @@ 224 224 The network diagram below illustrates the connection between the LT-22222-L and The Things Stack, as well as how the data can be integrated with the ThingsEye IoT platform. 225 225 226 226 227 -[[image:dragino-lorawan-nw-lt-22222-n.jpg]] 228 +[[image:dragino-lorawan-nw-lt-22222-n.jpg||height="374" width="1400"]] 228 228 229 229 {{info}} 230 230 You can use a LoRaWAN gateway, such as the [[Dragino LPS8N>>https://www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html]], to expand or create LoRaWAN coverage in your area. ... ... @@ -231,8 +231,9 @@ 231 231 {{/info}} 232 232 233 233 234 -=== =3.2.2.1 Setting up ====235 +=== 3.2.1 Setting up === 235 235 237 + 236 236 * Sign up for a free account with [[The Things Stack Sandbox>>https://eu1.cloud.thethings.network]] if you do not have one yet. 237 237 * Log in to your The Things Stack Sandbox account. 238 238 * Create an **application** with The Things Stack if you do not have one yet (E.g., dragino-docs). ... ... @@ -239,8 +239,10 @@ 239 239 * Go to your application's page and click on the **End devices** in the left menu. 240 240 * On the End devices page, click on **+ Register end device**. Two registration options are available: 241 241 242 -==== 3.2.2.2 Using the LoRaWAN Device Repository ==== 243 243 245 +==== 3.2.1.1 Using the LoRaWAN Device Repository ==== 246 + 247 + 244 244 * On the **Register end device** page: 245 245 ** Select the option **Select the end device in the LoRaWAN Device Repository **under **Input method**. 246 246 ** Select the **End device brand**, **Model**, **Hardware version**, **Firmware version**, and **Profile (Region)** from the respective dropdown lists. ... ... @@ -264,8 +264,9 @@ 264 264 [[image:lt-22222-l-dev-repo-reg-p2.png]] 265 265 266 266 267 -==== 3.2. 2.3Adding device manually ====271 +==== 3.2.1.2 Adding device manually ==== 268 268 273 + 269 269 * On the **Register end device** page: 270 270 ** Select the option **Enter end device specifies manually** under **Input method**. 271 271 ** Select the **Frequency plan** that matches your device from the **Frequency plan** dropdown list. ... ... @@ -295,8 +295,9 @@ 295 295 [[image:lt-22222-device-overview.png]] 296 296 297 297 298 -=== =3.2.2.4Joining ====303 +=== 3.2.2 Joining === 299 299 305 + 300 300 On the Device's page, click on **Live data** tab. The Live data panel for your device will display. 301 301 302 302 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. ... ... @@ -305,10 +305,9 @@ 305 305 [[image:lt-22222-l-joining.png]] 306 306 307 307 314 +=== 3.2.3 Uplinks === 308 308 309 -==== 3.2.2.5 Uplinks ==== 310 310 311 - 312 312 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. 313 313 314 314 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. ... ... @@ -331,8 +331,9 @@ 331 331 [[image:lt-22222-l-js-custom-payload-formatter.png]] 332 332 333 333 334 -=== =3.2.2.6Downlinks ====339 +=== 3.2.4 Downlinks === 335 335 341 + 336 336 When the LT-22222-L receives a downlink message from the server, the **RX LED** turns on for **1 second**. 337 337 338 338 ... ... @@ -355,8 +355,10 @@ 355 355 356 356 The uplink messages are sent over LoRaWAN FPort=2. By default, an uplink message is sent every 10 minutes. 357 357 364 + 358 358 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 359 359 367 + 360 360 ((( 361 361 This is the default mode. 362 362 ... ... @@ -429,6 +429,7 @@ 429 429 430 430 MOD = 1 431 431 440 + 432 432 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 433 433 434 434 ... ... @@ -507,6 +507,7 @@ 507 507 508 508 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 509 509 519 + 510 510 (% style="color:red" %)**Note: The maximum count depends on the bytes it is. 511 511 The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec). 512 512 It starts counting again when it reaches the maximum value.** ... ... @@ -560,6 +560,7 @@ 560 560 561 561 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 562 562 573 + 563 563 (% style="color:red" %)**Note:The maximum count depends on the bytes it is. 564 564 The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec). 565 565 It starts counting again when it reaches the maximum value.** ... ... @@ -629,6 +629,7 @@ 629 629 630 630 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 631 631 643 + 632 632 (% style="color:red" %)**Note:The maximum count depends on the bytes it is. 633 633 The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec). 634 634 It starts counting again when it reaches the maximum value.** ... ... @@ -1407,78 +1407,81 @@ 1407 1407 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 1408 1408 1409 1409 1410 - *(% style="color:#037691" %)**ATCommand**1422 +(% style="color:#037691" %)**AT command** 1411 1411 1412 1412 There is no AT command to control the digital output. 1413 1413 1414 1414 1415 - *(% style="color:#037691" %)**DownlinkPayload(prefix 0xA9)**1427 +(% style="color:#037691" %)**Downlink payload** 1416 1416 1417 -(% style="color:blue" %)**0xA9 aa bb cc **(%%) ~/~/ Sets DO1/DO2/DO3 outputs with time control 1418 1418 1419 -This is to control the digital output time of DO pin. Include four bytes: 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. 1420 1420 1421 -(% style="color:#4f81bd" %)**First byte**(%%)**:** Type code (0xA9) 1422 - 1423 -(% style="color:#4f81bd" %)**Second byte**(%%): Inverter Mode 1424 - 1425 1425 **01:** DO pins revert to their original state after the timeout. 1426 1426 **00:** DO pins switch to an inverted state after the timeout. 1427 1427 1428 1428 1429 - (% style="color:#4f81bd" %)**Third Byte**(%%): ControlMethodPort:1439 +**DO1_control_method_and_port_status **- 1 byte in hex 1430 1430 1431 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %) 1432 -|(% style="background-color:#4f81bd; color:white" %)**Second Byte**|(% style="background-color:#4f81bd; color:white" %)**Status** 1433 -|0x01|DO1 set to low 1434 -|0x00|DO1 set to high 1435 -|0x11|DO1 NO Action 1441 +0x01 : DO1 set to low 1436 1436 1437 - (%style="color:#4f81bd"%)**Fourthbyte**(%%):ControlMethodand Port status:1443 +0x00 : DO1 set to high 1438 1438 1439 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %) 1440 -|(% style="background-color:#4f81bd; color:white" %)**Second Byte**|(% style="background-color:#4f81bd; color:white" %)**Status** 1441 -|0x01|DO2 set to low 1442 -|0x00|DO2 set to high 1443 -|0x11|DO2 NO Action 1445 +0x11 : DO1 NO action 1444 1444 1445 -(% style="color:#4f81bd" %)**Fifth byte**(%%): Control Method and Port status: 1446 1446 1447 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %) 1448 -|(% style="background-color:#4f81bd; color:white" %)**Second Byte**|(% style="background-color:#4f81bd; color:white" %)**Status** 1449 -|0x01|DO3 set to low 1450 -|0x00|DO3 set to high 1451 -|0x11|DO3 NO Action 1448 +**DO2_control_method_and_port_status** - 1 byte in hex 1452 1452 1453 - (%style="color:#4f81bd"%)**Sixth,Seventh,Eighth, and Ninth bytes**:(%%) Latchingtime(Unit: ms)1450 +0x01 : DO2 set to low 1454 1454 1452 +0x00 : DO2 set to high 1455 1455 1456 - (%style="color:red"%)**Note:**1454 +0x11 : DO2 NO action 1457 1457 1458 - Since firmware v1.6.0, the latch time support 4 bytes and 2 bytes 1459 1459 1460 - Before firmwarev1.6.0,the latch timeonly supported2bytes.1457 +**DO3_control_method_and_port_status **- 1 byte in hex 1461 1461 1462 - (%style="color:red"%)**Thedevicewill uplink a packetifthe downlinkcode executes successfully.**1459 +0x01 : DO3 set to low 1463 1463 1461 +0x00 : DO3 set to high 1464 1464 1465 - **Examplepayload:**1463 +0x11 : DO3 NO action 1466 1466 1467 -**~1. A9 01 01 01 01 07 D0** 1468 1468 1466 +**latching_time** : 4 bytes in hex 1467 + 1468 +(% style="color:red" %)**Note: ** 1469 + 1470 + Since firmware v1.6.0, the latch time support 4 bytes or 2 bytes 1471 + 1472 + Before firmware v1.6.0, the latch time only supported 2 bytes. 1473 + 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 + 1469 1469 DO1 pin, DO2 pin, and DO3 pin will be set to low, last for 2 seconds, and then revert to their original state. 1470 1470 1471 -**2. A9 01 00 01 11 07 D0** 1472 1472 1483 +**A9 01 00 01 11 07 D0** 1484 + 1473 1473 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. 1474 1474 1475 -**3. A9 00 00 00 00 07 D0** 1476 1476 1488 +**A9 00 00 00 00 07 D0** 1489 + 1477 1477 DO1 pin, DO2 pin, and DO3 pin will be set to high, last for 2 seconds, and then all change to low. 1478 1478 1479 -**4. A9 00 11 01 00 07 D0** 1480 1480 1493 +**A9 00 11 01 00 07 D0** 1494 + 1481 1481 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 +))) 1482 1482 1483 1483 1484 1484 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== ... ... @@ -2861,7 +2861,6 @@ 2861 2861 * (% style="color:red" %)**IN865**(%%): LT with frequency bands IN865 2862 2862 * (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779 2863 2863 2864 - 2865 2865 = 9. Package information = 2866 2866 2867 2867 ... ... @@ -2879,7 +2879,6 @@ 2879 2879 * Package Size / pcs : 14.5 x 8 x 5 cm 2880 2880 * Weight / pcs : 170 g 2881 2881 2882 - 2883 2883 = 10. Support = 2884 2884 2885 2885
- lt-22222-l-dashboard.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +352.8 KB - Content