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/}} ... ... @@ -74,10 +74,11 @@ 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 80 -**Hardware System:** 76 +**(% style="color:#037691" %)Hardware System:** 81 81 82 82 * STM32L072CZT6 MCU 83 83 * SX1276/78 Wireless Chip ... ... @@ -85,13 +85,17 @@ 85 85 ** Idle: 32mA@12v 86 86 ** 20dB Transmit: 65mA@12v 87 87 88 -**Interface for Model:** 89 89 85 + 86 +**(% style="color:#037691" %)Interface for Model:** 87 + 90 90 * RS485 91 91 * Power Input 7~~ 24V DC. 92 92 93 -**LoRa Spec:** 94 94 92 + 93 +**(% style="color:#037691" %)LoRa Spec:** 94 + 95 95 * Frequency Range: 96 96 ** Band 1 (HF): 862 ~~ 1020 Mhz 97 97 ** Band 2 (LF): 410 ~~ 528 Mhz ... ... @@ -222,6 +222,8 @@ 222 222 223 223 ((( 224 224 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: 225 + 226 + 225 225 ))) 226 226 227 227 ((( ... ... @@ -358,12 +358,15 @@ 358 358 359 359 360 360 363 + 361 361 === 3.3.2 Configure sensors === 362 362 363 363 364 364 ((( 365 365 ((( 366 -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. 369 +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. 370 + 371 + 367 367 ))) 368 368 ))) 369 369 ... ... @@ -385,6 +385,7 @@ 385 385 386 386 387 387 393 + 388 388 === 3.3.3 Configure read commands for each sampling === 389 389 390 390 ... ... @@ -446,11 +446,13 @@ 446 446 (% 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" %) 447 447 448 448 455 + 449 449 * (% style="color:#037691" %)**Grab a section** 450 450 451 451 (% 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" %) 452 452 453 453 461 + 454 454 * (% style="color:#037691" %)**Grab different sections** 455 455 456 456 (% 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" %) ... ... @@ -602,7 +602,7 @@ 602 602 603 603 604 604 605 -=== 3.5.2 Sensor relatedcommands===613 +=== 3.5.2 Downlink Response(Since firmware v1.4) === 606 606 607 607 608 608 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. ... ... @@ -620,8 +620,9 @@ 620 620 621 621 ==== (% style="color:blue" %)**RS485 Debug Command**(%%) ==== 622 622 631 + 623 623 ((( 624 -This command is used to configure the RS485 devices; they won ’t be used during sampling.633 +This command is used to configure the RS485 devices; they won't be used during sampling. 625 625 ))) 626 626 627 627 * ((( ... ... @@ -676,7 +676,7 @@ 676 676 ((( 677 677 678 678 679 -**Example 1** ~-~-> Configure without ask for uplink (YY=0) 688 +(% style="color:blue" %)**Example 1:** (%%) ~-~-> Configure without ask for uplink (YY=0) 680 680 ))) 681 681 682 682 ((( ... ... @@ -714,7 +714,7 @@ 714 714 ))) 715 715 716 716 ((( 717 -**Example 2** ~-~-> Configure with requesting uplink and original downlink command (**YY=FF**) 726 +(% style="color:blue" %)**Example 2:** (%%) ~-~-> Configure with requesting uplink and original downlink command (**YY=FF**) 718 718 ))) 719 719 720 720 ((( ... ... @@ -742,6 +742,7 @@ 742 742 743 743 ==== (% style="color:blue" %)**Set Payload version**(%%) ==== 744 744 754 + 745 745 ((( 746 746 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. 747 747 ))) ... ... @@ -770,6 +770,7 @@ 770 770 771 771 ==== (% style="color:blue" %)**Set RS485 Sampling Commands**(%%) ==== 772 772 783 + 773 773 ((( 774 774 AT+COMMANDx or AT+DATACUTx 775 775 ))) ... ... @@ -797,10 +797,14 @@ 797 797 798 798 ((( 799 799 **0xAF** downlink command can be used to set AT+COMMANDx or AT+DATACUTx. 811 + 812 + 800 800 ))) 801 801 802 802 ((( 803 803 (% style="color:red" %)**Note**(%%): if user use AT+COMMANDx to add a new command, he also need to send AT+DATACUTx downlink. 817 + 818 + 804 804 ))) 805 805 806 806 ((( ... ... @@ -850,6 +850,7 @@ 850 850 851 851 ==== (% style="color:blue" %)**Fast command to handle MODBUS device**(%%) ==== 852 852 868 + 853 853 ((( 854 854 **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]]. 855 855 ))) ... ... @@ -891,6 +891,7 @@ 891 891 892 892 ==== (% style="color:blue" %)**RS485 command timeout**(%%) ==== 893 893 910 + 894 894 ((( 895 895 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. 896 896 ))) ... ... @@ -944,6 +944,7 @@ 944 944 945 945 ==== (% style="color:blue" %)**Uplink payload mode**(%%) ==== 946 946 964 + 947 947 ((( 948 948 Define to use one uplink or multiple uplinks for the sampling. 949 949 ))) ... ... @@ -980,6 +980,7 @@ 980 980 981 981 ==== (% style="color:blue" %)**Manually trigger an Uplink**(%%) ==== 982 982 1001 + 983 983 ((( 984 984 Ask device to send an uplink immediately. 985 985 ))) ... ... @@ -1009,6 +1009,7 @@ 1009 1009 1010 1010 ==== (% style="color:blue" %)**Clear RS485 Command**(%%) ==== 1011 1011 1031 + 1012 1012 ((( 1013 1013 The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them. 1014 1014 ... ... @@ -1055,6 +1055,7 @@ 1055 1055 1056 1056 ==== (% style="color:blue" %)**Set Serial Communication Parameters**(%%) ==== 1057 1057 1078 + 1058 1058 ((( 1059 1059 Set the Rs485 serial communication parameters: 1060 1060 ))) ... ... @@ -1230,6 +1230,8 @@ 1230 1230 1231 1231 1232 1232 1254 + 1255 + 1233 1233 == 3.8 LEDs == 1234 1234 1235 1235 ... ... @@ -1240,6 +1240,8 @@ 1240 1240 1241 1241 1242 1242 1266 + 1267 + 1243 1243 = 4. Case Study = 1244 1244 1245 1245 ... ... @@ -1249,6 +1249,7 @@ 1249 1249 1250 1250 = 5. Use AT Command = 1251 1251 1277 + 1252 1252 == 5.1 Access AT Command == 1253 1253 1254 1254 ... ... @@ -1328,6 +1328,8 @@ 1328 1328 2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting. 1329 1329 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. 1330 1330 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 1357 + 1358 + 1331 1331 ))) 1332 1332 1333 1333 (% 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" %) ... ... @@ -1336,6 +1336,7 @@ 1336 1336 1337 1337 = 6. FAQ = 1338 1338 1367 + 1339 1339 == 6.1 How to upgrade the image? == 1340 1340 1341 1341 ... ... @@ -1357,14 +1357,16 @@ 1357 1357 Below shows the hardware connection for how to upload an image to RS485-LN: 1358 1358 ))) 1359 1359 1360 -(% 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" %)1389 +(% 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"]] 1361 1361 1391 +(% title="Click and drag to resize" %) 1392 + 1362 1362 ((( 1363 1363 (% 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]]. 1364 1364 ))) 1365 1365 1366 1366 ((( 1367 -(% 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/]].1398 +(% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>url:https://www.dragino.com/downloads/index.php?dir=RS485-LN/Firmware/]]. 1368 1368 ))) 1369 1369 1370 1370 ((( ... ... @@ -1470,6 +1470,7 @@ 1470 1470 1471 1471 1472 1472 1504 + 1473 1473 = 9.Packing Info = 1474 1474 1475 1475 ... ... @@ -1510,7 +1510,7 @@ 1510 1510 ))) 1511 1511 1512 1512 ((( 1513 -**Note: **This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures: 1545 +**(% style="color:red" %)Note: **(%%)This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures: 1514 1514 ))) 1515 1515 1516 1516 ((( ... ... @@ -1551,4 +1551,7 @@ 1551 1551 ))) 1552 1552 * ((( 1553 1553 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]]. 1586 + 1587 + 1588 + 1554 1554 )))