Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Mengting Qiu on 2025/06/04 18:42
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 10 added, 0 removed)
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 == ... ... @@ -246,7 +246,7 @@ 246 246 247 247 (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L. 248 248 249 -To use counting mode, please run: 254 +**To use counting mode, please run:** 250 250 251 251 (% class="box infomessage" %) 252 252 ((( ... ... @@ -258,7 +258,7 @@ 258 258 **ATZ** 259 259 ))) 260 260 261 -AT Commands for counting: 266 +(% style="color:#4f81bd" %)**AT Commands for counting:** 262 262 263 263 **For LT22222-L:** 264 264 ... ... @@ -282,228 +282,180 @@ 282 282 **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 283 283 ))) 284 284 290 +(% class="box infomessage" %) 291 +((( 292 +**AT+SETCNT=1,60 (Set COUNT1 value to 60)** 293 +))) 285 285 286 -AT+SETCNT=1,60 (Set COUNT1 value to 60) 295 +(% class="box infomessage" %) 296 +((( 297 +**AT+SETCNT=2,60 (Set COUNT2 value to 60)** 298 +))) 287 287 288 -AT+ SETCNT=2,60(SetCOUNT2valueto60)300 +=== 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 289 289 290 - 291 -**For both LT22222-L & LT33222-L**: 292 - 293 -AT+CLRCOUNT clear all countings 294 - 295 -AT+COUTIME=60 Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 296 - 297 - 298 - 299 -1. 300 -11. 301 -111. AT+MOD=3, Single DI Counting + 2 x ACI 302 - 303 -**LT33222-L**: This mode the DI3 is used as a counting pin. 304 - 305 305 **LT22222-L**: This mode the DI1 is used as a counting pin. 306 306 304 +[[image:image-20220523181246-5.png]] 307 307 308 -(% border="1" style="background-color:#f7faff" %) 309 -|Size(bytes)|4|2|2|1|1|1 310 -|Value|COUNT1|((( 311 -ACI1 306 +((( 307 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 308 +))) 312 312 313 -Current 314 -)))|((( 315 -ACI2 310 +[[image:image-20220523181301-6.png]] 316 316 317 -Current 318 -)))|DIDORO*|Reserve|MOD 319 - 320 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 321 - 322 -(% border="1" style="background-color:#f7faff" %) 323 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 324 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 325 - 326 326 * RO is for relay. ROx=1 : close,ROx=0 always open. 327 327 * FIRST: Indicate this is the first packet after join network. 328 328 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 329 329 330 -Note: DO3 is not valid for LT-22222-L. 316 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 331 331 318 +**To use counting mode, please run:** 332 332 333 -To use counting mode, please run: 320 +(% class="box infomessage" %) 321 +((( 322 +**AT+MOD=3** 323 +))) 334 334 335 -AT+MOD=3 325 +(% class="box infomessage" %) 326 +((( 327 +**ATZ** 328 +))) 336 336 337 -ATZ 338 - 339 - 340 340 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 341 341 332 +=== 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 342 342 343 - 344 - 345 -1. 346 -11. 347 -111. AT+MOD=4, Single DI Counting + 1 x Voltage Counting 348 - 349 -**LT33222-L**: This mode the DI3 is used as a counting pin. 350 - 351 351 **LT22222-L**: This mode the DI1 is used as a counting pin. 352 352 353 - 354 354 The AVI1 is also used for counting. AVI1 is used to monitor the voltage. It will check the voltage **every 60s**, if voltage is higher or lower than VOLMAX mV, the AVI1 Counting increase 1, so AVI1 counting can be used to measure a machine working hour. 355 355 338 +[[image:image-20220523181903-8.png]] 356 356 357 -(% border="1" style="background-color:#f7faff" %) 358 -|Size(bytes)|4|4|1|1|1 359 -|Value|COUNT1|AVI1 Counting|DIDORO*|((( 360 -Reserve 340 +((( 341 +(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 342 +))) 361 361 362 - 363 -)))|MOD 344 +[[image:image-20220523181727-7.png]] 364 364 365 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 366 - 367 -(% border="1" style="background-color:#f7faff" %) 368 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 369 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 370 - 371 371 * RO is for relay. ROx=1 : close,ROx=0 always open. 372 372 * FIRST: Indicate this is the first packet after join network. 373 373 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 374 374 375 -Note: DO3 is not valid for LT-22222-L. 350 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 376 376 352 +**To use this mode, please run:** 377 377 378 -To use this mode, please run: 354 +(% class="box infomessage" %) 355 +((( 356 +**AT+MOD=4** 357 +))) 379 379 380 -AT+MOD=4 359 +(% class="box infomessage" %) 360 +((( 361 +**ATZ** 362 +))) 381 381 382 -ATZ 383 383 384 - 385 - 386 386 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 387 387 388 -Plus below command for AVI1 Counting: 367 +**Plus below command for AVI1 Counting:** 389 389 390 -AT+SETCNT=3,60 (set AVI Count to 60) 369 +(% class="box infomessage" %) 370 +((( 371 +**AT+SETCNT=3,60 (set AVI Count to 60)** 372 +))) 391 391 392 -AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1) 374 +(% class="box infomessage" %) 375 +((( 376 +**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 377 +))) 393 393 394 -AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1) 379 +(% class="box infomessage" %) 380 +((( 381 +**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 382 +))) 395 395 396 -AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1) 384 +(% class="box infomessage" %) 385 +((( 386 +**AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 387 +))) 397 397 389 +=== 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 398 398 399 - 400 -1. 401 -11. 402 -111. AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI 403 - 404 -**LT33222-L**: This mode the DI3 is used as a counting pin. 405 - 406 406 **LT22222-L**: This mode the DI1 is used as a counting pin. 407 407 393 +[[image:image-20220523182334-9.png]] 408 408 409 -(% border="1" style="background-color:#f7faff" %) 410 -|Size(bytes)|2|2|2|2|1|1|1 411 -|Value|((( 412 -AVI1 395 +((( 396 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 397 +))) 413 413 414 -voltage 415 -)))|((( 416 -AVI2 417 - 418 -voltage 419 -)))|((( 420 -ACI1 421 - 422 -Current 423 -)))|COUNT1|DIDORO*|((( 424 -Reserve 425 - 426 - 427 -)))|MOD 428 - 429 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 430 - 431 -(% border="1" style="background-color:#f7faff" %) 432 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 433 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 434 - 435 435 * RO is for relay. ROx=1 : close,ROx=0 always open. 436 436 * FIRST: Indicate this is the first packet after join network. 437 437 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 438 438 439 -Note: DO3 is not valid for LT-22222-L. 403 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 440 440 405 +**To use this mode, please run:** 441 441 442 -To use this mode, please run: 407 +(% class="box infomessage" %) 408 +((( 409 +**AT+MOD=5** 410 +))) 443 443 444 -AT+MOD=5 412 +(% class="box infomessage" %) 413 +((( 414 +**ATZ** 415 +))) 445 445 446 -ATZ 447 - 448 - 449 449 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 450 450 419 +=== 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 451 451 421 +(% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 452 452 453 - 454 - 455 -1. 456 -11. 457 -111. AT+ADDMOD=6. (Trigger Mode, Optional) 458 - 459 -**This mode is an optional mode for trigger purpose. It can run together with other mode.** 460 - 461 461 For example, if user has configured below commands: 462 462 463 -* AT+MOD=1 àThe normal working mode464 -* AT+ADDMOD6=1 àEnable trigger425 +* **AT+MOD=1 ** **~-~->** The normal working mode 426 +* **AT+ADDMOD6=1** **~-~->** Enable trigger 465 465 466 466 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 467 467 468 -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 469 -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.** 470 470 471 471 **AT Command to set Trigger Condition**: 472 472 473 -**Trigger base on voltage**: 435 +(% style="color:#4f81bd" %)**Trigger base on voltage**: 474 474 475 475 Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> 476 476 477 -Example: 439 +**Example:** 478 478 479 479 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) 480 480 481 481 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 482 482 445 +(% style="color:#4f81bd" %)**Trigger base on current**: 483 483 484 -**Trigger base on current**: 485 - 486 486 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> 487 487 488 -Example: 449 +**Example:** 489 489 490 490 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 491 491 453 +(% style="color:#4f81bd" %)**Trigger base on DI status**: 492 492 493 -**Trigger base on DI status**: 494 - 495 495 DI status trigger Flag. 496 496 497 497 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 498 498 499 -Example: 459 +**Example:** 500 500 501 501 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 502 502 503 503 504 - 505 - 506 - 507 507 **Downlink Command to set Trigger Condition** 508 508 509 509 Type Code: 0xAA. Downlink command same as AT Command [[AT+AVLIM, AT+ACLIM>>path:#AT_Trigger]] ... ... @@ -522,9 +522,8 @@ 522 522 523 523 Yy4 yy4: AC2 or AV2 high limit. 524 524 482 +**Example1**: AA 00 13 88 00 00 00 00 00 00 525 525 526 -Example1: AA 00 13 88 00 00 00 00 00 00 527 - 528 528 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 529 529 530 530 Example2: AA 02 01 00 ... ... @@ -531,134 +531,41 @@ 531 531 532 532 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 533 533 490 +(% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 534 534 535 - 536 - 537 -**Trigger Settings Payload Explanation:** 538 - 539 539 MOD6 Payload : total 11 bytes payload 540 540 541 -(% border="1" style="background-color:#f7faff" %) 542 -|Size(bytes)|1|1|1|6|1|1 543 -|Value|((( 544 -TRI_A 494 +[[image:image-20220524085923-1.png]] 545 545 546 -FLAG 547 -)))|((( 548 -TRI_A 496 +(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 549 549 550 -Status 551 -)))|((( 552 -TRI_DI 498 +[[image:image-20220524090106-2.png]] 553 553 554 -FLAG+STA 555 -)))|Reserve|Enable/Disable MOD6|((( 556 -MOD 557 - 558 -(6) 559 -))) 560 - 561 -**TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below 562 - 563 -(% border="1" style="background-color:#f7faff" %) 564 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 565 -|((( 566 -AV1_ 567 - 568 -LOW 569 -)))|((( 570 -AV1_ 571 - 572 -HIGH 573 -)))|((( 574 -AV2_ 575 - 576 -LOW 577 -)))|((( 578 -AV2_ 579 - 580 -HIGH 581 -)))|((( 582 -AC1_ 583 - 584 -LOW 585 -)))|((( 586 -AC1_ 587 - 588 -HIGH 589 -)))|((( 590 -AC2_ 591 - 592 -LOW 593 -)))|((( 594 -AC2_ 595 - 596 -HIGH 597 -))) 598 - 599 599 * Each bits shows if the corresponding trigger has been configured. 600 600 601 -Example: 502 +**Example:** 602 602 603 603 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW 604 604 605 605 606 -**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 607 607 608 -(% border="1" style="background-color:#f7faff" %) 609 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 610 -|((( 611 -AV1_ 509 +[[image:image-20220524090249-3.png]] 612 612 613 -LOW 614 -)))|((( 615 -AV1_ 616 - 617 -HIGH 618 -)))|((( 619 -AV2_ 620 - 621 -LOW 622 -)))|((( 623 -AV2_ 624 - 625 -HIGH 626 -)))|((( 627 -AC1_ 628 - 629 -LOW 630 -)))|((( 631 -AC1_ 632 - 633 -HIGH 634 -)))|((( 635 -AC2_ 636 - 637 -LOW 638 -)))|((( 639 -AC2_ 640 - 641 -HIGH 642 -))) 643 - 644 644 * Each bits shows which status has been trigger on this uplink. 645 645 646 -Example: 513 +**Example:** 647 647 648 648 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. 649 649 650 650 518 +(% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below 651 651 520 +[[image:image-20220524090456-4.png]] 652 652 653 -**TRI_DI FLAG+STA **is a combination to show which condition is trigger. Totally 1byte as below 654 - 655 -(% border="1" style="background-color:#f7faff" %) 656 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 657 -|N/A|N/A|N/A|N/A|DI2_STATUS|DI2_FLAG|DI1_STATUS|DI1_FLAG 658 - 659 659 * Each bits shows which status has been trigger on this uplink. 660 660 661 -Example: 524 +**Example:** 662 662 663 663 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. 664 664 ... ... @@ -665,117 +665,117 @@ 665 665 00000101: Means both DI1 and DI2 trigger are enabled. 666 666 667 667 668 -**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. 669 669 670 - 671 671 Downlink command to poll MOD6 status: 672 672 673 -AB 06 535 +**AB 06** 674 674 675 675 When device got this command, it will send the MOD6 payload. 676 676 539 +=== 3.3.7 Payload Decoder === 677 677 678 -1. 679 -11. 680 -111. Payload Decoder 681 - 541 +((( 682 682 **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 +))) 683 683 545 +== 3.4 Configure LT via AT or Downlink == 684 684 547 +User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands 685 685 686 - 687 - 688 - 689 - 690 -1. 691 -11. Configure LT via AT or Downlink 692 - 693 -User can configure LT I/O Controller via [[AT Commands >>path:#_Using_the_AT]]or LoRaWAN Downlink Commands 694 - 549 +((( 695 695 There are two kinds of Commands: 551 +))) 696 696 697 -* **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 698 698 699 -* **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: 700 700 701 -1. 702 -11. 703 -111. Common Commands: 557 +=== 3.4.1 Common Commands === 704 704 705 -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_Commands559 +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/]] 706 706 561 +=== 3.4.2 Sensor related commands === 707 707 708 -1. 709 -11. 710 -111. Sensor related commands: 563 +==== 3.4.2.1 Set Transmit Interval ==== 711 711 712 -==== Set Transmit Interval ==== 713 - 714 714 Set device uplink interval. 715 715 716 716 * AT Command: 717 717 718 -AT+TDC=N 569 +(% class="box infomessage" %) 570 +((( 571 +**AT+TDC=N ** 572 +))) 719 719 720 -Example: AT+TDC=30000. Means set interval to 30 seconds 574 +**Example: **AT+TDC=30000. Means set interval to 30 seconds 721 721 722 - 723 723 * Downlink Payload (prefix 0x01): 724 724 725 -0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc) 578 +(% class="box infomessage" %) 579 +((( 580 +**0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** 581 +))) 726 726 583 +==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 727 727 728 -==== Set Work Mode (AT+MOD) ==== 729 - 730 730 Set work mode. 731 731 732 732 * AT Command: 733 733 734 -AT+MOD=N 589 +(% class="box infomessage" %) 590 +((( 591 +**AT+MOD=N ** 592 +))) 735 735 736 -Example: AT+MOD=2. Set work mode to Double DI counting mode 594 +**Example**: AT+MOD=2. Set work mode to Double DI counting mode 737 737 738 - 739 739 * Downlink Payload (prefix 0x0A): 740 740 741 -0x0A aa ~/~/ Same as AT+MOD=aa 598 +(% class="box infomessage" %) 599 +((( 600 +**0x0A aa ~/~/ Same as AT+MOD=aa** 601 +))) 742 742 603 +==== 3.4.2.3 Poll an uplink ==== 743 743 744 - 745 -==== Poll an uplink ==== 746 - 747 747 * AT Command: 748 748 749 749 There is no AT Command to poll uplink 750 750 751 - 752 752 * Downlink Payload (prefix 0x08): 753 753 754 -0x08 FF ~/~/ Poll an uplink, 611 +(% class="box infomessage" %) 612 +((( 613 +**0x08 FF ~/~/ Poll an uplink,** 614 +))) 755 755 756 -Example: 0x08FF, ask device to send an Uplink 616 +**Example**: 0x08FF, ask device to send an Uplink 757 757 618 +==== 3.4.2.4 Enable Trigger Mode ==== 758 758 759 - ====Enable====620 +Use of trigger mode, please check [[ADDMOD6>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] 760 760 761 -Use of trigger mode, please check [[ADDMOD6>>path:#MOD6]] 762 - 763 763 * AT Command: 764 764 765 -AT+ADDMOD6=1 or 0 624 +(% class="box infomessage" %) 625 +((( 626 +**AT+ADDMOD6=1 or 0** 627 +))) 766 766 767 767 1: Enable Trigger Mode 768 768 769 769 0: Disable Trigger Mode 770 770 771 - 772 772 * Downlink Payload (prefix 0x0A 06): 773 773 774 -0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa, 635 +(% class="box infomessage" %) 636 +((( 637 +**0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa,** 638 +))) 775 775 640 +==== 3.4.2.5 Poll trigger settings ==== 776 776 777 -==== Poll trigger settings ==== 778 - 779 779 Poll trigger settings, 780 780 781 781 * AT Command: ... ... @@ -782,186 +782,206 @@ 782 782 783 783 There is no AT Command for this feature. 784 784 785 - 786 786 * Downlink Payload (prefix 0x AB 06): 787 787 788 -0xAB 06 ~/~/ Poll trigger settings, device will uplink [[trigger settings>>path:#Trigger_Settings]] once receive this command 650 +(% class="box infomessage" %) 651 +((( 652 +**0xAB 06 ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command** 653 +))) 789 789 655 +==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 790 790 791 -==== Enable / Disable DI1/DI2/DI3 as trigger ==== 792 - 793 793 Enable Disable DI1/DI2/DI2 as trigger, 794 794 795 795 * AT Command: 796 796 797 -Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 661 +(% class="box infomessage" %) 662 +((( 663 +**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 664 +))) 798 798 799 -Example: 666 +**Example:** 800 800 801 801 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 802 802 803 - 804 - 805 805 * Downlink Payload (prefix 0xAA 02): 806 806 807 -0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb 672 +(% class="box infomessage" %) 673 +((( 674 +**0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb** 675 +))) 808 808 677 +==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 809 809 810 - 811 -==== Trigger1 – Set DI1 or DI3 as trigger ==== 812 - 813 813 Set DI1 or DI3(for LT-33222-L) trigger. 814 814 815 815 * AT Command: 816 816 817 -AT+TRIG1=a,b 683 +(% class="box infomessage" %) 684 +((( 685 +**AT+TRIG1=a,b** 686 +))) 818 818 819 819 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 820 820 821 821 b : delay timing. 822 822 823 -Example: 692 +**Example:** 824 824 825 825 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 826 826 827 - 828 828 * Downlink Payload (prefix 0x09 01 ): 829 829 830 -0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc) 698 +(% class="box infomessage" %) 699 +((( 700 +**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 701 +))) 831 831 703 +==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 832 832 833 -==== Trigger2 – Set DI2 as trigger ==== 834 - 835 835 Set DI2 trigger. 836 836 837 837 * AT Command: 838 838 839 -AT+TRIG2=a,b 709 +(% class="box infomessage" %) 710 +((( 711 +**AT+TRIG2=a,b** 712 +))) 840 840 841 841 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 842 842 843 843 b : delay timing. 844 844 845 -Example: 718 +**Example:** 846 846 847 847 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 848 848 849 - 850 850 * Downlink Payload (prefix 0x09 02 ): 851 851 852 -0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc) 724 +(% class="box infomessage" %) 725 +((( 726 +**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 727 +))) 853 853 729 +==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 854 854 855 - ====Trigger–SetAC(current)astrigger====731 +Set current trigger , base on AC port. See [[trigger mode>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] 856 856 857 -Set current trigger , base on AC port. See [[trigger mode>>path:#MOD6]] 858 - 859 859 * AT Command: 860 860 861 -AT+ACLIM. See [[trigger mode>>path:#MOD6]] 735 +(% class="box infomessage" %) 736 +((( 737 +**AT+ACLIM. ** 738 +))) 862 862 863 - 864 864 * Downlink Payload (prefix 0xAA 01 ): 865 865 866 -0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>path:#MOD6]] 742 +(% class="box infomessage" %) 743 +((( 744 +**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]** 745 +))) 867 867 747 +==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 868 868 869 - ====Trigger–SetAV(voltage)astrigger====749 +Set current trigger , base on AV port. See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] 870 870 871 -Set current trigger , base on AV port. See [[trigger mode>>path:#MOD6]] 872 - 873 873 * AT Command: 874 874 875 -AT+AVLIM. See [[trigger mode>>path:#MOD6]] 753 +(% class="box infomessage" %) 754 +((( 755 +**AT+AVLIM. See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]** 756 +))) 876 876 877 - 878 878 * Downlink Payload (prefix 0xAA 00 ): 879 879 880 -0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>path:#MOD6]] 760 +(% class="box infomessage" %) 761 +((( 762 +**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] ** 763 +))) 881 881 882 -==== Trigger – Set minimum interval ==== 765 +==== 3.4.2.11 Trigger – Set minimum interval ==== 883 883 884 884 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. 885 885 886 886 * AT Command: 887 887 888 -AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger. 771 +(% class="box infomessage" %) 772 +((( 773 +**AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 774 +))) 889 889 890 - 891 891 * Downlink Payload (prefix 0xAC ): 892 892 893 -0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min) 778 +(% class="box infomessage" %) 779 +((( 780 +**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min)** 781 +))) 894 894 783 +==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 895 895 896 -==== DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 897 - 898 898 * AT Command: 899 899 900 900 There is no AT Command to control Digital Output 901 901 902 - 903 903 * Downlink Payload (prefix 0x02): 904 904 905 -0x02 aa bb cc ~/~/ Set DO1/DO2/DO3 output 791 +(% class="box infomessage" %) 792 +((( 793 +**0x02 aa bb cc ~/~/ Set DO1/DO2/DO3 output** 794 +))) 906 906 796 +((( 907 907 If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low. 798 +))) 908 908 800 +((( 909 909 01: Low, 00: High , 11: No action 802 +))) 910 910 911 -(% border="1" style="background-color:#f7faff" %) 912 -|Downlink Code|DO1|DO2|DO3 913 -|02 01 00 11|Low|High|No Action 914 -|02 00 11 01|High|No Action|Low 915 -|02 11 01 00|No Action|Low|High 804 +[[image:image-20220524092754-5.png]] 916 916 917 -Note: For LT-22222-L, there is no DO3, the last byte can use any value. 806 +((( 807 +(% style="color:red" %)Note: For LT-22222-L, there is no DO3, the last byte can use any value. 808 +))) 918 918 919 -Device will upload a packet if downlink code executes successfully. 810 +((( 811 +(% style="color:red" %)Device will upload a packet if downlink code executes successfully. 812 +))) 920 920 921 921 815 +==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 922 922 923 - 924 - 925 -==== DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 926 - 927 927 * AT Command: 928 928 929 929 There is no AT Command to control Digital Output 930 930 931 - 932 932 * Downlink Payload (prefix 0xA9): 933 933 934 -0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control 823 +(% class="box infomessage" %) 824 +((( 825 +**0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 826 +))) 935 935 936 936 This is to control the digital output time of DO pin. Include four bytes: 937 937 938 -**First Byte:** Type code (0xA9) 830 +(% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9) 939 939 940 -**Second Byte**: Inverter Mode 832 +(% style="color:#4f81bd" %)**Second Byte**(%%): Inverter Mode 941 941 942 942 01: DO pins will change back to original state after timeout. 943 943 944 944 00: DO pins will change to an inverter state after timeout 945 945 838 +(% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 946 946 947 - **Third Byte**:Control Methodand Ports status:840 +[[image:image-20220524093238-6.png]] 948 948 949 -(% border="1" style="background-color:#f7faff" %) 950 -|Second Byte|Status 951 -|0x01|DO1 set to low 952 -|0x00|DO1 set to high 953 -|0x11|DO1 NO Action 842 +(% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 954 954 955 - **Fourth Byte**:Control Methodand Ports status:844 +[[image:image-20220524093328-7.png]] 956 956 957 -(% border="1" style="background-color:#f7faff" %) 958 -|Second Byte|Status 959 -|0x01|DO2 set to low 960 -|0x00|DO2 set to high 961 -|0x11|DO2 NO Action 846 +(% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 962 962 963 -**Fifth Byte**: Control Method and Ports status: 964 - 965 965 (% border="1" style="background-color:#f7faff" %) 966 966 |Second Byte|Status 967 967 |0x01|DO3 set to low ... ... @@ -968,7 +968,7 @@ 968 968 |0x00|DO3 set to high 969 969 |0x11|DO3 NO Action 970 970 971 -**Sixth and Seventh Byte**: 854 +(% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 972 972 973 973 Latching time. Unit: ms 974 974 ... ... @@ -1165,7 +1165,7 @@ 1165 1165 1166 1166 1167 1167 1168 -1. 1051 +1. 1169 1169 11. Integrate with Mydevice 1170 1170 1171 1171 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: ... ... @@ -1223,7 +1223,7 @@ 1223 1223 1224 1224 1225 1225 1. 1226 -11. 1109 +11. 1227 1227 111. Digital Input Port: DI1/DI2 ( For LT-22222-L) 1228 1228 1229 1229 The DI port of LT-22222-L can support NPN or PNP output sensor. ... ... @@ -1277,8 +1277,8 @@ 1277 1277 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. 1278 1278 1279 1279 1280 -1. 1281 -11. 1163 +1. 1164 +11. 1282 1282 111. Digital Output Port: DO1/DO2 /DO3 1283 1283 1284 1284 NPN output: GND or Float. Max voltage can apply to output pin is 36v. ... ... @@ -1289,7 +1289,7 @@ 1289 1289 1290 1290 1291 1291 1. 1292 -11. 1175 +11. 1293 1293 111. Analog Input Interface 1294 1294 1295 1295 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: ... ... @@ -1322,7 +1322,7 @@ 1322 1322 1323 1323 1324 1324 1. 1325 -11. 1208 +11. 1326 1326 111. Relay Output 1327 1327 1328 1328 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: ... ... @@ -1482,7 +1482,7 @@ 1482 1482 1483 1483 1484 1484 1485 -1. 1368 +1. 1486 1486 11. Common AT Command Sequence 1487 1487 111. Multi-channel ABP mode (Use with SX1301/LG308) 1488 1488 ... ... @@ -1505,8 +1505,8 @@ 1505 1505 1506 1506 ATZ 1507 1507 1508 -1. 1509 -11. 1391 +1. 1392 +11. 1510 1510 111. Single-channel ABP mode (Use with LG01/LG02) 1511 1511 1512 1512 123456 Enter Password to have AT access. ... ... @@ -1546,7 +1546,7 @@ 1546 1546 1547 1547 1548 1548 1. 1549 -11. 1432 +11. 1550 1550 111. Change to Class A 1551 1551 1552 1552 If sensor JOINED ... ... @@ -1561,7 +1561,7 @@ 1561 1561 1562 1562 1. FAQ 1563 1563 1564 -1. 1447 +1. 1565 1565 11. How to upgrade the image? 1566 1566 1567 1567 The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: ... ... @@ -1620,7 +1620,7 @@ 1620 1620 User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download. 1621 1621 1622 1622 1623 -1. 1506 +1. 1624 1624 11. How to set up LT to work with Single Channel Gateway such as LG01/LG02? 1625 1625 1626 1626 In this case, users need to set LT-33222-L to work in ABP mode & transmit in only one frequency. ... ... @@ -1679,7 +1679,7 @@ 1679 1679 [[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]] 1680 1680 1681 1681 1682 -1. 1565 +1. 1683 1683 11. Have trouble to upload image. 1684 1684 1685 1685 See this link for trouble shooting: ... ... @@ -1687,7 +1687,7 @@ 1687 1687 [[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]] 1688 1688 1689 1689 1690 -1. 1573 +1. 1691 1691 11. Why I can’t join TTN in US915 /AU915 bands? 1692 1692 1693 1693 It might be about the channels mapping. Please see this link for detail:
- image-20220523181727-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +4.8 KB - Content
- image-20220523181903-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +4.9 KB - Content
- 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
- image-20220524092754-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +7.8 KB - Content
- image-20220524093238-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.0 KB - Content
- image-20220524093328-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.1 KB - Content