<
From version < 102.3 >
edited by Xiaoling
on 2022/10/29 09:54
To version < 110.1 >
edited by Bei Jinggeng
on 2022/12/22 09:19
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Bei
Content
... ... @@ -64,7 +64,7 @@
64 64  )))
65 65  
66 66  * (((
67 -STM32L072CZT6 MCU
67 +STM32L072xxxx MCU
68 68  )))
69 69  * (((
70 70  SX1276/78 Wireless Chip 
... ... @@ -187,8 +187,6 @@
187 187  * Counting
188 188  
189 189  
190 -
191 -
192 192  == 1.4  Applications ==
193 193  
194 194  
... ... @@ -200,8 +200,6 @@
200 200  * Smart Factory
201 201  
202 202  
203 -
204 -
205 205  == 1.5 Hardware Variants ==
206 206  
207 207  
... ... @@ -217,8 +217,6 @@
217 217  )))
218 218  
219 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  
... ... @@ -317,8 +317,6 @@
317 317  * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5
318 318  
319 319  
320 -
321 -
322 322  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
323 323  
324 324  
... ... @@ -376,8 +376,6 @@
376 376  ** DO1 LED is off in both case
377 377  
378 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  
... ... @@ -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  
... ... @@ -784,7 +784,6 @@
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 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 **
785 +(% 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)**
793 +(% 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  **
804 +(% 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
812 +(% 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
826 +(% 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,16 +862,16 @@
862 862  
863 863  * (% style="color:#037691" %)**AT Command:**
864 864  
865 -**(% style="color:blue" %)AT+ADDMOD6=1 or 0**
840 +(% style="color:blue" %)**AT+ADDMOD6=1 or 0**
866 866  
867 -**(% style="color:red" %)1:** Enable Trigger Mode
842 +(% style="color:red" %)**1:** (%%)Enable Trigger Mode
868 868  
869 -**(% style="color:red" %)0: **Disable Trigger Mode
844 +(% 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
849 +(% style="color:blue" %)**0x0A 06 aa    **(%%) ~/~/ Same as AT+ADDMOD6=aa
875 875  
876 876  
877 877  
... ... @@ -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
866 +(% 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 >**
877 +(% 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
886 +(% 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**
897 +(% 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).
899 +(% 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.
901 +(% 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  
911 +(% 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**
922 +(% style="color:blue" %)**AT+TRIG2=a,b**
950 950  
924 +(% 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).
926 +(% 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)
936 +(% 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**
947 +(% 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"]]
952 +(% 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"]]**
963 +(% 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"]]
968 +(% 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.
979 +(% 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)
984 +(% 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
1003 +* (% 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
1035 +(% 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,13 @@
1098 1098  
1099 1099   Latching time. Unit: ms
1100 1100  
1068 +Note:
1069 +
1070 + Since Firmware v1.6.0, the latch time support 4 bytes and 2 bytes
1071 +
1072 + Before Firmwre v1.6.0 the latch time only suport 2 bytes.
1073 +
1074 +
1101 1101  (% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1102 1102  
1103 1103  
... ... @@ -1121,7 +1121,6 @@
1121 1121  
1122 1122  
1123 1123  
1124 -
1125 1125  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1126 1126  
1127 1127  
... ... @@ -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
1108 +(% style="color:blue" %)**0x03 aa bb     ** (%%)~/~/ Set RO1/RO2 output
1136 1136  
1137 1137  
1138 1138  (((
... ... @@ -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
1138 +(% 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,6 +1183,13 @@
1183 1183  
1184 1184  (% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms
1185 1185  
1159 +Note:
1160 +
1161 + Since Firmware v1.6.0, the latch time support 4 bytes and 2 bytes
1162 +
1163 + Before Firmwre v1.6.0 the latch time only suport 2 bytes.
1164 +
1165 +
1186 1186  (% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1187 1187  
1188 1188  
... ... @@ -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"]]
1196 +(% 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
1201 +(% 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) **
1210 +(% 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
1212 +(% 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
1214 +(% 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)
1219 +(% 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
1230 +(% 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
1235 +(% 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)
1244 +(% 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,
1249 +(% 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  
1257 +==== 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)
1262 +(% 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.
1264 +(% 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
1269 +(% 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,33 +1300,31 @@
1300 1300  
1301 1301  * (% style="color:#037691" %)**AT Command:**
1302 1302  
1303 -**(% style="color:blue" %)AT+DECRYPT=1  ** (%%)~/~/ The payload is uploaded without encryption
1278 +(% 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)
1280 +(% 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
1289 +(% 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.
1291 +(% 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)
1300 +(% 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.
1302 +(% 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  
... ... @@ -1336,14 +1336,14 @@
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)
1312 +(% 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.
1314 +(% 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
1319 +(% style="color:blue" %)**0x21 00 01 ** (%%) ~/~/ Set  the DISMACANS=1
1347 1347  
1348 1348  
1349 1349  
... ... @@ -1353,7 +1353,7 @@
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.
1329 +(% 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.
1352 +(% 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  
... ... @@ -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.
1545 +**NPN output**: GND or Float. Max voltage can apply to output pin is 36v.
1580 1580  
1547 +Note: DO pins go to float when device is power off.
1548 +
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:
1587 +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:
1588 +
1589 +**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  
... ... @@ -1637,7 +1637,6 @@
1637 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  (((
... ... @@ -1987,7 +1987,7 @@
1987 1987  
1988 1988  
1989 1989  (((
1990 -(% style="color:blue" %)If sensor JOINED:
1953 +(% style="color:blue" %)**If sensor JOINED:**
1991 1991  
1992 1992  (% style="background-color:#dcdcdc" %)**AT+CLASS=A
1993 1993  ATZ**
... ... @@ -1994,10 +1994,8 @@
1994 1994  )))
1995 1995  
1996 1996  
1997 -
1998 1998  = 5. FAQ =
1999 1999  
2000 -
2001 2001  == 5.1 How to upgrade the image? ==
2002 2002  
2003 2003  
... ... @@ -2041,8 +2041,6 @@
2041 2041  
2042 2042  (((
2043 2043  (((
2044 -
2045 -
2046 2046  == 5.2 How to change the LoRa Frequency Bands/Region? ==
2047 2047  
2048 2048  
... ... @@ -2056,7 +2056,6 @@
2056 2056  (((
2057 2057  
2058 2058  
2059 -
2060 2060  == 5.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? ==
2061 2061  
2062 2062  
... ... @@ -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,7 +2121,6 @@
2121 2121  [[image:1653360498588-932.png||height="485" width="726"]]
2122 2122  
2123 2123  
2124 -
2125 2125  == 5.4 Can I see counting event in Serial? ==
2126 2126  
2127 2127  
... ... @@ -2129,13 +2129,11 @@
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  
2132 -
2133 2133  == 5.5 Can i use point to point communication for LT-22222-L? ==
2134 2134  
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]].
2091 +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]].
2137 2137  
2138 -
2139 2139  
2140 2140  )))
2141 2141  
... ... @@ -2152,7 +2152,6 @@
2152 2152  After restart, the status before power failure will be read from flash.
2153 2153  
2154 2154  
2155 -
2156 2156  == 5.7 Can i set up LT-22222-L as a NC(Normal Close) Relay? ==
2157 2157  
2158 2158  
... ... @@ -2162,10 +2162,13 @@
2162 2162  [[image:image-20221006170630-1.png||height="610" width="945"]]
2163 2163  
2164 2164  
2118 +== 5.8 Can LT22222-L save RO state? ==
2165 2165  
2166 -= 6. Trouble Shooting =
2167 2167  
2168 -
2121 +Firmware version needs to be no less than 1.6.0.
2122 +
2123 +
2124 += 6. Trouble Shooting =
2169 2169  )))
2170 2170  
2171 2171  (((
... ... @@ -2183,7 +2183,6 @@
2183 2183  (((
2184 2184  
2185 2185  
2186 -
2187 2187  == 6.2 Have trouble to upload image. ==
2188 2188  
2189 2189  
... ... @@ -2196,7 +2196,6 @@
2196 2196  (((
2197 2197  
2198 2198  
2199 -
2200 2200  == 6.3 Why I can't join TTN in US915 /AU915 bands? ==
2201 2201  
2202 2202  
... ... @@ -2207,7 +2207,6 @@
2207 2207  )))
2208 2208  
2209 2209  
2210 -
2211 2211  = 7. Order Info =
2212 2212  
2213 2213  
... ... @@ -2225,6 +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  
2181 +
2228 2228  = 8. Packing Info =
2229 2229  
2230 2230  
... ... @@ -2242,6 +2242,7 @@
2242 2242  * Package Size / pcs : 14.5 x 8 x 5 cm
2243 2243  * Weight / pcs : 170g
2244 2244  
2199 +
2245 2245  = 9. Support =
2246 2246  
2247 2247  
... ... @@ -2252,7 +2252,6 @@
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  
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