Changes for page RS485-LN – RS485 to LoRaWAN Converter User Manual
Last modified by Bei Jinggeng on 2025/01/16 11:36
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -28,7 +28,7 @@ 28 28 29 29 30 30 31 -= 1.Introduction = 31 += 1. Introduction = 32 32 33 33 == 1.1 What is RS485-LN RS485 to LoRaWAN Converter == 34 34 ... ... @@ -122,7 +122,6 @@ 122 122 [[RS485-LN Image files – Download link and Change log>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/]] 123 123 124 124 125 - 126 126 == 1.6 Hardware Change log == 127 127 128 128 ... ... @@ -283,12 +283,12 @@ 283 283 To use RS485-LN to read data from RS485 sensors, connect the RS485-LN A/B traces to the sensors. And user need to make sure RS485-LN use the match UART setting to access the sensors. The related commands for UART settings are: 284 284 285 285 286 -(% border="1" cellspacing="5" style="background-color:#fff fcc;color:green;width:510px" %)287 -|=(% style="width: 1 10px;" %)(((285 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 286 +|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)((( 288 288 **AT Commands** 289 -)))|=(% style="width: 2 10px;" %)(((288 +)))|=(% style="width: 200px;background-color:#D9E2F3;color:#0070C0" %)((( 290 290 **Description** 291 -)))|=(% style="width: 190px;" %)((( 290 +)))|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)((( 292 292 **Example** 293 293 ))) 294 294 |(% style="width:110px" %)((( ... ... @@ -352,8 +352,8 @@ 352 352 ))) 353 353 ))) 354 354 355 -(% border="1" cellspacing="5" style="background-color:#fff fcc;color:green;width:510px" %)356 -|=(% style="width: 110px;" %)**AT Commands**|=(% style="width: 210px;" %)**Description**|=(% style="width: 190px;" %)**Example** 354 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 355 +|=(% style="width: 110px;background-color:#D9E2F3;color:#0070C0" %)**AT Commands**|=(% style="width: 210px;background-color:#D9E2F3;color:#0070C0" %)**Description**|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)**Example** 357 357 |AT+CFGDEV|(% style="width:110px" %)((( 358 358 ((( 359 359 This command is used to configure the RS485/TTL devices; they won’t be used during sampling. ... ... @@ -605,7 +605,6 @@ 605 605 ))) 606 606 607 607 608 - 609 609 === 3.5.1 Common Commands === 610 610 611 611 ... ... @@ -751,7 +751,6 @@ 751 751 752 752 753 753 754 - 755 755 ==== (% style="color:blue" %)**Set Payload version**(%%) ==== 756 756 757 757 ... ... @@ -794,7 +794,6 @@ 794 794 795 795 796 796 797 - 798 798 ==== (% style="color:blue" %)**Set RS485 Sampling Commands**(%%) ==== 799 799 800 800 ... ... @@ -879,7 +879,6 @@ 879 879 880 880 881 881 882 - 883 883 ==== (% style="color:blue" %)**Fast command to handle MODBUS device**(%%) ==== 884 884 885 885 ... ... @@ -923,7 +923,6 @@ 923 923 924 924 925 925 926 - 927 927 ==== (% style="color:blue" %)**RS485 command timeout**(%%) ==== 928 928 929 929 ... ... @@ -960,7 +960,7 @@ 960 960 ))) 961 961 962 962 ((( 963 -(% style="color:#4472c4" %)** 0x AA aa bb cc**(%%) Same as: AT+CMDDLaa=hex(bb cc) *1000957 +(% style="color:#4472c4" %)** 0x AA aa bb cc**(%%) Same as: AT+CMDDLaa=hex (bb cc) 964 964 ))) 965 965 966 966 ((( ... ... @@ -970,12 +970,11 @@ 970 970 ))) 971 971 972 972 ((( 973 -**0xAA 01 0 001** ~-~-> Same as **AT+CMDDL1=1000 ms**967 +**0xAA 01 03 E8** ~-~-> Same as **AT+CMDDL1=1000 ms** 974 974 ))) 975 975 976 976 977 977 978 - 979 979 ==== (% style="color:blue" %)**Uplink payload mode**(%%) ==== 980 980 981 981 ... ... @@ -1030,7 +1030,6 @@ 1030 1030 1031 1031 1032 1032 1033 - 1034 1034 ==== (% style="color:blue" %)**Manually trigger an Uplink**(%%) ==== 1035 1035 1036 1036 ... ... @@ -1060,7 +1060,6 @@ 1060 1060 1061 1061 1062 1062 1063 - 1064 1064 ==== (% style="color:blue" %)**Clear RS485 Command**(%%) ==== 1065 1065 1066 1066 ... ... @@ -1109,7 +1109,6 @@ 1109 1109 1110 1110 1111 1111 1112 - 1113 1113 ==== (% style="color:blue" %)**Set Serial Communication Parameters**(%%) ==== 1114 1114 1115 1115 ... ... @@ -1193,7 +1193,7 @@ 1193 1193 1194 1194 1195 1195 1196 -==== (% style="color:blue" %)**Encrypted payload**(%%) ==== 1186 +==== (% style="color:blue" %)**Encrypted payload(Since Version 1.4.0)**(%%) ==== 1197 1197 1198 1198 ((( 1199 1199 ... ... @@ -1209,10 +1209,9 @@ 1209 1209 1210 1210 1211 1211 1202 +==== (% style="color:blue" %)**Get sensor value(Since Version 1.4.0)**(%%) ==== 1212 1212 1213 -==== (% style="color:blue" %)**Get sensor value**(%%) ==== 1214 1214 1215 - 1216 1216 * ((( 1217 1217 (% style="color:#037691" %)** AT Command:** 1218 1218 ))) ... ... @@ -1223,10 +1223,9 @@ 1223 1223 1224 1224 1225 1225 1215 +==== (% style="color:blue" %)**Resets the downlink packet count(Since Version 1.4.0)**(%%) ==== 1226 1226 1227 -==== (% style="color:blue" %)**Resets the downlink packet count**(%%) ==== 1228 1228 1229 - 1230 1230 * ((( 1231 1231 (% style="color:#037691" %)** AT Command:** 1232 1232 ))) ... ... @@ -1237,10 +1237,9 @@ 1237 1237 1238 1238 1239 1239 1228 +==== (% style="color:blue" %)**When the limit bytes are exceeded, upload in batches(Since Version 1.4.0)**(%%) ==== 1240 1240 1241 -==== (% style="color:blue" %)**When the limit bytes are exceeded, upload in batches**(%%) ==== 1242 1242 1243 - 1244 1244 * ((( 1245 1245 (% style="color:#037691" %)** AT Command:** 1246 1246 ))) ... ... @@ -1258,10 +1258,9 @@ 1258 1258 1259 1259 1260 1260 1248 +==== (% style="color:blue" %)**Copy downlink to uplink (Since Version 1.4.0)**(%%) ==== 1261 1261 1262 -==== (% style="color:blue" %)** Copy downlink to uplink **(%%) ==== 1263 1263 1264 - 1265 1265 * ((( 1266 1266 (% style="color:#037691" %)** AT Command:** 1267 1267 ))) ... ... @@ -1283,10 +1283,9 @@ 1283 1283 1284 1284 1285 1285 1272 +==== (% style="color:blue" %)**Query version number and frequency band 、TDC(Since Version 1.4.0)**(%%) ==== 1286 1286 1287 -==== (% style="color:blue" %)**Query version number and frequency band 、TDC**(%%) ==== 1288 1288 1289 - 1290 1290 ((( 1291 1291 * (% style="color:#037691" %)**Downlink Payload:** 1292 1292 ... ... @@ -1301,10 +1301,9 @@ 1301 1301 1302 1302 1303 1303 1289 +==== (% style="color:blue" %)** Monitor RS485 communication of other devices(Since Version 1.4.0)**(%%) ==== 1304 1304 1305 -==== (% style="color:blue" %)** Monitor RS485 communication of other devices**(%%) ==== 1306 1306 1307 - 1308 1308 * ((( 1309 1309 (% style="color:#037691" %)** AT Command:** 1310 1310 ))) ... ... @@ -1502,8 +1502,6 @@ 1502 1502 1503 1503 * (% style="color:#037691" %)**AT+NJM=0** 1504 1504 * (% style="color:#037691" %)**ATZ** 1505 - 1506 - 1507 1507 ))) 1508 1508 1509 1509 ... ... @@ -1705,7 +1705,7 @@ 1705 1705 1706 1706 RS485-LN sent below command: 1707 1707 1708 -(% style="color:blue" %)**AT+CFGDEV=01 03 20 00 01 85 c0,1**(%%) to RS485 network, and PC is able to get this command and return commands from MTU to show in the serial tool.1690 +(% style="color:blue" %)**AT+CFGDEV=01 03 00 20 00 01,1**(%%) to RS485 network, and PC is able to get this command and return commands from MTU to show in the serial tool. 1709 1709 1710 1710 1711 1711 We can see the output from the Serial port tool to analyze. And check if they are expected result. ... ... @@ -1757,6 +1757,7 @@ 1757 1757 1758 1758 == 6.8 Where to get the decoder for RS485-LN? == 1759 1759 1742 + 1760 1760 The decoder for RS485-LN needs to be written by yourself. Because the sensor to which the user is connected is custom, the read device data bytes also need custom parsing, so there is no universal decoder. We can only provide [[templates>>https://github.com/dragino/dragino-end-node-decoder/tree/main/RS485-LN]] for decoders (no intermediate data parsing part involved) 1761 1761 1762 1762 ... ... @@ -1792,7 +1792,7 @@ 1792 1792 * (% style="color:red" %)**RU864**(%%): frequency bands RU864 1793 1793 * (% style="color:red" %)**KZ865**(%%): frequency bands KZ865 1794 1794 1795 -= 9.Packing Info = 1778 += 9. Packing Info = 1796 1796 1797 1797 1798 1798 **Package Includes**: