<
From version < 102.3 >
edited by Xiaoling
on 2022/10/29 09:54
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,9 +186,6 @@
186 186  * Firmware upgradable via program port
187 187  * Counting
188 188  
189 -
190 -
191 -
192 192  == 1.4  Applications ==
193 193  
194 194  
... ... @@ -199,9 +199,6 @@
199 199  * Smart Cities
200 200  * Smart Factory
201 201  
202 -
203 -
204 -
205 205  == 1.5 Hardware Variants ==
206 206  
207 207  
... ... @@ -216,9 +216,6 @@
216 216  * 1 x Counting Port
217 217  )))
218 218  
219 -
220 -
221 -
222 222  = 2. Power ON Device =
223 223  
224 224  
... ... @@ -235,10 +235,8 @@
235 235  [[image:1653297104069-180.png]]
236 236  
237 237  
238 -
239 239  = 3. Operation Mode =
240 240  
241 -
242 242  == 3.1 How it works? ==
243 243  
244 244  
... ... @@ -251,7 +251,6 @@
251 251  )))
252 252  
253 253  
254 -
255 255  == 3.2 Example to join LoRaWAN network ==
256 256  
257 257  
... ... @@ -303,7 +303,6 @@
303 303  [[image:1653298044601-602.png||height="405" width="709"]]
304 304  
305 305  
306 -
307 307  == 3.3 Uplink Payload ==
308 308  
309 309  
... ... @@ -316,9 +316,6 @@
316 316  * (% style="color:blue" %)**MOD5**(%%): Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
317 317  * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5
318 318  
319 -
320 -
321 -
322 322  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
323 323  
324 324  
... ... @@ -375,9 +375,6 @@
375 375  ** DO1 is high in case there is load between DO1 and V+.
376 376  ** DO1 LED is off in both case
377 377  
378 -
379 -
380 -
381 381  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
382 382  
383 383  
... ... @@ -451,7 +451,6 @@
451 451  )))
452 452  
453 453  
454 -
455 455  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
456 456  
457 457  
... ... @@ -498,7 +498,6 @@
498 498  )))
499 499  
500 500  
501 -
502 502  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
503 503  
504 504  
... ... @@ -567,7 +567,6 @@
567 567  )))
568 568  
569 569  
570 -
571 571  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
572 572  
573 573  
... ... @@ -615,7 +615,6 @@
615 615  )))
616 616  
617 617  
618 -
619 619  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
620 620  
621 621  
... ... @@ -670,7 +670,6 @@
670 670  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
671 671  
672 672  
673 -
674 674  (% style="color:#037691" %)**Downlink Command to set Trigger Condition:**
675 675  
676 676  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
... ... @@ -731,7 +731,6 @@
731 731  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
732 732  
733 733  
734 -
735 735  (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
736 736  
737 737  [[image:image-20220524090456-4.png]]
... ... @@ -745,7 +745,6 @@
745 745  00000101: Means both DI1 and DI2 trigger are enabled.
746 746  
747 747  
748 -
749 749  (% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable.
750 750  
751 751  Downlink command to poll MOD6 status:
... ... @@ -755,7 +755,6 @@
755 755  When device got this command, it will send the MOD6 payload.
756 756  
757 757  
758 -
759 759  === 3.3.7 Payload Decoder ===
760 760  
761 761  (((
... ... @@ -765,7 +765,6 @@
765 765  )))
766 766  
767 767  
768 -
769 769  == 3.4 ​Configure LT via AT or Downlink ==
770 770  
771 771  
... ... @@ -783,8 +783,6 @@
783 783  
784 784  * (% style="color:blue" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
785 785  
786 -
787 -
788 788  === 3.4.1 Common Commands ===
789 789  
790 790  
... ... @@ -793,10 +793,8 @@
793 793  )))
794 794  
795 795  
796 -
797 797  === 3.4.2 Sensor related commands ===
798 798  
799 -
800 800  ==== 3.4.2.1 Set Transmit Interval ====
801 801  
802 802  
... ... @@ -804,7 +804,7 @@
804 804  
805 805  * (% style="color:#037691" %)**AT Command:**
806 806  
807 -**(% style="color:blue" %)AT+TDC=N **
772 +(% style="color:blue" %)**AT+TDC=N **
808 808  
809 809  
810 810  **Example: **AT+TDC=30000. Means set interval to 30 seconds
... ... @@ -812,11 +812,10 @@
812 812  
813 813  * (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
814 814  
815 -**(% style="color:blue" %)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)**
816 816  
817 817  
818 818  
819 -
820 820  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
821 821  
822 822  
... ... @@ -824,7 +824,7 @@
824 824  
825 825  * (% style="color:#037691" %)**AT Command:**
826 826  
827 -**(% style="color:blue" %)AT+MOD=N  **
791 +(% style="color:blue" %)**AT+MOD=N  **
828 828  
829 829  
830 830  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
... ... @@ -832,11 +832,10 @@
832 832  
833 833  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
834 834  
835 -**(% style="color:blue" %)0x0A aa  (%%)  ** ~/~/ Same as AT+MOD=aa
799 +(% style="color:blue" %)**0x0A aa  **(%%)** ** ~/~/ Same as AT+MOD=aa
836 836  
837 837  
838 838  
839 -
840 840  ==== 3.4.2.3 Poll an uplink ====
841 841  
842 842  
... ... @@ -847,7 +847,7 @@
847 847  
848 848  * (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**
849 849  
850 -**(% style="color:blue" %)0x08 FF  (%%)   **~/~/ Poll an uplink
813 +(% style="color:blue" %)**0x08 FF  **(%%)** **~/~/ Poll an uplink
851 851  
852 852  
853 853  **Example**: 0x08FF, ask device to send an Uplink
... ... @@ -854,7 +854,6 @@
854 854  
855 855  
856 856  
857 -
858 858  ==== 3.4.2.4 Enable Trigger Mode ====
859 859  
860 860  
... ... @@ -862,20 +862,19 @@
862 862  
863 863  * (% style="color:#037691" %)**AT Command:**
864 864  
865 -**(% style="color:blue" %)AT+ADDMOD6=1 or 0**
827 +(% style="color:blue" %)**AT+ADDMOD6=1 or 0**
866 866  
867 -**(% style="color:red" %)1:** Enable Trigger Mode
829 +(% style="color:red" %)**1:** (%%)Enable Trigger Mode
868 868  
869 -**(% style="color:red" %)0: **Disable Trigger Mode
831 +(% style="color:red" %)**0: **(%%)Disable Trigger Mode
870 870  
871 871  
872 872  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):**
873 873  
874 -**(% style="color:blue" %)0x0A 06 aa    **(%%) ~/~/ Same as AT+ADDMOD6=aa
836 +(% style="color:blue" %)**0x0A 06 aa    **(%%) ~/~/ Same as AT+ADDMOD6=aa
875 875  
876 876  
877 877  
878 -
879 879  ==== 3.4.2.5 Poll trigger settings ====
880 880  
881 881  
... ... @@ -888,11 +888,10 @@
888 888  
889 889  * (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):**
890 890  
891 -**(% style="color:blue" %)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
892 892  
893 893  
894 894  
895 -
896 896  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
897 897  
898 898  
... ... @@ -900,7 +900,7 @@
900 900  
901 901  * (% style="color:#037691" %)**AT Command:**
902 902  
903 -**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
863 +(% style="color:blue" %)**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
904 904  
905 905  
906 906  **Example:**
... ... @@ -909,11 +909,10 @@
909 909  
910 910  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):**
911 911  
912 -**(% style="color:blue" %)0xAA 02 aa bb   ** (%%) ~/~/ Same as AT+DTRI=aa,bb
872 +(% style="color:blue" %)**0xAA 02 aa bb   ** (%%) ~/~/ Same as AT+DTRI=aa,bb
913 913  
914 914  
915 915  
916 -
917 917  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
918 918  
919 919  
... ... @@ -921,11 +921,11 @@
921 921  
922 922  * (% style="color:#037691" %)**AT Command:**
923 923  
924 -**(% style="color:blue" %)AT+TRIG1=a,b**
883 +(% style="color:blue" %)**AT+TRIG1=a,b**
925 925  
926 -**(% style="color:red" %)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).
927 927  
928 -**(% style="color:red" %)b :** (%%)delay timing.
887 +(% style="color:red" %)**b :** (%%)delay timing.
929 929  
930 930  
931 931  **Example:**
... ... @@ -934,8 +934,8 @@
934 934  
935 935  
936 936  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
937 -* **(% style="color:blue" %)0x09 01 aa bb cc    ** (%%) ~/~/ same as AT+TRIG1=aa,0x(bb cc)
938 938  
897 +(% style="color:blue" %)**0x09 01 aa bb cc    ** (%%) ~/~/ same as AT+TRIG1=aa,0x(bb cc)
939 939  
940 940  
941 941  
... ... @@ -946,14 +946,13 @@
946 946  
947 947  * (% style="color:#037691" %)**AT Command:**
948 948  
949 -**(% style="color:blue" %)AT+TRIG2=a,b**
908 +(% style="color:blue" %)**AT+TRIG2=a,b**
950 950  
910 +(% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
951 951  
952 -**(% style="color:red" %)a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
912 +(% style="color:red" %)**b :** (%%)delay timing.
953 953  
954 -**(% style="color:red" %)b :** (%%)delay timing.
955 955  
956 -
957 957  **Example:**
958 958  
959 959  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
... ... @@ -961,11 +961,10 @@
961 961  
962 962  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**
963 963  
964 -**(% style="color:blue" %)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)
965 965  
966 966  
967 967  
968 -
969 969  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
970 970  
971 971  
... ... @@ -973,16 +973,15 @@
973 973  
974 974  * (% style="color:#037691" %)**AT Command**
975 975  
976 -**(% style="color:blue" %)AT+ACLIM**
933 +(% style="color:blue" %)**AT+ACLIM**
977 977  
978 978  
979 979  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**
980 980  
981 -**(% 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"]]
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"]]
982 982  
983 983  
984 984  
985 -
986 986  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
987 987  
988 988  
... ... @@ -990,16 +990,15 @@
990 990  
991 991  * (% style="color:#037691" %)**AT Command**
992 992  
993 -**(% style="color:blue" %)AT+AVLIM  (%%) See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
949 +(% style="color:blue" %)**AT+AVLIM    **(%%)** See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
994 994  
995 995  
996 996  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**
997 997  
998 -**(% 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"]]
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"]]
999 999  
1000 1000  
1001 1001  
1002 -
1003 1003  ==== 3.4.2.11 Trigger – Set minimum interval ====
1004 1004  
1005 1005  
... ... @@ -1007,12 +1007,12 @@
1007 1007  
1008 1008  * (% style="color:#037691" %)**AT Command**
1009 1009  
1010 -**(% style="color:blue" %)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.
1011 1011  
1012 1012  
1013 1013  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
1014 1014  
1015 -**(% style="color:blue" %)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)
1016 1016  
1017 1017  (((
1018 1018  
... ... @@ -1022,7 +1022,6 @@
1022 1022  
1023 1023  
1024 1024  
1025 -
1026 1026  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
1027 1027  
1028 1028  
... ... @@ -1032,7 +1032,7 @@
1032 1032  
1033 1033  
1034 1034  * (% style="color:#037691" %)**Downlink Payload (prefix 0x02)**
1035 -* **(% style="color:blue" %)0x02 aa bb cc     ** (%%)~/~/ Set DO1/DO2/DO3 output
989 +* (% style="color:blue" %)**0x02 aa bb cc     ** (%%)~/~/ Set DO1/DO2/DO3 output
1036 1036  
1037 1037  (((
1038 1038  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
... ... @@ -1054,7 +1054,6 @@
1054 1054  
1055 1055  
1056 1056  
1057 -
1058 1058  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1059 1059  
1060 1060  
... ... @@ -1065,7 +1065,7 @@
1065 1065  
1066 1066  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**
1067 1067  
1068 -**(% style="color:blue" %)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
1069 1069  
1070 1070  
1071 1071  This is to control the digital output time of DO pin. Include four bytes:
... ... @@ -1098,6 +1098,14 @@
1098 1098  
1099 1099   Latching time. Unit: ms
1100 1100  
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 +
1101 1101  (% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1102 1102  
1103 1103  
... ... @@ -1121,10 +1121,9 @@
1121 1121  
1122 1122  
1123 1123  
1085 +==== 3.4.2. 14 Relay ~-~- Control Relay Output RO1/RO2 ====
1124 1124  
1125 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1126 1126  
1127 -
1128 1128  * (% style="color:#037691" %)**AT Command:**
1129 1129  
1130 1130  There is no AT Command to control Relay Output
... ... @@ -1132,7 +1132,7 @@
1132 1132  
1133 1133  * (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1134 1134  
1135 -**(% style="color:blue" %)0x03 aa bb     ** (%%)~/~/ Set RO1/RO2 output
1095 +(% style="color:blue" %)**0x03 aa bb     ** (%%)~/~/ Set RO1/RO2 output
1136 1136  
1137 1137  
1138 1138  (((
... ... @@ -1151,7 +1151,6 @@
1151 1151  
1152 1152  
1153 1153  
1154 -
1155 1155  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1156 1156  
1157 1157  
... ... @@ -1162,7 +1162,7 @@
1162 1162  
1163 1163  * (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1164 1164  
1165 -**(% style="color:blue" %)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
1166 1166  
1167 1167  
1168 1168  This is to control the relay output time of relay. Include four bytes:
... ... @@ -1183,12 +1183,20 @@
1183 1183  
1184 1184  (% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms
1185 1185  
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 +
1186 1186  (% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1187 1187  
1188 1188  
1189 1189  **Example payload:**
1190 1190  
1191 -**~1. 05 01 11 07 D**
1158 +**~1. 05 01 11 07 D0**
1192 1192  
1193 1193  Relay1 and Relay 2 will be set to NC , last 2 seconds, then change back to original state.
1194 1194  
... ... @@ -1213,35 +1213,33 @@
1213 1213  
1214 1214  * (% style="color:#037691" %)**AT Command:**
1215 1215  
1216 -**(% style="color:blue" %)AT+VOLMAX   ** (%%)~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1183 +(% style="color:blue" %)**AT+VOLMAX   ** (%%)~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1217 1217  
1218 1218  
1219 1219  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1220 1220  
1221 -**(% style="color:blue" %)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
1222 1222  
1223 1223  
1224 1224  
1225 -
1226 1226  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1227 1227  
1228 1228  
1229 1229  * (% style="color:#037691" %)**AT Command:**
1230 1230  
1231 -**(% style="color:blue" %)AT+SETCNT=aa,(bb cc dd ee) **
1197 +(% style="color:blue" %)**AT+SETCNT=aa,(bb cc dd ee) **
1232 1232  
1233 -**(% style="color:red" %)aa:**(%%) 1: Set count1; 2: Set count2; 3: Set AV1 count
1199 +(% style="color:red" %)**aa:**(%%) 1: Set count1; 2: Set count2; 3: Set AV1 count
1234 1234  
1235 -**(% style="color:red" %)bb cc dd ee: **(%%)number to be set
1201 +(% style="color:red" %)**bb cc dd ee: **(%%)number to be set
1236 1236  
1237 1237  
1238 1238  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**
1239 1239  
1240 -**(% style="color:blue" %)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)
1241 1241  
1242 1242  
1243 1243  
1244 -
1245 1245  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1246 1246  
1247 1247  
... ... @@ -1249,27 +1249,26 @@
1249 1249  
1250 1250  * (% style="color:#037691" %)**AT Command:**
1251 1251  
1252 -**(% style="color:blue" %)AT+CLRCOUNT **(%%) ~/~/ clear all counting
1217 +(% style="color:blue" %)**AT+CLRCOUNT **(%%) ~/~/ clear all counting
1253 1253  
1254 1254  
1255 1255  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1256 1256  
1257 -**(% style="color:blue" %)0x A6 01    ** (%%)~/~/ clear all counting
1222 +(% style="color:blue" %)**0x A6 01    ** (%%)~/~/ clear all counting
1258 1258  
1259 1259  
1260 1260  
1261 -
1262 1262  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1263 1263  
1264 1264  
1265 1265  * (% style="color:#037691" %)**AT Command:**
1266 1266  
1267 -**(% 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)
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)
1268 1268  
1269 1269  
1270 1270  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):**
1271 1271  
1272 -**(% style="color:blue" %)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,
1273 1273  
1274 1274  (((
1275 1275  range: aa bb cc:0 to 16777215,  (unit:second)
... ... @@ -1277,22 +1277,20 @@
1277 1277  
1278 1278  
1279 1279  
1244 +==== 3.4.2.20 Reset save RO DO state ====
1280 1280  
1281 -==== 3.4.2.20 Reset save DR DO state ====
1282 1282  
1283 -
1284 1284  * (% style="color:#037691" %)**AT Command:**
1285 1285  
1286 -**(% style="color:blue" %)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)
1287 1287  
1288 -**(% style="color:blue" %)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.
1289 1289  
1290 1290  
1291 1291  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAD):**
1292 1292  
1293 -**(% style="color:blue" %)0x AD aa      ** (%%)~/~/ same as AT+RODORET =aa
1256 +(% style="color:blue" %)**0x AD aa      ** (%%)~/~/ same as AT+RODORET =aa
1294 1294  
1295 -
1296 1296  
1297 1297  
1298 1298  ==== 3.4.2.21 Encrypted payload ====
... ... @@ -1300,60 +1300,56 @@
1300 1300  
1301 1301  * (% style="color:#037691" %)**AT Command:**
1302 1302  
1303 -**(% style="color:blue" %)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 -**(% style="color:blue" %)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 -**(% style="color:blue" %)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 -**(% style="color:blue" %)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 -**(% 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)
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 -**(% 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.
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 -**(% 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)
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 -**(% 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.
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 -**(% style="color:blue" %)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 -**(% 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.
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 -**(% style="color:blue" %)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]]  ,this is [[firmware>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AADKXQ2v5ZT-S3sxdmbvE7UAa/LT-22222-L/image?dl=0&subfolder_nav_tracking=1]].
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,7 +2225,7 @@
2225 2225  * (% style="color:red" %)**IN865**(%%):  LT with frequency bands IN865
2226 2226  * (% style="color:red" %)**CN779**(%%):  LT with frequency bands CN779
2227 2227  
2228 -= 8. Packing Info =
2168 += 9. Packing Info =
2229 2229  
2230 2230  
2231 2231  **Package Includes**:
... ... @@ -2242,7 +2242,7 @@
2242 2242  * Package Size / pcs : 14.5 x 8 x 5 cm
2243 2243  * Weight / pcs : 170g
2244 2244  
2245 -= 9. Support =
2185 += 10. Support =
2246 2246  
2247 2247  
2248 2248  * (((
... ... @@ -2252,13 +2252,14 @@
2252 2252  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]]
2253 2253  
2254 2254  
2255 -
2256 2256  
2257 2257  )))
2258 2258  
2259 -= 10. Reference​​​​​ =
2198 += 11. Reference​​​​​ =
2260 2260  
2261 2261  
2262 2262  * 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]]
2263 2263  * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]]
2264 2264  * [[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