<
From version < 98.1 >
edited by Bei Jinggeng
on 2022/12/06 09:45
To version < 102.5 >
edited by Xiaoling
on 2023/04/25 11:00
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +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  
... ... @@ -94,7 +94,6 @@
94 94  * Automatic RF Sense and CAD with ultra-fast AFC.
95 95  * Packet engine up to 256 bytes with CRC
96 96  
97 -
98 98  == 1.3 Features ==
99 99  
100 100  
... ... @@ -107,7 +107,6 @@
107 107  * Support Modbus protocol
108 108  * Support Interrupt uplink (Since hardware version v1.2)
109 109  
110 -
111 111  == 1.4 Applications ==
112 112  
113 113  
... ... @@ -118,7 +118,6 @@
118 118  * Smart Cities
119 119  * Smart Factory
120 120  
121 -
122 122  == 1.5 Firmware Change log ==
123 123  
124 124  
... ... @@ -125,7 +125,6 @@
125 125  [[RS485-LN Image files – Download link and Change log>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/]]
126 126  
127 127  
128 -
129 129  == 1.6 Hardware Change log ==
130 130  
131 131  
... ... @@ -286,17 +286,17 @@
286 286  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:
287 287  
288 288  
289 -(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:510px" %)
290 -|=(% style="width: 110px;" %)(((
285 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %)
286 +|=(% style="width: 119px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
291 291  **AT Commands**
292 -)))|=(% style="width: 210px;" %)(((
288 +)))|=(% style="width: 116px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)(((
293 293  **Description**
294 -)))|=(% style="width: 190px;" %)(((
290 +)))|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)(((
295 295  **Example**
296 296  )))
297 -|(% style="width:110px" %)(((
293 +|(% style="width:119px" %)(((
298 298  AT+BAUDR
299 -)))|(% style="width:190px" %)(((
295 +)))|(% style="width:116px" %)(((
300 300  Set the baud rate (for RS485 connection). Default Value is: 9600.
301 301  )))|(% style="width:190px" %)(((
302 302  (((
... ... @@ -307,9 +307,9 @@
307 307  Options: (1200,2400,4800,14400,19200,115200)
308 308  )))
309 309  )))
310 -|(% style="width:110px" %)(((
306 +|(% style="width:119px" %)(((
311 311  AT+PARITY
312 -)))|(% style="width:190px" %)(((
308 +)))|(% style="width:116px" %)(((
313 313  Set UART parity (for RS485 connection)
314 314  )))|(% style="width:190px" %)(((
315 315  (((
... ... @@ -320,9 +320,9 @@
320 320  Option: 0: no parity, 1: odd parity, 2: even parity
321 321  )))
322 322  )))
323 -|(% style="width:110px" %)(((
319 +|(% style="width:119px" %)(((
324 324  AT+STOPBIT
325 -)))|(% style="width:190px" %)(((
321 +)))|(% style="width:116px" %)(((
326 326  (((
327 327  Set serial stopbit (for RS485 connection)
328 328  )))
... ... @@ -344,7 +344,6 @@
344 344  )))
345 345  )))
346 346  
347 -
348 348  === 3.3.2 Configure sensors ===
349 349  
350 350  
... ... @@ -356,9 +356,9 @@
356 356  )))
357 357  )))
358 358  
359 -(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:510px" %)
360 -|=(% style="width: 110px;" %)**AT Commands**|=(% style="width: 210px;" %)**Description**|=(% style="width: 190px;" %)**Example**
361 -|AT+CFGDEV|(% style="width:110px" %)(((
354 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %)
355 +|=(% style="width: 122px; background-color:#D9E2F3;color:#0070C0" %)**AT Commands**|=(% style="width: 198px; background-color:#D9E2F3;color:#0070C0" %)**Description**|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)**Example**
356 +|(% style="width:122px" %)AT+CFGDEV|(% style="width:196px" %)(((
362 362  (((
363 363  This command is used to configure the RS485/TTL devices; they won’t be used during sampling.
364 364  )))
... ... @@ -372,7 +372,6 @@
372 372  )))
373 373  )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
374 374  
375 -
376 376  === 3.3.3 Configure read commands for each sampling ===
377 377  
378 378  
... ... @@ -403,7 +403,7 @@
403 403  
404 404  (% style="color:#037691" %)**AT+COMMANDx **(%%)**: **This command will be sent to RS485 devices during each sampling, Max command length is 14 bytes. The grammar is:
405 405  
406 -(% border="1" style="background-color:#4bacc6; color:white; width:499px" %)
400 +(% border="1" style="background-color:#f2f2f2; width:499px" %)
407 407  |(% style="width:496px" %)(((
408 408  **AT+COMMANDx=xx xx xx xx xx xx xx xx xx xx xx xx,m**
409 409  
... ... @@ -419,7 +419,7 @@
419 419  
420 420  (% style="color:#037691" %)**AT+DATACUTx **(%%)**: **This command defines how to handle the return from AT+COMMANDx, max return length is 100 bytes.
421 421  
422 -(% border="1" style="background-color:#4bacc6; color:white; width:510px" %)
416 +(% border="1" style="background-color:#f2f2f2; width:510px" %)
423 423  |(% style="width:510px" %)(((
424 424  **AT+DATACUTx=a,b,c**
425 425  
... ... @@ -610,7 +610,6 @@
610 610  )))
611 611  
612 612  
613 -
614 614  === 3.5.1 Common Commands ===
615 615  
616 616  
... ... @@ -756,7 +756,6 @@
756 756  
757 757  
758 758  
759 -
760 760  ==== (% style="color:blue" %)**Set Payload version**(%%) ====
761 761  
762 762  
... ... @@ -799,7 +799,6 @@
799 799  
800 800  
801 801  
802 -
803 803  ==== (% style="color:blue" %)**Set RS485 Sampling Commands**(%%) ====
804 804  
805 805  
... ... @@ -884,7 +884,6 @@
884 884  
885 885  
886 886  
887 -
888 888  ==== (% style="color:blue" %)**Fast command to handle MODBUS device**(%%) ====
889 889  
890 890  
... ... @@ -928,7 +928,6 @@
928 928  
929 929  
930 930  
931 -
932 932  ==== (% style="color:blue" %)**RS485 command timeout**(%%) ====
933 933  
934 934  
... ... @@ -965,7 +965,7 @@
965 965  )))
966 966  
967 967  (((
968 -(% style="color:#4472c4" %)** 0x AA aa bb cc**(%%) Same as: AT+CMDDLaa=hex(bb cc)*1000
957 +(% style="color:#4472c4" %)** 0x AA aa bb cc**(%%) Same as: AT+CMDDLaa=hex (bb cc)
969 969  )))
970 970  
971 971  (((
... ... @@ -975,12 +975,11 @@
975 975  )))
976 976  
977 977  (((
978 -**0xAA 01 00 01**  ~-~-> Same as  **AT+CMDDL1=1000 ms**
967 +**0xAA 01 03 E8**  ~-~-> Same as  **AT+CMDDL1=1000 ms**
979 979  )))
980 980  
981 981  
982 982  
983 -
984 984  ==== (% style="color:blue" %)**Uplink payload mode**(%%) ====
985 985  
986 986  
... ... @@ -1035,7 +1035,6 @@
1035 1035  
1036 1036  
1037 1037  
1038 -
1039 1039  ==== (% style="color:blue" %)**Manually trigger an Uplink**(%%) ====
1040 1040  
1041 1041  
... ... @@ -1065,7 +1065,6 @@
1065 1065  
1066 1066  
1067 1067  
1068 -
1069 1069  ==== (% style="color:blue" %)**Clear RS485 Command**(%%) ====
1070 1070  
1071 1071  
... ... @@ -1114,7 +1114,6 @@
1114 1114  
1115 1115  
1116 1116  
1117 -
1118 1118  ==== (% style="color:blue" %)**Set Serial Communication Parameters**(%%) ====
1119 1119  
1120 1120  
... ... @@ -1198,7 +1198,7 @@
1198 1198  
1199 1199  
1200 1200  
1201 -==== (% style="color:blue" %)**Encrypted payload**(%%) ====
1186 +==== (% style="color:blue" %)**Encrypted payload(Since Version 1.4.0)**(%%) ====
1202 1202  
1203 1203  (((
1204 1204  
... ... @@ -1214,10 +1214,9 @@
1214 1214  
1215 1215  
1216 1216  
1202 +==== (% style="color:blue" %)**Get sensor value(Since Version 1.4.0)**(%%) ====
1217 1217  
1218 -==== (% style="color:blue" %)**Get sensor value**(%%) ====
1219 1219  
1220 -
1221 1221  * (((
1222 1222  (% style="color:#037691" %)** AT Command:**
1223 1223  )))
... ... @@ -1228,10 +1228,9 @@
1228 1228  
1229 1229  
1230 1230  
1215 +==== (% style="color:blue" %)**Resets the downlink packet count(Since Version 1.4.0)**(%%) ====
1231 1231  
1232 -==== (% style="color:blue" %)**Resets the downlink packet count**(%%) ====
1233 1233  
1234 -
1235 1235  * (((
1236 1236  (% style="color:#037691" %)** AT Command:**
1237 1237  )))
... ... @@ -1242,10 +1242,9 @@
1242 1242  
1243 1243  
1244 1244  
1228 +==== (% style="color:blue" %)**When the limit bytes are exceeded, upload in batches(Since Version 1.4.0)**(%%) ====
1245 1245  
1246 -==== (% style="color:blue" %)**When the limit bytes are exceeded, upload in batches**(%%) ====
1247 1247  
1248 -
1249 1249  * (((
1250 1250  (% style="color:#037691" %)** AT Command:**
1251 1251  )))
... ... @@ -1263,10 +1263,9 @@
1263 1263  
1264 1264  
1265 1265  
1248 +==== (% style="color:blue" %)**Copy downlink to uplink (Since Version 1.4.0)**(%%) ====
1266 1266  
1267 -==== (% style="color:blue" %)** Copy downlink to uplink **(%%) ====
1268 1268  
1269 -
1270 1270  * (((
1271 1271  (% style="color:#037691" %)** AT Command:**
1272 1272  )))
... ... @@ -1288,10 +1288,9 @@
1288 1288  
1289 1289  
1290 1290  
1272 +==== (% style="color:blue" %)**Query version number and frequency band 、TDC(Since Version 1.4.0)**(%%) ====
1291 1291  
1292 -==== (% style="color:blue" %)**Query version number and frequency band 、TDC**(%%) ====
1293 1293  
1294 -
1295 1295  (((
1296 1296  * (% style="color:#037691" %)**Downlink Payload:**
1297 1297  
... ... @@ -1306,10 +1306,9 @@
1306 1306  
1307 1307  
1308 1308  
1289 +==== (% style="color:blue" %)** Monitor RS485 communication of other devices(Since Version 1.4.0)**(%%) ====
1309 1309  
1310 -==== (% style="color:blue" %)** Monitor RS485 communication of other devices**(%%) ====
1311 1311  
1312 -
1313 1313  * (((
1314 1314  (% style="color:#037691" %)** AT Command:**
1315 1315  )))
... ... @@ -1446,7 +1446,6 @@
1446 1446  |(% style="width:50px" %)**RST**|(% style="width:361px" %)Reboot RS485
1447 1447  |(% style="width:50px" %)**PRO**|(% style="width:361px" %)Use for upload image, see [[How to Update Image>>||anchor="H6.1Howtoupgradetheimage3F"]]
1448 1448  
1449 -
1450 1450  == 3.8 LEDs ==
1451 1451  
1452 1452  
... ... @@ -1455,7 +1455,6 @@
1455 1455  |**PWR**|Always on if there is power
1456 1456  |**SYS**|After device is powered on, the SYS will (% style="color:green" %)**fast blink in GREEN**(%%) for 5 times, means RS485-LN start to join LoRaWAN network. If join success, SYS will be (% style="color:green" %)**on GREEN for 5 seconds** (%%)**. **SYS will (% style="color:green" %)**blink Blue**(%%) on every upload and (% style="color:green" %)**blink Green**(%%) once receive a downlink message.
1457 1457  
1458 -
1459 1459  = 4. Case Study =
1460 1460  
1461 1461  
... ... @@ -1509,8 +1509,6 @@
1509 1509  
1510 1510  * (% style="color:#037691" %)**AT+NJM=0**
1511 1511  * (% style="color:#037691" %)**ATZ**
1512 -
1513 -
1514 1514  )))
1515 1515  
1516 1516  
... ... @@ -1712,7 +1712,7 @@
1712 1712  
1713 1713  RS485-LN sent below command:
1714 1714  
1715 -(% 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.
1716 1716  
1717 1717  
1718 1718  We can see the output from the Serial port tool to analyze. And check if they are expected result.
... ... @@ -1764,9 +1764,10 @@
1764 1764  
1765 1765  == 6.8 Where to get the decoder for RS485-LN? ==
1766 1766  
1767 -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 for decoders (no intermediate data parsing part involved)
1768 1768  
1743 +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)
1769 1769  
1745 +
1770 1770  = 7. Trouble Shooting =
1771 1771  
1772 1772  == 7.1 Downlink doesn't work, how to solve it? ==
... ... @@ -1799,10 +1799,9 @@
1799 1799  * (% style="color:red" %)**RU864**(%%):  frequency bands RU864
1800 1800  * (% style="color:red" %)**KZ865**(%%):  frequency bands KZ865
1801 1801  
1778 += 9. Packing Info =
1802 1802  
1803 -= 9.Packing Info =
1804 1804  
1805 -
1806 1806  **Package Includes**:
1807 1807  
1808 1808  * RS485-LN x 1
... ... @@ -1816,7 +1816,6 @@
1816 1816  * Package Size / pcs : 14.5 x 8 x 5 cm
1817 1817  * Weight / pcs : 170g
1818 1818  
1819 -
1820 1820  = 10. FCC Caution for RS485LN-US915 =
1821 1821  
1822 1822  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0