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 259 +== 3.3 Work Modes and their Uplink Payload formats == 260 260 261 261 262 -The LT-22222-L has 5 work ingmodes. 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 **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. 263 263 264 -* (% style="color:blue" %)**MOD1**(%%): (default mode/factory set): 2 xACI + 2AVI + DI + DO + RO264 +* (% style="color:blue" %)**MOD1**(%%): (default mode/factory set): 2ACI + 2AVI + DI + DO + RO 265 265 266 266 * (% style="color:blue" %)**MOD2**(%%): Double DI Counting + DO + RO 267 267 ... ... @@ -275,9 +275,8 @@ 275 275 276 276 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 277 277 278 - 279 279 ((( 280 -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" %)279 +The uplink payload is 11 bytes long. Uplink messages are sent over LoRaWAN FPort 2. By default, one uplink is sent every 10 minutes. (% style="display:none" wfd-invisible="true" %) 281 281 282 282 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 283 283 |(% 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** ... ... @@ -289,13 +289,13 @@ 289 289 ACI1 Current 290 290 )))|((( 291 291 ACI2 Current 292 -)))|DIDORO*|((( 291 +)))|**DIDORO***|((( 293 293 Reserve 294 294 )))|MOD 295 295 ))) 296 296 297 297 ((( 298 -(% style="color:#4f81bd" %)*** DIDORO**(%%) is a combination of RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1, fora totalof1 byte,as shown below.297 +(% style="color:#4f81bd" %)*** DIDORO**(%%) is a combination of RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1, and its size is1 byte long as shown below. 299 299 300 300 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 301 301 |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** ... ... @@ -302,9 +302,9 @@ 302 302 |RO1|RO2|--DI3--|DI2|DI1|--DO3--|DO2|DO1 303 303 ))) 304 304 305 -* RO is for the relay. ROx=1: closed, ROx=0 alwaysopen.306 -* DI is for digital input. DIx=1: highorfloating, DIx=0:low.307 -* DO is for reverse digital output. DOx=1: output low, DOx=0:highorfloating.304 +* RO is for the relay. ROx=1: CLOSED, ROx=0 always OPEN. 305 +* DI is for digital input. DIx=1: HIGH or FLOATING, DIx=0: LOW. 306 +* DO is for reverse digital output. DOx=1: LOW, DOx=0: HIGH or FLOATING. 308 308 309 309 (% style="color:red" %)**Note: DI3 and DO3 bits are not valid for LT-22222-L** 310 310 ... ... @@ -342,7 +342,7 @@ 342 342 343 343 344 344 ((( 345 -**For LT-22222-L**: In this mode, the**DI1 and DI2** are used as counting pins.344 +**For LT-22222-L**: In this mode, **DI1 and DI2** are used as counting pins. 346 346 ))) 347 347 348 348 ((( ... ... @@ -356,17 +356,17 @@ 356 356 ))) 357 357 358 358 ((( 359 -(% style="color:#4f81bd" %)***DIDORO**(%%) is a combination of RO1, RO2, DO3, DO2 and DO1, fora totalof1 byte,as shown below.358 +(% style="color:#4f81bd" %)***DIDORO**(%%) is a combination of RO1, RO2, DO3, DO2 and DO1, and its size is 1 byte long as shown below. 360 360 361 361 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 362 362 |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** 363 363 |RO1|RO2|FIRST|Reserve|Reserve|--DO3--|DO2|DO1 364 364 365 -* RO is for the relay. ROx=1: closed, ROx=0 alwaysopen.364 +* RO is for the relay. ROx=1: CLOSED, ROx=0 always OPEN. 366 366 ))) 367 367 368 368 * FIRST: Indicates that this is the first packet after joining the network. 369 -* DO is for reverse digital output. DOx=1: output low, DOx=0:highorfloating.368 +* DO is for reverse digital output. DOx=1: LOW, DOx=0: HIGH or FLOATING. 370 370 371 371 ((( 372 372 (% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L** ... ... @@ -765,11 +765,11 @@ 765 765 ))) 766 766 767 767 768 -== 3.4 Configure LT via AT or Downlink == 767 +== 3.4 Configure LT via AT Commands or Downlinks == 769 769 770 770 771 771 ((( 772 -User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands771 +User can configure LT I/O Controller via AT Commands or LoRaWAN Downlinks. 773 773 ))) 774 774 775 775 ((( ... ... @@ -784,9 +784,8 @@ 784 784 785 785 === 3.4.1 Common Commands === 786 786 787 - 788 788 ((( 789 -The yshould be available foreachofDraginoSensors, such as:change uplink interval,reset device. For firmware v1.5.4, usercan findwhat common commandsit supports:[[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]787 +These commands should be available for all Dragino sensors, 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]]. 790 790 ))) 791 791 792 792 ... ... @@ -794,9 +794,8 @@ 794 794 795 795 ==== 3.4.2.1 Set Transmit Interval ==== 796 796 795 +Sets the uplink interval of the device. The default uplink transmission interval is 10 minutes. 797 797 798 -Sets the uplink interval of the device. 799 - 800 800 * (% style="color:#037691" %)**AT command:** 801 801 802 802 (% style="color:blue" %)**AT+TDC=N** ... ... @@ -1358,67 +1358,107 @@ 1358 1358 1359 1359 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. 1360 1360 1361 -=== 3.5.1 Configuring The Things Stack Sandbox === 1358 +=== 3.5.1 Configuring MQTT Connection Information with The Things Stack Sandbox === 1362 1362 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. 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. 1366 1366 1367 1367 [[image:tts-mqtt-integration.png||height="625" width="1000"]] 1368 1368 1369 1369 === 3.5.2 Configuring ThingsEye.io === 1370 1370 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). 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). 1374 1374 1375 1375 [[image:thingseye-io-step-1.png||height="625" width="1000"]] 1376 1376 1377 1377 1378 -On the Add integration pageconfigure the following:1376 +On the **Add integration** window, configure the following: 1379 1379 1380 -Basic settings: 1378 +~1. **Basic settings:** 1381 1381 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. 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. 1385 1385 1386 1386 [[image:thingseye-io-step-2.png||height="625" width="1000"]] 1387 1387 1388 -Uplink Data converter: 1389 1389 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. 1391 +2. **Uplink data converter:** 1394 1394 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 + 1395 1395 [[image:thingseye-io-step-3.png||height="625" width="1000"]] 1396 1396 1397 -Downlink Data converter (this is an optional step):1401 +3.** Downlink data converter (this is an optional step):** 1398 1398 1399 -* Click the Create new button if it is not selected by default. 1400 -* Click the JavaScript button. 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. 1401 1401 * Paste the downlink decoder function into the text area (first, delete the default code). The demo decoder function can be found here. 1402 -* Click the Next button. 1407 +* Click the **Next** button. You will be navigated to the **Connection** tab. 1403 1403 1404 1404 [[image:thingseye-io-step-4.png||height="625" width="1000"]] 1405 1405 1406 -Connection: 1411 +4. **Connection:** 1407 1407 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 thesameusername and passwordyoucreatedwiththe 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. 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 MQTT integration in the **Credentials** section. The username and password can be found on the MQTT integration page of your The Things Stack account (see Configuring MQTT Connection information with The Things Stack Sandbox). 1416 +* Click the **Check connection** button to test the connection. If the connection is successful, you can see the message saying **Connected**. 1417 +* Click the **Add** button. 1413 1413 1414 1414 [[image:thingseye-io-step-5.png||height="625" width="1000"]] 1415 1415 1416 1416 1417 -Your integration is added to the integrations list and it will display on the Integrations page.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. 1418 1418 1419 1419 [[image:thingseye-io-step-6.png||height="625" width="1000"]] 1420 1420 1421 1421 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 + 1422 1422 == 3.6 Interface Details == 1423 1423 1424 1424 === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===