<
From version < 77.3 >
edited by Xiaoling
on 2022/06/10 08:37
To version < 77.86 >
edited by Xiaoling
on 2022/06/10 09:27
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -75,7 +75,6 @@
75 75  )))
76 76  )))
77 77  
78 -
79 79  (((
80 80  **Interface for Model: LT22222-L:**
81 81  )))
... ... @@ -99,7 +99,6 @@
99 99  Power Input 7~~ 24V DC. 
100 100  )))
101 101  
102 -
103 103  (((
104 104  **LoRa Spec:**
105 105  )))
... ... @@ -207,6 +207,7 @@
207 207  [[image:1653297104069-180.png]]
208 208  
209 209  
208 +
210 210  = 3. Operation Mode =
211 211  
212 212  == 3.1 How it works? ==
... ... @@ -221,6 +221,8 @@
221 221  
222 222  )))
223 223  
223 +
224 +
224 224  == 3.2 Example to join LoRaWAN network ==
225 225  
226 226  (((
... ... @@ -262,6 +262,7 @@
262 262  [[image:1653298044601-602.png||height="405" width="709"]]
263 263  
264 264  
266 +
265 265  == 3.3 Uplink Payload ==
266 266  
267 267  There are five working modes + one interrupt mode on LT for different type application:
... ... @@ -323,8 +323,11 @@
323 323  ** DO1 is high in case there is load between DO1 and V+.
324 324  ** DO1 LED is off in both case
325 325  
328 +
329 +
326 326  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
327 327  
332 +
328 328  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
329 329  
330 330  (((
... ... @@ -333,6 +333,7 @@
333 333  
334 334  [[image:image-20220523180452-3.png]]
335 335  
341 +
336 336  (((
337 337  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
338 338  )))
... ... @@ -348,6 +348,8 @@
348 348  )))
349 349  
350 350  (((
357 +
358 +
351 351  **To use counting mode, please run:**
352 352  )))
353 353  
... ... @@ -366,6 +366,8 @@
366 366  )))
367 367  
368 368  (((
377 +
378 +
369 369  (% style="color:#4f81bd" %)**AT Commands for counting:**
370 370  )))
371 371  
... ... @@ -416,6 +416,7 @@
416 416  )))
417 417  
418 418  
429 +
419 419  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
420 420  
421 421  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -460,8 +460,10 @@
460 460  
461 461  )))
462 462  
474 +
463 463  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
464 464  
477 +
465 465  **LT22222-L**: This mode the DI1 is used as a counting pin.
466 466  
467 467  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.
... ... @@ -468,6 +468,7 @@
468 468  
469 469  [[image:image-20220523181903-8.png]]
470 470  
484 +
471 471  (((
472 472  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
473 473  )))
... ... @@ -483,6 +483,8 @@
483 483  )))
484 484  
485 485  (((
500 +
501 +
486 486  **To use this mode, please run:**
487 487  )))
488 488  
... ... @@ -509,6 +509,8 @@
509 509  )))
510 510  
511 511  (((
528 +
529 +
512 512  **Plus below command for AVI1 Counting:**
513 513  )))
514 514  
... ... @@ -541,13 +541,17 @@
541 541  )))
542 542  
543 543  
562 +
544 544  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
545 545  
565 +
546 546  **LT22222-L**: This mode the DI1 is used as a counting pin.
547 547  
548 548  [[image:image-20220523182334-9.png]]
549 549  
550 550  (((
571 +
572 +
551 551  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
552 552  )))
553 553  
... ... @@ -562,6 +562,8 @@
562 562  )))
563 563  
564 564  (((
587 +
588 +
565 565  **To use this mode, please run:**
566 566  )))
567 567  
... ... @@ -581,12 +581,13 @@
581 581  
582 582  (((
583 583  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
584 -
585 -
586 586  )))
587 587  
610 +
611 +
588 588  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
589 589  
614 +
590 590  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
591 591  
592 592  For example, if user has configured below commands:
... ... @@ -594,11 +594,13 @@
594 594  * **AT+MOD=1 ** **~-~->** The normal working mode
595 595  * **AT+ADDMOD6=1**   **~-~->** Enable trigger
596 596  
622 +
597 597  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
598 598  
599 599  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
600 600  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.**
601 601  
628 +
602 602  **AT Command to set Trigger Condition**:
603 603  
604 604  (% style="color:#4f81bd" %)**Trigger base on voltage**:
... ... @@ -650,14 +650,17 @@
650 650  
651 651   Yy4 yy4: AC2 or AV2 high limit.
652 652  
680 +
653 653  **Example1**: AA 00 13 88 00 00 00 00 00 00
654 654  
655 655  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
656 656  
685 +
657 657  **Example2**: AA 02 01 00
658 658  
659 659  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
660 660  
690 +
661 661  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
662 662  
663 663  MOD6 Payload : total 11 bytes payload
... ... @@ -664,6 +664,7 @@
664 664  
665 665  [[image:image-20220524085923-1.png]]
666 666  
697 +
667 667  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
668 668  
669 669  [[image:image-20220524090106-2.png]]
... ... @@ -670,6 +670,7 @@
670 670  
671 671  * Each bits shows if the corresponding trigger has been configured.
672 672  
704 +
673 673  **Example:**
674 674  
675 675  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
... ... @@ -681,6 +681,7 @@
681 681  
682 682  * Each bits shows which status has been trigger on this uplink.
683 683  
716 +
684 684  **Example:**
685 685  
686 686  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
... ... @@ -692,6 +692,7 @@
692 692  
693 693  * Each bits shows which status has been trigger on this uplink.
694 694  
728 +
695 695  **Example:**
696 696  
697 697  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
... ... @@ -708,14 +708,19 @@
708 708  When device got this command, it will send the MOD6 payload.
709 709  
710 710  
745 +
711 711  === 3.3.7 Payload Decoder ===
712 712  
713 713  (((
749 +
750 +
714 714  **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/]]
715 715  
716 716  
717 717  )))
718 718  
756 +
757 +
719 719  == 3.4 ​Configure LT via AT or Downlink ==
720 720  
721 721  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
... ... @@ -728,11 +728,14 @@
728 728  
729 729  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
730 730  
770 +
771 +
731 731  === 3.4.1 Common Commands ===
732 732  
733 733  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]]
734 734  
735 735  
777 +
736 736  === 3.4.2 Sensor related commands ===
737 737  
738 738  ==== 3.4.2.1 Set Transmit Interval ====
... ... @@ -748,6 +748,7 @@
748 748  
749 749  **Example: **AT+TDC=30000. Means set interval to 30 seconds
750 750  
793 +
751 751  * Downlink Payload (prefix 0x01):
752 752  
753 753  (% class="box infomessage" %)
... ... @@ -756,6 +756,7 @@
756 756  )))
757 757  
758 758  
802 +
759 759  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
760 760  
761 761  Set work mode.
... ... @@ -769,6 +769,7 @@
769 769  
770 770  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
771 771  
816 +
772 772  * Downlink Payload (prefix 0x0A):
773 773  
774 774  (% class="box infomessage" %)
... ... @@ -777,6 +777,7 @@
777 777  )))
778 778  
779 779  
825 +
780 780  ==== 3.4.2.3 Poll an uplink ====
781 781  
782 782  * AT Command:
... ... @@ -783,6 +783,7 @@
783 783  
784 784  There is no AT Command to poll uplink
785 785  
832 +
786 786  * Downlink Payload (prefix 0x08):
787 787  
788 788  (% class="box infomessage" %)
... ... @@ -793,6 +793,7 @@
793 793  **Example**: 0x08FF, ask device to send an Uplink
794 794  
795 795  
843 +
796 796  ==== 3.4.2.4 Enable Trigger Mode ====
797 797  
798 798  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -808,6 +808,7 @@
808 808  
809 809  0: Disable Trigger Mode
810 810  
859 +
811 811  * Downlink Payload (prefix 0x0A 06):
812 812  
813 813  (% class="box infomessage" %)
... ... @@ -816,6 +816,7 @@
816 816  )))
817 817  
818 818  
868 +
819 819  ==== 3.4.2.5 Poll trigger settings ====
820 820  
821 821  Poll trigger settings,
... ... @@ -824,6 +824,7 @@
824 824  
825 825  There is no AT Command for this feature.
826 826  
877 +
827 827  * Downlink Payload (prefix 0x AB 06):
828 828  
829 829  (% class="box infomessage" %)
... ... @@ -832,6 +832,7 @@
832 832  )))
833 833  
834 834  
886 +
835 835  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
836 836  
837 837  Enable Disable DI1/DI2/DI2 as trigger,
... ... @@ -843,6 +843,7 @@
843 843  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
844 844  )))
845 845  
898 +
846 846  **Example:**
847 847  
848 848  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
... ... @@ -855,6 +855,7 @@
855 855  )))
856 856  
857 857  
911 +
858 858  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
859 859  
860 860  Set DI1 or DI3(for LT-33222-L) trigger.
... ... @@ -870,10 +870,12 @@
870 870  
871 871  b : delay timing.
872 872  
927 +
873 873  **Example:**
874 874  
875 875  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
876 876  
932 +
877 877  * Downlink Payload (prefix 0x09 01 ):
878 878  
879 879  (% class="box infomessage" %)
... ... @@ -882,6 +882,7 @@
882 882  )))
883 883  
884 884  
941 +
885 885  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
886 886  
887 887  Set DI2 trigger.
... ... @@ -897,10 +897,12 @@
897 897  
898 898  b : delay timing.
899 899  
957 +
900 900  **Example:**
901 901  
902 902  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
903 903  
962 +
904 904  * Downlink Payload (prefix 0x09 02 ):
905 905  
906 906  (% class="box infomessage" %)
... ... @@ -909,6 +909,7 @@
909 909  )))
910 910  
911 911  
971 +
912 912  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
913 913  
914 914  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -920,6 +920,7 @@
920 920  **AT+ACLIM. **
921 921  )))
922 922  
983 +
923 923  * Downlink Payload (prefix 0xAA 01 ):
924 924  
925 925  (% class="box infomessage" %)
... ... @@ -928,6 +928,7 @@
928 928  )))
929 929  
930 930  
992 +
931 931  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
932 932  
933 933  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -939,6 +939,7 @@
939 939  **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
940 940  )))
941 941  
1004 +
942 942  * Downlink Payload (prefix 0xAA 00 ):
943 943  
944 944  (% class="box infomessage" %)
... ... @@ -947,6 +947,7 @@
947 947  )))
948 948  
949 949  
1013 +
950 950  ==== 3.4.2.11 Trigger – Set minimum interval ====
951 951  
952 952  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
... ... @@ -958,6 +958,7 @@
958 958  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
959 959  )))
960 960  
1025 +
961 961  * Downlink Payload (prefix 0xAC ):
962 962  
963 963  (% class="box infomessage" %)
... ... @@ -966,6 +966,7 @@
966 966  )))
967 967  
968 968  
1034 +
969 969  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
970 970  
971 971  * AT Command:
... ... @@ -972,6 +972,7 @@
972 972  
973 973  There is no AT Command to control Digital Output
974 974  
1041 +
975 975  * Downlink Payload (prefix 0x02):
976 976  
977 977  (% class="box infomessage" %)
... ... @@ -998,6 +998,7 @@
998 998  )))
999 999  
1000 1000  
1068 +
1001 1001  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1002 1002  
1003 1003  * AT Command:
... ... @@ -1004,6 +1004,7 @@
1004 1004  
1005 1005  There is no AT Command to control Digital Output
1006 1006  
1075 +
1007 1007  * Downlink Payload (prefix 0xA9):
1008 1008  
1009 1009  (% class="box infomessage" %)
... ... @@ -1023,18 +1023,22 @@
1023 1023  
1024 1024  00: DO pins will change to an inverter state after timeout 
1025 1025  
1095 +
1026 1026  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1027 1027  
1028 1028  [[image:image-20220524093238-6.png]]
1029 1029  
1100 +
1030 1030  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1031 1031  
1032 1032  [[image:image-20220524093328-7.png]]
1033 1033  
1105 +
1034 1034  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1035 1035  
1036 1036  [[image:image-20220524093351-8.png]]
1037 1037  
1110 +
1038 1038  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1039 1039  
1040 1040   Latching time. Unit: ms
... ... @@ -1041,6 +1041,7 @@
1041 1041  
1042 1042  Device will upload a packet if downlink code executes successfully.
1043 1043  
1117 +
1044 1044  **Example payload:**
1045 1045  
1046 1046  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1060,12 +1060,14 @@
1060 1060  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
1061 1061  
1062 1062  
1063 -=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1064 1064  
1138 +==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1139 +
1065 1065  * AT Command:
1066 1066  
1067 1067  There is no AT Command to control Relay Output
1068 1068  
1144 +
1069 1069  * Downlink Payload (prefix 0x03):
1070 1070  
1071 1071  (% class="box infomessage" %)
... ... @@ -1088,6 +1088,7 @@
1088 1088  Device will upload a packet if downlink code executes successfully.
1089 1089  
1090 1090  
1167 +
1091 1091  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1092 1092  
1093 1093  * AT Command:
... ... @@ -1094,6 +1094,7 @@
1094 1094  
1095 1095  There is no AT Command to control Relay Output
1096 1096  
1174 +
1097 1097  * Downlink Payload (prefix 0x05):
1098 1098  
1099 1099  (% class="box infomessage" %)
... ... @@ -1111,14 +1111,17 @@
1111 1111  
1112 1112  00: Relays will change to an inverter state after timeout
1113 1113  
1192 +
1114 1114  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1115 1115  
1116 1116  [[image:image-20220524093831-10.png]]
1117 1117  
1197 +
1118 1118  (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1119 1119  
1120 1120  Device will upload a packet if downlink code executes successfully.
1121 1121  
1202 +
1122 1122  **Example payload:**
1123 1123  
1124 1124  **~1. 05 01 11 07 D0**
... ... @@ -1138,6 +1138,7 @@
1138 1138  Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO.
1139 1139  
1140 1140  
1222 +
1141 1141  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1142 1142  
1143 1143  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
... ... @@ -1149,6 +1149,7 @@
1149 1149  **AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1150 1150  )))
1151 1151  
1234 +
1152 1152  * Downlink Payload (prefix 0xA5):
1153 1153  
1154 1154  (% class="box infomessage" %)
... ... @@ -1157,6 +1157,7 @@
1157 1157  )))
1158 1158  
1159 1159  
1243 +
1160 1160  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1161 1161  
1162 1162  * AT Command:
... ... @@ -1174,6 +1174,7 @@
1174 1174  
1175 1175  Bb cc dd ee: number to be set
1176 1176  
1261 +
1177 1177  * Downlink Payload (prefix 0xA8):
1178 1178  
1179 1179  (% class="box infomessage" %)
... ... @@ -1182,6 +1182,7 @@
1182 1182  )))
1183 1183  
1184 1184  
1270 +
1185 1185  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1186 1186  
1187 1187  Clear counting for counting mode
... ... @@ -1201,6 +1201,7 @@
1201 1201  )))
1202 1202  
1203 1203  
1290 +
1204 1204  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1205 1205  
1206 1206  * AT Command:
... ... @@ -1223,16 +1223,17 @@
1223 1223  
1224 1224  )))
1225 1225  
1313 +
1226 1226  == 3.5 Integrate with Mydevice ==
1227 1227  
1228 1228  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:
1229 1229  
1230 1230  (((
1231 -**Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
1319 +(% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the network at this time.
1232 1232  )))
1233 1233  
1234 1234  (((
1235 -**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:
1323 +(% 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:
1236 1236  )))
1237 1237  
1238 1238  [[image:1653356737703-362.png||height="232" width="732"]]
... ... @@ -1239,12 +1239,13 @@
1239 1239  
1240 1240  [[image:image-20220524094641-11.png||height="390" width="723"]]
1241 1241  
1330 +
1242 1242  [[image:image-20220524094641-12.png||height="402" width="718"]]
1243 1243  
1244 1244  
1245 -**Step 3**: Create an account or log in Mydevices.
1334 +(% style="color:blue" %)**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" %)
1336 +(% style="color:blue" %)**Step 4**(%%): Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %)
1248 1248  
1249 1249  Search under The things network
1250 1250  
... ... @@ -1251,19 +1251,25 @@
1251 1251  [[image:1653356838789-523.png||height="337" width="740"]]
1252 1252  
1253 1253  
1343 +
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  
1348 +
1258 1258  [[image:image-20220524094909-2.png||height="337" width="729"]]
1259 1259  
1351 +
1260 1260  [[image:image-20220524094909-3.png||height="338" width="727"]]
1261 1261  
1354 +
1262 1262  [[image:image-20220524094909-4.png||height="339" width="728"]](% style="display:none" %)
1263 1263  
1357 +
1264 1264  [[image:image-20220524094909-5.png||height="341" width="734"]]
1265 1265  
1266 1266  
1361 +
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  
1371 +
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.
1397 +(% 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.
1428 +(% 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.
1459 +(% 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  
1486 +
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  
1494 +
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  
1500 +(% style="color:blue" %)**AC2 = (IN2 voltage )/12**
1501 +
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
1509 +**Specifications of the wind speed sensor:**
1412 1412  
1413 -Yellow:4~~20mA
1511 +Red:  12~~24v
1414 1414  
1415 -Black:GND
1513 +Yellow:  4~~20mA
1416 1416  
1515 +Black:  GND
1417 1417  
1418 -Connection diagram:
1419 1419  
1518 +**Connection diagram:**
1519 +
1420 1420  [[image:1653357640609-758.png]]
1421 1421  
1422 1422  [[image:1653357648330-671.png||height="155" width="733"]]
1423 1423  
1424 1424  
1525 +
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  
1537 +
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  
1551 +
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  
1558 +
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  
1749 +
1750 +
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:
1756 +
1757 +
1758 +**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:
1783 +**If device already joined network:**
1676 1676  )))
1677 1677  
1678 1678  (((
... ... @@ -1685,10 +1685,14 @@
1685 1685  
1686 1686  )))
1687 1687  
1796 +
1797 +
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.
1801 +
1802 +
1803 +(% 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.
1811 +(% 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
1819 +(% 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
1823 +(% 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
1827 +(% 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
1831 +(% 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
1835 +(% 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)
1839 +(% 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
1843 +(% 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.
1847 +(% 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
1851 +(% style="background-color:#dcdcdc" %) ATZ         (%%) Reset MCU
1852 +
1853 +
1740 1740  )))
1741 1741  
1742 1742  (((
... ... @@ -1758,6 +1758,7 @@
1758 1758  
1759 1759  )))
1760 1760  
1875 +
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  
1887 +
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.
1893 +
1777 1777  Below shows the hardware connection for how to upload an image to the LT:
1778 -* [[image:1653359603330-121.png]]
1779 1779  
1896 +[[image:1653359603330-121.png]]
1897 +
1898 +
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**:
1900 +(% 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]].
1901 +(% 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/]].
1902 +(% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update.
1903 +
1904 +
1905 +(% 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  
1915 +
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  (((
1923 +
1924 +
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  (((
1934 +
1935 +
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.
1948 +
1949 +
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  
1965 +
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
1971 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1972 +(% style="background-color:#dcdcdc" %)AT+FDR(%%)  Reset Parameters to Factory Default, Keys Reserve
1973 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1974 +(% style="background-color:#dcdcdc" %)AT+NJM=0 (%%) Set to ABP mode
1975 +(% style="background-color:#dcdcdc" %)AT+ADR=0 (%%) Set the Adaptive Data Rate Off
1976 +(% style="background-color:#dcdcdc" %)AT+DR=5 (%%) Set Data Rate (Set AT+DR=3 for 915 band)
1977 +(% style="background-color:#dcdcdc" %)AT+TDC=60000 (%%) Set transmit interval to 60 seconds
1978 +(% style="background-color:#dcdcdc" %)AT+CHS=868400000(%%)  Set transmit frequency to 868.4Mhz
1979 +(% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%)  Set Device Address to 26 01 1A F1
1980 +(% style="background-color:#dcdcdc" %)ATZ        (%%) Reset MCU
1854 1854  )))
1855 1855  
1983 +
1856 1856  (((
1857 1857  As shown in below:
1858 1858  )))
... ... @@ -1869,11 +1869,11 @@
1869 1869  == 5.5 Can i use point to point communication for LT-22222-L? ==
1870 1870  
1871 1871  Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]
1872 -
1873 -
1874 1874  )))
1875 1875  
1876 1876  (((
2003 +
2004 +
1877 1877  = 6. Trouble Shooting =
1878 1878  )))
1879 1879  
... ... @@ -1885,11 +1885,11 @@
1885 1885  
1886 1886  (((
1887 1887  Please see this link for how to debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H5.1Howitwork"]]
1888 -
1889 -
1890 1890  )))
1891 1891  
1892 1892  (((
2019 +
2020 +
1893 1893  == 6.2 Have trouble to upload image. ==
1894 1894  )))
1895 1895  
... ... @@ -1899,9 +1899,7 @@
1899 1899  
1900 1900  (((
1901 1901  
1902 -)))
1903 1903  
1904 -(((
1905 1905  == 6.3 Why I can’t join TTN in US915 /AU915 bands? ==
1906 1906  )))
1907 1907  
... ... @@ -1909,147 +1909,55 @@
1909 1909  It might be about the channels mapping. [[Please see this link for detail>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]]
1910 1910  )))
1911 1911  
1912 -(((
1913 -
1914 -)))
1915 1915  
1916 -(((
2039 +
1917 1917  = 7. Order Info =
1918 -)))
1919 1919  
1920 -(((
1921 -(((
2042 +
1922 1922  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
1923 -)))
1924 -)))
1925 1925  
1926 -(((
1927 -(((
2045 +
1928 1928  (% style="color:#4f81bd" %)**XXX:**
1929 -)))
1930 -)))
1931 1931  
1932 -(((
1933 -* (((
1934 -(% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
1935 -)))
1936 -)))
2048 +* (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
2049 +* (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
2050 +* (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
2051 +* (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
2052 +* (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
2053 +* (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
2054 +* (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
2055 +* (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
2056 +* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1937 1937  
1938 -(((
1939 -* (((
1940 -(% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
1941 -)))
1942 -)))
1943 -
1944 -(((
1945 -* (((
1946 -(% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
1947 -)))
1948 -)))
1949 -
1950 -(((
1951 -* (((
1952 -(% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
1953 -)))
1954 -)))
1955 -
1956 -(((
1957 -* (((
1958 -(% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
1959 -)))
1960 -)))
1961 -
1962 -(((
1963 -* (((
1964 -(% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
1965 -)))
1966 -)))
1967 -
1968 -(((
1969 -* (((
1970 -(% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
1971 -)))
1972 -)))
1973 -
1974 -(((
1975 -* (((
1976 -(% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
1977 -)))
1978 -)))
1979 -
1980 -(((
1981 -* (((
1982 -(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1983 -
1984 -
1985 -)))
1986 -
1987 1987  = 8. Packing Info =
1988 -)))
1989 1989  
1990 -(((
1991 -(((
2060 +
1992 1992  **Package Includes**:
1993 -)))
1994 -)))
1995 1995  
1996 -(((
1997 -(((
1998 1998  * LT-22222-L I/O Controller x 1
1999 1999  * Stick Antenna for LoRa RF part x 1
2000 2000  * Bracket for controller x1
2001 2001  * Program cable x 1
2002 -)))
2003 -)))
2004 2004  
2005 -(((
2006 -(((
2007 2007  **Dimension and weight**:
2008 -)))
2009 -)))
2010 2010  
2011 -(((
2012 -(((
2013 2013  * Device Size: 13.5 x 7 x 3 cm
2014 2014  * Device Weight: 105g
2015 2015  * Package Size / pcs : 14.5 x 8 x 5 cm
2016 2016  * Weight / pcs : 170g
2017 2017  
2018 -
2019 -)))
2020 -)))
2021 -
2022 -(((
2023 2023  = 9. Support =
2024 -)))
2025 2025  
2026 2026  * (((
2027 -(((
2028 2028  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.
2029 2029  )))
2030 -)))
2031 2031  * (((
2032 -(((
2033 -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
2081 +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]]
2034 2034  )))
2035 -)))
2036 2036  
2037 -(((
2038 -(((
2039 - [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]]
2040 -
2041 -
2042 -)))
2043 -
2044 -(((
2045 2045  = 10. Reference​​​​​ =
2046 2046  
2047 -* Product Page:
2048 -
2049 -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]]
2050 -
2086 +* 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]]
2051 2051  * [[Image Download>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]
2052 2052  * [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]]
2053 2053  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
2054 -)))
2055 -)))
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0