Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Mengting Qiu on 2025/06/04 18:42
From version 241.1
edited by Mengting Qiu
on 2025/02/24 10:23
on 2025/02/24 10:23
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ting1 +XWiki.Xiaoling - Content
-
... ... @@ -98,6 +98,7 @@ 98 98 * Automatic RF Sense and CAD with ultra-fast AFC. 99 99 * Packet engine up to 256 bytes with CRC. 100 100 101 + 101 101 == 1.3 Features == 102 102 103 103 ... ... @@ -109,6 +109,7 @@ 109 109 * Firmware upgradable via program port 110 110 * Counting 111 111 113 + 112 112 == 1.4 Applications == 113 113 114 114 ... ... @@ -119,17 +119,18 @@ 119 119 * Smart cities 120 120 * Smart factory 121 121 124 + 122 122 == 1.5 Hardware Variants == 123 123 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- 33222-L**|(% style="width:172px" %)(((130 +|(% style="width:94px" %)**LT-22222-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 -* 3x Digital Input (Bi-direction)132 -* 3x Digital Output134 +* 2 x Digital Input (Bi-direction) 135 +* 2 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) ... ... @@ -136,6 +136,7 @@ 136 136 * 1 x Counting Port 137 137 ))) 138 138 142 + 139 139 = 2. Assembling the device = 140 140 141 141 == 2.1 Connecting the antenna == ... ... @@ -151,11 +151,11 @@ 151 151 == 2.2 Terminals == 152 152 153 153 154 -The LT-22222-L has two screw terminal blocks. The upper screw t erminal block has 6 screw terminals and the lower screw terminal block has 10 screw terminals.158 +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. 155 155 156 156 **Upper screw terminal block (from left to right):** 157 157 158 -(% border="1" cellspacing="3" style="background-color:#f2f2f2 ; width:381px" %)162 +(% border="1" cellspacing="3" style="width:381px;background-color:#f2f2f2" %) 159 159 |=(% style="width: 139px;background-color:#4f81bd;color:white" %)Screw Terminal|=(% style="width: 242px;background-color:#4f81bd;color:white" %)Function 160 160 |(% style="width:139px" %)GND|(% style="width:242px" %)Ground 161 161 |(% style="width:139px" %)VIN|(% style="width:242px" %)Input Voltage ... ... @@ -166,7 +166,7 @@ 166 166 167 167 **Lower screw terminal block (from left to right):** 168 168 169 -(% border="1" cellspacing="3" style="background-color:#f2f2f2 ; width:253px" %)173 +(% border="1" cellspacing="3" style="width:253px;background-color:#f2f2f2" %) 170 170 |=(% style="width: 125px;background-color:#4f81bd;color:white" %)Screw Terminal|=(% style="width: 128px;background-color:#4f81bd;color:white" %)Function 171 171 |(% style="width:125px" %)RO1-2|(% style="width:128px" %)Relay Output 1 172 172 |(% style="width:125px" %)RO1-1|(% style="width:128px" %)Relay Output 1 ... ... @@ -181,7 +181,6 @@ 181 181 182 182 == 2.3 Connecting LT-22222-L to a Power Source == 183 183 184 - 185 185 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. 186 186 187 187 {{warning}} ... ... @@ -194,27 +194,23 @@ 194 194 195 195 = 3. Registering LT-22222-L with a LoRaWAN Network Server = 196 196 197 - 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 == 203 +=== 3.2.1 Prerequisites === 202 202 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. 203 203 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. 205 - 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 215 +=== 3.2.2 The Things Stack === 214 214 215 -== 3.2 The Things Stack == 216 - 217 - 218 218 This section guides you through how to register your LT-22222-L with The Things Stack Sandbox. 219 219 220 220 {{info}} ... ... @@ -225,7 +225,7 @@ 225 225 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. 226 226 227 227 228 -[[image:dragino-lorawan-nw-lt-22222-n.jpg ||height="374" width="1400"]]227 +[[image:dragino-lorawan-nw-lt-22222-n.jpg]] 229 229 230 230 {{info}} 231 231 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. ... ... @@ -232,9 +232,8 @@ 232 232 {{/info}} 233 233 234 234 235 -=== 3.2.1 Setting up === 234 +==== 3.2.2.1 Setting up ==== 236 236 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. 239 239 * Log in to your The Things Stack Sandbox account. 240 240 * Create an **application** with The Things Stack if you do not have one yet (E.g., dragino-docs). ... ... @@ -241,9 +241,8 @@ 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.1Using the LoRaWAN Device Repository ====242 +==== 3.2.2.2 Using the LoRaWAN Device Repository ==== 245 245 246 - 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. ... ... @@ -261,21 +261,14 @@ 261 261 ** Enter the **AppEUI** in the **JoinEUI** field and click the **Confirm** button. If The Things Stack accepts the JoinEUI you provided, it will display the message 'This end device can be registered on the network'. 262 262 ** In the **DevEUI** field, enter the **DevEUI**. 263 263 ** In the **AppKey** field, enter the **AppKey.** 264 -** In the **End device ID** field, enter a unique name for your LT-22222- Lwithin this application.261 +** In the **End device ID** field, enter a unique name for your LT-22222-N within this application. 265 265 ** Under **After registration**, select the **View registered end device** option. 266 -** Click **Register end device** button. 267 267 268 268 [[image:lt-22222-l-dev-repo-reg-p2.png]] 269 269 270 270 271 - *Youwill benavigatedto the**Deviceoverview** page.267 +==== 3.2.2.3 Adding device manually ==== 272 272 273 -[[image:lt-22222-device-overview.png]] 274 - 275 - 276 -==== 3.2.1.2 Adding device manually ==== 277 - 278 - 279 279 * On the **Register end device** page: 280 280 ** Select the option **Enter end device specifies manually** under **Input method**. 281 281 ** Select the **Frequency plan** that matches your device from the **Frequency plan** dropdown list. ... ... @@ -305,11 +305,10 @@ 305 305 [[image:lt-22222-device-overview.png]] 306 306 307 307 308 -=== 3.2.2 Joining === 298 +==== 3.2.2.4 Joining ==== 309 309 300 +On the Device's page, click on **Live data** tab. The Live data panel for your device will display. 310 310 311 -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. 312 - 313 313 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. 314 314 315 315 ... ... @@ -316,17 +316,18 @@ 316 316 [[image:lt-22222-l-joining.png]] 317 317 318 318 319 -=== 3.2.3 Uplinks === 320 320 309 +==== 3.2.2.5 Uplinks ==== 321 321 322 -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. 323 323 324 - Clickononeofthe**Forward uplink data messages**toseeits payloadcontent.Thepayloadcontentisencapsulatedwithinthedecode_payload{}** JSONobject.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. 325 325 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. 315 + 326 326 [[image:lt-22222-ul-payload-decoded.png]] 327 327 328 328 329 -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.319 +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. 330 330 331 331 {{info}} 332 332 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. ... ... @@ -335,18 +335,17 @@ 335 335 [[image:lt-22222-ul-payload-fmt.png]] 336 336 337 337 338 -We have writtena payload formatter that resolves some decoding issues present inTheThings StackDevice Repositorypayloadformatter. 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]]:328 +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]]: 339 339 340 340 (% class="wikigeneratedid" %) 341 341 [[image:lt-22222-l-js-custom-payload-formatter.png]] 342 342 343 343 344 -=== 3.2. 4Downlinks ===334 +==== 3.2.2.6 Downlinks ==== 345 345 336 +When the LT-22222-L receives a downlink message from the server, the **RX LED** turns on for **1 second**. 346 346 347 -When the LT-22222-L receives a downlink message from the LoRaWAN Network Server, the **RX LED** turns on for **1 second**. 348 348 349 - 350 350 == 3.3 Working Modes and Uplink Payload formats == 351 351 352 352 ... ... @@ -366,10 +366,8 @@ 366 366 367 367 The uplink messages are sent over LoRaWAN FPort=2. By default, an uplink message is sent every 10 minutes. 368 368 369 - 370 370 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 371 371 372 - 373 373 ((( 374 374 This is the default mode. 375 375 ... ... @@ -442,7 +442,6 @@ 442 442 443 443 MOD = 1 444 444 445 - 446 446 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 447 447 448 448 ... ... @@ -521,7 +521,6 @@ 521 521 522 522 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 523 523 524 - 525 525 (% style="color:red" %)**Note: The maximum count depends on the bytes it is. 526 526 The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec). 527 527 It starts counting again when it reaches the maximum value.** ... ... @@ -575,7 +575,6 @@ 575 575 576 576 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 577 577 578 - 579 579 (% style="color:red" %)**Note:The maximum count depends on the bytes it is. 580 580 The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec). 581 581 It starts counting again when it reaches the maximum value.** ... ... @@ -645,7 +645,6 @@ 645 645 646 646 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 647 647 648 - 649 649 (% style="color:red" %)**Note:The maximum count depends on the bytes it is. 650 650 The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec). 651 651 It starts counting again when it reaches the maximum value.** ... ... @@ -732,7 +732,7 @@ 732 732 733 733 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) 734 734 735 -AT+AVLIM=5000,0,0,0 (triggers an uplink if AVI1 voltage islower than 5V. Use 0 for parameters that are not in use)718 +AT+AVLIM=5000,0,0,0 (triggers an uplink if AVI1 voltage lower than 5V. Use 0 for parameters that are not in use) 736 736 737 737 738 738 (% style="color:#4f81bd" %)**Trigger based on current**: ... ... @@ -788,7 +788,7 @@ 788 788 789 789 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 790 790 791 -MOD6 Payload: atotal of 11 bytes774 +MOD6 Payload: total of 11 bytes 792 792 793 793 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %) 794 794 |(% 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** ... ... @@ -802,7 +802,7 @@ 802 802 MOD(6) 803 803 ))) 804 804 805 -(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if the trigger is set for this part. Total 1 byte as below .788 +(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if the trigger is set for this part. Totally 1 byte as below 806 806 807 807 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %) 808 808 |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** ... ... @@ -831,7 +831,7 @@ 831 831 10100000: This means the system is configured to use the triggers AV1_LOW and AV2_LOW. 832 832 833 833 834 -(% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger ed. Total 1 byte as below.817 +(% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1 byte as below 835 835 836 836 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %) 837 837 |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** ... ... @@ -860,7 +860,7 @@ 860 860 10000000: The uplink is triggered by AV1_LOW, indicating that the voltage is too low. 861 861 862 862 863 -(% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger ed. Total 1.846 +(% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below 864 864 865 865 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %) 866 866 |(% 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** ... ... @@ -870,7 +870,7 @@ 870 870 871 871 **Example:** 872 872 873 -00000111: This means both DI1 and DI2 triggers are enabled, and this packet is trigger edby DI1.856 +00000111: This means both DI1 and DI2 triggers are enabled, and this packet is trigger by DI1. 874 874 875 875 00000101: This means both DI1 and DI2 triggers are enabled. 876 876 ... ... @@ -881,7 +881,7 @@ 881 881 882 882 **AB 06** 883 883 884 -When thedevice receives this command, it will send the MOD6 payload.867 +When device receives this command, it will send the MOD6 payload. 885 885 886 886 887 887 === 3.3.7 Payload Decoder === ... ... @@ -902,7 +902,7 @@ 902 902 903 903 ((( 904 904 ((( 905 -There are two ty pes of commands:888 +There are two tytes of commands: 906 906 ))) 907 907 ))) 908 908 ... ... @@ -914,7 +914,7 @@ 914 914 915 915 916 916 ((( 917 -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. 900 +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. 918 918 919 919 920 920 ))) ... ... @@ -1105,7 +1105,7 @@ 1105 1105 |(% style="width:95px" %)**Example**|(% style="width:403px" %)((( 1106 1106 AB 06 1107 1107 1108 -Uplink the trigger settings. 1091 +Uplinks the trigger settings. 1109 1109 ))) 1110 1110 1111 1111 ==== 3.4.2.6 Enable/Disable DI1/DI2/DI3 as a trigger ==== ... ... @@ -1163,7 +1163,7 @@ 1163 1163 Enable DI1 trigger, disable DI2 trigger 1164 1164 ))) 1165 1165 1166 -==== 3.4.2.7 Trigger1 – Set DI 1or DI3 as a trigger ====1149 +==== 3.4.2.7 Trigger1 – Set DI or DI3 as a trigger ==== 1167 1167 1168 1168 1169 1169 Sets DI1 or DI3 (for LT-33222-L) as a trigger. ... ... @@ -1334,7 +1334,7 @@ 1334 1334 ))) 1335 1335 |(% style="width:104px" %)**Note**|(% style="width:394px" %)See also, [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1336 1336 1337 -==== 3.4.2.11 Trigger – Set theminimum interval ====1320 +==== 3.4.2.11 Trigger – Set minimum interval ==== 1338 1338 1339 1339 1340 1340 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. ... ... @@ -1424,140 +1424,126 @@ 1424 1424 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 1425 1425 1426 1426 1427 -(% style="color:#037691" %)**AT command**1410 +* (% style="color:#037691" %)**AT Command** 1428 1428 1429 1429 There is no AT command to control the digital output. 1430 1430 1431 1431 1432 -(% style="color:#037691" %)**Downlink payload**1415 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)** 1433 1433 1417 +(% style="color:blue" %)**0xA9 aa bb cc **(%%) ~/~/ Sets DO1/DO2/DO3 outputs with time control 1434 1434 1435 -(% border="2" style="width:500px" %) 1436 -|(% style="width:116px" %)**Prefix**|(% style="width:382px" %)0xA9 1437 -|(% style="width:116px" %)**Parameters**|(% style="width:382px" %)((( 1438 -**inverter_mode**: 1 byte in hex. 1419 +This is to control the digital output time of DO pin. Include four bytes: 1439 1439 1421 +(% style="color:#4f81bd" %)**First byte**(%%)**:** Type code (0xA9) 1422 + 1423 +(% style="color:#4f81bd" %)**Second byte**(%%): Inverter Mode 1424 + 1440 1440 **01:** DO pins revert to their original state after the timeout. 1441 1441 **00:** DO pins switch to an inverted state after the timeout. 1442 1442 1443 1443 1444 -** DO1_control_method_and_port_status**- 1 byte in hex1429 +(% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Port status: 1445 1445 1446 -0x01 : DO1 set to low 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 1447 1447 1448 - 0x00:DO1set to high1437 +(% style="color:#4f81bd" %)**Fourth byte**(%%): Control Method and Port status: 1449 1449 1450 -0x11 : DO1 NO action 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 1451 1451 1445 +(% style="color:#4f81bd" %)**Fifth byte**(%%): Control Method and Port status: 1452 1452 1453 -**DO2_control_method_and_port_status** - 1 byte in hex 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 1454 1454 1455 - 0x01:DO2set tolow1453 +(% style="color:#4f81bd" %)**Sixth, Seventh, Eighth, and Ninth bytes**:(%%) Latching time (Unit: ms) 1456 1456 1457 -0x00 : DO2 set to high 1458 1458 1459 -0x11 : DO2 NO action 1460 - 1461 - 1462 -**DO3_control_method_and_port_status **- 1 byte in hex 1463 - 1464 -0x01 : DO3 set to low 1465 - 1466 -0x00 : DO3 set to high 1467 - 1468 -0x11 : DO3 NO action 1469 - 1470 - 1471 -**latching_time** : 4 bytes in hex 1472 - 1473 1473 (% style="color:red" %)**Note: ** 1474 1474 1475 - Since firmware v1.6.0, the latch time support s4 bytesor2 bytes1458 + Since firmware v1.6.0, the latch time support 4 bytes and 2 bytes 1476 1476 1477 1477 Before firmware v1.6.0, the latch time only supported 2 bytes. 1478 1478 1479 1479 (% style="color:red" %)**The device will uplink a packet if the downlink code executes successfully.** 1480 -))) 1481 -|(% 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> 1482 -|(% style="width:116px" %)**Example**|(% style="width:382px" %)((( 1483 -**A9 01 01 01 01 07 D0** 1484 1484 1485 -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 1465 +**Example payload:** 1487 1487 1488 -**A9 01 0 001 1107 D0**1467 +**~1. A9 01 01 01 01 07 D0** 1489 1489 1490 -DO1 pin is set to high, DO2 pinis set to low, and DO3 pintakesnoaction.Thislastsfor 2 seconds and then revertsto the original state.1469 +DO1 pin, DO2 pin, and DO3 pin will be set to low, last for 2 seconds, and then revert to their original state. 1491 1491 1471 +**2. A9 01 00 01 11 07 D0** 1492 1492 1493 - **A90000000007D0**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. 1494 1494 1475 +**3. A9 00 00 00 00 07 D0** 1476 + 1495 1495 DO1 pin, DO2 pin, and DO3 pin will be set to high, last for 2 seconds, and then all change to low. 1496 1496 1479 +**4. A9 00 11 01 00 07 D0** 1497 1497 1498 - **A90011010007D0**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. 1499 1499 1500 -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. 1501 -))) 1502 1502 1503 1503 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1504 1504 1505 1505 1506 -(% style="color:#037691" %)**AT Command:** 1487 +* (% style="color:#037691" %)**AT Command:** 1507 1507 1508 -There is no AT Command to control the Relay Output .1489 +There is no AT Command to control the Relay Output 1509 1509 1510 1510 1511 -(% style="color:#037691" %)**Downlink Payload** 1492 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):** 1512 1512 1513 -(% border="2" style="width:500px" %) 1514 -|(% style="width:113px" %)**Prefix**|(% style="width:384px" %)0x03 1515 -|(% style="width:113px" %)**Parameters**|(% style="width:384px" %)((( 1516 -**RO1_status** : 1 byte in hex 1494 +(% style="color:blue" %)**0x03 aa bb ** (%%)~/~/ Sets RO1/RO2 output 1517 1517 1518 -00: Close 1519 1519 1520 -01: Open 1497 +((( 1498 +If the payload is 0x030100, it means setting RO1 to close and RO2 to open. 1499 +))) 1521 1521 1522 -11: No action 1501 +((( 1502 +00: Close , 01: Open , 11: No action 1523 1523 1524 - 1525 -**RO2_status** : 1 byte in hex 1526 - 1527 -00: Close 1528 - 1529 -01: Open 1530 - 1531 -11: No action 1504 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:320px" %) 1505 +|(% style="background-color:#4f81bd; color:white" %)**Downlink Code**|(% style="background-color:#4f81bd; color:white" %)**RO1**|(% style="background-color:#4f81bd; color:white" %)**RO2** 1506 +|03 00 11|Open|No Action 1507 +|03 01 11|Close|No Action 1508 +|03 11 00|No Action|Open 1509 +|03 11 01|No Action|Close 1510 +|03 00 00|Open|Open 1511 +|03 01 01|Close|Close 1512 +|03 01 00|Close|Open 1513 +|03 00 01|Open|Close 1532 1532 ))) 1533 -|(% style="width:113px" %)**Payload format**|(% style="width:384px" %)<prefix><RO1_status><RO2_status> 1534 -|(% style="width:113px" %)**Example**|(% style="width:384px" %)((( 1535 -(% border="2" %) 1536 -|=Payload|=RO1|=RO2 1537 -|03 00 11|Open|No action 1538 -|03 01 11|Close|No action 1539 -|03 11 00|No action|Open 1540 -|03 11 10|No action|Close 1541 -|03 00 00|Open|Open 1542 -|03 01 01|Close|Close 1543 -|03 01 00|Close|Open 1544 -|03 00 01|Open|Close 1545 1545 1546 -(% style="color:red" %)**The device will transmit an uplink packet if the downlink payload is executed successfully.** 1547 -))) 1516 +(% style="color:red" %)**The device will uplink a packet if the downlink code executes successfully.** 1548 1548 1518 + 1549 1549 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1550 1550 1551 1551 1552 1552 Controls the relay output time. 1553 1553 1524 +* (% style="color:#037691" %)**AT Command:** 1554 1554 1555 -(% style="color:#037691" %)**AT Command:** 1556 - 1557 1557 There is no AT Command to control the Relay Output 1558 1558 1559 1559 1560 -(% style="color:#037691" %)**Downlink Payload (prefix 0x05):** 1529 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):** 1561 1561 1562 1562 (% style="color:blue" %)**0x05 aa bb cc dd ** (%%)~/~/ Sets RO1/RO2 relays with time control 1563 1563 ... ... @@ -1568,9 +1568,9 @@ 1568 1568 1569 1569 (% style="color:#4f81bd" %)**Second byte (aa)**(%%): Inverter Mode 1570 1570 1571 -01: Relays will change back to their original state after atimeout.1540 +01: Relays will change back to their original state after timeout. 1572 1572 1573 -00: Relays will change to the inverter state after atimeout.1542 +00: Relays will change to the inverter state after timeout. 1574 1574 1575 1575 1576 1576 (% style="color:#4f81bd" %)**Third byte (bb)**(%%): Control Method and Ports status: ... ... @@ -1599,7 +1599,7 @@ 1599 1599 1600 1600 **2. 05 01 10 07 D0** 1601 1601 1602 -Relay1 will change to NC, Relay2 will change to NO, lasting 2 seconds, andthen both will revert to their original state.1571 +Relay1 will change to NC, Relay2 will change to NO, lasting 2 seconds, then both will revert to their original state. 1603 1603 1604 1604 **3. 05 00 01 07 D0** 1605 1605 ... ... @@ -1630,7 +1630,7 @@ 1630 1630 1631 1631 **1**: higher than 1632 1632 1633 -if you leave thelogic parameter blank, it is considered 01602 +if you leave logic parameter blank, it is considered 0 1634 1634 ))) 1635 1635 |(% style="width:137px" %)**Examples**|(% style="width:361px" %)((( 1636 1636 AT+VOLMAX=20000 ... ... @@ -1661,7 +1661,7 @@ 1661 1661 1662 1662 **1**: higher than 1663 1663 1664 -if you leave thelogic parameter blank, it is considered 1 (higher than)1633 +if you leave logic parameter blank, it is considered 1 (higher than) 1665 1665 ))) 1666 1666 |(% style="width:140px" %)**Example**|(% style="width:358px" %)((( 1667 1667 A5 **4E 20** ... ... @@ -1925,7 +1925,7 @@ 1925 1925 ==== 3.4.2.24 When the limit bytes are exceeded, upload in batches ==== 1926 1926 1927 1927 1928 -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. 1897 +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. 1929 1929 1930 1930 (% style="color:#037691" %)**AT Command** 1931 1931 ... ... @@ -1994,15 +1994,15 @@ 1994 1994 There is no downlink option available for this feature. 1995 1995 1996 1996 1997 -==== 3.4.2.26 Query firmware version, frequency band, subband, and TDC time ==== 1966 +==== 3.4.2.26 Query firmware version, frequency band, sub band, and TDC time ==== 1998 1998 1999 1999 2000 -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. 1969 +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. 2001 2001 2002 2002 * ((( 2003 2003 (% style="color:#037691" %)**Downlink Payload**(%%)**:** 2004 2004 2005 -(% 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. 1974 +(% 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. 2006 2006 2007 2007 2008 2008 ... ... @@ -2057,7 +2057,7 @@ 2057 2057 * Ensure the following options are turned on. 2058 2058 ** Enable integration 2059 2059 ** Debug mode 2060 -** Allow creat ingdevices or assets2029 +** Allow create devices or assets 2061 2061 * Click the **Next** button. you will be navigated to the **Uplink data converter** tab. 2062 2062 2063 2063 [[image:thingseye-io-step-2.png]] ... ... @@ -2132,7 +2132,7 @@ 2132 2132 [[image:thingseye-events.png]] 2133 2133 2134 2134 2135 -* To view the **JSON payload** of a message, click on the **three dots (...)** in the **Message**column of the desired message.2104 +* To view the **JSON payload** of a message, click on the **three dots (...)** in the Message column of the desired message. 2136 2136 2137 2137 [[image:thingseye-json.png]] 2138 2138 ... ... @@ -2143,16 +2143,12 @@ 2143 2143 If you want to delete an integration, click the **Delete integratio**n button on the Integrations page. 2144 2144 2145 2145 2146 -==== 3.5.2.4 Viewing sensorataon adashboard====2115 +==== 3.5.2.4 Creating a Dashboard to Display and Analyze LT-22222-L Data ==== 2147 2147 2148 2148 2149 - You can create a dashboard withThingsEyeto visualize the sensor data coming from the LT-22222-L. The followingimageshowsaashboardcreatedfor the LT-22222-L. See **Creating a dashboard** in ThingsEye documentation for more information.2118 +This will be added soon. 2150 2150 2151 2151 2152 - 2153 -[[image:lt-22222-l-dashboard.png]] 2154 - 2155 - 2156 2156 == 3.6 Interface Details == 2157 2157 2158 2158 === 3.6.1 Digital Input Ports: DI1/DI2/DI3 (For LT-33222-L, Low Active) === ... ... @@ -2367,7 +2367,7 @@ 2367 2367 == 3.7 LED Indicators == 2368 2368 2369 2369 2370 -The table below lists the behavio ur of LED indicators for each port function.2335 +The table below lists the behavior of LED indicators for each port function. 2371 2371 2372 2372 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 2373 2373 |(% style="background-color:#4f81bd; color:white; width:50px" %)**LEDs**|(% style="background-color:#4f81bd; color:white; width:460px" %)**Feature** ... ... @@ -2374,11 +2374,11 @@ 2374 2374 |**PWR**|Always on when there is power 2375 2375 |**TX**|((( 2376 2376 ((( 2377 -Device boot ing: TX blinks 5 times.2342 +Device boot: TX blinks 5 times. 2378 2378 ))) 2379 2379 2380 2380 ((( 2381 -Successful network join s: TX remains ON for 5 seconds.2346 +Successful network join: TX remains ON for 5 seconds. 2382 2382 ))) 2383 2383 2384 2384 ((( ... ... @@ -2462,13 +2462,13 @@ 2462 2462 * ##**AT+FCU**##: Get or set the Frame Counter Uplink (FCntUp) 2463 2463 * ##**AT+FCD**##: Get or set the Frame Counter Downlink (FCntDown) 2464 2464 * ##**AT+CLASS**##: Get or set the Device Class 2465 -* ##**AT+JOIN**##: Join Network2430 +* ##**AT+JOIN**##: Join network 2466 2466 * ##**AT+NJS**##: Get OTAA Join Status 2467 2467 * ##**AT+SENDB**##: Send hexadecimal data along with the application port 2468 2468 * ##**AT+SEND**##: Send text data along with the application port 2469 -* ##**AT+RECVB**##: Print thelast received data in binary format (with hexadecimal values)2470 -* ##**AT+RECV**##: Print thelast received data in raw format2471 -* ##**AT+VER**##: Get thecurrent image version and Frequency Band2434 +* ##**AT+RECVB**##: Print last received data in binary format (with hexadecimal values) 2435 +* ##**AT+RECV**##: Print last received data in raw format 2436 +* ##**AT+VER**##: Get current image version and Frequency Band 2472 2472 * ##**AT+CFM**##: Get or Set the confirmation mode (0-1) 2473 2473 * ##**AT+CFS**##: Get confirmation status of the last AT+SEND (0-1) 2474 2474 * ##**AT+SNR**##: Get the SNR of the last received packet ... ... @@ -2496,7 +2496,7 @@ 2496 2496 ))) 2497 2497 2498 2498 ((( 2499 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT command access**## 2464 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT commands access**## 2500 2500 ))) 2501 2501 2502 2502 ((( ... ... @@ -2504,7 +2504,7 @@ 2504 2504 ))) 2505 2505 2506 2506 ((( 2507 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT command access**## 2472 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT commands access**## 2508 2508 ))) 2509 2509 2510 2510 ((( ... ... @@ -2535,7 +2535,7 @@ 2535 2535 2536 2536 2537 2537 ((( 2538 -(% style="background-color:#dcdcdc" %)**123456**(%%) ~/~/ Enter thepassword to enable AT commands access2503 +(% style="background-color:#dcdcdc" %)**123456**(%%) ~/~/ Enter password to enable AT commands access 2539 2539 ))) 2540 2540 ))) 2541 2541 ... ... @@ -2544,7 +2544,7 @@ 2544 2544 ))) 2545 2545 2546 2546 ((( 2547 -(% style="background-color:#dcdcdc" %)** 123456**(%%) ~/~/ Enter thepassword to enable AT command access2512 +(% style="background-color:#dcdcdc" %)** 123456**(%%) ~/~/ Enter password to enable AT commands access 2548 2548 ))) 2549 2549 2550 2550 ((( ... ... @@ -2626,7 +2626,7 @@ 2626 2626 == 5.1 Counting how many objects pass through the flow line == 2627 2627 2628 2628 2629 -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]] .2594 +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]]? 2630 2630 2631 2631 2632 2632 = 6. FAQ = ... ... @@ -2696,13 +2696,13 @@ 2696 2696 ))) 2697 2697 2698 2698 ((( 2699 -You can follow the introductions on [[how to upgrade theimage>>||anchor="H5.1Howtoupgradetheimage3F"]]. When downloading, select the required image file.2664 +You can follow the introductions on [[how to upgrade image>>||anchor="H5.1Howtoupgradetheimage3F"]]. When downloading, select the required image file. 2700 2700 ))) 2701 2701 2702 2702 ((( 2703 2703 2704 2704 2705 -== 6.3 How to set 2670 +== 6.3 How to setup LT-22222-L to work with a Single Channel Gateway, such as LG01/LG02? == 2706 2706 2707 2707 2708 2708 ))) ... ... @@ -2804,9 +2804,9 @@ 2804 2804 * If the device is not properly shut down and is directly powered off. 2805 2805 * It will default to a power-off state. 2806 2806 * In modes 2 to 5, the DO/RO status and pulse count are saved to flash memory. 2807 -* After a restart, the status before the power failure will be read from Flash.2772 +* After a restart, the status before the power failure will be read from flash. 2808 2808 2809 -== 6.8 Can I set nNC (Normally Closed) relay? ==2774 +== 6.8 Can I setup LT-22222-L as a NC (Normally Closed) relay? == 2810 2810 2811 2811 2812 2812 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: ... ... @@ -2896,6 +2896,7 @@ 2896 2896 * (% style="color:red" %)**IN865**(%%): LT with frequency bands IN865 2897 2897 * (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779 2898 2898 2864 + 2899 2899 = 9. Package information = 2900 2900 2901 2901 ... ... @@ -2913,6 +2913,7 @@ 2913 2913 * Package Size / pcs : 14.5 x 8 x 5 cm 2914 2914 * Weight / pcs : 170 g 2915 2915 2882 + 2916 2916 = 10. Support = 2917 2917 2918 2918
- lt-22222-l-dashboard.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.pradeeka - Size
-
... ... @@ -1,1 +1,0 @@ 1 -352.8 KB - Content