<
From version < 24.1 >
edited by Xiaoling
on 2022/05/24 08:59
To version < 25.1 >
edited by Xiaoling
on 2022/05/24 09:01
>
Change comment: Uploaded new attachment "image-20220524090106-2.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -396,7 +396,6 @@
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 -
400 400  * RO is for relay. ROx=1 : close,ROx=0 always open.
401 401  * FIRST: Indicate this is the first packet after join network.
402 402  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
... ... @@ -419,54 +419,49 @@
419 419  
420 420  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
421 421  
422 -(% style="color:#4F81BD" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
421 +(% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
423 423  
424 424  For example, if user has configured below commands:
425 425  
426 -* AT+MOD=1   --> The normal working mode
427 -* AT+ADDMOD6=1    --> Enable trigger
425 +* **AT+MOD=1 ** **~-~->** The normal working mode
426 +* **AT+ADDMOD6=1**   **~-~->** Enable trigger
428 428  
429 429  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
430 430  
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.**
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 type
431 +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.**
433 433  
434 434  **AT Command to set Trigger Condition**:
435 435  
436 -**Trigger base on voltage**:
435 +(% style="color:#4f81bd" %)**Trigger base on voltage**:
437 437  
438 438  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
439 439  
440 -Example:
439 +**Example:**
441 441  
442 442  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)
443 443  
444 444  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
445 445  
445 +(% style="color:#4f81bd" %)**Trigger base on current**:
446 446  
447 -**Trigger base on current**:
448 -
449 449  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
450 450  
451 -Example:
449 +**Example:**
452 452  
453 453  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
454 454  
453 +(% style="color:#4f81bd" %)**Trigger base on DI status**:
455 455  
456 -**Trigger base on DI status**:
457 -
458 458  DI status trigger Flag.
459 459  
460 460  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
461 461  
462 -Example:
459 +**Example:**
463 463  
464 464  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
465 465  
466 466  
467 -
468 -
469 -
470 470  **Downlink Command to set Trigger Condition**
471 471  
472 472  Type Code: 0xAA. Downlink command same as AT Command [[AT+AVLIM, AT+ACLIM>>path:#AT_Trigger]]
... ... @@ -485,9 +485,8 @@
485 485  
486 486   Yy4 yy4: AC2 or AV2 high limit.
487 487  
482 +**Example1**: AA 00 13 88 00 00 00 00 00 00
488 488  
489 -Example1: AA 00 13 88 00 00 00 00 00 00
490 -
491 491  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
492 492  
493 493  Example2: AA 02 01 00
... ... @@ -494,35 +494,14 @@
494 494  
495 495  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
496 496  
490 +(% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
497 497  
498 -
499 -
500 -**Trigger Settings Payload Explanation:**
501 -
502 502  MOD6 Payload : total 11 bytes payload
503 503  
504 -(% border="1" style="background-color:#f7faff" %)
505 -|Size(bytes)|1|1|1|6|1|1
506 -|Value|(((
507 -TRI_A
494 +[[image:image-20220524085923-1.png]]
508 508  
509 -FLAG
510 -)))|(((
511 -TRI_A
496 +(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
512 512  
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 -
526 526  (% border="1" style="background-color:#f7faff" %)
527 527  |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
528 528  |(((
... ... @@ -566,7 +566,7 @@
566 566  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
567 567  
568 568  
569 -**TRI Status1** is a combination to show which condition is trigger. Totally 1byte as below
541 +(% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below
570 570  
571 571  (% border="1" style="background-color:#f7faff" %)
572 572  |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
... ... @@ -613,7 +613,7 @@
613 613  
614 614  
615 615  
616 -**TRI_DI FLAG+STA **is a combination to show which condition is trigger. Totally 1byte as below
588 +(% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
617 617  
618 618  (% border="1" style="background-color:#f7faff" %)
619 619  |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
... ... @@ -628,7 +628,7 @@
628 628  00000101: Means both DI1 and DI2 trigger are enabled.
629 629  
630 630  
631 -**Enable/Disable MOD6 **: 0x01: MOD6 is enable. 0x00: MOD6 is disable.
603 +(% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable.
632 632  
633 633  
634 634  Downlink command to poll MOD6 status:
... ... @@ -638,8 +638,8 @@
638 638  When device got this command, it will send the MOD6 payload.
639 639  
640 640  
641 -1.
642 -11.
613 +1.
614 +11.
643 643  111. Payload Decoder
644 644  
645 645  **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/]]
... ... @@ -650,7 +650,7 @@
650 650  
651 651  
652 652  
653 -1.
625 +1.
654 654  11. ​Configure LT via AT or Downlink
655 655  
656 656  User can configure LT I/O Controller via [[AT Commands >>path:#_​Using_the_AT]]or LoRaWAN Downlink Commands
... ... @@ -661,15 +661,15 @@
661 661  
662 662  * **Sensor Related Commands**: These commands are special designed for LT-22222-L.  User can see these commands below:
663 663  
664 -1.
665 -11.
636 +1.
637 +11.
666 666  111. Common Commands:
667 667  
668 668  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
669 669  
670 670  
671 -1.
672 -11.
643 +1.
644 +11.
673 673  111. Sensor related commands:
674 674  
675 675  ==== Set Transmit Interval ====
... ... @@ -1128,7 +1128,7 @@
1128 1128  
1129 1129  
1130 1130  
1131 -1.
1103 +1.
1132 1132  11. Integrate with Mydevice
1133 1133  
1134 1134  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:
... ... @@ -1186,7 +1186,7 @@
1186 1186  
1187 1187  
1188 1188  1.
1189 -11.
1161 +11.
1190 1190  111. Digital Input Port: DI1/DI2 ( For LT-22222-L)
1191 1191  
1192 1192  The DI port of LT-22222-L can support NPN or PNP output sensor.
... ... @@ -1240,8 +1240,8 @@
1240 1240  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.
1241 1241  
1242 1242  
1243 -1.
1244 -11.
1215 +1.
1216 +11.
1245 1245  111. Digital Output Port: DO1/DO2 /DO3
1246 1246  
1247 1247  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
... ... @@ -1252,7 +1252,7 @@
1252 1252  
1253 1253  
1254 1254  1.
1255 -11.
1227 +11.
1256 1256  111. Analog Input Interface
1257 1257  
1258 1258  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:
... ... @@ -1285,7 +1285,7 @@
1285 1285  
1286 1286  
1287 1287  1.
1288 -11.
1260 +11.
1289 1289  111. Relay Output
1290 1290  
1291 1291  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:
... ... @@ -1445,7 +1445,7 @@
1445 1445  
1446 1446  
1447 1447  
1448 -1.
1420 +1.
1449 1449  11. Common AT Command Sequence
1450 1450  111. Multi-channel ABP mode (Use with SX1301/LG308)
1451 1451  
... ... @@ -1468,8 +1468,8 @@
1468 1468  
1469 1469  ATZ
1470 1470  
1471 -1.
1472 -11.
1443 +1.
1444 +11.
1473 1473  111. Single-channel ABP mode (Use with LG01/LG02)
1474 1474  
1475 1475  123456   Enter Password to have AT access.
... ... @@ -1509,7 +1509,7 @@
1509 1509  
1510 1510  
1511 1511  1.
1512 -11.
1484 +11.
1513 1513  111. Change to Class A
1514 1514  
1515 1515  If sensor JOINED
... ... @@ -1524,7 +1524,7 @@
1524 1524  
1525 1525  1. FAQ
1526 1526  
1527 -1.
1499 +1.
1528 1528  11. How to upgrade the image?
1529 1529  
1530 1530  The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to:
... ... @@ -1583,7 +1583,7 @@
1583 1583  User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
1584 1584  
1585 1585  
1586 -1.
1558 +1.
1587 1587  11. How to set up LT to work with Single Channel Gateway such as LG01/LG02?
1588 1588  
1589 1589  In this case, users need to set LT-33222-L to work in ABP mode & transmit in only one frequency.
... ... @@ -1642,7 +1642,7 @@
1642 1642  [[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]]
1643 1643  
1644 1644  
1645 -1.
1617 +1.
1646 1646  11. Have trouble to upload image.
1647 1647  
1648 1648  See this link for trouble shooting:
... ... @@ -1650,7 +1650,7 @@
1650 1650  [[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]]
1651 1651  
1652 1652  
1653 -1.
1625 +1.
1654 1654  11. Why I can’t join TTN in US915 /AU915 bands?
1655 1655  
1656 1656  It might be about the channels mapping. Please see this link for detail:
image-20220524090106-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.2 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0