<
From version < 101.4 >
edited by Xiaoling
on 2022/10/25 15:24
To version < 112.2 >
edited by Xiaoling
on 2023/03/31 09:35
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -15,7 +15,6 @@
15 15  
16 16  = 1.Introduction =
17 17  
18 -
19 19  == 1.1 What is LT Series I/O Controller ==
20 20  
21 21  (((
... ... @@ -54,7 +54,6 @@
54 54  
55 55  )))
56 56  
57 -
58 58  == 1.2  Specifications ==
59 59  
60 60  (((
... ... @@ -64,7 +64,7 @@
64 64  )))
65 65  
66 66  * (((
67 -STM32L072CZT6 MCU
65 +STM32L072xxxx MCU
68 68  )))
69 69  * (((
70 70  SX1276/78 Wireless Chip 
... ... @@ -171,7 +171,6 @@
171 171  Packet engine up to 256 bytes with CRC.
172 172  
173 173  
174 -
175 175  
176 176  )))
177 177  
... ... @@ -186,8 +186,6 @@
186 186  * Firmware upgradable via program port
187 187  * Counting
188 188  
189 -
190 -
191 191  == 1.4  Applications ==
192 192  
193 193  
... ... @@ -198,8 +198,6 @@
198 198  * Smart Cities
199 199  * Smart Factory
200 200  
201 -
202 -
203 203  == 1.5 Hardware Variants ==
204 204  
205 205  
... ... @@ -214,8 +214,6 @@
214 214  * 1 x Counting Port
215 215  )))
216 216  
217 -
218 -
219 219  = 2. Power ON Device =
220 220  
221 221  
... ... @@ -232,10 +232,8 @@
232 232  [[image:1653297104069-180.png]]
233 233  
234 234  
235 -
236 236  = 3. Operation Mode =
237 237  
238 -
239 239  == 3.1 How it works? ==
240 240  
241 241  
... ... @@ -248,7 +248,6 @@
248 248  )))
249 249  
250 250  
251 -
252 252  == 3.2 Example to join LoRaWAN network ==
253 253  
254 254  
... ... @@ -300,7 +300,6 @@
300 300  [[image:1653298044601-602.png||height="405" width="709"]]
301 301  
302 302  
303 -
304 304  == 3.3 Uplink Payload ==
305 305  
306 306  
... ... @@ -313,8 +313,6 @@
313 313  * (% style="color:blue" %)**MOD5**(%%): Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
314 314  * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5
315 315  
316 -
317 -
318 318  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
319 319  
320 320  
... ... @@ -371,8 +371,6 @@
371 371  ** DO1 is high in case there is load between DO1 and V+.
372 372  ** DO1 LED is off in both case
373 373  
374 -
375 -
376 376  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
377 377  
378 378  
... ... @@ -446,7 +446,6 @@
446 446  )))
447 447  
448 448  
449 -
450 450  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
451 451  
452 452  
... ... @@ -493,7 +493,6 @@
493 493  )))
494 494  
495 495  
496 -
497 497  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
498 498  
499 499  
... ... @@ -562,7 +562,6 @@
562 562  )))
563 563  
564 564  
565 -
566 566  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
567 567  
568 568  
... ... @@ -610,7 +610,6 @@
610 610  )))
611 611  
612 612  
613 -
614 614  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
615 615  
616 616  
... ... @@ -665,7 +665,6 @@
665 665  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
666 666  
667 667  
668 -
669 669  (% style="color:#037691" %)**Downlink Command to set Trigger Condition:**
670 670  
671 671  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
... ... @@ -726,7 +726,6 @@
726 726  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
727 727  
728 728  
729 -
730 730  (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
731 731  
732 732  [[image:image-20220524090456-4.png]]
... ... @@ -740,7 +740,6 @@
740 740  00000101: Means both DI1 and DI2 trigger are enabled.
741 741  
742 742  
743 -
744 744  (% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable.
745 745  
746 746  Downlink command to poll MOD6 status:
... ... @@ -750,7 +750,6 @@
750 750  When device got this command, it will send the MOD6 payload.
751 751  
752 752  
753 -
754 754  === 3.3.7 Payload Decoder ===
755 755  
756 756  (((
... ... @@ -760,7 +760,6 @@
760 760  )))
761 761  
762 762  
763 -
764 764  == 3.4 ​Configure LT via AT or Downlink ==
765 765  
766 766  
... ... @@ -774,13 +774,10 @@
774 774  )))
775 775  )))
776 776  
777 -* (% 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]]
751 +* (% style="color:blue" %)**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]]
778 778  
779 -* (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
753 +* (% style="color:blue" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
780 780  
781 -
782 -
783 -
784 784  === 3.4.1 Common Commands ===
785 785  
786 786  
... ... @@ -789,10 +789,8 @@
789 789  )))
790 790  
791 791  
792 -
793 793  === 3.4.2 Sensor related commands ===
794 794  
795 -
796 796  ==== 3.4.2.1 Set Transmit Interval ====
797 797  
798 798  
... ... @@ -800,7 +800,7 @@
800 800  
801 801  * (% style="color:#037691" %)**AT Command:**
802 802  
803 -**AT+TDC=N **
772 +(% style="color:blue" %)**AT+TDC=N **
804 804  
805 805  
806 806  **Example: **AT+TDC=30000. Means set interval to 30 seconds
... ... @@ -808,11 +808,10 @@
808 808  
809 809  * (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
810 810  
811 -**0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
780 +(% style="color:blue" %)**0x01 aa bb cc  **(%%)** ~/~/ Same as AT+TDC=0x(aa bb cc)**
812 812  
813 813  
814 814  
815 -
816 816  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
817 817  
818 818  
... ... @@ -820,7 +820,7 @@
820 820  
821 821  * (% style="color:#037691" %)**AT Command:**
822 822  
823 -**AT+MOD=N  **
791 +(% style="color:blue" %)**AT+MOD=N  **
824 824  
825 825  
826 826  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
... ... @@ -828,11 +828,10 @@
828 828  
829 829  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
830 830  
831 -**0x0A aa    ** ~/~/ Same as AT+MOD=aa
799 +(% style="color:blue" %)**0x0A aa  **(%%)** ** ~/~/ Same as AT+MOD=aa
832 832  
833 833  
834 834  
835 -
836 836  ==== 3.4.2.3 Poll an uplink ====
837 837  
838 838  
... ... @@ -843,7 +843,7 @@
843 843  
844 844  * (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**
845 845  
846 -**0x08 FF     **~/~/ Poll an uplink
813 +(% style="color:blue" %)**0x08 FF  **(%%)** **~/~/ Poll an uplink
847 847  
848 848  
849 849  **Example**: 0x08FF, ask device to send an Uplink
... ... @@ -850,7 +850,6 @@
850 850  
851 851  
852 852  
853 -
854 854  ==== 3.4.2.4 Enable Trigger Mode ====
855 855  
856 856  
... ... @@ -858,20 +858,19 @@
858 858  
859 859  * (% style="color:#037691" %)**AT Command:**
860 860  
861 -**AT+ADDMOD6=1 or 0**
827 +(% style="color:blue" %)**AT+ADDMOD6=1 or 0**
862 862  
863 -1: Enable Trigger Mode
829 +(% style="color:red" %)**1:** (%%)Enable Trigger Mode
864 864  
865 -0: Disable Trigger Mode
831 +(% style="color:red" %)**0: **(%%)Disable Trigger Mode
866 866  
867 867  
868 868  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):**
869 869  
870 -**0x0A 06 aa    ** ~/~/ Same as AT+ADDMOD6=aa
836 +(% style="color:blue" %)**0x0A 06 aa    **(%%) ~/~/ Same as AT+ADDMOD6=aa
871 871  
872 872  
873 873  
874 -
875 875  ==== 3.4.2.5 Poll trigger settings ====
876 876  
877 877  
... ... @@ -884,11 +884,10 @@
884 884  
885 885  * (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):**
886 886  
887 -**0xAB 06         **~/~/ Poll trigger settings, device will uplink trigger settings once receive this command
852 +(% style="color:blue" %)**0xAB 06  ** (%%) ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command
888 888  
889 889  
890 890  
891 -
892 892  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
893 893  
894 894  
... ... @@ -896,7 +896,7 @@
896 896  
897 897  * (% style="color:#037691" %)**AT Command:**
898 898  
899 -**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
863 +(% style="color:blue" %)**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
900 900  
901 901  
902 902  **Example:**
... ... @@ -905,11 +905,10 @@
905 905  
906 906  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):**
907 907  
908 -**0xAA 02 aa bb        **~/~/ Same as AT+DTRI=aa,bb
872 +(% style="color:blue" %)**0xAA 02 aa bb   ** (%%) ~/~/ Same as AT+DTRI=aa,bb
909 909  
910 910  
911 911  
912 -
913 913  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
914 914  
915 915  
... ... @@ -917,11 +917,11 @@
917 917  
918 918  * (% style="color:#037691" %)**AT Command:**
919 919  
920 -**AT+TRIG1=a,b**
883 +(% style="color:blue" %)**AT+TRIG1=a,b**
921 921  
922 -a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
885 +(% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
923 923  
924 -b : delay timing.
887 +(% style="color:red" %)**b :** (%%)delay timing.
925 925  
926 926  
927 927  **Example:**
... ... @@ -930,8 +930,11 @@
930 930  
931 931  
932 932  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
933 -* **0x09 01 aa bb cc    ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
934 934  
897 +(% style="color:blue" %)**0x09 01 aa bb cc    ** (%%) ~/~/ same as AT+TRIG1=aa,0x(bb cc)
898 +
899 +
900 +
935 935  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
936 936  
937 937  
... ... @@ -939,14 +939,13 @@
939 939  
940 940  * (% style="color:#037691" %)**AT Command:**
941 941  
942 -**AT+TRIG2=a,b**
908 +(% style="color:blue" %)**AT+TRIG2=a,b**
943 943  
910 +(% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
944 944  
945 -a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
912 +(% style="color:red" %)**b :** (%%)delay timing.
946 946  
947 -b : delay timing.
948 948  
949 -
950 950  **Example:**
951 951  
952 952  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
... ... @@ -954,11 +954,10 @@
954 954  
955 955  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**
956 956  
957 -**0x09 02 aa bb cc           **~/~/ same as AT+TRIG1=aa,0x(bb cc)
922 +(% style="color:blue" %)**0x09 02 aa bb cc   ** (%%)~/~/ same as AT+TRIG2=aa,0x(bb cc)
958 958  
959 959  
960 960  
961 -
962 962  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
963 963  
964 964  
... ... @@ -966,16 +966,15 @@
966 966  
967 967  * (% style="color:#037691" %)**AT Command**
968 968  
969 -**AT+ACLIM**
933 +(% style="color:blue" %)**AT+ACLIM**
970 970  
971 971  
972 972  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**
973 973  
974 -**0x AA 01 aa bb cc dd ee ff gg hh        ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
938 +(% style="color:blue" %)**0x AA 01 aa bb cc dd ee ff gg hh        ** (%%) ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
975 975  
976 976  
977 977  
978 -
979 979  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
980 980  
981 981  
... ... @@ -983,16 +983,15 @@
983 983  
984 984  * (% style="color:#037691" %)**AT Command**
985 985  
986 -**AT+AVLIM  See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
949 +(% style="color:blue" %)**AT+AVLIM    **(%%)** See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
987 987  
988 988  
989 989  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**
990 990  
991 -**0x AA 00 aa bb cc dd ee ff gg hh    ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
954 +(% style="color:blue" %)**0x AA 00 aa bb cc dd ee ff gg hh    ** (%%) ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
992 992  
993 993  
994 994  
995 -
996 996  ==== 3.4.2.11 Trigger – Set minimum interval ====
997 997  
998 998  
... ... @@ -1000,12 +1000,12 @@
1000 1000  
1001 1001  * (% style="color:#037691" %)**AT Command**
1002 1002  
1003 -**AT+ATDC=5        ** Device won't response the second trigger within 5 minute after the first trigger.
965 +(% style="color:blue" %)**AT+ATDC=5        ** (%%)Device won't response the second trigger within 5 minute after the first trigger.
1004 1004  
1005 1005  
1006 1006  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
1007 1007  
1008 -**0x AC aa bb   ** ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
970 +(% style="color:blue" %)**0x AC aa bb   **(%%) ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
1009 1009  
1010 1010  (((
1011 1011  
... ... @@ -1015,7 +1015,6 @@
1015 1015  
1016 1016  
1017 1017  
1018 -
1019 1019  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
1020 1020  
1021 1021  
... ... @@ -1025,7 +1025,7 @@
1025 1025  
1026 1026  
1027 1027  * (% style="color:#037691" %)**Downlink Payload (prefix 0x02)**
1028 -* **0x02 aa bb cc     **~/~/ Set DO1/DO2/DO3 output
989 +* (% style="color:blue" %)**0x02 aa bb cc     ** (%%)~/~/ Set DO1/DO2/DO3 output
1029 1029  
1030 1030  (((
1031 1031  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
... ... @@ -1047,7 +1047,6 @@
1047 1047  
1048 1048  
1049 1049  
1050 -
1051 1051  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1052 1052  
1053 1053  
... ... @@ -1058,7 +1058,7 @@
1058 1058  
1059 1059  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**
1060 1060  
1061 -**0xA9 aa bb cc     **~/~/ Set DO1/DO2/DO3 output with time control
1021 +(% style="color:blue" %)**0xA9 aa bb cc     **(%%) ~/~/ Set DO1/DO2/DO3 output with time control
1062 1062  
1063 1063  
1064 1064  This is to control the digital output time of DO pin. Include four bytes:
... ... @@ -1091,6 +1091,14 @@
1091 1091  
1092 1092   Latching time. Unit: ms
1093 1093  
1054 +
1055 +(% style="color:red" %)**Note: **
1056 +
1057 + Since Firmware v1.6.0, the latch time support 4 bytes and 2 bytes
1058 +
1059 + Before Firmwre v1.6.0 the latch time only suport 2 bytes.
1060 +
1061 +
1094 1094  (% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1095 1095  
1096 1096  
... ... @@ -1114,10 +1114,9 @@
1114 1114  
1115 1115  
1116 1116  
1085 +==== 3.4.2. 14 Relay ~-~- Control Relay Output RO1/RO2 ====
1117 1117  
1118 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1119 1119  
1120 -
1121 1121  * (% style="color:#037691" %)**AT Command:**
1122 1122  
1123 1123  There is no AT Command to control Relay Output
... ... @@ -1125,7 +1125,7 @@
1125 1125  
1126 1126  * (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1127 1127  
1128 -**0x03 aa bb     **~/~/ Set RO1/RO2 output
1095 +(% style="color:blue" %)**0x03 aa bb     ** (%%)~/~/ Set RO1/RO2 output
1129 1129  
1130 1130  
1131 1131  (((
... ... @@ -1144,7 +1144,6 @@
1144 1144  
1145 1145  
1146 1146  
1147 -
1148 1148  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1149 1149  
1150 1150  
... ... @@ -1155,7 +1155,7 @@
1155 1155  
1156 1156  * (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1157 1157  
1158 -**0x05 aa bb cc dd     **~/~/ Set RO1/RO2 relay with time control
1124 +(% style="color:blue" %)**0x05 aa bb cc dd     ** (%%)~/~/ Set RO1/RO2 relay with time control
1159 1159  
1160 1160  
1161 1161  This is to control the relay output time of relay. Include four bytes:
... ... @@ -1176,12 +1176,20 @@
1176 1176  
1177 1177  (% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms
1178 1178  
1145 +
1146 +(% style="color:red" %)**Note:**
1147 +
1148 + Since Firmware v1.6.0, the latch time support 4 bytes and 2 bytes
1149 +
1150 + Before Firmwre v1.6.0 the latch time only suport 2 bytes.
1151 +
1152 +
1179 1179  (% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1180 1180  
1181 1181  
1182 1182  **Example payload:**
1183 1183  
1184 -**~1. 05 01 11 07 D**
1158 +**~1. 05 01 11 07 D0**
1185 1185  
1186 1186  Relay1 and Relay 2 will be set to NC , last 2 seconds, then change back to original state.
1187 1187  
... ... @@ -1206,39 +1206,33 @@
1206 1206  
1207 1207  * (% style="color:#037691" %)**AT Command:**
1208 1208  
1209 -**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1183 +(% style="color:blue" %)**AT+VOLMAX   ** (%%)~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1210 1210  
1211 1211  
1212 1212  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1213 1213  
1214 -**0xA5 aa bb cc   **~/~/ Same as AT+VOLMAX=(aa bb),cc
1188 +(% style="color:blue" %)**0xA5 aa bb cc   ** (%%)~/~/ Same as AT+VOLMAX=(aa bb),cc
1215 1215  
1216 1216  
1217 1217  
1218 -
1219 1219  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1220 1220  
1221 1221  
1222 1222  * (% style="color:#037691" %)**AT Command:**
1223 1223  
1224 -**AT+SETCNT=aa,(bb cc dd ee) **
1197 +(% style="color:blue" %)**AT+SETCNT=aa,(bb cc dd ee) **
1225 1225  
1226 -aa: 1: Set count1,
1199 +(% style="color:red" %)**aa:**(%%) 1: Set count1; 2: Set count2; 3: Set AV1 count
1227 1227  
1228 -2: Set count2,
1201 +(% style="color:red" %)**bb cc dd ee: **(%%)number to be set
1229 1229  
1230 -3: Set AV1 count
1231 1231  
1232 -Bb cc dd ee: number to be set
1233 -
1234 -
1235 1235  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**
1236 1236  
1237 -**0x A8 aa bb cc dd ee     **~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1206 +(% style="color:blue" %)**0x A8 aa bb cc dd ee     ** (%%)~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1238 1238  
1239 1239  
1240 1240  
1241 -
1242 1242  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1243 1243  
1244 1244  
... ... @@ -1246,114 +1246,104 @@
1246 1246  
1247 1247  * (% style="color:#037691" %)**AT Command:**
1248 1248  
1249 -**AT+CLRCOUNT ** ~/~/ clear all counting
1217 +(% style="color:blue" %)**AT+CLRCOUNT **(%%) ~/~/ clear all counting
1250 1250  
1251 1251  
1252 1252  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1253 1253  
1254 -**0x A6 01    ** ~/~/ clear all counting
1222 +(% style="color:blue" %)**0x A6 01    ** (%%)~/~/ clear all counting
1255 1255  
1256 1256  
1257 1257  
1258 -
1259 1259  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1260 1260  
1261 1261  
1262 1262  * (% style="color:#037691" %)**AT Command:**
1263 1263  
1264 -**AT+COUTIME=60  **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1231 +(% style="color:blue" %)**AT+COUTIME=60  **(%%)~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1265 1265  
1266 1266  
1267 1267  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):**
1268 1268  
1269 -**0x A7 aa bb cc     **~/~/ same as AT+COUTIME =aa bb cc,
1236 +(% style="color:blue" %)**0x A7 aa bb cc     ** (%%)~/~/ same as AT+COUTIME =aa bb cc,
1270 1270  
1271 1271  (((
1272 1272  range: aa bb cc:0 to 16777215,  (unit:second)
1240 +)))
1273 1273  
1274 1274  
1275 1275  
1276 -
1277 -)))
1244 +==== 3.4.2.20 Reset save RO DO state ====
1278 1278  
1279 -==== 3.4.2.20 Reset save DR DO state ====
1280 1280  
1281 -
1282 1282  * (% style="color:#037691" %)**AT Command:**
1283 1283  
1284 -**AT+RODORET=1  **~/~/ RODO will close when the device joining the network. (default)
1249 +(% style="color:blue" %)**AT+RODORESET=1    **(%%)~/~/ RODO will close when the device joining the network. (default)
1285 1285  
1286 -**AT+RODORET=0  **~/~/After the device is reset, the previously saved RODO state (only MOD2 to MOD5) is read, and its state is not changed when it is reconnected to the network.
1251 +(% style="color:blue" %)**AT+RODORESET=0    **(%%)~/~/ After the device is reset, the previously saved RODO state (only MOD2 to MOD5) is read, and its state is not changed when it is reconnected to the network.
1287 1287  
1288 1288  
1289 1289  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAD):**
1290 1290  
1291 -**0x AD aa      **~/~/ same as AT+RODORET =aa
1256 +(% style="color:blue" %)**0x AD aa      ** (%%)~/~/ same as AT+RODORET =aa
1292 1292  
1293 -(((
1294 -
1295 1295  
1296 1296  
1297 -
1298 1298  ==== 3.4.2.21 Encrypted payload ====
1299 1299  
1300 1300  
1301 1301  * (% style="color:#037691" %)**AT Command:**
1302 1302  
1303 -**AT+DECRYPT=1  **~/~/ The payload is uploaded without encryption
1265 +(% style="color:blue" %)**AT+DECRYPT=1  ** (%%)~/~/ The payload is uploaded without encryption
1304 1304  
1305 -**AT+DECRYPT=0  **~/~/Encrypt when uploading payload (default)
1267 +(% style="color:blue" %)**AT+DECRYPT=0    **(%%)~/~/  Encrypt when uploading payload (default)
1306 1306  
1307 1307  
1308 1308  
1309 -
1310 1310  ==== 3.4.2.22 Get sensor value ====
1311 1311  
1312 1312  
1313 1313  * (% style="color:#037691" %)**AT Command:**
1314 1314  
1315 -**AT+GETSENSORVALUE=0  **~/~/ The serial port gets the reading of the current sensor
1276 +(% style="color:blue" %)**AT+GETSENSORVALUE=0    **(%%)~/~/ The serial port gets the reading of the current sensor
1316 1316  
1317 -**AT+GETSENSORVALUE=1  **~/~/The serial port gets the current sensor reading and uploads it.
1278 +(% style="color:blue" %)**AT+GETSENSORVALUE=1    **(%%)~/~/ The serial port gets the current sensor reading and uploads it.
1318 1318  
1319 1319  
1320 1320  
1321 -
1322 1322  ==== 3.4.2.23 Resets the downlink packet count ====
1323 1323  
1324 1324  
1325 1325  * (% style="color:#037691" %)**AT Command:**
1326 1326  
1327 -**AT+DISFCNTCHECK=0  **~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node will no longer receive downlink packets (default)
1287 +(% style="color:blue" %)**AT+DISFCNTCHECK=0   **(%%)~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node will no longer receive downlink packets (default)
1328 1328  
1329 -**AT+DISFCNTCHECK=1  **~/~/When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node resets the downlink packet count and keeps it consistent with the server downlink packet count.
1289 +(% style="color:blue" %)**AT+DISFCNTCHECK=1   **(%%)~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node resets the downlink packet count and keeps it consistent with the server downlink packet count.
1330 1330  
1331 1331  
1332 1332  
1333 -
1334 1334  ==== 3.4.2.24 When the limit bytes are exceeded, upload in batches ====
1335 1335  
1336 1336  
1337 1337  * (% style="color:#037691" %)**AT Command:**
1338 1338  
1339 - **AT+DISMACANS=0**  ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of 11 bytes (DR0 of US915, DR2 of AS923, DR2 of AU195), the node will send a packet with a payload of 00 and a port of 4. (default)
1298 +(% style="color:blue" %)**AT+DISMACANS=0**   (%%) ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of 11 bytes (DR0 of US915, DR2 of AS923, DR2 of AU195), the node will send a packet with a payload of 00 and a port of 4. (default)
1340 1340  
1341 - **AT+DISMACANS=1**      ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of the DR, the node will ignore the MACANS and not reply, and only upload the payload part.
1300 +(% style="color:blue" %)**AT+DISMACANS=1**  (%%) ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of the DR, the node will ignore the MACANS and not reply, and only upload the payload part.
1342 1342  
1343 1343  
1344 1344  * (% style="color:#037691" %)**Downlink Payload **(%%)**:**
1345 1345  
1346 -**0x21 00 01 ** ~/~/ Set  the DISMACANS=1
1305 +(% style="color:blue" %)**0x21 00 01 ** (%%) ~/~/ Set  the DISMACANS=1
1347 1347  
1348 1348  
1349 1349  
1350 -
1351 1351  ==== 3.4.2.25 Copy downlink to uplink ====
1352 1352  
1353 1353  
1354 1354  * (% style="color:#037691" %)**AT Command**(%%)**:**
1355 1355  
1356 - **AT+RPL=5**  ~/~/ After receiving the package from the server, it will immediately upload the content of the package to the server, the port number is 100.
1314 +(% style="color:blue" %)**AT+RPL=5**   (%%) ~/~/ After receiving the package from the server, it will immediately upload the content of the package to the server, the port number is 100.
1357 1357  
1358 1358  Example:**aa xx xx xx xx**         ~/~/ aa indicates whether the configuration has changed, 00 is yes, 01 is no; xx xx xx xx are the bytes sent.
1359 1359  
... ... @@ -1376,7 +1376,7 @@
1376 1376  * (((
1377 1377  (% style="color:#037691" %)**Downlink Payload**(%%)**:**
1378 1378  
1379 -**26 01  ** ~/~/  Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time.
1337 +(% style="color:blue" %)**26 01  ** (%%) ~/~/  Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time.
1380 1380  
1381 1381  
1382 1382  )))
... ... @@ -1386,9 +1386,6 @@
1386 1386  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173929-8.png?width=1205&height=76&rev=1.1||alt="image-20220823173929-8.png"]]
1387 1387  
1388 1388  
1389 -
1390 -)))
1391 -
1392 1392  == 3.5 Integrate with Mydevice ==
1393 1393  
1394 1394  
... ... @@ -1438,10 +1438,8 @@
1438 1438  [[image:image-20220524094909-5.png||height="341" width="734"]]
1439 1439  
1440 1440  
1441 -
1442 1442  == 3.6 Interface Detail ==
1443 1443  
1444 -
1445 1445  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
1446 1446  
1447 1447  
... ... @@ -1450,7 +1450,6 @@
1450 1450  [[image:1653356991268-289.png]]
1451 1451  
1452 1452  
1453 -
1454 1454  === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) ===
1455 1455  
1456 1456  
... ... @@ -1507,8 +1507,6 @@
1507 1507  
1508 1508  (((
1509 1509  
1510 -
1511 -
1512 1512  )))
1513 1513  
1514 1514  (((
... ... @@ -1540,8 +1540,6 @@
1540 1540  
1541 1541  (((
1542 1542  
1543 -
1544 -
1545 1545  )))
1546 1546  
1547 1547  (((
... ... @@ -1572,16 +1572,16 @@
1572 1572  )))
1573 1573  
1574 1574  
1575 -
1576 1576  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1577 1577  
1578 1578  
1579 -NPN output: GND or Float. Max voltage can apply to output pin is 36v.
1526 +**NPN output**: GND or Float. Max voltage can apply to output pin is 36v.
1580 1580  
1528 +Note: DO pins go to float when device is power off.
1529 +
1581 1581  [[image:1653357531600-905.png]]
1582 1582  
1583 1583  
1584 -
1585 1585  === 3.6.4 Analog Input Interface ===
1586 1586  
1587 1587  
... ... @@ -1613,12 +1613,13 @@
1613 1613  [[image:1653357648330-671.png||height="155" width="733"]]
1614 1614  
1615 1615  
1616 -
1617 1617  === 3.6.5 Relay Output ===
1618 1618  
1619 1619  
1620 1620  (((
1621 -The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device’s Power Line to in serial of RO1_1 and RO_2. Such as below:
1568 +The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device's Power Line to in serial of RO1_1 and RO_2. Such as below:
1569 +
1570 +**Note**: RO pins go to Open(NO) when device is power off.
1622 1622  )))
1623 1623  
1624 1624  [[image:image-20220524100215-9.png]]
... ... @@ -1627,7 +1627,6 @@
1627 1627  [[image:image-20220524100215-10.png||height="382" width="723"]]
1628 1628  
1629 1629  
1630 -
1631 1631  == 3.7 LEDs Indicators ==
1632 1632  
1633 1633  
... ... @@ -1634,10 +1634,8 @@
1634 1634  [[image:image-20220524100748-11.png]]
1635 1635  
1636 1636  
1637 -
1638 1638  = 4. Use AT Command =
1639 1639  
1640 -
1641 1641  == 4.1 Access AT Command ==
1642 1642  
1643 1643  
... ... @@ -1848,10 +1848,8 @@
1848 1848  )))
1849 1849  
1850 1850  
1851 -
1852 1852  == 4.2 Common AT Command Sequence ==
1853 1853  
1854 -
1855 1855  === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
1856 1856  
1857 1857  (((
... ... @@ -1896,7 +1896,6 @@
1896 1896  )))
1897 1897  
1898 1898  
1899 -
1900 1900  === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) ===
1901 1901  
1902 1902  (((
... ... @@ -1982,12 +1982,11 @@
1982 1982  
1983 1983  )))
1984 1984  
1985 -
1986 1986  === 4.2.3 Change to Class A ===
1987 1987  
1988 1988  
1989 1989  (((
1990 -(% style="color:blue" %)If sensor JOINED:
1932 +(% style="color:blue" %)**If sensor JOINED:**
1991 1991  
1992 1992  (% style="background-color:#dcdcdc" %)**AT+CLASS=A
1993 1993  ATZ**
... ... @@ -1994,13 +1994,19 @@
1994 1994  )))
1995 1995  
1996 1996  
1939 += 5. Case Study =
1997 1997  
1998 -= 5. FAQ =
1941 +== 5.1 Counting how many objects pass in Flow Line ==
1999 1999  
2000 2000  
2001 -== 5.1 How to upgrade the image? ==
1944 +Reference Link: [[How to set up to count objects pass in flow line>>How to set up to count objects pass in flow line]]?
2002 2002  
2003 2003  
1947 += 6. FAQ =
1948 +
1949 +== 6.1 How to upgrade the image? ==
1950 +
1951 +
2004 2004  The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to:
2005 2005  
2006 2006  * Support new features
... ... @@ -2041,10 +2041,8 @@
2041 2041  
2042 2042  (((
2043 2043  (((
2044 -
1992 +== 6.2 How to change the LoRa Frequency Bands/Region? ==
2045 2045  
2046 -== 5.2 How to change the LoRa Frequency Bands/Region? ==
2047 -
2048 2048  
2049 2049  )))
2050 2050  )))
... ... @@ -2056,9 +2056,8 @@
2056 2056  (((
2057 2057  
2058 2058  
2005 +== 6.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? ==
2059 2059  
2060 -== 5.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? ==
2061 -
2062 2062  
2063 2063  )))
2064 2064  
... ... @@ -2072,7 +2072,6 @@
2072 2072  (((
2073 2073  Assume we have a LG02 working in the frequency 868400000 now , below is the step.
2074 2074  
2075 -
2076 2076  
2077 2077  )))
2078 2078  )))
... ... @@ -2121,26 +2121,23 @@
2121 2121  [[image:1653360498588-932.png||height="485" width="726"]]
2122 2122  
2123 2123  
2068 +== 6.4 Can I see counting event in Serial? ==
2124 2124  
2125 -== 5.4 Can I see counting event in Serial? ==
2126 2126  
2127 -
2128 2128  (((
2129 2129  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.
2130 2130  
2131 2131  
2075 +== 6.5 Can i use point to point communication for LT-22222-L? ==
2132 2132  
2133 -== 5.5 Can i use point to point communication for LT-22222-L? ==
2134 2134  
2078 +Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]  ,this is [[firmware>>https://github.com/dragino/LT-22222-L/releases]].
2135 2135  
2136 -Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]
2137 -
2138 -
2139 2139  
2140 2140  )))
2141 2141  
2142 2142  (((
2143 -== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
2084 +== 6.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
2144 2144  
2145 2145  
2146 2146  If the device is not shut down, but directly powered off.
... ... @@ -2152,10 +2152,9 @@
2152 2152  After restart, the status before power failure will be read from flash.
2153 2153  
2154 2154  
2096 +== 6.7 Can i set up LT-22222-L as a NC(Normal Close) Relay? ==
2155 2155  
2156 -== 5.7 Can i set up LT-22222-L as a NC(Normal Close) Relay? ==
2157 2157  
2158 -
2159 2159  LT-22222-L built-in relay is NO (Normal Open). User can use an external relay to achieve Normal Close purpose. Diagram as below:
2160 2160  
2161 2161  
... ... @@ -2162,15 +2162,18 @@
2162 2162  [[image:image-20221006170630-1.png||height="610" width="945"]]
2163 2163  
2164 2164  
2105 +== 6.8 Can LT22222-L save RO state? ==
2165 2165  
2166 -= 6. Trouble Shooting =
2167 2167  
2168 -
2108 +Firmware version needs to be no less than 1.6.0.
2109 +
2110 +
2111 += 7. Trouble Shooting =
2169 2169  )))
2170 2170  
2171 2171  (((
2172 2172  (((
2173 -== 6.1 Downlink doesn't work, how to solve it? ==
2116 +== 7.1 Downlink doesn't work, how to solve it? ==
2174 2174  
2175 2175  
2176 2176  )))
... ... @@ -2183,9 +2183,8 @@
2183 2183  (((
2184 2184  
2185 2185  
2129 +== 7.2 Have trouble to upload image. ==
2186 2186  
2187 -== 6.2 Have trouble to upload image. ==
2188 -
2189 2189  
2190 2190  )))
2191 2191  
... ... @@ -2196,9 +2196,8 @@
2196 2196  (((
2197 2197  
2198 2198  
2141 +== 7.3 Why I can't join TTN in US915 /AU915 bands? ==
2199 2199  
2200 -== 6.3 Why I can't join TTN in US915 /AU915 bands? ==
2201 -
2202 2202  
2203 2203  )))
2204 2204  
... ... @@ -2207,10 +2207,9 @@
2207 2207  )))
2208 2208  
2209 2209  
2151 += 8. Order Info =
2210 2210  
2211 -= 7. Order Info =
2212 2212  
2213 -
2214 2214  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
2215 2215  
2216 2216  (% style="color:#4f81bd" %)**XXX:**
... ... @@ -2225,11 +2225,9 @@
2225 2225  * (% style="color:red" %)**IN865**(%%):  LT with frequency bands IN865
2226 2226  * (% style="color:red" %)**CN779**(%%):  LT with frequency bands CN779
2227 2227  
2168 += 9. Packing Info =
2228 2228  
2229 2229  
2230 -= 8. Packing Info =
2231 -
2232 -
2233 2233  **Package Includes**:
2234 2234  
2235 2235  * LT-22222-L I/O Controller x 1
... ... @@ -2244,11 +2244,9 @@
2244 2244  * Package Size / pcs : 14.5 x 8 x 5 cm
2245 2245  * Weight / pcs : 170g
2246 2246  
2185 += 10. Support =
2247 2247  
2248 2248  
2249 -= 9. Support =
2250 -
2251 -
2252 2252  * (((
2253 2253  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.
2254 2254  )))
... ... @@ -2256,13 +2256,14 @@
2256 2256  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]]
2257 2257  
2258 2258  
2259 -
2260 2260  
2261 2261  )))
2262 2262  
2263 -= 10. Reference​​​​​ =
2198 += 11. Reference​​​​​ =
2264 2264  
2265 2265  
2266 2266  * 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]]
2267 2267  * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]]
2268 2268  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
2204 +
2205 +
image-20221112174847-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +102.6 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0