Last modified by Mengting Qiu on 2025/06/04 18:42

From version 75.11
edited by Xiaoling
on 2022/06/01 17:29
Change comment: There is no comment for this version
To version 82.11
edited by Xiaoling
on 2022/06/20 11:43
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -11,11 +11,16 @@
11 11  
12 12  
13 13  
14 +
15 +
16 +
14 14  = 1.Introduction =
15 15  
16 16  == 1.1 What is LT Series I/O Controller ==
17 17  
18 18  (((
22 +
23 +
19 19  The Dragino (% style="color:blue" %)**LT series I/O Modules**(%%) are Long Range LoRaWAN I/O Controller. It contains different I/O Interfaces such as:** (% style="color:blue" %)analog current Input, analog voltage input(%%)**(% style="color:blue" %), **relay output**, **digital input**(%%) and (% style="color:blue" %)**digital output**(%%) etc. The LT I/O Modules are designed to simplify the installation of I/O monitoring.
20 20  )))
21 21  
... ... @@ -45,9 +45,12 @@
45 45  
46 46  )))
47 47  
53 +
48 48  == 1.2  Specifications ==
49 49  
50 50  (((
57 +
58 +
51 51  **Hardware System:**
52 52  )))
53 53  
... ... @@ -71,6 +71,8 @@
71 71  )))
72 72  
73 73  (((
82 +
83 +
74 74  **Interface for Model: LT22222-L:**
75 75  )))
76 76  
... ... @@ -94,6 +94,8 @@
94 94  )))
95 95  
96 96  (((
107 +
108 +
97 97  **LoRa Spec:**
98 98  )))
99 99  
... ... @@ -154,6 +154,8 @@
154 154  * (((
155 155  Packet engine up to 256 bytes with CRC.
156 156  
169 +
170 +
157 157  
158 158  )))
159 159  
... ... @@ -194,7 +194,6 @@
194 194  )))
195 195  
196 196  
197 -
198 198  = 2. Power ON Device =
199 199  
200 200  The LT controller can be powered by 7 ~~ 24V DC power source. Connect VIN to Power Input V+ and GND to power input V- to power the LT controller.
... ... @@ -206,6 +206,7 @@
206 206  [[image:1653297104069-180.png]]
207 207  
208 208  
222 +
209 209  = 3. Operation Mode =
210 210  
211 211  == 3.1 How it works? ==
... ... @@ -216,10 +216,9 @@
216 216  
217 217  (((
218 218  In case user can’t set the OTAA keys in the network server and has to use the existing keys from server. User can [[use AT Command>>||anchor="H4.UseATCommand"]] to set the keys in the devices.
219 -
220 -
221 221  )))
222 222  
235 +
223 223  == 3.2 Example to join LoRaWAN network ==
224 224  
225 225  (((
... ... @@ -228,12 +228,13 @@
228 228  
229 229  [[image:image-20220523172350-1.png||height="266" width="864"]]
230 230  
244 +
231 231  (((
232 232  The LG308 is already set to connect to [[TTN network >>url:https://www.thethingsnetwork.org/]]. So what we need to do now is only configure register this device to TTN:
233 233  )))
234 234  
235 235  (((
236 -**Step 1**: Create a device in TTN with the OTAA keys from LT IO controller.
250 +(% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LT IO controller.
237 237  )))
238 238  
239 239  (((
... ... @@ -242,6 +242,7 @@
242 242  
243 243  [[image:1653297924498-393.png]]
244 244  
259 +
245 245  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
246 246  
247 247  Add APP EUI in the application.
... ... @@ -255,12 +255,13 @@
255 255  
256 256  
257 257  (((
258 -**Step 2**: Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
273 +(% style="color:blue" %)**Step 2**(%%): Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
259 259  )))
260 260  
261 261  [[image:1653298044601-602.png||height="405" width="709"]]
262 262  
263 263  
279 +
264 264  == 3.3 Uplink Payload ==
265 265  
266 266  There are five working modes + one interrupt mode on LT for different type application:
... ... @@ -281,6 +281,8 @@
281 281  [[image:image-20220523174024-3.png]]
282 282  
283 283  (((
300 +
301 +
284 284  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
285 285  )))
286 286  
... ... @@ -294,6 +294,7 @@
294 294  
295 295  For example if payload is: [[image:image-20220523175847-2.png]]
296 296  
315 +
297 297  **The value for the interface is:  **
298 298  
299 299  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
... ... @@ -328,6 +328,7 @@
328 328  
329 329  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
330 330  
350 +
331 331  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
332 332  
333 333  (((
... ... @@ -336,6 +336,7 @@
336 336  
337 337  [[image:image-20220523180452-3.png]]
338 338  
359 +
339 339  (((
340 340  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
341 341  )))
... ... @@ -351,6 +351,8 @@
351 351  )))
352 352  
353 353  (((
375 +
376 +
354 354  **To use counting mode, please run:**
355 355  )))
356 356  
... ... @@ -358,17 +358,14 @@
358 358  (((
359 359  (((
360 360  **AT+MOD=2**
361 -)))
362 -)))
363 363  
364 -(% class="box infomessage" %)
365 -(((
366 -(((
367 367  **ATZ**
368 368  )))
369 369  )))
370 370  
371 371  (((
390 +
391 +
372 372  (% style="color:#4f81bd" %)**AT Commands for counting:**
373 373  )))
374 374  
... ... @@ -380,45 +380,21 @@
380 380  (((
381 381  (((
382 382  **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
383 -)))
384 -)))
385 385  
386 -(% class="box infomessage" %)
387 -(((
388 -(((
389 389  **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
390 -)))
391 -)))
392 392  
393 -(% class="box infomessage" %)
394 -(((
395 -(((
396 396  **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
397 -)))
398 -)))
399 399  
400 -(% class="box infomessage" %)
401 -(((
402 -(((
403 403  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
404 -)))
405 -)))
406 406  
407 -(% class="box infomessage" %)
408 -(((
409 -(((
410 410  **AT+SETCNT=1,60   (Set COUNT1 value to 60)**
411 -)))
412 -)))
413 413  
414 -(% class="box infomessage" %)
415 -(((
416 -(((
417 417  **AT+SETCNT=2,60   (Set COUNT2 value to 60)**
418 418  )))
419 419  )))
420 420  
421 421  
417 +
422 422  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
423 423  
424 424  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -447,12 +447,7 @@
447 447  (((
448 448  (((
449 449  **AT+MOD=3**
450 -)))
451 -)))
452 452  
453 -(% class="box infomessage" %)
454 -(((
455 -(((
456 456  **ATZ**
457 457  )))
458 458  )))
... ... @@ -459,12 +459,13 @@
459 459  
460 460  (((
461 461  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
462 -
463 -
464 464  )))
465 465  
455 +
456 +
466 466  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
467 467  
459 +
468 468  **LT22222-L**: This mode the DI1 is used as a counting pin.
469 469  
470 470  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.
... ... @@ -471,6 +471,7 @@
471 471  
472 472  [[image:image-20220523181903-8.png]]
473 473  
466 +
474 474  (((
475 475  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
476 476  )))
... ... @@ -486,6 +486,8 @@
486 486  )))
487 487  
488 488  (((
482 +
483 +
489 489  **To use this mode, please run:**
490 490  )))
491 491  
... ... @@ -493,25 +493,20 @@
493 493  (((
494 494  (((
495 495  **AT+MOD=4**
496 -)))
497 -)))
498 498  
499 -(% class="box infomessage" %)
500 -(((
501 -(((
502 502  **ATZ**
503 503  )))
504 504  )))
505 505  
506 -(((
507 -
508 -)))
509 509  
497 +
510 510  (((
511 511  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
512 512  )))
513 513  
514 514  (((
503 +
504 +
515 515  **Plus below command for AVI1 Counting:**
516 516  )))
517 517  
... ... @@ -518,28 +518,13 @@
518 518  (% class="box infomessage" %)
519 519  (((
520 520  (((
521 -**AT+SETCNT=3,60   (set AVI Count to 60)**
522 -)))
523 -)))
511 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)**   (set AVI Count to 60)**
524 524  
525 -(% class="box infomessage" %)
526 -(((
527 -(((
528 -**AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
529 -)))
530 -)))
513 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)**   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
531 531  
532 -(% class="box infomessage" %)
533 -(((
534 -(((
535 -**AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
536 -)))
537 -)))
515 +(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)**   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
538 538  
539 -(% class="box infomessage" %)
540 -(((
541 -(((
542 -**AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
517 +(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)**   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
543 543  )))
544 544  )))
545 545  
... ... @@ -546,11 +546,14 @@
546 546  
547 547  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
548 548  
524 +
549 549  **LT22222-L**: This mode the DI1 is used as a counting pin.
550 550  
551 551  [[image:image-20220523182334-9.png]]
552 552  
553 553  (((
530 +
531 +
554 554  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
555 555  )))
556 556  
... ... @@ -565,6 +565,8 @@
565 565  )))
566 566  
567 567  (((
546 +
547 +
568 568  **To use this mode, please run:**
569 569  )))
570 570  
... ... @@ -572,12 +572,7 @@
572 572  (((
573 573  (((
574 574  **AT+MOD=5**
575 -)))
576 -)))
577 577  
578 -(% class="box infomessage" %)
579 -(((
580 -(((
581 581  **ATZ**
582 582  )))
583 583  )))
... ... @@ -584,12 +584,13 @@
584 584  
585 585  (((
586 586  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
587 -
588 -
589 589  )))
590 590  
564 +
565 +
591 591  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
592 592  
568 +
593 593  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
594 594  
595 595  For example, if user has configured below commands:
... ... @@ -602,7 +602,7 @@
602 602  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
603 603  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.**
604 604  
605 -**AT Command to set Trigger Condition**:
581 +(% style="color:#037691" %)**AT Command to set Trigger Condition**:
606 606  
607 607  (% style="color:#4f81bd" %)**Trigger base on voltage**:
608 608  
... ... @@ -614,6 +614,8 @@
614 614  
615 615  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
616 616  
593 +
594 +
617 617  (% style="color:#4f81bd" %)**Trigger base on current**:
618 618  
619 619  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -622,6 +622,8 @@
622 622  
623 623  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
624 624  
603 +
604 +
625 625  (% style="color:#4f81bd" %)**Trigger base on DI status**:
626 626  
627 627  DI status trigger Flag.
... ... @@ -628,12 +628,13 @@
628 628  
629 629  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
630 630  
611 +
631 631  **Example:**
632 632  
633 633  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
634 634  
635 635  
636 -**Downlink Command to set Trigger Condition**
617 +(% style="color:#037691" %)**Downlink Command to set Trigger Condition:**
637 637  
638 638  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
639 639  
... ... @@ -651,14 +651,18 @@
651 651  
652 652   Yy4 yy4: AC2 or AV2 high limit.
653 653  
635 +
654 654  **Example1**: AA 00 13 88 00 00 00 00 00 00
655 655  
656 656  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
657 657  
640 +
658 658  **Example2**: AA 02 01 00
659 659  
660 660  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
661 661  
645 +
646 +
662 662  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
663 663  
664 664  MOD6 Payload : total 11 bytes payload
... ... @@ -665,6 +665,7 @@
665 665  
666 666  [[image:image-20220524085923-1.png]]
667 667  
653 +
668 668  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
669 669  
670 670  [[image:image-20220524090106-2.png]]
... ... @@ -709,14 +709,18 @@
709 709  When device got this command, it will send the MOD6 payload.
710 710  
711 711  
698 +
712 712  === 3.3.7 Payload Decoder ===
713 713  
714 714  (((
702 +
703 +
715 715  **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/]]
716 716  
717 717  
718 718  )))
719 719  
709 +
720 720  == 3.4 ​Configure LT via AT or Downlink ==
721 721  
722 722  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
... ... @@ -725,15 +725,18 @@
725 725  There are two kinds of Commands:
726 726  )))
727 727  
728 -* (% 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
718 +* (% 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: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
729 729  
730 730  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
731 731  
722 +
723 +
732 732  === 3.4.1 Common Commands ===
733 733  
734 734  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>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
735 735  
736 736  
729 +
737 737  === 3.4.2 Sensor related commands ===
738 738  
739 739  ==== 3.4.2.1 Set Transmit Interval ====
... ... @@ -740,7 +740,7 @@
740 740  
741 741  Set device uplink interval.
742 742  
743 -* AT Command:
736 +* (% style="color:#037691" %)**AT Command:**
744 744  
745 745  (% class="box infomessage" %)
746 746  (((
... ... @@ -749,8 +749,9 @@
749 749  
750 750  **Example: **AT+TDC=30000. Means set interval to 30 seconds
751 751  
752 -* Downlink Payload (prefix 0x01):
753 753  
746 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
747 +
754 754  (% class="box infomessage" %)
755 755  (((
756 756  **0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
... ... @@ -757,11 +757,12 @@
757 757  )))
758 758  
759 759  
754 +
760 760  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
761 761  
762 762  Set work mode.
763 763  
764 -* AT Command:
759 +* (% style="color:#037691" %)**AT Command:**
765 765  
766 766  (% class="box infomessage" %)
767 767  (((
... ... @@ -770,8 +770,9 @@
770 770  
771 771  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
772 772  
773 -* Downlink Payload (prefix 0x0A):
774 774  
769 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
770 +
775 775  (% class="box infomessage" %)
776 776  (((
777 777  **0x0A aa     ~/~/ Same as AT+MOD=aa**
... ... @@ -778,14 +778,16 @@
778 778  )))
779 779  
780 780  
777 +
781 781  ==== 3.4.2.3 Poll an uplink ====
782 782  
783 -* AT Command:
780 +* (% style="color:#037691" %)AT Command:
784 784  
785 785  There is no AT Command to poll uplink
786 786  
787 -* Downlink Payload (prefix 0x08):
788 788  
785 +* (% style="color:#037691" %)Downlink Payload (prefix 0x08):
786 +
789 789  (% class="box infomessage" %)
790 790  (((
791 791  **0x08 FF     ~/~/ Poll an uplink,**
... ... @@ -794,11 +794,12 @@
794 794  **Example**: 0x08FF, ask device to send an Uplink
795 795  
796 796  
795 +
797 797  ==== 3.4.2.4 Enable Trigger Mode ====
798 798  
799 -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]]
798 +Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
800 800  
801 -* AT Command:
800 +* (% style="color:#037691" %)AT Command:
802 802  
803 803  (% class="box infomessage" %)
804 804  (((
... ... @@ -809,8 +809,9 @@
809 809  
810 810  0: Disable Trigger Mode
811 811  
812 -* Downlink Payload (prefix 0x0A 06):
813 813  
812 +* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06):
813 +
814 814  (% class="box infomessage" %)
815 815  (((
816 816  **0x0A 06 aa     ~/~/ Same as AT+ADDMOD6=aa,**
... ... @@ -817,16 +817,18 @@
817 817  )))
818 818  
819 819  
820 +
820 820  ==== 3.4.2.5 Poll trigger settings ====
821 821  
822 822  Poll trigger settings,
823 823  
824 -* AT Command:
825 +* (% style="color:#037691" %)AT Command:
825 825  
826 826  There is no AT Command for this feature.
827 827  
828 -* Downlink Payload (prefix 0x AB 06):
829 829  
830 +* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06):
831 +
830 830  (% class="box infomessage" %)
831 831  (((
832 832  **0xAB 06  ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command**
... ... @@ -833,11 +833,12 @@
833 833  )))
834 834  
835 835  
838 +
836 836  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
837 837  
838 838  Enable Disable DI1/DI2/DI2 as trigger,
839 839  
840 -* AT Command:
843 +* (% style="color:#037691" %)AT Command:
841 841  
842 842  (% class="box infomessage" %)
843 843  (((
... ... @@ -844,11 +844,12 @@
844 844  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
845 845  )))
846 846  
850 +
847 847  **Example:**
848 848  
849 849  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
850 850  
851 -* Downlink Payload (prefix 0xAA 02):
855 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):
852 852  
853 853  (% class="box infomessage" %)
854 854  (((
... ... @@ -856,11 +856,12 @@
856 856  )))
857 857  
858 858  
863 +
859 859  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
860 860  
861 861  Set DI1 or DI3(for LT-33222-L) trigger.
862 862  
863 -* AT Command:
868 +* (% style="color:#037691" %)AT Command:
864 864  
865 865  (% class="box infomessage" %)
866 866  (((
... ... @@ -871,12 +871,14 @@
871 871  
872 872  b : delay timing.
873 873  
879 +
874 874  **Example:**
875 875  
876 876  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
877 877  
878 -* Downlink Payload (prefix 0x09 01 ):
879 879  
885 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 01 ):
886 +
880 880  (% class="box infomessage" %)
881 881  (((
882 882  **0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
... ... @@ -883,11 +883,12 @@
883 883  )))
884 884  
885 885  
893 +
886 886  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
887 887  
888 888  Set DI2 trigger.
889 889  
890 -* AT Command:
898 +* (% style="color:#037691" %)AT Command:
891 891  
892 892  (% class="box infomessage" %)
893 893  (((
... ... @@ -898,12 +898,14 @@
898 898  
899 899  b : delay timing.
900 900  
909 +
901 901  **Example:**
902 902  
903 903  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
904 904  
905 -* Downlink Payload (prefix 0x09 02 ):
906 906  
915 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 02 ):
916 +
907 907  (% class="box infomessage" %)
908 908  (((
909 909  **0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
... ... @@ -910,11 +910,12 @@
910 910  )))
911 911  
912 912  
923 +
913 913  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
914 914  
915 -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]]
926 +Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
916 916  
917 -* AT Command:
928 +* (% style="color:#037691" %)AT Command:
918 918  
919 919  (% class="box infomessage" %)
920 920  (((
... ... @@ -921,38 +921,42 @@
921 921  **AT+ACLIM. **
922 922  )))
923 923  
924 -* Downlink Payload (prefix 0xAA 01 ):
925 925  
936 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 01 ):
937 +
926 926  (% class="box infomessage" %)
927 927  (((
928 -**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]]**
940 +**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
929 929  )))
930 930  
931 931  
944 +
932 932  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
933 933  
934 -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]]
947 +Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
935 935  
936 -* AT Command:
949 +* (% style="color:#037691" %)AT Command:
937 937  
938 938  (% class="box infomessage" %)
939 939  (((
940 -**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]]**
953 +**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
941 941  )))
942 942  
943 -* Downlink Payload (prefix 0xAA 00 ):
944 944  
957 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 00 ):
958 +
945 945  (% class="box infomessage" %)
946 946  (((
947 -**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]] **
961 +**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] **
948 948  )))
949 949  
950 950  
965 +
951 951  ==== 3.4.2.11 Trigger – Set minimum interval ====
952 952  
953 953  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
954 954  
955 -* AT Command:
970 +* (% style="color:#037691" %)AT Command:
956 956  
957 957  (% class="box infomessage" %)
958 958  (((
... ... @@ -959,8 +959,9 @@
959 959  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
960 960  )))
961 961  
962 -* Downlink Payload (prefix 0xAC ):
963 963  
978 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAC ):
979 +
964 964  (% class="box infomessage" %)
965 965  (((
966 966  **0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)**
... ... @@ -967,14 +967,16 @@
967 967  )))
968 968  
969 969  
986 +
970 970  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
971 971  
972 -* AT Command:
989 +* (% style="color:#037691" %)AT Command:
973 973  
974 974  There is no AT Command to control Digital Output
975 975  
976 -* Downlink Payload (prefix 0x02):
977 977  
994 +* (% style="color:#037691" %)Downlink Payload (prefix 0x02):
995 +
978 978  (% class="box infomessage" %)
979 979  (((
980 980  **0x02 aa bb cc     ~/~/ Set DO1/DO2/DO3 output**
... ... @@ -999,14 +999,16 @@
999 999  )))
1000 1000  
1001 1001  
1020 +
1002 1002  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1003 1003  
1004 -* AT Command:
1023 +* (% style="color:#037691" %)AT Command:
1005 1005  
1006 1006  There is no AT Command to control Digital Output
1007 1007  
1008 -* Downlink Payload (prefix 0xA9):
1009 1009  
1028 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA9):
1029 +
1010 1010  (% class="box infomessage" %)
1011 1011  (((
1012 1012  (((
... ... @@ -1024,18 +1024,22 @@
1024 1024  
1025 1025  00: DO pins will change to an inverter state after timeout 
1026 1026  
1047 +
1027 1027  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1028 1028  
1029 1029  [[image:image-20220524093238-6.png]]
1030 1030  
1052 +
1031 1031  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1032 1032  
1033 1033  [[image:image-20220524093328-7.png]]
1034 1034  
1057 +
1035 1035  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1036 1036  
1037 1037  [[image:image-20220524093351-8.png]]
1038 1038  
1062 +
1039 1039  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1040 1040  
1041 1041   Latching time. Unit: ms
... ... @@ -1042,6 +1042,7 @@
1042 1042  
1043 1043  Device will upload a packet if downlink code executes successfully.
1044 1044  
1069 +
1045 1045  **Example payload:**
1046 1046  
1047 1047  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1061,14 +1061,16 @@
1061 1061  DO1 pin no action, DO2 pin set low, DO3 pin set high, last 2 seconds, then DO1 pin no action, DO2 pin set high, DO3 pin set low
1062 1062  
1063 1063  
1064 -=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1065 1065  
1066 -* AT Command:
1090 +==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1067 1067  
1092 +* (% style="color:#037691" %)AT Command:
1093 +
1068 1068  There is no AT Command to control Relay Output
1069 1069  
1070 -* Downlink Payload (prefix 0x03):
1071 1071  
1097 +* (% style="color:#037691" %)Downlink Payload (prefix 0x03):
1098 +
1072 1072  (% class="box infomessage" %)
1073 1073  (((
1074 1074  **0x03 aa bb     ~/~/ Set RO1/RO2 output**
... ... @@ -1089,14 +1089,16 @@
1089 1089  Device will upload a packet if downlink code executes successfully.
1090 1090  
1091 1091  
1119 +
1092 1092  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1093 1093  
1094 -* AT Command:
1122 +* (% style="color:#037691" %)AT Command:
1095 1095  
1096 1096  There is no AT Command to control Relay Output
1097 1097  
1098 -* Downlink Payload (prefix 0x05):
1099 1099  
1127 +* (% style="color:#037691" %)Downlink Payload (prefix 0x05):
1128 +
1100 1100  (% class="box infomessage" %)
1101 1101  (((
1102 1102  **0x05 aa bb cc dd     ~/~/ Set RO1/RO2 relay with time control:**
... ... @@ -1112,14 +1112,17 @@
1112 1112  
1113 1113  00: Relays will change to an inverter state after timeout
1114 1114  
1144 +
1115 1115  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1116 1116  
1117 1117  [[image:image-20220524093831-10.png]]
1118 1118  
1149 +
1119 1119  (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1120 1120  
1121 1121  Device will upload a packet if downlink code executes successfully.
1122 1122  
1154 +
1123 1123  **Example payload:**
1124 1124  
1125 1125  **~1. 05 01 11 07 D0**
... ... @@ -1139,19 +1139,21 @@
1139 1139  Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO.
1140 1140  
1141 1141  
1174 +
1142 1142  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1143 1143  
1144 -When voltage exceed the threshold, count. Feature see [[MOD4>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting]]
1177 +When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1145 1145  
1146 -* AT Command:
1179 +* (% style="color:#037691" %)AT Command:
1147 1147  
1148 1148  (% class="box infomessage" %)
1149 1149  (((
1150 -**AT+VOLMAX    ~/~/ See [[MOD4>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting]]**
1183 +**AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1151 1151  )))
1152 1152  
1153 -* Downlink Payload (prefix 0xA5):
1154 1154  
1187 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA5):
1188 +
1155 1155  (% class="box infomessage" %)
1156 1156  (((
1157 1157  **0xA5 aa bb cc   ~/~/ Same as AT+VOLMAX=(aa bb),cc**
... ... @@ -1158,9 +1158,10 @@
1158 1158  )))
1159 1159  
1160 1160  
1195 +
1161 1161  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1162 1162  
1163 -* AT Command:
1198 +* (% style="color:#037691" %)AT Command:
1164 1164  
1165 1165  (% class="box infomessage" %)
1166 1166  (((
... ... @@ -1175,8 +1175,9 @@
1175 1175  
1176 1176  Bb cc dd ee: number to be set
1177 1177  
1178 -* Downlink Payload (prefix 0xA8):
1179 1179  
1214 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA8):
1215 +
1180 1180  (% class="box infomessage" %)
1181 1181  (((
1182 1182  **0x A8 aa bb cc dd ee     ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)**
... ... @@ -1183,11 +1183,12 @@
1183 1183  )))
1184 1184  
1185 1185  
1222 +
1186 1186  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1187 1187  
1188 1188  Clear counting for counting mode
1189 1189  
1190 -* AT Command:
1227 +* (% style="color:#037691" %)AT Command:
1191 1191  
1192 1192  (% class="box infomessage" %)
1193 1193  (((
... ... @@ -1194,7 +1194,7 @@
1194 1194  **AT+CLRCOUNT ~/~/ clear all counting**
1195 1195  )))
1196 1196  
1197 -* Downlink Payload (prefix 0xA6):
1234 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA6):
1198 1198  
1199 1199  (% class="box infomessage" %)
1200 1200  (((
... ... @@ -1202,22 +1202,18 @@
1202 1202  )))
1203 1203  
1204 1204  
1242 +
1205 1205  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1206 1206  
1207 -* AT Command:
1245 +* (% style="color:#037691" %)**AT Command:**
1208 1208  
1209 -(% class="box infomessage" %)
1210 -(((
1211 -**AT+COUTIME=60  ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)**
1212 -)))
1247 +**AT+COUTIME=60  **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1213 1213  
1214 -* Downlink Payload (prefix 0xA7):
1215 1215  
1216 -(% class="box infomessage" %)
1217 -(((
1218 -**0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,**
1219 -)))
1250 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):**
1220 1220  
1252 +**0x A7 aa bb cc     **~/~/ same as AT+COUTIME =aa bb cc,
1253 +
1221 1221  (((
1222 1222  range: aa bb cc:0 to 16777215,  (unit:second)
1223 1223  
... ... @@ -1224,16 +1224,17 @@
1224 1224  
1225 1225  )))
1226 1226  
1260 +
1227 1227  == 3.5 Integrate with Mydevice ==
1228 1228  
1229 1229  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:
1230 1230  
1231 1231  (((
1232 -**Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
1266 +(% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the network at this time.
1233 1233  )))
1234 1234  
1235 1235  (((
1236 -**Step 2**: To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps:
1270 +(% style="color:blue" %)**Step 2**(%%): To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps:
1237 1237  )))
1238 1238  
1239 1239  [[image:1653356737703-362.png||height="232" width="732"]]
... ... @@ -1240,30 +1240,38 @@
1240 1240  
1241 1241  [[image:image-20220524094641-11.png||height="390" width="723"]]
1242 1242  
1277 +
1243 1243  [[image:image-20220524094641-12.png||height="402" width="718"]]
1244 1244  
1245 -**Step 3**: Create an account or log in Mydevices.
1246 1246  
1247 -**Step 4**: Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %)
1281 +(% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.
1248 1248  
1283 +(% style="color:blue" %)**Step 4**(%%): Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %)
1284 +
1249 1249  Search under The things network
1250 1250  
1251 1251  [[image:1653356838789-523.png||height="337" width="740"]]
1252 1252  
1253 1253  
1290 +
1254 1254  After added, the sensor data arrive TTN, it will also arrive and show in Mydevices.
1255 1255  
1256 1256  [[image:image-20220524094909-1.png||height="335" width="729"]]
1257 1257  
1295 +
1258 1258  [[image:image-20220524094909-2.png||height="337" width="729"]]
1259 1259  
1298 +
1260 1260  [[image:image-20220524094909-3.png||height="338" width="727"]]
1261 1261  
1301 +
1262 1262  [[image:image-20220524094909-4.png||height="339" width="728"]](% style="display:none" %)
1263 1263  
1304 +
1264 1264  [[image:image-20220524094909-5.png||height="341" width="734"]]
1265 1265  
1266 1266  
1308 +
1267 1267  == 3.6 Interface Detail ==
1268 1268  
1269 1269  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
... ... @@ -1273,6 +1273,7 @@
1273 1273  [[image:1653356991268-289.png]]
1274 1274  
1275 1275  
1318 +
1276 1276  === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) ===
1277 1277  
1278 1278  (((
... ... @@ -1298,7 +1298,7 @@
1298 1298  )))
1299 1299  
1300 1300  (((
1301 -**Example1**: Connect to a Low active sensor.
1344 +(% style="color:blue" %)**Example1**(%%): Connect to a Low active sensor.
1302 1302  )))
1303 1303  
1304 1304  (((
... ... @@ -1329,7 +1329,7 @@
1329 1329  )))
1330 1330  
1331 1331  (((
1332 -**Example2**: Connect to a High active sensor.
1375 +(% style="color:blue" %)**Example2**(%%): Connect to a High active sensor.
1333 1333  )))
1334 1334  
1335 1335  (((
... ... @@ -1360,7 +1360,7 @@
1360 1360  )))
1361 1361  
1362 1362  (((
1363 -**Example3**: Connect to a 220v high active sensor.
1406 +(% style="color:blue" %)**Example3**(%%): Connect to a 220v high active sensor.
1364 1364  )))
1365 1365  
1366 1366  (((
... ... @@ -1387,6 +1387,7 @@
1387 1387  )))
1388 1388  
1389 1389  
1433 +
1390 1390  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1391 1391  
1392 1392  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
... ... @@ -1394,12 +1394,14 @@
1394 1394  [[image:1653357531600-905.png]]
1395 1395  
1396 1396  
1441 +
1397 1397  === 3.6.4 Analog Input Interface ===
1398 1398  
1399 1399  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:
1400 1400  
1401 -**AC2 = (IN2 voltage )/12**
1402 1402  
1447 +(% style="color:blue" %)**AC2 = (IN2 voltage )/12**
1448 +
1403 1403  [[image:1653357592296-182.png]]
1404 1404  
1405 1405  Example to connect a 4~~20mA sensor
... ... @@ -1406,22 +1406,24 @@
1406 1406  
1407 1407  We take the wind speed sensor as an example for reference only.
1408 1408  
1409 -Specifications of the wind speed sensor:
1410 1410  
1411 -Red:12~~24v
1456 +**Specifications of the wind speed sensor:**
1412 1412  
1413 -Yellow:4~~20mA
1458 +Red:  12~~24v
1414 1414  
1415 -Black:GND
1460 +Yellow:  4~~20mA
1416 1416  
1462 +Black:  GND
1417 1417  
1418 -Connection diagram:
1419 1419  
1465 +**Connection diagram:**
1466 +
1420 1420  [[image:1653357640609-758.png]]
1421 1421  
1422 1422  [[image:1653357648330-671.png||height="155" width="733"]]
1423 1423  
1424 1424  
1472 +
1425 1425  === 3.6.5 Relay Output ===
1426 1426  
1427 1427  (((
... ... @@ -1433,6 +1433,7 @@
1433 1433  [[image:image-20220524100215-10.png||height="382" width="723"]]
1434 1434  
1435 1435  
1484 +
1436 1436  == 3.7 LEDs Indicators ==
1437 1437  
1438 1438  [[image:image-20220524100748-11.png]]
... ... @@ -1446,6 +1446,7 @@
1446 1446  
1447 1447  [[image:1653358238933-385.png]]
1448 1448  
1498 +
1449 1449  (((
1450 1450  In PC, User needs to set (% style="color:#4f81bd" %)**serial tool**(%%)(such as [[putty>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console for LT. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**)(%%) to active it. As shown below:
1451 1451  )))
... ... @@ -1452,6 +1452,7 @@
1452 1452  
1453 1453  [[image:1653358355238-883.png]]
1454 1454  
1505 +
1455 1455  (((
1456 1456  More detail AT Command manual can be found at [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]]
1457 1457  )))
... ... @@ -1642,12 +1642,16 @@
1642 1642  
1643 1643  )))
1644 1644  
1696 +
1697 +
1645 1645  == 4.2 Common AT Command Sequence ==
1646 1646  
1647 1647  === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
1648 1648  
1649 1649  (((
1650 -If device has not joined network yet:
1703 +
1704 +
1705 +**If device has not joined network yet:**
1651 1651  )))
1652 1652  
1653 1653  (((
... ... @@ -1672,7 +1672,7 @@
1672 1672  
1673 1673  
1674 1674  (((
1675 -If device already joined network:
1730 +**If device already joined network:**
1676 1676  )))
1677 1677  
1678 1678  (((
... ... @@ -1685,10 +1685,14 @@
1685 1685  
1686 1686  )))
1687 1687  
1743 +
1744 +
1688 1688  === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) ===
1689 1689  
1690 1690  (((
1691 -(% style="background-color:#dcdcdc" %) 123456(%%)   Enter Password to have AT access.
1748 +
1749 +
1750 +(% style="background-color:#dcdcdc" %)123456(%%)  Enter Password to have AT access.
1692 1692  )))
1693 1693  
1694 1694  (((
... ... @@ -1696,7 +1696,7 @@
1696 1696  )))
1697 1697  
1698 1698  (((
1699 -(% style="background-color:#dcdcdc" %) 123456(%%)   Enter Password to have AT access.
1758 +(% style="background-color:#dcdcdc" %) 123456(%%)  Enter Password to have AT access.
1700 1700  )))
1701 1701  
1702 1702  (((
... ... @@ -1704,39 +1704,41 @@
1704 1704  )))
1705 1705  
1706 1706  (((
1707 -(% style="background-color:#dcdcdc" %) AT+NJM=0(%%) Set to ABP mode
1766 +(% style="background-color:#dcdcdc" %) AT+NJM=0(%%)  Set to ABP mode
1708 1708  )))
1709 1709  
1710 1710  (((
1711 -(% style="background-color:#dcdcdc" %) AT+ADR=0(%%) Set the Adaptive Data Rate Off
1770 +(% style="background-color:#dcdcdc" %) AT+ADR=0(%%)  Set the Adaptive Data Rate Off
1712 1712  )))
1713 1713  
1714 1714  (((
1715 -(% style="background-color:#dcdcdc" %) AT+DR=5(%%)  Set Data Rate
1774 +(% style="background-color:#dcdcdc" %) AT+DR=5(%%)  Set Data Rate
1716 1716  )))
1717 1717  
1718 1718  (((
1719 -(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%)  Set transmit interval to 60 seconds
1778 +(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%)  Set transmit interval to 60 seconds
1720 1720  )))
1721 1721  
1722 1722  (((
1723 -(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%) Set transmit frequency to 868.4Mhz
1782 +(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%)  Set transmit frequency to 868.4Mhz
1724 1724  )))
1725 1725  
1726 1726  (((
1727 -(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%) Set RX2Frequency to 868.4Mhz (according to the result from server)
1786 +(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%)  Set RX2Frequency to 868.4Mhz (according to the result from server)
1728 1728  )))
1729 1729  
1730 1730  (((
1731 -(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%)  Set RX2DR to match the downlink DR from server. see below
1790 +(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%)  Set RX2DR to match the downlink DR from server. see below
1732 1732  )))
1733 1733  
1734 1734  (((
1735 -(% style="background-color:#dcdcdc" %) AT+DADDR=26 01 1A F1 (%%)Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.
1794 +(% style="background-color:#dcdcdc" %) AT+DADDR=26 01 1A F1 (%%) Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.
1736 1736  )))
1737 1737  
1738 1738  (((
1739 -(% style="background-color:#dcdcdc" %) ATZ         (%%) Reset MCU
1798 +(% style="background-color:#dcdcdc" %) ATZ         (%%) Reset MCU
1799 +
1800 +
1740 1740  )))
1741 1741  
1742 1742  (((
... ... @@ -1758,6 +1758,7 @@
1758 1758  
1759 1759  )))
1760 1760  
1822 +
1761 1761  === 4.2.3 Change to Class A ===
1762 1762  
1763 1763  If sensor JOINED
... ... @@ -1769,19 +1769,25 @@
1769 1769  
1770 1770  == 5.1 How to upgrade the image? ==
1771 1771  
1834 +
1772 1772  The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to:
1773 1773  
1774 1774  * Support new features
1775 1775  * For bug fix
1776 1776  * Change LoRaWAN bands.
1840 +
1777 1777  Below shows the hardware connection for how to upload an image to the LT:
1778 -* [[image:1653359603330-121.png]]
1779 1779  
1843 +[[image:1653359603330-121.png]]
1844 +
1845 +
1780 1780  (((
1781 -**Step1:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]].
1782 -**Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].
1783 -**Step3: **Open flashloader; choose the correct COM port to update.
1784 -**For LT-22222-L**:
1847 +(% style="color:blue" %)**Step1**(%%)**:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]].
1848 +(% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].
1849 +(% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update.
1850 +
1851 +
1852 +(% style="color:blue" %)**For LT-22222-L**(%%):
1785 1785  Hold down the PRO button and then momentarily press the RST reset button and the **DO1 led** will change from OFF to ON. When **DO1 LED** is on, it means the device is in download mode.
1786 1786  )))
1787 1787  
... ... @@ -1791,6 +1791,7 @@
1791 1791  
1792 1792  [[image:image-20220524104033-15.png]]
1793 1793  
1862 +
1794 1794  (% style="color:red" %)**Notice**(%%): In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is:
1795 1795  
1796 1796  [[image:1653360054704-518.png||height="186" width="745"]]
... ... @@ -1798,6 +1798,8 @@
1798 1798  
1799 1799  (((
1800 1800  (((
1870 +
1871 +
1801 1801  == 5.2 How to change the LoRa Frequency Bands/Region? ==
1802 1802  )))
1803 1803  )))
... ... @@ -1804,11 +1804,11 @@
1804 1804  
1805 1805  (((
1806 1806  User can follow the introduction for [[how to upgrade image>>||anchor="H5.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download.
1807 -
1808 -
1809 1809  )))
1810 1810  
1811 1811  (((
1881 +
1882 +
1812 1812  == 5.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? ==
1813 1813  )))
1814 1814  
... ... @@ -1821,6 +1821,8 @@
1821 1821  (((
1822 1822  (((
1823 1823  Assume we have a LG02 working in the frequency 868400000 now , below is the step.
1895 +
1896 +
1824 1824  )))
1825 1825  )))
1826 1826  
... ... @@ -1836,23 +1836,25 @@
1836 1836  (% style="color:red" %)Note: user just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN.
1837 1837  )))
1838 1838  
1912 +
1839 1839  (((
1840 1840  (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
1841 1841  )))
1842 1842  
1843 1843  (((
1844 -(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1845 -(% style="background-color:#dcdcdc" %)AT+FDR  (%%) Reset Parameters to Factory Default, Keys Reserve
1846 -(% style="background-color:#dcdcdc" %)123456  (%%) Enter Password to have AT access.
1847 -(% style="background-color:#dcdcdc" %)AT+NJM=0 (%%)Set to ABP mode
1848 -(% style="background-color:#dcdcdc" %)AT+ADR=0 (%%)Set the Adaptive Data Rate Off
1849 -(% style="background-color:#dcdcdc" %)AT+DR=5 (%%) Set Data Rate (Set AT+DR=3 for 915 band)
1850 -(% style="background-color:#dcdcdc" %)AT+TDC=60000  (%%)Set transmit interval to 60 seconds
1851 -(% style="background-color:#dcdcdc" %)AT+CHS=868400000 (%%)Set transmit frequency to 868.4Mhz
1852 -(% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1
1853 -(% style="background-color:#dcdcdc" %)ATZ                (%%)Reset MCU
1918 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1919 +(% style="background-color:#dcdcdc" %)AT+FDR(%%)  Reset Parameters to Factory Default, Keys Reserve
1920 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1921 +(% style="background-color:#dcdcdc" %)AT+NJM=0 (%%) Set to ABP mode
1922 +(% style="background-color:#dcdcdc" %)AT+ADR=0 (%%) Set the Adaptive Data Rate Off
1923 +(% style="background-color:#dcdcdc" %)AT+DR=5 (%%) Set Data Rate (Set AT+DR=3 for 915 band)
1924 +(% style="background-color:#dcdcdc" %)AT+TDC=60000 (%%) Set transmit interval to 60 seconds
1925 +(% style="background-color:#dcdcdc" %)AT+CHS=868400000(%%)  Set transmit frequency to 868.4Mhz
1926 +(% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%)  Set Device Address to 26 01 1A F1
1927 +(% style="background-color:#dcdcdc" %)ATZ        (%%) Reset MCU
1854 1854  )))
1855 1855  
1930 +
1856 1856  (((
1857 1857  As shown in below:
1858 1858  )))
... ... @@ -1865,10 +1865,23 @@
1865 1865  (((
1866 1866  User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesn’t support AT+DEBUG. User can update to latest firmware first.
1867 1867  
1868 -
1943 +
1944 +== 5.5 Can i use point to point communication for LT-22222-L? ==
1945 +
1946 +Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]
1869 1869  )))
1870 1870  
1871 1871  (((
1950 +== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
1951 +
1952 +If the device is not shut down, but directly powered off.
1953 +
1954 +It will default that this is a power-off state.
1955 +
1956 +In modes 2 to 5, DO RO status and pulse count are saved in flash.
1957 +
1958 +After restart, the status before power failure will be read from flash.
1959 +
1872 1872  = 6. Trouble Shooting =
1873 1873  )))
1874 1874  
... ... @@ -1880,11 +1880,11 @@
1880 1880  
1881 1881  (((
1882 1882  Please see this link for how to debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H5.1Howitwork"]]
1883 -
1884 -
1885 1885  )))
1886 1886  
1887 1887  (((
1974 +
1975 +
1888 1888  == 6.2 Have trouble to upload image. ==
1889 1889  )))
1890 1890  
... ... @@ -1894,9 +1894,7 @@
1894 1894  
1895 1895  (((
1896 1896  
1897 -)))
1898 1898  
1899 -(((
1900 1900  == 6.3 Why I can’t join TTN in US915 /AU915 bands? ==
1901 1901  )))
1902 1902  
... ... @@ -1904,147 +1904,55 @@
1904 1904  It might be about the channels mapping. [[Please see this link for detail>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]]
1905 1905  )))
1906 1906  
1907 -(((
1908 -
1909 -)))
1910 1910  
1911 -(((
1994 +
1912 1912  = 7. Order Info =
1913 -)))
1914 1914  
1915 -(((
1916 -(((
1997 +
1917 1917  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
1918 -)))
1919 -)))
1920 1920  
1921 -(((
1922 -(((
2000 +
1923 1923  (% style="color:#4f81bd" %)**XXX:**
1924 -)))
1925 -)))
1926 1926  
1927 -(((
1928 -* (((
1929 -(% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
1930 -)))
1931 -)))
2003 +* (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
2004 +* (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
2005 +* (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
2006 +* (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
2007 +* (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
2008 +* (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
2009 +* (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
2010 +* (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
2011 +* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1932 1932  
1933 -(((
1934 -* (((
1935 -(% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
1936 -)))
1937 -)))
1938 -
1939 -(((
1940 -* (((
1941 -(% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
1942 -)))
1943 -)))
1944 -
1945 -(((
1946 -* (((
1947 -(% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
1948 -)))
1949 -)))
1950 -
1951 -(((
1952 -* (((
1953 -(% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
1954 -)))
1955 -)))
1956 -
1957 -(((
1958 -* (((
1959 -(% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
1960 -)))
1961 -)))
1962 -
1963 -(((
1964 -* (((
1965 -(% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
1966 -)))
1967 -)))
1968 -
1969 -(((
1970 -* (((
1971 -(% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
1972 -)))
1973 -)))
1974 -
1975 -(((
1976 -* (((
1977 -(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1978 -
1979 -
1980 -)))
1981 -
1982 1982  = 8. Packing Info =
1983 -)))
1984 1984  
1985 -(((
1986 -(((
2015 +
1987 1987  **Package Includes**:
1988 -)))
1989 -)))
1990 1990  
1991 -(((
1992 -(((
1993 1993  * LT-22222-L I/O Controller x 1
1994 1994  * Stick Antenna for LoRa RF part x 1
1995 1995  * Bracket for controller x1
1996 1996  * Program cable x 1
1997 -)))
1998 -)))
1999 1999  
2000 -(((
2001 -(((
2002 2002  **Dimension and weight**:
2003 -)))
2004 -)))
2005 2005  
2006 -(((
2007 -(((
2008 2008  * Device Size: 13.5 x 7 x 3 cm
2009 2009  * Device Weight: 105g
2010 2010  * Package Size / pcs : 14.5 x 8 x 5 cm
2011 2011  * Weight / pcs : 170g
2012 2012  
2013 -
2014 -)))
2015 -)))
2016 -
2017 -(((
2018 2018  = 9. Support =
2019 -)))
2020 2020  
2021 2021  * (((
2022 -(((
2023 2023  Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
2024 2024  )))
2025 -)))
2026 2026  * (((
2027 -(((
2028 -Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to
2036 +Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]]
2029 2029  )))
2030 -)))
2031 2031  
2032 -(((
2033 -(((
2034 - [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]]
2035 -
2036 -
2037 -)))
2038 -
2039 -(((
2040 2040  = 10. Reference​​​​​ =
2041 2041  
2042 -* Product Page:
2043 -
2044 -LT-22222-L: [[http:~~/~~/www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]]
2045 -
2041 +* LT-22222-L: [[http:~~/~~/www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]]
2046 2046  * [[Image Download>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]
2047 2047  * [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]]
2048 2048  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
2049 -)))
2050 -)))