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

From version 75.15
edited by Xiaoling
on 2022/06/01 17:41
Change comment: There is no comment for this version
To version 77.87
edited by Xiaoling
on 2022/06/10 09:27
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -11,6 +11,9 @@
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 ==
... ... @@ -48,6 +48,8 @@
48 48  == 1.2  Specifications ==
49 49  
50 50  (((
54 +
55 +
51 51  **Hardware System:**
52 52  )))
53 53  
... ... @@ -167,8 +167,6 @@
167 167  * Firmware upgradable via program port
168 168  * Counting
169 169  
170 -
171 -
172 172  == 1.4  Applications ==
173 173  
174 174  * Smart Buildings & Home Automation
... ... @@ -178,8 +178,6 @@
178 178  * Smart Cities
179 179  * Smart Factory
180 180  
181 -
182 -
183 183  == 1.5 Hardware Variants ==
184 184  
185 185  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -193,8 +193,6 @@
193 193  * 1 x Counting Port
194 194  )))
195 195  
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  
208 +
209 209  = 3. Operation Mode =
210 210  
211 211  == 3.1 How it works? ==
... ... @@ -220,6 +220,8 @@
220 220  
221 221  )))
222 222  
223 +
224 +
223 223  == 3.2 Example to join LoRaWAN network ==
224 224  
225 225  (((
... ... @@ -261,6 +261,7 @@
261 261  [[image:1653298044601-602.png||height="405" width="709"]]
262 262  
263 263  
266 +
264 264  == 3.3 Uplink Payload ==
265 265  
266 266  There are five working modes + one interrupt mode on LT for different type application:
... ... @@ -272,8 +272,6 @@
272 272  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
273 273  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
274 274  
275 -
276 -
277 277  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
278 278  
279 279  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -309,6 +309,7 @@
309 309  * [1] RO1 relay channel is close and the RO1 LED is ON.
310 310  * [0] RO2 relay channel is open and RO2 LED is OFF;
311 311  
313 +
312 312  **LT22222-L:**
313 313  
314 314  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -325,9 +325,9 @@
325 325  ** DO1 LED is off in both case
326 326  
327 327  
328 -
329 329  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
330 330  
332 +
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  
341 +
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  (((
357 +
358 +
354 354  **To use counting mode, please run:**
355 355  )))
356 356  
... ... @@ -369,6 +369,8 @@
369 369  )))
370 370  
371 371  (((
377 +
378 +
372 372  (% style="color:#4f81bd" %)**AT Commands for counting:**
373 373  )))
374 374  
... ... @@ -419,6 +419,7 @@
419 419  )))
420 420  
421 421  
429 +
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.
... ... @@ -463,8 +463,10 @@
463 463  
464 464  )))
465 465  
474 +
466 466  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
467 467  
477 +
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  
484 +
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  (((
500 +
501 +
489 489  **To use this mode, please run:**
490 490  )))
491 491  
... ... @@ -512,6 +512,8 @@
512 512  )))
513 513  
514 514  (((
528 +
529 +
515 515  **Plus below command for AVI1 Counting:**
516 516  )))
517 517  
... ... @@ -544,13 +544,17 @@
544 544  )))
545 545  
546 546  
562 +
547 547  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
548 548  
565 +
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  (((
571 +
572 +
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  (((
587 +
588 +
568 568  **To use this mode, please run:**
569 569  )))
570 570  
... ... @@ -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  
610 +
611 +
591 591  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
592 592  
614 +
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:
... ... @@ -653,14 +653,17 @@
653 653  
654 654   Yy4 yy4: AC2 or AV2 high limit.
655 655  
678 +
656 656  **Example1**: AA 00 13 88 00 00 00 00 00 00
657 657  
658 658  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
659 659  
683 +
660 660  **Example2**: AA 02 01 00
661 661  
662 662  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
663 663  
688 +
664 664  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
665 665  
666 666  MOD6 Payload : total 11 bytes payload
... ... @@ -667,6 +667,7 @@
667 667  
668 668  [[image:image-20220524085923-1.png]]
669 669  
695 +
670 670  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
671 671  
672 672  [[image:image-20220524090106-2.png]]
... ... @@ -711,14 +711,19 @@
711 711  When device got this command, it will send the MOD6 payload.
712 712  
713 713  
740 +
714 714  === 3.3.7 Payload Decoder ===
715 715  
716 716  (((
744 +
745 +
717 717  **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/]]
718 718  
719 719  
720 720  )))
721 721  
751 +
752 +
722 722  == 3.4 ​Configure LT via AT or Downlink ==
723 723  
724 724  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
... ... @@ -731,11 +731,13 @@
731 731  
732 732  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
733 733  
765 +
734 734  === 3.4.1 Common Commands ===
735 735  
736 736  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]]
737 737  
738 738  
771 +
739 739  === 3.4.2 Sensor related commands ===
740 740  
741 741  ==== 3.4.2.1 Set Transmit Interval ====
... ... @@ -751,6 +751,7 @@
751 751  
752 752  **Example: **AT+TDC=30000. Means set interval to 30 seconds
753 753  
787 +
754 754  * Downlink Payload (prefix 0x01):
755 755  
756 756  (% class="box infomessage" %)
... ... @@ -759,6 +759,7 @@
759 759  )))
760 760  
761 761  
796 +
762 762  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
763 763  
764 764  Set work mode.
... ... @@ -772,6 +772,7 @@
772 772  
773 773  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
774 774  
810 +
775 775  * Downlink Payload (prefix 0x0A):
776 776  
777 777  (% class="box infomessage" %)
... ... @@ -780,6 +780,7 @@
780 780  )))
781 781  
782 782  
819 +
783 783  ==== 3.4.2.3 Poll an uplink ====
784 784  
785 785  * AT Command:
... ... @@ -786,6 +786,7 @@
786 786  
787 787  There is no AT Command to poll uplink
788 788  
826 +
789 789  * Downlink Payload (prefix 0x08):
790 790  
791 791  (% class="box infomessage" %)
... ... @@ -796,6 +796,7 @@
796 796  **Example**: 0x08FF, ask device to send an Uplink
797 797  
798 798  
837 +
799 799  ==== 3.4.2.4 Enable Trigger Mode ====
800 800  
801 801  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -811,6 +811,7 @@
811 811  
812 812  0: Disable Trigger Mode
813 813  
853 +
814 814  * Downlink Payload (prefix 0x0A 06):
815 815  
816 816  (% class="box infomessage" %)
... ... @@ -819,6 +819,7 @@
819 819  )))
820 820  
821 821  
862 +
822 822  ==== 3.4.2.5 Poll trigger settings ====
823 823  
824 824  Poll trigger settings,
... ... @@ -827,6 +827,7 @@
827 827  
828 828  There is no AT Command for this feature.
829 829  
871 +
830 830  * Downlink Payload (prefix 0x AB 06):
831 831  
832 832  (% class="box infomessage" %)
... ... @@ -835,6 +835,7 @@
835 835  )))
836 836  
837 837  
880 +
838 838  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
839 839  
840 840  Enable Disable DI1/DI2/DI2 as trigger,
... ... @@ -846,6 +846,7 @@
846 846  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
847 847  )))
848 848  
892 +
849 849  **Example:**
850 850  
851 851  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
... ... @@ -858,6 +858,7 @@
858 858  )))
859 859  
860 860  
905 +
861 861  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
862 862  
863 863  Set DI1 or DI3(for LT-33222-L) trigger.
... ... @@ -873,10 +873,12 @@
873 873  
874 874  b : delay timing.
875 875  
921 +
876 876  **Example:**
877 877  
878 878  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
879 879  
926 +
880 880  * Downlink Payload (prefix 0x09 01 ):
881 881  
882 882  (% class="box infomessage" %)
... ... @@ -885,6 +885,7 @@
885 885  )))
886 886  
887 887  
935 +
888 888  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
889 889  
890 890  Set DI2 trigger.
... ... @@ -900,10 +900,12 @@
900 900  
901 901  b : delay timing.
902 902  
951 +
903 903  **Example:**
904 904  
905 905  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
906 906  
956 +
907 907  * Downlink Payload (prefix 0x09 02 ):
908 908  
909 909  (% class="box infomessage" %)
... ... @@ -912,6 +912,7 @@
912 912  )))
913 913  
914 914  
965 +
915 915  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
916 916  
917 917  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -923,6 +923,7 @@
923 923  **AT+ACLIM. **
924 924  )))
925 925  
977 +
926 926  * Downlink Payload (prefix 0xAA 01 ):
927 927  
928 928  (% class="box infomessage" %)
... ... @@ -931,6 +931,7 @@
931 931  )))
932 932  
933 933  
986 +
934 934  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
935 935  
936 936  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -942,6 +942,7 @@
942 942  **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
943 943  )))
944 944  
998 +
945 945  * Downlink Payload (prefix 0xAA 00 ):
946 946  
947 947  (% class="box infomessage" %)
... ... @@ -950,6 +950,7 @@
950 950  )))
951 951  
952 952  
1007 +
953 953  ==== 3.4.2.11 Trigger – Set minimum interval ====
954 954  
955 955  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
... ... @@ -961,6 +961,7 @@
961 961  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
962 962  )))
963 963  
1019 +
964 964  * Downlink Payload (prefix 0xAC ):
965 965  
966 966  (% class="box infomessage" %)
... ... @@ -969,6 +969,7 @@
969 969  )))
970 970  
971 971  
1028 +
972 972  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
973 973  
974 974  * AT Command:
... ... @@ -975,6 +975,7 @@
975 975  
976 976  There is no AT Command to control Digital Output
977 977  
1035 +
978 978  * Downlink Payload (prefix 0x02):
979 979  
980 980  (% class="box infomessage" %)
... ... @@ -1001,6 +1001,7 @@
1001 1001  )))
1002 1002  
1003 1003  
1062 +
1004 1004  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1005 1005  
1006 1006  * AT Command:
... ... @@ -1007,6 +1007,7 @@
1007 1007  
1008 1008  There is no AT Command to control Digital Output
1009 1009  
1069 +
1010 1010  * Downlink Payload (prefix 0xA9):
1011 1011  
1012 1012  (% class="box infomessage" %)
... ... @@ -1026,18 +1026,22 @@
1026 1026  
1027 1027  00: DO pins will change to an inverter state after timeout 
1028 1028  
1089 +
1029 1029  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1030 1030  
1031 1031  [[image:image-20220524093238-6.png]]
1032 1032  
1094 +
1033 1033  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1034 1034  
1035 1035  [[image:image-20220524093328-7.png]]
1036 1036  
1099 +
1037 1037  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1038 1038  
1039 1039  [[image:image-20220524093351-8.png]]
1040 1040  
1104 +
1041 1041  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1042 1042  
1043 1043   Latching time. Unit: ms
... ... @@ -1044,6 +1044,7 @@
1044 1044  
1045 1045  Device will upload a packet if downlink code executes successfully.
1046 1046  
1111 +
1047 1047  **Example payload:**
1048 1048  
1049 1049  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1063,12 +1063,14 @@
1063 1063  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
1064 1064  
1065 1065  
1066 -=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1067 1067  
1132 +==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1133 +
1068 1068  * AT Command:
1069 1069  
1070 1070  There is no AT Command to control Relay Output
1071 1071  
1138 +
1072 1072  * Downlink Payload (prefix 0x03):
1073 1073  
1074 1074  (% class="box infomessage" %)
... ... @@ -1091,6 +1091,7 @@
1091 1091  Device will upload a packet if downlink code executes successfully.
1092 1092  
1093 1093  
1161 +
1094 1094  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1095 1095  
1096 1096  * AT Command:
... ... @@ -1097,6 +1097,7 @@
1097 1097  
1098 1098  There is no AT Command to control Relay Output
1099 1099  
1168 +
1100 1100  * Downlink Payload (prefix 0x05):
1101 1101  
1102 1102  (% class="box infomessage" %)
... ... @@ -1114,14 +1114,17 @@
1114 1114  
1115 1115  00: Relays will change to an inverter state after timeout
1116 1116  
1186 +
1117 1117  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1118 1118  
1119 1119  [[image:image-20220524093831-10.png]]
1120 1120  
1191 +
1121 1121  (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1122 1122  
1123 1123  Device will upload a packet if downlink code executes successfully.
1124 1124  
1196 +
1125 1125  **Example payload:**
1126 1126  
1127 1127  **~1. 05 01 11 07 D0**
... ... @@ -1141,6 +1141,7 @@
1141 1141  Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO.
1142 1142  
1143 1143  
1216 +
1144 1144  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1145 1145  
1146 1146  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
... ... @@ -1149,9 +1149,10 @@
1149 1149  
1150 1150  (% class="box infomessage" %)
1151 1151  (((
1152 -**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]]**
1225 +**AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1153 1153  )))
1154 1154  
1228 +
1155 1155  * Downlink Payload (prefix 0xA5):
1156 1156  
1157 1157  (% class="box infomessage" %)
... ... @@ -1160,6 +1160,7 @@
1160 1160  )))
1161 1161  
1162 1162  
1237 +
1163 1163  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1164 1164  
1165 1165  * AT Command:
... ... @@ -1177,6 +1177,7 @@
1177 1177  
1178 1178  Bb cc dd ee: number to be set
1179 1179  
1255 +
1180 1180  * Downlink Payload (prefix 0xA8):
1181 1181  
1182 1182  (% class="box infomessage" %)
... ... @@ -1185,6 +1185,7 @@
1185 1185  )))
1186 1186  
1187 1187  
1264 +
1188 1188  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1189 1189  
1190 1190  Clear counting for counting mode
... ... @@ -1204,6 +1204,7 @@
1204 1204  )))
1205 1205  
1206 1206  
1284 +
1207 1207  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1208 1208  
1209 1209  * AT Command:
... ... @@ -1226,16 +1226,17 @@
1226 1226  
1227 1227  )))
1228 1228  
1307 +
1229 1229  == 3.5 Integrate with Mydevice ==
1230 1230  
1231 1231  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:
1232 1232  
1233 1233  (((
1234 -**Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
1313 +(% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the network at this time.
1235 1235  )))
1236 1236  
1237 1237  (((
1238 -**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:
1317 +(% 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:
1239 1239  )))
1240 1240  
1241 1241  [[image:1653356737703-362.png||height="232" width="732"]]
... ... @@ -1242,30 +1242,38 @@
1242 1242  
1243 1243  [[image:image-20220524094641-11.png||height="390" width="723"]]
1244 1244  
1324 +
1245 1245  [[image:image-20220524094641-12.png||height="402" width="718"]]
1246 1246  
1247 -**Step 3**: Create an account or log in Mydevices.
1248 1248  
1249 -**Step 4**: Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %)
1328 +(% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.
1250 1250  
1330 +(% style="color:blue" %)**Step 4**(%%): Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %)
1331 +
1251 1251  Search under The things network
1252 1252  
1253 1253  [[image:1653356838789-523.png||height="337" width="740"]]
1254 1254  
1255 1255  
1337 +
1256 1256  After added, the sensor data arrive TTN, it will also arrive and show in Mydevices.
1257 1257  
1258 1258  [[image:image-20220524094909-1.png||height="335" width="729"]]
1259 1259  
1342 +
1260 1260  [[image:image-20220524094909-2.png||height="337" width="729"]]
1261 1261  
1345 +
1262 1262  [[image:image-20220524094909-3.png||height="338" width="727"]]
1263 1263  
1348 +
1264 1264  [[image:image-20220524094909-4.png||height="339" width="728"]](% style="display:none" %)
1265 1265  
1351 +
1266 1266  [[image:image-20220524094909-5.png||height="341" width="734"]]
1267 1267  
1268 1268  
1355 +
1269 1269  == 3.6 Interface Detail ==
1270 1270  
1271 1271  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
... ... @@ -1275,6 +1275,7 @@
1275 1275  [[image:1653356991268-289.png]]
1276 1276  
1277 1277  
1365 +
1278 1278  === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) ===
1279 1279  
1280 1280  (((
... ... @@ -1300,7 +1300,7 @@
1300 1300  )))
1301 1301  
1302 1302  (((
1303 -**Example1**: Connect to a Low active sensor.
1391 +(% style="color:blue" %)**Example1**(%%): Connect to a Low active sensor.
1304 1304  )))
1305 1305  
1306 1306  (((
... ... @@ -1331,7 +1331,7 @@
1331 1331  )))
1332 1332  
1333 1333  (((
1334 -**Example2**: Connect to a High active sensor.
1422 +(% style="color:blue" %)**Example2**(%%): Connect to a High active sensor.
1335 1335  )))
1336 1336  
1337 1337  (((
... ... @@ -1362,7 +1362,7 @@
1362 1362  )))
1363 1363  
1364 1364  (((
1365 -**Example3**: Connect to a 220v high active sensor.
1453 +(% style="color:blue" %)**Example3**(%%): Connect to a 220v high active sensor.
1366 1366  )))
1367 1367  
1368 1368  (((
... ... @@ -1389,6 +1389,7 @@
1389 1389  )))
1390 1390  
1391 1391  
1480 +
1392 1392  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1393 1393  
1394 1394  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
... ... @@ -1396,12 +1396,14 @@
1396 1396  [[image:1653357531600-905.png]]
1397 1397  
1398 1398  
1488 +
1399 1399  === 3.6.4 Analog Input Interface ===
1400 1400  
1401 1401  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:
1402 1402  
1403 -**AC2 = (IN2 voltage )/12**
1404 1404  
1494 +(% style="color:blue" %)**AC2 = (IN2 voltage )/12**
1495 +
1405 1405  [[image:1653357592296-182.png]]
1406 1406  
1407 1407  Example to connect a 4~~20mA sensor
... ... @@ -1408,22 +1408,24 @@
1408 1408  
1409 1409  We take the wind speed sensor as an example for reference only.
1410 1410  
1411 -Specifications of the wind speed sensor:
1412 1412  
1413 -Red:12~~24v
1503 +**Specifications of the wind speed sensor:**
1414 1414  
1415 -Yellow:4~~20mA
1505 +Red:  12~~24v
1416 1416  
1417 -Black:GND
1507 +Yellow:  4~~20mA
1418 1418  
1509 +Black:  GND
1419 1419  
1420 -Connection diagram:
1421 1421  
1512 +**Connection diagram:**
1513 +
1422 1422  [[image:1653357640609-758.png]]
1423 1423  
1424 1424  [[image:1653357648330-671.png||height="155" width="733"]]
1425 1425  
1426 1426  
1519 +
1427 1427  === 3.6.5 Relay Output ===
1428 1428  
1429 1429  (((
... ... @@ -1435,6 +1435,7 @@
1435 1435  [[image:image-20220524100215-10.png||height="382" width="723"]]
1436 1436  
1437 1437  
1531 +
1438 1438  == 3.7 LEDs Indicators ==
1439 1439  
1440 1440  [[image:image-20220524100748-11.png]]
... ... @@ -1448,6 +1448,7 @@
1448 1448  
1449 1449  [[image:1653358238933-385.png]]
1450 1450  
1545 +
1451 1451  (((
1452 1452  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:
1453 1453  )))
... ... @@ -1454,6 +1454,7 @@
1454 1454  
1455 1455  [[image:1653358355238-883.png]]
1456 1456  
1552 +
1457 1457  (((
1458 1458  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/]]
1459 1459  )))
... ... @@ -1644,12 +1644,16 @@
1644 1644  
1645 1645  )))
1646 1646  
1743 +
1744 +
1647 1647  == 4.2 Common AT Command Sequence ==
1648 1648  
1649 1649  === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
1650 1650  
1651 1651  (((
1652 -If device has not joined network yet:
1750 +
1751 +
1752 +**If device has not joined network yet:**
1653 1653  )))
1654 1654  
1655 1655  (((
... ... @@ -1674,7 +1674,7 @@
1674 1674  
1675 1675  
1676 1676  (((
1677 -If device already joined network:
1777 +**If device already joined network:**
1678 1678  )))
1679 1679  
1680 1680  (((
... ... @@ -1687,10 +1687,14 @@
1687 1687  
1688 1688  )))
1689 1689  
1790 +
1791 +
1690 1690  === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) ===
1691 1691  
1692 1692  (((
1693 -(% style="background-color:#dcdcdc" %) 123456(%%)   Enter Password to have AT access.
1795 +
1796 +
1797 +(% style="background-color:#dcdcdc" %)123456(%%)  Enter Password to have AT access.
1694 1694  )))
1695 1695  
1696 1696  (((
... ... @@ -1698,7 +1698,7 @@
1698 1698  )))
1699 1699  
1700 1700  (((
1701 -(% style="background-color:#dcdcdc" %) 123456(%%)   Enter Password to have AT access.
1805 +(% style="background-color:#dcdcdc" %) 123456(%%)  Enter Password to have AT access.
1702 1702  )))
1703 1703  
1704 1704  (((
... ... @@ -1706,39 +1706,41 @@
1706 1706  )))
1707 1707  
1708 1708  (((
1709 -(% style="background-color:#dcdcdc" %) AT+NJM=0(%%) Set to ABP mode
1813 +(% style="background-color:#dcdcdc" %) AT+NJM=0(%%)  Set to ABP mode
1710 1710  )))
1711 1711  
1712 1712  (((
1713 -(% style="background-color:#dcdcdc" %) AT+ADR=0(%%) Set the Adaptive Data Rate Off
1817 +(% style="background-color:#dcdcdc" %) AT+ADR=0(%%)  Set the Adaptive Data Rate Off
1714 1714  )))
1715 1715  
1716 1716  (((
1717 -(% style="background-color:#dcdcdc" %) AT+DR=5(%%)  Set Data Rate
1821 +(% style="background-color:#dcdcdc" %) AT+DR=5(%%)  Set Data Rate
1718 1718  )))
1719 1719  
1720 1720  (((
1721 -(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%)  Set transmit interval to 60 seconds
1825 +(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%)  Set transmit interval to 60 seconds
1722 1722  )))
1723 1723  
1724 1724  (((
1725 -(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%) Set transmit frequency to 868.4Mhz
1829 +(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%)  Set transmit frequency to 868.4Mhz
1726 1726  )))
1727 1727  
1728 1728  (((
1729 -(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%) Set RX2Frequency to 868.4Mhz (according to the result from server)
1833 +(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%)  Set RX2Frequency to 868.4Mhz (according to the result from server)
1730 1730  )))
1731 1731  
1732 1732  (((
1733 -(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%)  Set RX2DR to match the downlink DR from server. see below
1837 +(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%)  Set RX2DR to match the downlink DR from server. see below
1734 1734  )))
1735 1735  
1736 1736  (((
1737 -(% 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.
1841 +(% 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.
1738 1738  )))
1739 1739  
1740 1740  (((
1741 -(% style="background-color:#dcdcdc" %) ATZ         (%%) Reset MCU
1845 +(% style="background-color:#dcdcdc" %) ATZ         (%%) Reset MCU
1846 +
1847 +
1742 1742  )))
1743 1743  
1744 1744  (((
... ... @@ -1760,6 +1760,7 @@
1760 1760  
1761 1761  )))
1762 1762  
1869 +
1763 1763  === 4.2.3 Change to Class A ===
1764 1764  
1765 1765  If sensor JOINED
... ... @@ -1771,19 +1771,25 @@
1771 1771  
1772 1772  == 5.1 How to upgrade the image? ==
1773 1773  
1881 +
1774 1774  The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to:
1775 1775  
1776 1776  * Support new features
1777 1777  * For bug fix
1778 1778  * Change LoRaWAN bands.
1887 +
1779 1779  Below shows the hardware connection for how to upload an image to the LT:
1780 -* [[image:1653359603330-121.png]]
1781 1781  
1890 +[[image:1653359603330-121.png]]
1891 +
1892 +
1782 1782  (((
1783 -**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]].
1784 -**Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].
1785 -**Step3: **Open flashloader; choose the correct COM port to update.
1786 -**For LT-22222-L**:
1894 +(% 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]].
1895 +(% 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/]].
1896 +(% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update.
1897 +
1898 +
1899 +(% style="color:blue" %)**For LT-22222-L**(%%):
1787 1787  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.
1788 1788  )))
1789 1789  
... ... @@ -1793,6 +1793,7 @@
1793 1793  
1794 1794  [[image:image-20220524104033-15.png]]
1795 1795  
1909 +
1796 1796  (% 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:
1797 1797  
1798 1798  [[image:1653360054704-518.png||height="186" width="745"]]
... ... @@ -1800,6 +1800,8 @@
1800 1800  
1801 1801  (((
1802 1802  (((
1917 +
1918 +
1803 1803  == 5.2 How to change the LoRa Frequency Bands/Region? ==
1804 1804  )))
1805 1805  )))
... ... @@ -1806,11 +1806,11 @@
1806 1806  
1807 1807  (((
1808 1808  User can follow the introduction for [[how to upgrade image>>||anchor="H5.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download.
1809 -
1810 -
1811 1811  )))
1812 1812  
1813 1813  (((
1928 +
1929 +
1814 1814  == 5.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? ==
1815 1815  )))
1816 1816  
... ... @@ -1823,6 +1823,8 @@
1823 1823  (((
1824 1824  (((
1825 1825  Assume we have a LG02 working in the frequency 868400000 now , below is the step.
1942 +
1943 +
1826 1826  )))
1827 1827  )))
1828 1828  
... ... @@ -1838,23 +1838,25 @@
1838 1838  (% 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.
1839 1839  )))
1840 1840  
1959 +
1841 1841  (((
1842 1842  (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
1843 1843  )))
1844 1844  
1845 1845  (((
1846 -(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1847 -(% style="background-color:#dcdcdc" %)AT+FDR  (%%) Reset Parameters to Factory Default, Keys Reserve
1848 -(% style="background-color:#dcdcdc" %)123456  (%%) Enter Password to have AT access.
1849 -(% style="background-color:#dcdcdc" %)AT+NJM=0 (%%)Set to ABP mode
1850 -(% style="background-color:#dcdcdc" %)AT+ADR=0 (%%)Set the Adaptive Data Rate Off
1851 -(% style="background-color:#dcdcdc" %)AT+DR=5 (%%) Set Data Rate (Set AT+DR=3 for 915 band)
1852 -(% style="background-color:#dcdcdc" %)AT+TDC=60000  (%%)Set transmit interval to 60 seconds
1853 -(% style="background-color:#dcdcdc" %)AT+CHS=868400000 (%%)Set transmit frequency to 868.4Mhz
1854 -(% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1
1855 -(% style="background-color:#dcdcdc" %)ATZ                (%%)Reset MCU
1965 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1966 +(% style="background-color:#dcdcdc" %)AT+FDR(%%)  Reset Parameters to Factory Default, Keys Reserve
1967 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1968 +(% style="background-color:#dcdcdc" %)AT+NJM=0 (%%) Set to ABP mode
1969 +(% style="background-color:#dcdcdc" %)AT+ADR=0 (%%) Set the Adaptive Data Rate Off
1970 +(% style="background-color:#dcdcdc" %)AT+DR=5 (%%) Set Data Rate (Set AT+DR=3 for 915 band)
1971 +(% style="background-color:#dcdcdc" %)AT+TDC=60000 (%%) Set transmit interval to 60 seconds
1972 +(% style="background-color:#dcdcdc" %)AT+CHS=868400000(%%)  Set transmit frequency to 868.4Mhz
1973 +(% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%)  Set Device Address to 26 01 1A F1
1974 +(% style="background-color:#dcdcdc" %)ATZ        (%%) Reset MCU
1856 1856  )))
1857 1857  
1977 +
1858 1858  (((
1859 1859  As shown in below:
1860 1860  )))
... ... @@ -1867,10 +1867,15 @@
1867 1867  (((
1868 1868  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.
1869 1869  
1870 -
1990 +
1991 +== 5.5 Can i use point to point communication for LT-22222-L? ==
1992 +
1993 +Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]
1871 1871  )))
1872 1872  
1873 1873  (((
1997 +
1998 +
1874 1874  = 6. Trouble Shooting =
1875 1875  )))
1876 1876  
... ... @@ -1882,11 +1882,11 @@
1882 1882  
1883 1883  (((
1884 1884  Please see this link for how to debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H5.1Howitwork"]]
1885 -
1886 -
1887 1887  )))
1888 1888  
1889 1889  (((
2013 +
2014 +
1890 1890  == 6.2 Have trouble to upload image. ==
1891 1891  )))
1892 1892  
... ... @@ -1896,9 +1896,7 @@
1896 1896  
1897 1897  (((
1898 1898  
1899 -)))
1900 1900  
1901 -(((
1902 1902  == 6.3 Why I can’t join TTN in US915 /AU915 bands? ==
1903 1903  )))
1904 1904  
... ... @@ -1906,147 +1906,55 @@
1906 1906  It might be about the channels mapping. [[Please see this link for detail>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]]
1907 1907  )))
1908 1908  
1909 -(((
1910 -
1911 -)))
1912 1912  
1913 -(((
2033 +
1914 1914  = 7. Order Info =
1915 -)))
1916 1916  
1917 -(((
1918 -(((
2036 +
1919 1919  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
1920 -)))
1921 -)))
1922 1922  
1923 -(((
1924 -(((
2039 +
1925 1925  (% style="color:#4f81bd" %)**XXX:**
1926 -)))
1927 -)))
1928 1928  
1929 -(((
1930 -* (((
1931 -(% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
1932 -)))
1933 -)))
2042 +* (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
2043 +* (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
2044 +* (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
2045 +* (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
2046 +* (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
2047 +* (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
2048 +* (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
2049 +* (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
2050 +* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1934 1934  
1935 -(((
1936 -* (((
1937 -(% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
1938 -)))
1939 -)))
1940 -
1941 -(((
1942 -* (((
1943 -(% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
1944 -)))
1945 -)))
1946 -
1947 -(((
1948 -* (((
1949 -(% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
1950 -)))
1951 -)))
1952 -
1953 -(((
1954 -* (((
1955 -(% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
1956 -)))
1957 -)))
1958 -
1959 -(((
1960 -* (((
1961 -(% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
1962 -)))
1963 -)))
1964 -
1965 -(((
1966 -* (((
1967 -(% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
1968 -)))
1969 -)))
1970 -
1971 -(((
1972 -* (((
1973 -(% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
1974 -)))
1975 -)))
1976 -
1977 -(((
1978 -* (((
1979 -(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1980 -
1981 -
1982 -)))
1983 -
1984 1984  = 8. Packing Info =
1985 -)))
1986 1986  
1987 -(((
1988 -(((
2054 +
1989 1989  **Package Includes**:
1990 -)))
1991 -)))
1992 1992  
1993 -(((
1994 -(((
1995 1995  * LT-22222-L I/O Controller x 1
1996 1996  * Stick Antenna for LoRa RF part x 1
1997 1997  * Bracket for controller x1
1998 1998  * Program cable x 1
1999 -)))
2000 -)))
2001 2001  
2002 -(((
2003 -(((
2004 2004  **Dimension and weight**:
2005 -)))
2006 -)))
2007 2007  
2008 -(((
2009 -(((
2010 2010  * Device Size: 13.5 x 7 x 3 cm
2011 2011  * Device Weight: 105g
2012 2012  * Package Size / pcs : 14.5 x 8 x 5 cm
2013 2013  * Weight / pcs : 170g
2014 2014  
2015 -
2016 -)))
2017 -)))
2018 -
2019 -(((
2020 2020  = 9. Support =
2021 -)))
2022 2022  
2023 2023  * (((
2024 -(((
2025 2025  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.
2026 2026  )))
2027 -)))
2028 2028  * (((
2029 -(((
2030 -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
2075 +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]]
2031 2031  )))
2032 -)))
2033 2033  
2034 -(((
2035 -(((
2036 - [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]]
2037 -
2038 -
2039 -)))
2040 -
2041 -(((
2042 2042  = 10. Reference​​​​​ =
2043 2043  
2044 -* Product Page:
2045 -
2046 -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]]
2047 -
2080 +* 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]]
2048 2048  * [[Image Download>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]
2049 2049  * [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]]
2050 2050  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
2051 -)))
2052 -)))