Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -256,12 +256,12 @@ 256 256 [[image:1653298044601-602.png||height="405" width="709"]] 257 257 258 258 259 -== 3.3 Work Modes and theirUplink Payload formats ==259 +== 3.3 Uplink Payload formats == 260 260 261 261 262 -The LT-22222-L has 5 **work modes**. It also has an interrupt/trigger mode for different types of applications that can be used together with any working mode as an additional feature. The default mode is MOD1 and you can switch between these modes using AT commands.262 +The LT-22222-L has 5 working modes. It also has an interrupt/trigger mode for different types of applications that can be used together with any working mode as an additional feature. The default mode is MOD1 and you can switch between these modes using AT commands. 263 263 264 -* (% style="color:blue" %)**MOD1**(%%): (default mode/factory set): 2ACI + 2AVI + DI + DO + RO 264 +* (% style="color:blue" %)**MOD1**(%%): (default mode/factory set): 2 x ACI + 2AVI + DI + DO + RO 265 265 266 266 * (% style="color:blue" %)**MOD2**(%%): Double DI Counting + DO + RO 267 267 ... ... @@ -275,8 +275,9 @@ 275 275 276 276 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 277 277 278 + 278 278 ((( 279 -The uplink payload is 11 bytes long. Uplink messages are sent over LoRaWAN FPort280 +The uplink payload is 11 bytes long. Uplink packets are sent over LoRaWAN FPort=2. By default, one uplink is sent every 10 minutes. (% style="display:none" wfd-invisible="true" %) 280 280 281 281 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 282 282 |(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1** ... ... @@ -288,13 +288,13 @@ 288 288 ACI1 Current 289 289 )))|((( 290 290 ACI2 Current 291 -)))| **DIDORO***|(((292 +)))|DIDORO*|((( 292 292 Reserve 293 293 )))|MOD 294 294 ))) 295 295 296 296 ((( 297 -(% style="color:#4f81bd" %)*** DIDORO**(%%) is a combination of RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1, a nditssizeis1 bytelongas shown below.298 +(% style="color:#4f81bd" %)*** DIDORO**(%%) is a combination of RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1, for a total of 1 byte, as shown below. 298 298 299 299 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 300 300 |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** ... ... @@ -301,9 +301,9 @@ 301 301 |RO1|RO2|--DI3--|DI2|DI1|--DO3--|DO2|DO1 302 302 ))) 303 303 304 -* RO is for the relay. ROx=1: CLOSED, ROx=0 alwaysOPEN.305 -* DI is for digital input. DIx=1: HIGHorFLOATING, DIx=0:LOW.306 -* DO is for reverse digital output. DOx=1: LOW, DOx=0:HIGHorFLOATING.305 +* RO is for the relay. ROx=1: closed, ROx=0 always open. 306 +* DI is for digital input. DIx=1: high or floating, DIx=0: low. 307 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or floating. 307 307 308 308 (% style="color:red" %)**Note: DI3 and DO3 bits are not valid for LT-22222-L** 309 309 ... ... @@ -341,7 +341,7 @@ 341 341 342 342 343 343 ((( 344 -**For LT-22222-L**: In this mode, **DI1 and DI2** are used as counting pins. 345 +**For LT-22222-L**: In this mode, the **DI1 and DI2** are used as counting pins. 345 345 ))) 346 346 347 347 ((( ... ... @@ -355,17 +355,17 @@ 355 355 ))) 356 356 357 357 ((( 358 -(% style="color:#4f81bd" %)***DIDORO**(%%) is a combination of RO1, RO2, DO3, DO2 and DO1, a nditssizeis1 bytelongas shown below.359 +(% style="color:#4f81bd" %)***DIDORO**(%%) is a combination of RO1, RO2, DO3, DO2 and DO1, for a total of 1 byte, as shown below. 359 359 360 360 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 361 361 |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** 362 362 |RO1|RO2|FIRST|Reserve|Reserve|--DO3--|DO2|DO1 363 363 364 -* RO is for the relay. ROx=1: CLOSED, ROx=0 alwaysOPEN.365 +* RO is for the relay. ROx=1: closed, ROx=0 always open. 365 365 ))) 366 366 367 367 * FIRST: Indicates that this is the first packet after joining the network. 368 -* DO is for reverse digital output. DOx=1: LOW, DOx=0:HIGHorFLOATING.369 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or floating. 369 369 370 370 ((( 371 371 (% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L** ... ... @@ -764,11 +764,11 @@ 764 764 ))) 765 765 766 766 767 -== 3.4 Configure LT via AT Commands or Downlinks==768 +== 3.4 Configure LT via AT or Downlink == 768 768 769 769 770 770 ((( 771 -User can configure LT I/O Controller via AT Commands or LoRaWAN Downlinks .772 +User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands 772 772 ))) 773 773 774 774 ((( ... ... @@ -783,8 +783,9 @@ 783 783 784 784 === 3.4.1 Common Commands === 785 785 787 + 786 786 ((( 787 -The secommandsshould be available for allDraginosensors, such as changing the uplink intervalorresettingthedevice. For firmware v1.5.4,you can findthe supportedcommon commands under [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]].789 +They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] 788 788 ))) 789 789 790 790 ... ... @@ -792,8 +792,9 @@ 792 792 793 793 ==== 3.4.2.1 Set Transmit Interval ==== 794 794 795 -Sets the uplink interval of the device. The default uplink transmission interval is 10 minutes. 796 796 798 +Sets the uplink interval of the device. 799 + 797 797 * (% style="color:#037691" %)**AT command:** 798 798 799 799 (% style="color:blue" %)**AT+TDC=N** ... ... @@ -1355,107 +1355,67 @@ 1355 1355 1356 1356 If you are using one of The Things Stack plans, you can integrate ThingsEye.io with your application. Once integrated, ThingsEye.io works as an MQTT client for The Things Stack MQTT broker, allowing it to subscribe to upstream traffic and publish downlink traffic. 1357 1357 1358 -=== 3.5.1 Configuring MQTT Connection Information withThe Things Stack Sandbox ===1361 +=== 3.5.1 Configuring The Things Stack Sandbox === 1359 1359 1360 -* In **The Things Stack Sandbox**, select your application under **Applications**. 1361 -* Select **MQTT** under **Integrations**. 1362 -* In the **Connection information **section, for **Username**, The Things Stack displays an auto-generated username. You can use it or provide a new one. 1363 -* For the **Password**, click the **Generate new API key** button to generate a password. You can see it by clicking on the **eye** button. 1363 +* Go to your Application and select MQTT under Integrations. 1364 +* In the Connection credentials section, under Username, The Thins Stack displays an auto-generated username. You can use it or provide a new one. 1365 +* For the Password, click the Generate new API key button to generate a password. You can see it by clicking on the eye button. 1364 1364 1365 1365 [[image:tts-mqtt-integration.png||height="625" width="1000"]] 1366 1366 1367 1367 === 3.5.2 Configuring ThingsEye.io === 1368 1368 1369 -* Login to your [[ThingsEye.io>>https://thingseye.io]]account.1370 -* Under the **Integrations center**, click**Integrations**.1371 -* Click the **Add integration**button (the button with the**+**symbol).1371 +* Login to your thingsEye.io account. 1372 +* Under the Integrations center, click Integrations. 1373 +* Click the Add integration button (the button with the + symbol). 1372 1372 1373 1373 [[image:thingseye-io-step-1.png||height="625" width="1000"]] 1374 1374 1375 1375 1376 -On the **Add integration** window,configure the following:1378 +On the Add integration page configure the following: 1377 1377 1378 - ~1. **Basic settings:**1380 +Basic settings: 1379 1379 1380 -* Select **The Things Stack Community** from the **Integration type** list. 1381 -* Enter a suitable name for your integration in the **Name **text** **box or keep the default name. 1382 -* Ensure the following options are turned on. 1383 -** Enable integration 1384 -** Debug mode 1385 -** Allow create devices or assets 1386 -* Click the **Next** button. you will be navigated to the **Uplink data converter** tab. 1382 +* Select The Things Stack Community from the Integration type list. 1383 +* Enter a suitable name for your integration in the Name box or keep the default name. 1384 +* Click the Next button. 1387 1387 1388 1388 [[image:thingseye-io-step-2.png||height="625" width="1000"]] 1389 1389 1388 +Uplink Data converter: 1390 1390 1391 -2. **Uplink data converter:** 1390 +* Click the Create New button if it is not selected by default. 1391 +* Click the JavaScript button. 1392 +* Paste the uplink decoder function into the text area (first, delete the default code). The demo decoder function can be found here. 1393 +* Click the Next button. 1392 1392 1393 -* Click the **Create new** button if it is not selected by default. 1394 -* Enter a suitable name for the uplink data converter in the **Name **text** **box or keep the default name. 1395 -* Click the **JavaScript** button. 1396 -* Paste the uplink decoder function into the text area (first, delete the default code). The demo decoder function can be found [[here>>https://raw.githubusercontent.com/ThingsEye-io/te-platform/refs/heads/main/Data%20Converters/The_Things_Network_MQTT_Uplink_Converter.js]]. 1397 -* Click the **Next** button. You will be navigated to the **Downlink data converter **tab. 1398 - 1399 1399 [[image:thingseye-io-step-3.png||height="625" width="1000"]] 1400 1400 1401 - 3.**Downlinkdata converter (this is an optional step):**1397 +Downlink Data converter (this is an optional step): 1402 1402 1403 -* Click the **Create new** button if it is not selected by default. 1404 -* Enter a suitable name for the downlink data converter in the **Name **text** **box or keep the default name 1405 -* Click the **JavaScript** button. 1399 +* Click the Create new button if it is not selected by default. 1400 +* Click the JavaScript button. 1406 1406 * Paste the downlink decoder function into the text area (first, delete the default code). The demo decoder function can be found here. 1407 -* Click the **Next**button.You will be navigated to the **Connection** tab.1402 +* Click the Next button. 1408 1408 1409 1409 [[image:thingseye-io-step-4.png||height="625" width="1000"]] 1410 1410 1411 - 4. **Connection:**1406 +Connection: 1412 1412 1413 -* Choose **Region**from the**Host type**.1414 -* Enter the **cluster**of your**The Things Stack**in the**Region**textbox.You can find the cluster in the url (e.g., https:~/~/**eu1**.cloud.thethings.network/...).1415 -* Enter the **Username**and**Password**of the MQTTintegrationinthe**Credentials**section.The username and password can befoundonthe MQTTintegrationpage ofyourThe Things Stackaccount (see Configuring MQTT Connection information with The Things Stack Sandbox).1416 -* Click the **Check connection**buttonto test the connection. If the connection is successful, you can see the message saying**Connected**.1417 -* Click the **Add**button.1408 +* Choose Region from the Host type. 1409 +* Enter the cluster of your The Things Stack in the Region textbox. 1410 +* Enter the Username and Password in the Credentials section. Use the same username and password you created with the MQTT page of The Things Stack. 1411 +* Click Check connection to test the connection. If the connection is successful, you can see the message saying Connected. 1412 +* Click the Add button. 1418 1418 1419 1419 [[image:thingseye-io-step-5.png||height="625" width="1000"]] 1420 1420 1421 1421 1422 -Your integration is added to the **Integrations**list and it will display on the**Integrations**page.Check whether the status is showing as 'Active'. if not, check your configuration settings again.1417 +Your integration is added to the integrations list and it will display on the Integrations page. 1423 1423 1424 1424 [[image:thingseye-io-step-6.png||height="625" width="1000"]] 1425 1425 1426 1426 1427 -Viewing integration details: 1428 - 1429 -Click on the your integration from the list. The Integration details window will appear with the Details tab selected. The Details tab shows all the settings you have provided for this integration. 1430 - 1431 -[add image here] 1432 - 1433 -If you want to edit the settings you have provided, click on the Toggle edit mode button. 1434 - 1435 -[add image here] 1436 - 1437 -Once you have done click on the Apply changes button. 1438 - 1439 -Note: See also ThingsEye documentation. 1440 - 1441 -Click on the Events tab. 1442 - 1443 -- Select Debug from the Event type dropdown. 1444 - 1445 -- Select the time frame from the time window. 1446 - 1447 -[insert image] 1448 - 1449 -- To view the JSON payload of a message, click on the three dots (...) in the Message column of the desired message. 1450 - 1451 -[insert image] 1452 - 1453 - 1454 -Deleting the integration: 1455 - 1456 -If you want to delete this integration, click the Delete integration button. 1457 - 1458 - 1459 1459 == 3.6 Interface Details == 1460 1460 1461 1461 === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===