Changes for page RS485-LN – RS485 to LoRaWAN Converter User Manual
Last modified by Bei Jinggeng on 2025/01/16 11:36
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -12,11 +12,6 @@ 12 12 13 13 14 14 15 - 16 - 17 - 18 - 19 - 20 20 **Table of Contents:** 21 21 22 22 {{toc/}} ... ... @@ -338,6 +338,9 @@ 338 338 ))) 339 339 ))) 340 340 336 + 337 + 338 + 341 341 === 3.3.2 Configure sensors === 342 342 343 343 ((( ... ... @@ -363,6 +363,8 @@ 363 363 )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m 364 364 365 365 364 + 365 + 366 366 === 3.3.3 Configure read commands for each sampling === 367 367 368 368 ((( ... ... @@ -715,7 +715,7 @@ 715 715 * ((( 716 716 (% style="color:#037691" %)**AT Command:** 717 717 718 -**AT+PAYVER: 718 +**AT+PAYVER: **Set PAYVER field = 1 719 719 720 720 721 721 ))) ... ... @@ -752,9 +752,9 @@ 752 752 (% style="color:#037691" %)**AT Command:** 753 753 ))) 754 754 755 -**AT+COMMANDx: 755 +**AT+COMMANDx: **Configure RS485 read command to sensor. 756 756 757 -**AT+DATACUTx: 757 +**AT+DATACUTx: **Configure how to handle return from RS485 devices. 758 758 759 759 760 760 * ((( ... ... @@ -817,7 +817,7 @@ 817 817 ==== (% style="color:blue" %)**Fast command to handle MODBUS device**(%%) ==== 818 818 819 819 ((( 820 - **AT+MBFUN**is valid since v1.3 firmware version. The command is for fast configure to read Modbus devices. It is only valid for the devices which follow the [[MODBUS-RTU protocol>>url:https://www.modbustools.com/modbus.html]].820 +AT+MBFUN is valid since v1.3 firmware version. The command is for fast configure to read Modbus devices. It is only valid for the devices which follow the [[MODBUS-RTU protocol>>url:https://www.modbustools.com/modbus.html]]. 821 821 ))) 822 822 823 823 ((( ... ... @@ -867,13 +867,16 @@ 867 867 868 868 * ((( 869 869 (% style="color:#037691" %)** AT Command:** 870 +))) 870 870 872 +(% class="box infomessage" %) 873 +((( 874 +((( 871 871 **AT+CMDDLaa=hex(bb cc)*1000** 872 872 ))) 877 +))) 873 873 874 874 ((( 875 - 876 - 877 877 **Example:** 878 878 ))) 879 879 ... ... @@ -898,11 +898,11 @@ 898 898 ))) 899 899 900 900 ((( 901 -**Example:** 904 + **Example:** 902 902 ))) 903 903 904 904 ((( 905 - **0xAA 01 00 01**908 + 0xAA 01 00 01 ~-~-> Same as **AT+CMDDL1=1000 ms** 906 906 ))) 907 907 908 908 ... ... @@ -916,8 +916,6 @@ 916 916 917 917 ((( 918 918 The use of this command please see: [[Compose Uplink payload>>||anchor="H3.3.4Composetheuplinkpayload"]] 919 - 920 - 921 921 ))) 922 922 923 923 * ((( ... ... @@ -977,8 +977,6 @@ 977 977 978 978 ((( 979 979 The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them. 980 - 981 - 982 982 ))) 983 983 984 984 * ((( ... ... @@ -1030,35 +1030,35 @@ 1030 1030 ))) 1031 1031 1032 1032 ((( 1033 - 1034 - 1035 -* Set Baud Rate 1032 +Set Baud Rate: 1036 1036 ))) 1037 1037 1035 + 1038 1038 **AT+BAUDR=9600** ~/~/ Options: (1200,2400,4800,14400,19200,115200) 1039 1039 1040 1040 1041 1041 ((( 1042 - *Set UART Parity1040 +Set UART Parity 1043 1043 ))) 1044 1044 1043 + 1045 1045 **AT+PARITY=0** ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity 1046 1046 1047 1047 1048 1048 ((( 1049 - *Set STOPBIT1048 +Set STOPBIT 1050 1050 ))) 1051 1051 1051 + 1052 1052 **AT+STOPBIT=0** ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits 1053 1053 1054 1054 1055 - 1056 1056 * ((( 1057 1057 (% style="color:#037691" %)** Downlink Payload:** 1058 1058 ))) 1059 1059 1060 1060 ((( 1061 -**A7 01 aa bb**: 1060 +**A7 01 aa bb**: Same AT+BAUDR=hex(aa bb)*100 1062 1062 ))) 1063 1063 1064 1064 ((( ... ... @@ -1073,11 +1073,11 @@ 1073 1073 ))) 1074 1074 1075 1075 ((( 1076 -A7 02 aa: 1075 +A7 02 aa: Same as AT+PARITY=aa (aa value: 00 , 01 or 02) 1077 1077 ))) 1078 1078 1079 1079 ((( 1080 -A7 03 aa: 1079 +A7 03 aa: Same as AT+STOPBIT=aa (aa value: 00 , 01 or 02) 1081 1081 ))) 1082 1082 1083 1083 ... ... @@ -1131,7 +1131,7 @@ 1131 1131 ))) 1132 1132 1133 1133 ((( 1134 - (% style="color:#037691" %)**1133 +**Downlink Command:** 1135 1135 ))) 1136 1136 1137 1137 ((( ... ... @@ -1229,24 +1229,38 @@ 1229 1229 1230 1230 == 5.2 Common AT Command Sequence == 1231 1231 1232 - 1233 1233 === 5.2.1 Multi-channel ABP mode (Use with SX1301/LG308) === 1234 1234 1235 1235 If device has not joined network yet: 1236 1236 1237 -* (% style="color:#037691" %)**AT+FDR** 1238 -* (% style="color:#037691" %)**AT+NJM=0** 1239 -* (% style="color:#037691" %)**ATZ** 1235 +(% class="box infomessage" %) 1236 +((( 1237 +**AT+FDR** 1238 +))) 1240 1240 1240 +(% class="box infomessage" %) 1241 1241 ((( 1242 - 1242 +**AT+NJM=0** 1243 +))) 1243 1243 1245 +(% class="box infomessage" %) 1246 +((( 1247 +**ATZ** 1248 +))) 1249 + 1250 + 1251 +((( 1244 1244 If device already joined network: 1253 +))) 1245 1245 1246 -* (% style="color:#037691" %)**AT+NJM=0** 1247 -* (% style="color:#037691" %)**ATZ** 1255 +(% class="box infomessage" %) 1256 +((( 1257 +**AT+NJM=0** 1258 +))) 1248 1248 1249 - 1260 +(% class="box infomessage" %) 1261 +((( 1262 +**ATZ** 1250 1250 ))) 1251 1251 1252 1252 ... ... @@ -1253,25 +1253,25 @@ 1253 1253 === 5.5.2 Single-channel ABP mode (Use with LG01/LG02) === 1254 1254 1255 1255 1256 -(% style="background-color:#dcdcdc" %)**AT+FDR** (%%) 1269 +(% style="background-color:#dcdcdc" %)**AT+FDR** (%%) Reset Parameters to Factory Default, Keys Reserve 1257 1257 1258 -(% style="background-color:#dcdcdc" %)**AT+NJM=0 **(%%) 1271 +(% style="background-color:#dcdcdc" %)**AT+NJM=0 **(%%)Set to ABP mode 1259 1259 1260 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) 1273 +(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%)Set the Adaptive Data Rate Off 1261 1261 1262 -(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) 1275 +(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%)Set Data Rate 1263 1263 1264 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000** (%%) 1277 +(% style="background-color:#dcdcdc" %)**AT+TDC=60000** (%%) Set transmit interval to 60 seconds 1265 1265 1266 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) 1279 +(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) Set transmit frequency to 868.4Mhz 1267 1267 1268 -(% style="background-color:#dcdcdc" %)**AT+RX2FQ=868400000** (%%) 1281 +(% style="background-color:#dcdcdc" %)**AT+RX2FQ=868400000** (%%) Set RX2Frequency to 868.4Mhz (according to the result from server) 1269 1269 1270 -(% style="background-color:#dcdcdc" %)**AT+RX2DR=5** (%%) 1283 +(% style="background-color:#dcdcdc" %)**AT+RX2DR=5** (%%) Set RX2DR to match the downlink DR from server. see below 1271 1271 1272 -(% style="background-color:#dcdcdc" %)**AT+DADDR=26** (%%) 1285 +(% style="background-color:#dcdcdc" %)**AT+DADDR=26** (%%) 01 1A F1 Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal. 1273 1273 1274 -(% style="background-color:#dcdcdc" %)**ATZ** (%%) 1287 +(% style="background-color:#dcdcdc" %)**ATZ** (%%) Reset MCU 1275 1275 1276 1276 1277 1277 (% style="color:red" %)**Note:** ... ... @@ -1311,15 +1311,15 @@ 1311 1311 (% aria-label="1654162535040-878.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654162535040-878.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 1312 1312 1313 1313 ((( 1314 - (% style="color:blue" %)**Step1**(%%)**:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]].1327 +**Step1:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]]. 1315 1315 ))) 1316 1316 1317 1317 ((( 1318 - (% style="color:blue" %)**Step2**(%%)**:**Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].1331 +**Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]. 1319 1319 ))) 1320 1320 1321 1321 ((( 1322 - (% style="color:blue" %)**Step3**(%%)**: **Open flashloader; choose the correct COM port to update.1335 +**Step3: **Open flashloader; choose the correct COM port to update. 1323 1323 ))) 1324 1324 1325 1325 ((( ... ... @@ -1340,7 +1340,7 @@ 1340 1340 (% aria-label="image-20220602175912-14.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602175912-14.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 1341 1341 1342 1342 1343 - (% style="color:red" %)**Notice**: In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is:1356 +**Notice**: In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is: 1344 1344 1345 1345 (% aria-label="image-20220602175638-10.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602175638-10.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 1346 1346 ... ... @@ -1380,16 +1380,16 @@ 1380 1380 1381 1381 (% style="color:blue" %)**XXX:** 1382 1382 1383 -* (% style="color: red" %)**EU433**(%%):1384 -* (% style="color: red" %)**EU868**(%%):1385 -* (% style="color: red" %)**KR920**(%%):1386 -* (% style="color: red" %)**CN470**(%%):1387 -* (% style="color: red" %)**AS923**(%%):1388 -* (% style="color: red" %)**AU915**(%%):1389 -* (% style="color: red" %)**US915**(%%):1390 -* (% style="color: red" %)**IN865**(%%):1391 -* (% style="color: red" %)**RU864**(%%):1392 -* (% style="color: red" %)**KZ865**(%%):1396 +* (% style="color:blue" %)**EU433**(%%): frequency bands EU433 1397 +* (% style="color:blue" %)**EU868**(%%): frequency bands EU868 1398 +* (% style="color:blue" %)**KR920**(%%): frequency bands KR920 1399 +* (% style="color:blue" %)**CN470**(%%): frequency bands CN470 1400 +* (% style="color:blue" %)**AS923**(%%): frequency bands AS923 1401 +* (% style="color:blue" %)**AU915**(%%): frequency bands AU915 1402 +* (% style="color:blue" %)**US915**(%%): frequency bands US915 1403 +* (% style="color:blue" %)**IN865**(%%): frequency bands IN865 1404 +* (% style="color:blue" %)**RU864**(%%): frequency bands RU864 1405 +* (% style="color:blue" %)**KZ865**(%%): frequency bands KZ865 1393 1393 1394 1394 = 9.Packing Info = 1395 1395 ... ... @@ -1422,7 +1422,7 @@ 1422 1422 ))) 1423 1423 1424 1424 ((( 1425 - (% style="color:red" %)**IMPORTANT NOTE:**1438 +**IMPORTANT NOTE:** 1426 1426 ))) 1427 1427 1428 1428 ((( ... ... @@ -1450,7 +1450,7 @@ 1450 1450 ))) 1451 1451 1452 1452 ((( 1453 - (% style="color:red" %)**FCC Radiation Exposure Statement:**1466 +**FCC Radiation Exposure Statement:** 1454 1454 ))) 1455 1455 1456 1456 (((