<
From version < 21.3 >
edited by Xiaoling
on 2022/05/23 18:22
To version < 27.2 >
edited by Xiaoling
on 2022/05/24 09:13
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,8 +4,13 @@
4 4  **LT-22222-L LoRa IO Controller User Manual **
5 5  
6 6  
7 +**Table of Contents:**
7 7  
9 +{{toc/}}
8 8  
11 +
12 +
13 +
9 9  = 1.Introduction =
10 10  
11 11  == 1.1 What is LT Series I/O Controller ==
... ... @@ -385,99 +385,77 @@
385 385  
386 386  **LT22222-L**: This mode the DI1 is used as a counting pin.
387 387  
388 -(% border="1" style="background-color:#f7faff" %)
389 -|(% style="width:93px" %)Size(bytes)|(% style="width:112px" %)2|(% style="width:105px" %)2|(% style="width:449px" %)2|2|1|1|1
390 -|(% style="width:93px" %)Value|(% style="width:112px" %)AVI1 voltage|(% style="width:105px" %)AVI2 voltage|(% style="width:449px" %)ACI1 Current| | | |
391 -|(% style="width:93px" %)Value|(% style="width:112px" %)(((
392 -AVI1 voltage
393 -)))|(% style="width:105px" %)(((
394 -AVI2 voltage
395 -)))|(% style="width:449px" %)(((
396 -ACI1 Current
397 -)))|COUNT1|DIDORO*|(((
398 -Reserve
393 +[[image:image-20220523182334-9.png]]
399 399  
400 -
401 -)))|MOD
395 +(((
396 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
397 +)))
402 402  
403 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
404 -
405 -(% border="1" style="background-color:#f7faff" %)
406 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
407 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
408 -
409 409  * RO is for relay. ROx=1 : close,ROx=0 always open.
410 410  * FIRST: Indicate this is the first packet after join network.
411 411  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
412 412  
413 -Note: DO3 is not valid for LT-22222-L.
403 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
414 414  
405 +**To use this mode, please run:**
415 415  
416 -To use this mode, please run:
407 +(% class="box infomessage" %)
408 +(((
409 +**AT+MOD=5**
410 +)))
417 417  
418 -AT+MOD=5
412 +(% class="box infomessage" %)
413 +(((
414 +**ATZ**
415 +)))
419 419  
420 -ATZ
421 -
422 -
423 423  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
424 424  
419 +=== 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
425 425  
421 +(% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
426 426  
427 -
428 -
429 -1.
430 -11.
431 -111. AT+ADDMOD=6. (Trigger Mode, Optional)
432 -
433 -**This mode is an optional mode for trigger purpose. It can run together with other mode.**
434 -
435 435  For example, if user has configured below commands:
436 436  
437 -* AT+MOD=1   à The normal working mode
438 -* AT+ADDMOD6=1    à Enable trigger
425 +* **AT+MOD=1 ** **~-~->** The normal working mode
426 +* **AT+ADDMOD6=1**   **~-~->** Enable trigger
439 439  
440 440  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
441 441  
442 -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
443 -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.**
444 444  
445 445  **AT Command to set Trigger Condition**:
446 446  
447 -**Trigger base on voltage**:
435 +(% style="color:#4f81bd" %)**Trigger base on voltage**:
448 448  
449 449  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
450 450  
451 -Example:
439 +**Example:**
452 452  
453 453  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)
454 454  
455 455  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
456 456  
445 +(% style="color:#4f81bd" %)**Trigger base on current**:
457 457  
458 -**Trigger base on current**:
459 -
460 460  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
461 461  
462 -Example:
449 +**Example:**
463 463  
464 464  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
465 465  
453 +(% style="color:#4f81bd" %)**Trigger base on DI status**:
466 466  
467 -**Trigger base on DI status**:
468 -
469 469  DI status trigger Flag.
470 470  
471 471  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
472 472  
473 -Example:
459 +**Example:**
474 474  
475 475  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
476 476  
477 477  
478 -
479 -
480 -
481 481  **Downlink Command to set Trigger Condition**
482 482  
483 483  Type Code: 0xAA. Downlink command same as AT Command [[AT+AVLIM, AT+ACLIM>>path:#AT_Trigger]]
... ... @@ -496,9 +496,8 @@
496 496  
497 497   Yy4 yy4: AC2 or AV2 high limit.
498 498  
482 +**Example1**: AA 00 13 88 00 00 00 00 00 00
499 499  
500 -Example1: AA 00 13 88 00 00 00 00 00 00
501 -
502 502  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
503 503  
504 504  Example2: AA 02 01 00
... ... @@ -505,134 +505,41 @@
505 505  
506 506  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
507 507  
490 +(% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
508 508  
509 -
510 -
511 -**Trigger Settings Payload Explanation:**
512 -
513 513  MOD6 Payload : total 11 bytes payload
514 514  
515 -(% border="1" style="background-color:#f7faff" %)
516 -|Size(bytes)|1|1|1|6|1|1
517 -|Value|(((
518 -TRI_A
494 +[[image:image-20220524085923-1.png]]
519 519  
520 -FLAG
521 -)))|(((
522 -TRI_A
496 +(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
523 523  
524 -Status
525 -)))|(((
526 -TRI_DI
498 +[[image:image-20220524090106-2.png]]
527 527  
528 -FLAG+STA
529 -)))|Reserve|Enable/Disable MOD6|(((
530 -MOD
531 -
532 -(6)
533 -)))
534 -
535 -**TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below
536 -
537 -(% border="1" style="background-color:#f7faff" %)
538 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
539 -|(((
540 -AV1_
541 -
542 -LOW
543 -)))|(((
544 -AV1_
545 -
546 -HIGH
547 -)))|(((
548 -AV2_
549 -
550 -LOW
551 -)))|(((
552 -AV2_
553 -
554 -HIGH
555 -)))|(((
556 -AC1_
557 -
558 -LOW
559 -)))|(((
560 -AC1_
561 -
562 -HIGH
563 -)))|(((
564 -AC2_
565 -
566 -LOW
567 -)))|(((
568 -AC2_
569 -
570 -HIGH
571 -)))
572 -
573 573  * Each bits shows if the corresponding trigger has been configured.
574 574  
575 -Example:
502 +**Example:**
576 576  
577 577  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
578 578  
579 579  
580 -**TRI Status1** is a combination to show which condition is trigger. Totally 1byte as below
507 +(% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below
581 581  
582 -(% border="1" style="background-color:#f7faff" %)
583 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
584 -|(((
585 -AV1_
509 +[[image:image-20220524090249-3.png]]
586 586  
587 -LOW
588 -)))|(((
589 -AV1_
590 -
591 -HIGH
592 -)))|(((
593 -AV2_
594 -
595 -LOW
596 -)))|(((
597 -AV2_
598 -
599 -HIGH
600 -)))|(((
601 -AC1_
602 -
603 -LOW
604 -)))|(((
605 -AC1_
606 -
607 -HIGH
608 -)))|(((
609 -AC2_
610 -
611 -LOW
612 -)))|(((
613 -AC2_
614 -
615 -HIGH
616 -)))
617 -
618 618  * Each bits shows which status has been trigger on this uplink.
619 619  
620 -Example:
513 +**Example:**
621 621  
622 622  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
623 623  
624 624  
518 +(% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
625 625  
520 +[[image:image-20220524090456-4.png]]
626 626  
627 -**TRI_DI FLAG+STA **is a combination to show which condition is trigger. Totally 1byte as below
628 -
629 -(% border="1" style="background-color:#f7faff" %)
630 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
631 -|N/A|N/A|N/A|N/A|DI2_STATUS|DI2_FLAG|DI1_STATUS|DI1_FLAG
632 -
633 633  * Each bits shows which status has been trigger on this uplink.
634 634  
635 -Example:
524 +**Example:**
636 636  
637 637  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
638 638  
... ... @@ -639,49 +639,38 @@
639 639  00000101: Means both DI1 and DI2 trigger are enabled.
640 640  
641 641  
642 -**Enable/Disable MOD6 **: 0x01: MOD6 is enable. 0x00: MOD6 is disable.
531 +(% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable.
643 643  
644 -
645 645  Downlink command to poll MOD6 status:
646 646  
647 -AB 06
535 +**AB 06**
648 648  
649 649  When device got this command, it will send the MOD6 payload.
650 650  
539 +=== 3.3.7 Payload Decoder ===
651 651  
652 -1.
653 -11.
654 -111. Payload Decoder
655 -
541 +(((
656 656  **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/]]
543 +)))
657 657  
545 +== 3.4 ​Configure LT via AT or Downlink ==
658 658  
547 +User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
659 659  
660 -
661 -
662 -
663 -
664 -1.
665 -11. ​Configure LT via AT or Downlink
666 -
667 -User can configure LT I/O Controller via [[AT Commands >>path:#_​Using_the_AT]]or LoRaWAN Downlink Commands
668 -
549 +(((
669 669  There are two kinds of Commands:
551 +)))
670 670  
671 -* **Common Commands**: They should be available for each sensor, 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
553 +* (% style="color:#4f81bd" %)**Common Commands**(%%): They should be available for each sensor, 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
672 672  
673 -* **Sensor Related Commands**: These commands are special designed for LT-22222-L.  User can see these commands below:
555 +* (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
674 674  
675 -1.
676 -11.
677 -111. Common Commands:
557 +=== 3.4.1 Common Commands ===
678 678  
679 -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
559 +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>>http://8.211.40.43:8080/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]]
680 680  
561 +=== Sensor related commands ===
681 681  
682 -1.
683 -11.
684 -111. Sensor related commands:
685 685  
686 686  ==== Set Transmit Interval ====
687 687  
... ... @@ -1139,7 +1139,7 @@
1139 1139  
1140 1140  
1141 1141  
1142 -1.
1020 +1.
1143 1143  11. Integrate with Mydevice
1144 1144  
1145 1145  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:
... ... @@ -1197,7 +1197,7 @@
1197 1197  
1198 1198  
1199 1199  1.
1200 -11.
1078 +11.
1201 1201  111. Digital Input Port: DI1/DI2 ( For LT-22222-L)
1202 1202  
1203 1203  The DI port of LT-22222-L can support NPN or PNP output sensor.
... ... @@ -1251,8 +1251,8 @@
1251 1251  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.
1252 1252  
1253 1253  
1254 -1.
1255 -11.
1132 +1.
1133 +11.
1256 1256  111. Digital Output Port: DO1/DO2 /DO3
1257 1257  
1258 1258  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
... ... @@ -1263,7 +1263,7 @@
1263 1263  
1264 1264  
1265 1265  1.
1266 -11.
1144 +11.
1267 1267  111. Analog Input Interface
1268 1268  
1269 1269  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:
... ... @@ -1296,7 +1296,7 @@
1296 1296  
1297 1297  
1298 1298  1.
1299 -11.
1177 +11.
1300 1300  111. Relay Output
1301 1301  
1302 1302  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:
... ... @@ -1456,7 +1456,7 @@
1456 1456  
1457 1457  
1458 1458  
1459 -1.
1337 +1.
1460 1460  11. Common AT Command Sequence
1461 1461  111. Multi-channel ABP mode (Use with SX1301/LG308)
1462 1462  
... ... @@ -1479,8 +1479,8 @@
1479 1479  
1480 1480  ATZ
1481 1481  
1482 -1.
1483 -11.
1360 +1.
1361 +11.
1484 1484  111. Single-channel ABP mode (Use with LG01/LG02)
1485 1485  
1486 1486  123456   Enter Password to have AT access.
... ... @@ -1520,7 +1520,7 @@
1520 1520  
1521 1521  
1522 1522  1.
1523 -11.
1401 +11.
1524 1524  111. Change to Class A
1525 1525  
1526 1526  If sensor JOINED
... ... @@ -1535,7 +1535,7 @@
1535 1535  
1536 1536  1. FAQ
1537 1537  
1538 -1.
1416 +1.
1539 1539  11. How to upgrade the image?
1540 1540  
1541 1541  The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to:
... ... @@ -1594,7 +1594,7 @@
1594 1594  User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
1595 1595  
1596 1596  
1597 -1.
1475 +1.
1598 1598  11. How to set up LT to work with Single Channel Gateway such as LG01/LG02?
1599 1599  
1600 1600  In this case, users need to set LT-33222-L to work in ABP mode & transmit in only one frequency.
... ... @@ -1653,7 +1653,7 @@
1653 1653  [[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]]
1654 1654  
1655 1655  
1656 -1.
1534 +1.
1657 1657  11. Have trouble to upload image.
1658 1658  
1659 1659  See this link for trouble shooting:
... ... @@ -1661,7 +1661,7 @@
1661 1661  [[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]]
1662 1662  
1663 1663  
1664 -1.
1542 +1.
1665 1665  11. Why I can’t join TTN in US915 /AU915 bands?
1666 1666  
1667 1667  It might be about the channels mapping. Please see this link for detail:
image-20220523182334-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.4 KB
Content
image-20220524085923-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.4 KB
Content
image-20220524090106-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.2 KB
Content
image-20220524090249-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.8 KB
Content
image-20220524090456-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.1 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0