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

Summary

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 +(% style="color:#4F81BD" %)**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 mode
426 -* **AT+ADDMOD6=1**   **~-~->** Enable trigger
426 +* 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 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.**
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,16 +487,71 @@
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  
498 -[[image:image-20220524090106-2.png]]
513 +Status
514 +)))|(((
515 +TRI_DI
499 499  
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 +(% border="1" style="background-color:#f7faff" %)
527 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
528 +|(((
529 +AV1_
530 +
531 +LOW
532 +)))|(((
533 +AV1_
534 +
535 +HIGH
536 +)))|(((
537 +AV2_
538 +
539 +LOW
540 +)))|(((
541 +AV2_
542 +
543 +HIGH
544 +)))|(((
545 +AC1_
546 +
547 +LOW
548 +)))|(((
549 +AC1_
550 +
551 +HIGH
552 +)))|(((
553 +AC2_
554 +
555 +LOW
556 +)))|(((
557 +AC2_
558 +
559 +HIGH
560 +)))
561 +
500 500  * Each bits shows if the corresponding trigger has been configured.
501 501  
502 502  Example:
... ... @@ -504,7 +504,7 @@
504 504  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
505 505  
506 506  
507 -(% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below
569 +**TRI Status1** is a combination to show which condition is trigger. Totally 1byte as below
508 508  
509 509  (% border="1" style="background-color:#f7faff" %)
510 510  |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
... ... @@ -551,7 +551,7 @@
551 551  
552 552  
553 553  
554 -(% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
616 +**TRI_DI FLAG+STA **is a combination to show which condition is trigger. Totally 1byte as below
555 555  
556 556  (% border="1" style="background-color:#f7faff" %)
557 557  |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
... ... @@ -566,7 +566,7 @@
566 566  00000101: Means both DI1 and DI2 trigger are enabled.
567 567  
568 568  
569 -(% 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.
570 570  
571 571  
572 572  Downlink command to poll MOD6 status:
... ... @@ -576,8 +576,8 @@
576 576  When device got this command, it will send the MOD6 payload.
577 577  
578 578  
579 -1.
580 -11.
641 +1.
642 +11.
581 581  111. Payload Decoder
582 582  
583 583  **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/]]
... ... @@ -588,7 +588,7 @@
588 588  
589 589  
590 590  
591 -1.
653 +1.
592 592  11. ​Configure LT via AT or Downlink
593 593  
594 594  User can configure LT I/O Controller via [[AT Commands >>path:#_​Using_the_AT]]or LoRaWAN Downlink Commands
... ... @@ -599,15 +599,15 @@
599 599  
600 600  * **Sensor Related Commands**: These commands are special designed for LT-22222-L.  User can see these commands below:
601 601  
602 -1.
603 -11.
664 +1.
665 +11.
604 604  111. Common Commands:
605 605  
606 606  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
607 607  
608 608  
609 -1.
610 -11.
671 +1.
672 +11.
611 611  111. Sensor related commands:
612 612  
613 613  ==== Set Transmit Interval ====
... ... @@ -1066,7 +1066,7 @@
1066 1066  
1067 1067  
1068 1068  
1069 -1.
1131 +1.
1070 1070  11. Integrate with Mydevice
1071 1071  
1072 1072  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:
... ... @@ -1124,7 +1124,7 @@
1124 1124  
1125 1125  
1126 1126  1.
1127 -11.
1189 +11.
1128 1128  111. Digital Input Port: DI1/DI2 ( For LT-22222-L)
1129 1129  
1130 1130  The DI port of LT-22222-L can support NPN or PNP output sensor.
... ... @@ -1178,8 +1178,8 @@
1178 1178  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.
1179 1179  
1180 1180  
1181 -1.
1182 -11.
1243 +1.
1244 +11.
1183 1183  111. Digital Output Port: DO1/DO2 /DO3
1184 1184  
1185 1185  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
... ... @@ -1190,7 +1190,7 @@
1190 1190  
1191 1191  
1192 1192  1.
1193 -11.
1255 +11.
1194 1194  111. Analog Input Interface
1195 1195  
1196 1196  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:
... ... @@ -1223,7 +1223,7 @@
1223 1223  
1224 1224  
1225 1225  1.
1226 -11.
1288 +11.
1227 1227  111. Relay Output
1228 1228  
1229 1229  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:
... ... @@ -1383,7 +1383,7 @@
1383 1383  
1384 1384  
1385 1385  
1386 -1.
1448 +1.
1387 1387  11. Common AT Command Sequence
1388 1388  111. Multi-channel ABP mode (Use with SX1301/LG308)
1389 1389  
... ... @@ -1406,8 +1406,8 @@
1406 1406  
1407 1407  ATZ
1408 1408  
1409 -1.
1410 -11.
1471 +1.
1472 +11.
1411 1411  111. Single-channel ABP mode (Use with LG01/LG02)
1412 1412  
1413 1413  123456   Enter Password to have AT access.
... ... @@ -1447,7 +1447,7 @@
1447 1447  
1448 1448  
1449 1449  1.
1450 -11.
1512 +11.
1451 1451  111. Change to Class A
1452 1452  
1453 1453  If sensor JOINED
... ... @@ -1462,7 +1462,7 @@
1462 1462  
1463 1463  1. FAQ
1464 1464  
1465 -1.
1527 +1.
1466 1466  11. How to upgrade the image?
1467 1467  
1468 1468  The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to:
... ... @@ -1521,7 +1521,7 @@
1521 1521  User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
1522 1522  
1523 1523  
1524 -1.
1586 +1.
1525 1525  11. How to set up LT to work with Single Channel Gateway such as LG01/LG02?
1526 1526  
1527 1527  In this case, users need to set LT-33222-L to work in ABP mode & transmit in only one frequency.
... ... @@ -1580,7 +1580,7 @@
1580 1580  [[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]]
1581 1581  
1582 1582  
1583 -1.
1645 +1.
1584 1584  11. Have trouble to upload image.
1585 1585  
1586 1586  See this link for trouble shooting:
... ... @@ -1588,7 +1588,7 @@
1588 1588  [[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]]
1589 1589  
1590 1590  
1591 -1.
1653 +1.
1592 1592  11. Why I can’t join TTN in US915 /AU915 bands?
1593 1593  
1594 1594  It might be about the channels mapping. Please see this link for detail:
image-20220524090106-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -5.2 KB
Content
image-20220524090249-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -5.8 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0