Changes for page RS485-LN – RS485 to LoRaWAN Converter User Manual
Last modified by Bei Jinggeng on 2025/01/16 11:36
Change comment:
Uploaded new attachment "image-20220824145428-2.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 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,15 @@ 85 85 ** Idle: 32mA@12v 86 86 ** 20dB Transmit: 65mA@12v 87 87 88 -**Interface for Model:** 89 89 85 +(% style="color:#037691" %)**Interface for Model:** 86 + 90 90 * RS485 91 91 * Power Input 7~~ 24V DC. 92 92 93 -**LoRa Spec:** 94 94 91 +(% style="color:#037691" %)**LoRa Spec:** 92 + 95 95 * Frequency Range: 96 96 ** Band 1 (HF): 862 ~~ 1020 Mhz 97 97 ** Band 2 (LF): 410 ~~ 528 Mhz ... ... @@ -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: 220 + 221 + 222 222 ))) 223 223 224 224 ((( ... ... @@ -354,12 +354,15 @@ 354 354 ))) 355 355 356 356 357 + 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. 363 +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. 364 + 365 + 363 363 ))) 364 364 ))) 365 365 ... ... @@ -380,6 +380,7 @@ 380 380 )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m 381 381 382 382 386 + 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 448 + 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 454 + 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===606 +=== 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 624 + 618 618 ((( 619 -This command is used to configure the RS485 devices; they won ’t be used during sampling.626 +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) 681 +(% 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**) 719 +(% 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 747 + 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 776 + 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. 804 + 805 + 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. 810 + 811 + 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 861 + 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 903 + 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 957 + 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 994 + 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 1024 + 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 1071 + 1053 1053 ((( 1054 1054 Set the Rs485 serial communication parameters: 1055 1055 ))) ... ... @@ -1224,6 +1224,8 @@ 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 1246 + 1247 + 1227 1227 == 3.8 LEDs == 1228 1228 1229 1229 ... ... @@ -1233,6 +1233,8 @@ 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 1257 + 1258 + 1236 1236 = 4. Case Study = 1237 1237 1238 1238 ... ... @@ -1242,6 +1242,7 @@ 1242 1242 1243 1243 = 5. Use AT Command = 1244 1244 1268 + 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 1348 + 1349 + 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 1358 + 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" %)1380 +(% 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 1382 +(% title="Click and drag to resize" %) 1383 + 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,7 @@ 1462 1462 1463 1463 1464 1464 1494 + 1465 1465 = 9.Packing Info = 1466 1466 1467 1467 ... ... @@ -1501,7 +1501,7 @@ 1501 1501 ))) 1502 1502 1503 1503 ((( 1504 -**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: 1534 +(% 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: 1505 1505 ))) 1506 1506 1507 1507 ((( ... ... @@ -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]]. 1575 + 1576 + 1577 + 1545 1545 )))
- image-20220824144240-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +110.9 KB - Content
- image-20220824145428-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.6 KB - Content