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
-
... ... @@ -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/}} ... ... @@ -74,6 +74,7 @@ 74 74 (% aria-label="1653267211009-519.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1653267211009-519.png||data-widget="image" height="419" width="724"]](% 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" %) 75 75 76 76 72 + 77 77 == 1.2 Specifications == 78 78 79 79 ... ... @@ -85,11 +85,13 @@ 85 85 ** Idle: 32mA@12v 86 86 ** 20dB Transmit: 65mA@12v 87 87 84 + 88 88 **Interface for Model:** 89 89 90 90 * RS485 91 91 * Power Input 7~~ 24V DC. 92 92 90 + 93 93 **LoRa Spec:** 94 94 95 95 * Frequency Range: ... ... @@ -113,6 +113,7 @@ 113 113 114 114 115 115 114 + 116 116 == 1.3 Features == 117 117 118 118 ... ... @@ -127,6 +127,7 @@ 127 127 128 128 129 129 129 + 130 130 == 1.4 Applications == 131 131 132 132 ... ... @@ -139,6 +139,7 @@ 139 139 140 140 141 141 142 + 142 142 == 1.5 Firmware Change log == 143 143 144 144 ... ... @@ -219,6 +219,8 @@ 219 219 220 220 ((( 221 221 The LG308 is already set to connect to [[TTN V3 network >>path:https://www.thethingsnetwork.org/]]. So what we need to now is only configure the TTN V3: 223 + 224 + 222 222 ))) 223 223 224 224 ((( ... ... @@ -354,12 +354,16 @@ 354 354 ))) 355 355 356 356 360 + 361 + 357 357 === 3.3.2 Configure sensors === 358 358 359 359 360 360 ((( 361 361 ((( 362 -Some sensors might need to configure before normal operation. User can configure such sensor via PC and RS485 adapter or through RS485-LN AT Commands (% style="color:#4f81bd" %)**AT+CFGDEV**(%%). Each (% style="color:#4f81bd" %)**AT+CFGDEV **(%%)equals to send a RS485 command to sensors. This command will only run when user input it and won’t run during each sampling. 367 +Some sensors might need to configure before normal operation. User can configure such sensor via PC and RS485 adapter or through RS485-LN AT Commands (% style="color:#4f81bd" %)**AT+CFGDEV**(%%). Each (% style="color:#4f81bd" %)**AT+CFGDEV **(%%)equals to send a RS485 command to sensors. This command will only run when user input it and won't run during each sampling. 368 + 369 + 363 363 ))) 364 364 ))) 365 365 ... ... @@ -380,6 +380,8 @@ 380 380 )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m 381 381 382 382 390 + 391 + 383 383 === 3.3.3 Configure read commands for each sampling === 384 384 385 385 ... ... @@ -441,11 +441,13 @@ 441 441 (% aria-label="image-20220602153621-1.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602153621-1.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" %) 442 442 443 443 453 + 444 444 * (% style="color:#037691" %)**Grab a section** 445 445 446 446 (% aria-label="image-20220602153621-2.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602153621-2.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" %) 447 447 448 448 459 + 449 449 * (% style="color:#037691" %)**Grab different sections** 450 450 451 451 (% aria-label="image-20220602153621-3.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602153621-3.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" %) ... ... @@ -597,7 +597,7 @@ 597 597 598 598 599 599 600 -=== 3.5.2 Sensor relatedcommands===611 +=== 3.5.2 Downlink Response(Since firmware v1.4) === 601 601 602 602 603 603 Response feature is added to the server's downlink, a special package with a FPort of 200 will be uploaded immediately after receiving the data sent by the server. ... ... @@ -615,8 +615,9 @@ 615 615 616 616 ==== (% style="color:blue" %)**RS485 Debug Command**(%%) ==== 617 617 629 + 618 618 ((( 619 -This command is used to configure the RS485 devices; they won ’t be used during sampling.631 +This command is used to configure the RS485 devices; they won't be used during sampling. 620 620 ))) 621 621 622 622 * ((( ... ... @@ -671,7 +671,7 @@ 671 671 ((( 672 672 673 673 674 -**Example 1** ~-~-> Configure without ask for uplink (YY=0) 686 +(% style="color:blue" %)**Example 1:** (%%) ~-~-> Configure without ask for uplink (YY=0) 675 675 ))) 676 676 677 677 ((( ... ... @@ -709,7 +709,7 @@ 709 709 ))) 710 710 711 711 ((( 712 -**Example 2** ~-~-> Configure with requesting uplink and original downlink command (**YY=FF**) 724 +(% style="color:blue" %)**Example 2:** (%%) ~-~-> Configure with requesting uplink and original downlink command (**YY=FF**) 713 713 ))) 714 714 715 715 ((( ... ... @@ -737,6 +737,7 @@ 737 737 738 738 ==== (% style="color:blue" %)**Set Payload version**(%%) ==== 739 739 752 + 740 740 ((( 741 741 This is the first byte of the uplink payload. RS485-LN can connect to different sensors. User can set the PAYVER field to tell server how to decode the current payload. 742 742 ))) ... ... @@ -765,6 +765,7 @@ 765 765 766 766 ==== (% style="color:blue" %)**Set RS485 Sampling Commands**(%%) ==== 767 767 781 + 768 768 ((( 769 769 AT+COMMANDx or AT+DATACUTx 770 770 ))) ... ... @@ -792,10 +792,14 @@ 792 792 793 793 ((( 794 794 **0xAF** downlink command can be used to set AT+COMMANDx or AT+DATACUTx. 809 + 810 + 795 795 ))) 796 796 797 797 ((( 798 798 (% style="color:red" %)**Note**(%%): if user use AT+COMMANDx to add a new command, he also need to send AT+DATACUTx downlink. 815 + 816 + 799 799 ))) 800 800 801 801 ((( ... ... @@ -845,6 +845,7 @@ 845 845 846 846 ==== (% style="color:blue" %)**Fast command to handle MODBUS device**(%%) ==== 847 847 866 + 848 848 ((( 849 849 **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]]. 850 850 ))) ... ... @@ -886,6 +886,7 @@ 886 886 887 887 ==== (% style="color:blue" %)**RS485 command timeout**(%%) ==== 888 888 908 + 889 889 ((( 890 890 Some Modbus device has slow action to send replies. This command is used to configure the RS485-LN to use longer time to wait for their action. 891 891 ))) ... ... @@ -939,6 +939,7 @@ 939 939 940 940 ==== (% style="color:blue" %)**Uplink payload mode**(%%) ==== 941 941 962 + 942 942 ((( 943 943 Define to use one uplink or multiple uplinks for the sampling. 944 944 ))) ... ... @@ -975,6 +975,7 @@ 975 975 976 976 ==== (% style="color:blue" %)**Manually trigger an Uplink**(%%) ==== 977 977 999 + 978 978 ((( 979 979 Ask device to send an uplink immediately. 980 980 ))) ... ... @@ -1004,6 +1004,7 @@ 1004 1004 1005 1005 ==== (% style="color:blue" %)**Clear RS485 Command**(%%) ==== 1006 1006 1029 + 1007 1007 ((( 1008 1008 The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them. 1009 1009 ... ... @@ -1050,6 +1050,7 @@ 1050 1050 1051 1051 ==== (% style="color:blue" %)**Set Serial Communication Parameters**(%%) ==== 1052 1052 1076 + 1053 1053 ((( 1054 1054 Set the Rs485 serial communication parameters: 1055 1055 ))) ... ... @@ -1224,6 +1224,9 @@ 1224 1224 |(% style="width:50px" %)**PRO**|(% style="width:361px" %)Use for upload image, see [[How to Update Image>>||anchor="H6.1Howtoupgradetheimage3F"]] 1225 1225 1226 1226 1251 + 1252 + 1253 + 1227 1227 == 3.8 LEDs == 1228 1228 1229 1229 ... ... @@ -1233,6 +1233,9 @@ 1233 1233 |**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. 1234 1234 1235 1235 1263 + 1264 + 1265 + 1236 1236 = 4. Case Study = 1237 1237 1238 1238 ... ... @@ -1242,6 +1242,7 @@ 1242 1242 1243 1243 = 5. Use AT Command = 1244 1244 1275 + 1245 1245 == 5.1 Access AT Command == 1246 1246 1247 1247 ... ... @@ -1321,6 +1321,8 @@ 1321 1321 2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting. 1322 1322 3. Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer [[this link>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means. 1323 1323 4. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5 1355 + 1356 + 1324 1324 ))) 1325 1325 1326 1326 (% aria-label="1654162478620-421.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654162478620-421.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" %) ... ... @@ -1329,6 +1329,7 @@ 1329 1329 1330 1330 = 6. FAQ = 1331 1331 1365 + 1332 1332 == 6.1 How to upgrade the image? == 1333 1333 1334 1334 ... ... @@ -1350,8 +1350,10 @@ 1350 1350 Below shows the hardware connection for how to upload an image to RS485-LN: 1351 1351 ))) 1352 1352 1353 -(% 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" %)1387 +(% 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"]] 1354 1354 1389 +(% title="Click and drag to resize" %) 1390 + 1355 1355 ((( 1356 1356 (% 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]]. 1357 1357 ))) ... ... @@ -1462,6 +1462,8 @@ 1462 1462 1463 1463 1464 1464 1501 + 1502 + 1465 1465 = 9.Packing Info = 1466 1466 1467 1467 ... ... @@ -1481,6 +1481,7 @@ 1481 1481 1482 1482 1483 1483 1522 + 1484 1484 = 10. FCC Caution for RS485LN-US915 = 1485 1485 1486 1486 ... ... @@ -1542,4 +1542,7 @@ 1542 1542 ))) 1543 1543 * ((( 1544 1544 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]]. 1584 + 1585 + 1586 + 1545 1545 )))