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)
-
Attachments (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- Content
-
... ... @@ -396,6 +396,7 @@ 396 396 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 397 397 ))) 398 398 399 + 399 399 * RO is for relay. ROx=1 : close,ROx=0 always open. 400 400 * FIRST: Indicate this is the first packet after join network. 401 401 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. ... ... @@ -418,49 +418,54 @@ 418 418 419 419 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 420 420 421 - (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**422 +**This mode is an optional mode for trigger purpose. It can run together with other mode.** 422 422 423 423 For example, if user has configured below commands: 424 424 425 -* **AT+MOD=1****~-~->**The normal working mode426 -* **AT+ADDMOD6=1****~-~->**Enable trigger426 +* AT+MOD=1 à The normal working mode 427 +* AT+ADDMOD6=1 à Enable trigger 427 427 428 428 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 429 429 430 -1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN (% style="color:#4f81bd" %)**unconfirmed**(%%)data type431 -1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN (% style="color:#4f81bd" %)**CONFIRMED data type.**431 +1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN **unconfirmed** data type 432 +1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN **CONFIRMED data type.** 432 432 433 433 **AT Command to set Trigger Condition**: 434 434 435 - (% style="color:#4f81bd" %)**Trigger base on voltage**:436 +**Trigger base on voltage**: 436 436 437 437 Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> 438 438 439 - **Example:**440 +Example: 440 440 441 441 AT+AVLIM=3000,6000,0,2000 (If AVI1 voltage lower than 3v or higher than 6v. or AV2 voltage is higher than 2v, LT will trigger Uplink) 442 442 443 443 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 444 444 445 -(% style="color:#4f81bd" %)**Trigger base on current**: 446 446 447 +**Trigger base on current**: 448 + 447 447 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> 448 448 449 - **Example:**451 +Example: 450 450 451 451 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 452 452 453 -(% style="color:#4f81bd" %)**Trigger base on DI status**: 454 454 456 +**Trigger base on DI status**: 457 + 455 455 DI status trigger Flag. 456 456 457 457 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 458 458 459 - **Example:**462 +Example: 460 460 461 461 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 462 462 463 463 467 + 468 + 469 + 464 464 **Downlink Command to set Trigger Condition** 465 465 466 466 Type Code: 0xAA. Downlink command same as AT Command [[AT+AVLIM, AT+ACLIM>>path:#AT_Trigger]] ... ... @@ -479,8 +479,9 @@ 479 479 480 480 Yy4 yy4: AC2 or AV2 high limit. 481 481 482 -**Example1**: AA 00 13 88 00 00 00 00 00 00 483 483 489 +Example1: AA 00 13 88 00 00 00 00 00 00 490 + 484 484 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 485 485 486 486 Example2: AA 02 01 00 ... ... @@ -487,14 +487,35 @@ 487 487 488 488 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 489 489 490 -(% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 491 491 498 + 499 + 500 +**Trigger Settings Payload Explanation:** 501 + 492 492 MOD6 Payload : total 11 bytes payload 493 493 494 -[[image:image-20220524085923-1.png]] 504 +(% border="1" style="background-color:#f7faff" %) 505 +|Size(bytes)|1|1|1|6|1|1 506 +|Value|((( 507 +TRI_A 495 495 496 -(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 509 +FLAG 510 +)))|((( 511 +TRI_A 497 497 513 +Status 514 +)))|((( 515 +TRI_DI 516 + 517 +FLAG+STA 518 +)))|Reserve|Enable/Disable MOD6|((( 519 +MOD 520 + 521 +(6) 522 +))) 523 + 524 +**TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below 525 + 498 498 (% border="1" style="background-color:#f7faff" %) 499 499 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 500 500 |((( ... ... @@ -538,7 +538,7 @@ 538 538 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW 539 539 540 540 541 - (% style="color:#4f81bd" %)**TRI Status1**(%%)is a combination to show which condition is trigger. Totally 1byte as below569 +**TRI Status1** is a combination to show which condition is trigger. Totally 1byte as below 542 542 543 543 (% border="1" style="background-color:#f7faff" %) 544 544 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 ... ... @@ -585,7 +585,7 @@ 585 585 586 586 587 587 588 - (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below616 +**TRI_DI FLAG+STA **is a combination to show which condition is trigger. Totally 1byte as below 589 589 590 590 (% border="1" style="background-color:#f7faff" %) 591 591 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 ... ... @@ -600,7 +600,7 @@ 600 600 00000101: Means both DI1 and DI2 trigger are enabled. 601 601 602 602 603 - (% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable.631 +**Enable/Disable MOD6 **: 0x01: MOD6 is enable. 0x00: MOD6 is disable. 604 604 605 605 606 606 Downlink command to poll MOD6 status: ... ... @@ -610,8 +610,8 @@ 610 610 When device got this command, it will send the MOD6 payload. 611 611 612 612 613 -1. 614 -11. 641 +1. 642 +11. 615 615 111. Payload Decoder 616 616 617 617 **Decoder for TTN/loraserver/ChirpStack**: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/]] ... ... @@ -622,7 +622,7 @@ 622 622 623 623 624 624 625 -1. 653 +1. 626 626 11. Configure LT via AT or Downlink 627 627 628 628 User can configure LT I/O Controller via [[AT Commands >>path:#_Using_the_AT]]or LoRaWAN Downlink Commands ... ... @@ -633,15 +633,15 @@ 633 633 634 634 * **Sensor Related Commands**: These commands are special designed for LT-22222-L. User can see these commands below: 635 635 636 -1. 637 -11. 664 +1. 665 +11. 638 638 111. Common Commands: 639 639 640 640 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: http:~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands 641 641 642 642 643 -1. 644 -11. 671 +1. 672 +11. 645 645 111. Sensor related commands: 646 646 647 647 ==== Set Transmit Interval ==== ... ... @@ -1100,7 +1100,7 @@ 1100 1100 1101 1101 1102 1102 1103 -1. 1131 +1. 1104 1104 11. Integrate with Mydevice 1105 1105 1106 1106 Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices. Below are the steps: ... ... @@ -1158,7 +1158,7 @@ 1158 1158 1159 1159 1160 1160 1. 1161 -11. 1189 +11. 1162 1162 111. Digital Input Port: DI1/DI2 ( For LT-22222-L) 1163 1163 1164 1164 The DI port of LT-22222-L can support NPN or PNP output sensor. ... ... @@ -1212,8 +1212,8 @@ 1212 1212 If sensor output is 220v, the //IF//[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]] = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely. 1213 1213 1214 1214 1215 -1. 1216 -11. 1243 +1. 1244 +11. 1217 1217 111. Digital Output Port: DO1/DO2 /DO3 1218 1218 1219 1219 NPN output: GND or Float. Max voltage can apply to output pin is 36v. ... ... @@ -1224,7 +1224,7 @@ 1224 1224 1225 1225 1226 1226 1. 1227 -11. 1255 +11. 1228 1228 111. Analog Input Interface 1229 1229 1230 1230 The analog input interface is as below. The LT will measure the IN2 voltage so to calculate the current pass the Load. The formula is: ... ... @@ -1257,7 +1257,7 @@ 1257 1257 1258 1258 1259 1259 1. 1260 -11. 1288 +11. 1261 1261 111. Relay Output 1262 1262 1263 1263 The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device’s Power Line to in serial of RO1_1 and RO_2. Such as below: ... ... @@ -1417,7 +1417,7 @@ 1417 1417 1418 1418 1419 1419 1420 -1. 1448 +1. 1421 1421 11. Common AT Command Sequence 1422 1422 111. Multi-channel ABP mode (Use with SX1301/LG308) 1423 1423 ... ... @@ -1440,8 +1440,8 @@ 1440 1440 1441 1441 ATZ 1442 1442 1443 -1. 1444 -11. 1471 +1. 1472 +11. 1445 1445 111. Single-channel ABP mode (Use with LG01/LG02) 1446 1446 1447 1447 123456 Enter Password to have AT access. ... ... @@ -1481,7 +1481,7 @@ 1481 1481 1482 1482 1483 1483 1. 1484 -11. 1512 +11. 1485 1485 111. Change to Class A 1486 1486 1487 1487 If sensor JOINED ... ... @@ -1496,7 +1496,7 @@ 1496 1496 1497 1497 1. FAQ 1498 1498 1499 -1. 1527 +1. 1500 1500 11. How to upgrade the image? 1501 1501 1502 1502 The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: ... ... @@ -1555,7 +1555,7 @@ 1555 1555 User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download. 1556 1556 1557 1557 1558 -1. 1586 +1. 1559 1559 11. How to set up LT to work with Single Channel Gateway such as LG01/LG02? 1560 1560 1561 1561 In this case, users need to set LT-33222-L to work in ABP mode & transmit in only one frequency. ... ... @@ -1614,7 +1614,7 @@ 1614 1614 [[http:~~/~~/wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work>>url:http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work]] 1615 1615 1616 1616 1617 -1. 1645 +1. 1618 1618 11. Have trouble to upload image. 1619 1619 1620 1620 See this link for trouble shooting: ... ... @@ -1622,7 +1622,7 @@ 1622 1622 [[http:~~/~~/wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting>>url:http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting]] 1623 1623 1624 1624 1625 -1. 1653 +1. 1626 1626 11. Why I can’t join TTN in US915 /AU915 bands? 1627 1627 1628 1628 It might be about the channels mapping. Please see this link for detail:
- image-20220524085923-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.4 KB - Content
- image-20220524090106-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.2 KB - Content