Changes for page RS485-LN – RS485 to LoRaWAN Converter User Manual
Last modified by Karry Zhuang on 2025/03/06 16:34
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 6 removed)
Details
- Page properties
-
- Content
-
... ... @@ -6,18 +6,12 @@ 6 6 **RS485-LN – RS485 to LoRaWAN Converter User Manual** 7 7 8 8 9 - 10 - 11 11 **Table of Contents:** 12 12 13 -{{toc/}} 14 14 15 15 16 16 17 17 18 - 19 - 20 - 21 21 = 1.Introduction = 22 22 23 23 == 1.1 What is RS485-LN RS485 to LoRaWAN Converter == ... ... @@ -24,33 +24,23 @@ 24 24 25 25 ((( 26 26 ((( 27 -((( 28 28 The Dragino RS485-LN is a (% style="color:blue" %)**RS485 to LoRaWAN Converter**(%%). It converts the RS485 signal into LoRaWAN wireless signal which simplify the IoT installation and reduce the installation/maintaining cost. 29 29 ))) 30 -))) 31 31 32 32 ((( 33 -((( 34 34 RS485-LN allows user to (% style="color:blue" %)**monitor / control RS485 devices**(%%) and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, smartphone detection, building automation, and so on. 35 35 ))) 36 -))) 37 37 38 38 ((( 39 -((( 40 40 (% style="color:blue" %)**For data uplink**(%%), RS485-LN sends user-defined commands to RS485 devices and gets the return from the RS485 devices. RS485-LN will process these returns according to user-define rules to get the final payload and upload to LoRaWAN server. 41 41 ))) 42 -))) 43 43 44 44 ((( 45 -((( 46 46 (% style="color:blue" %)**For data downlink**(%%), RS485-LN runs in LoRaWAN Class C. When there downlink commands from LoRaWAN server, RS485-LN will forward the commands from LoRaWAN server to RS485 devices. 47 -))) 48 48 49 -((( 50 50 (% style="color:blue" %)**Demo Dashboard for RS485-LN**(%%) connect to two energy meters: [[https:~~/~~/app.datacake.de/dashboard/d/58844a26-378d-4c5a-aaf5-b5b5b153447a>>url:https://app.datacake.de/dashboard/d/58844a26-378d-4c5a-aaf5-b5b5b153447a]] 51 51 ))) 52 52 ))) 53 -))) 54 54 55 55 [[image:1653267211009-519.png||height="419" width="724"]] 56 56 ... ... @@ -90,7 +90,7 @@ 90 90 * Preamble detection. 91 91 * 127 dB Dynamic Range RSSI. 92 92 * Automatic RF Sense and CAD with ultra-fast AFC. 93 -* Packet engine up to 256 bytes with CRC 77 +* Packet engine up to 256 bytes with CRC. 94 94 95 95 == 1.3 Features == 96 96 ... ... @@ -103,8 +103,6 @@ 103 103 * Support Modbus protocol 104 104 * Support Interrupt uplink (Since hardware version v1.2) 105 105 106 - 107 - 108 108 == 1.4 Applications == 109 109 110 110 * Smart Buildings & Home Automation ... ... @@ -114,8 +114,6 @@ 114 114 * Smart Cities 115 115 * Smart Factory 116 116 117 - 118 - 119 119 == 1.5 Firmware Change log == 120 120 121 121 [[RS485-LN Image files – Download link and Change log>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/]] ... ... @@ -125,13 +125,9 @@ 125 125 126 126 ((( 127 127 ((( 128 -((( 129 129 v1.2: Add External Interrupt Pin. 130 -))) 131 131 132 -((( 133 133 v1.0: Release 134 -))) 135 135 136 136 137 137 ))) ... ... @@ -159,9 +159,7 @@ 159 159 == 3.1 How it works? == 160 160 161 161 ((( 162 -((( 163 163 The RS485-LN is configured as LoRaWAN OTAA Class C mode by default. It has OTAA keys to join network. To connect a local LoRaWAN network, user just need to input the OTAA keys in the network server and power on the RS485-LN. It will auto join the network via OTAA. 164 -))) 165 165 166 166 167 167 ))) ... ... @@ -185,7 +185,7 @@ 185 185 [[image:1653268227651-549.png||height="592" width="720"]] 186 186 187 187 ((( 188 -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:162 +The LG308 is already set to connect to [[TTN V3 network >>path:eu1.cloud.thethings.network/]]. So what we need to now is only configure the TTN V3: 189 189 ))) 190 190 191 191 ((( ... ... @@ -237,7 +237,7 @@ 237 237 238 238 ((( 239 239 ((( 240 -There are plenty of RS485 devices in the market and each device has different command to read the valid data. To support these devices in flexible, RS485-LN supports flexible command set. User can use [[AT Commands>> ||anchor="H3.5ConfigureRS485-BLviaATorDownlink"]] or LoRaWAN Downlink Command to configure what commands RS485-LN should send for each sampling and how to handle the return from RS485 devices.214 +There are plenty of RS485 devices in the market and each device has different command to read the valid data. To support these devices in flexible, RS485-LN supports flexible command set. User can use [[AT Commands>>path:#AT_COMMAND]] or LoRaWAN Downlink Command to configure what commands RS485-LN should send for each sampling and how to handle the return from RS485 devices. 241 241 ))) 242 242 243 243 ((( ... ... @@ -442,7 +442,6 @@ 442 442 443 443 (% style="color:#4f81bd" %)**Battery Info+PAYVER + PAYLOAD COUNT + PAYLOAD# + DATA** 444 444 445 - 446 446 1. PAYVER: Defined by AT+PAYVER 447 447 1. PAYLOAD COUNT: Total how many uplinks of this sampling. 448 448 1. PAYLOAD#: Number of this uplink. (from 0,1,2,3…,to PAYLOAD COUNT) ... ... @@ -522,7 +522,7 @@ 522 522 523 523 There are two kinds of Commands: 524 524 525 -* (% style="color:#4f81bd" %)**Common Commands**(%%): They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.3, user can find what common commands it supports: [[AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] 498 +* (% style="color:#4f81bd" %)**Common Commands**(%%): They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.3, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] 526 526 527 527 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for RS485-LN. User can see these commands below: 528 528 ... ... @@ -542,8 +542,8 @@ 542 542 543 543 === 3.5.3 Sensor related commands === 544 544 518 +==== ==== 545 545 546 - 547 547 ==== **RS485 Debug Command** ==== 548 548 549 549 This command is used to configure the RS485 devices; they won’t be used during sampling. ... ... @@ -750,7 +750,7 @@ 750 750 751 751 * **AT Command:** 752 752 753 -No AT Command for this, user can press the [[ACT button>> ||anchor="H3.7Buttons"]] for 1 second for the same.726 +No AT Command for this, user can press the [[ACT button>>path:#Button]] for 1 second for the same. 754 754 755 755 756 756 * **Downlink Payload:** ... ... @@ -758,6 +758,7 @@ 758 758 **0x08 FF**, RS485-LN will immediately send an uplink. 759 759 760 760 734 +==== ==== 761 761 762 762 ==== **Clear RS485 Command** ==== 763 763 ... ... @@ -774,7 +774,7 @@ 774 774 775 775 The uplink screen shot is: 776 776 777 -[[image:1654160691922-496.png]] 751 +[[image:1654160691922-496.png]][[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png]] 778 778 779 779 780 780 * **Downlink Payload:** ... ... @@ -873,9 +873,8 @@ 873 873 |=**Button**|=(% style="width: 1420px;" %)**Feature** 874 874 |**ACT**|(% style="width:1420px" %)If RS485 joined in network, press this button for more than 1 second, RS485 will upload a packet, and the SYS LED will give a (% style="color:blue" %)**Blue blink** 875 875 |**RST**|(% style="width:1420px" %)Reboot RS485 876 -|**PRO**|(% style="width:1420px" %)Use for upload image, see [[How to Update Image>> ||anchor="H6.1Howtoupgradetheimage3F"]]850 +|**PRO**|(% style="width:1420px" %)Use for upload image, see [[How to Update Image>>path:#upgrade_image]] 877 877 878 - 879 879 == 3.8 LEDs == 880 880 881 881 (% border="1" style="background-color:#f7faff; width:500px" %) ... ... @@ -884,6 +884,7 @@ 884 884 |**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. 885 885 886 886 860 + 887 887 = 4. Case Study = 888 888 889 889 User can check this URL for some case studies: [[APP RS485 COMMUNICATE WITH SENSORS>>doc:Main.Application Note \: Communicate with Different Sensors ----- RS485-LN RS485-BL.WebHome]] ... ... @@ -903,7 +903,7 @@ 903 903 [[image:1654162368066-342.png]] 904 904 905 905 906 -More detail AT Command manual can be found at [[AT Command Manual>> https://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]]880 +More detail AT Command manual can be found at [[AT Command Manual>>||anchor="3.5ConfigureRS485-BLviaATorDownlink"]] 907 907 908 908 909 909 == 5.2 Common AT Command Sequence == ... ... @@ -950,7 +950,7 @@ 950 950 951 951 (% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%)Set the Adaptive Data Rate Off 952 952 953 -(% style="background-color:#dcdcdc" %)**AT+DR=5** 927 +(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%)Set Data Rate 954 954 955 955 (% style="background-color:#dcdcdc" %)**AT+TDC=60000** (%%) Set transmit interval to 60 seconds 956 956 ... ... @@ -972,7 +972,7 @@ 972 972 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. 973 973 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 974 974 975 -[[image:165416 2478620-421.png]]949 +[[image:1654136435598-589.png]] 976 976 977 977 978 978 = 6. FAQ = ... ... @@ -979,15 +979,15 @@ 979 979 980 980 == 6.1 How to upgrade the image? == 981 981 982 -The RS485-L NLoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to RS485-LNto:956 +The RS485-BL LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to RS485-BL to: 983 983 984 984 * Support new features 985 985 * For bug fix 986 986 * Change LoRaWAN bands. 987 987 988 -Below shows the hardware connection for how to upload an image to RS485-L N:962 +Below shows the hardware connection for how to upload an image to RS485-BL: 989 989 990 -[[image:16541 62535040-878.png]]964 +[[image:1654136646995-976.png]] 991 991 992 992 **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]]. 993 993 ... ... @@ -995,44 +995,31 @@ 995 995 996 996 **Step3: **Open flashloader; choose the correct COM port to update. 997 997 998 -((( 999 -(% style="color:blue" %) Hold down the PRO button and then momentarily press the RST reset button and the SYS led will change from OFF to ON, While SYS LED is RED ON, it means the RS485-LN is ready to be program. 1000 -))) 972 +[[image:image-20220602102605-1.png]] 1001 1001 1002 1002 1003 -[[image:image-2022060217 5818-12.png]]975 +[[image:image-20220602102637-2.png]] 1004 1004 1005 1005 1006 -[[image:image-20220602175 848-13.png]]978 +[[image:image-20220602102715-3.png]] 1007 1007 1008 1008 1009 -[[image:image-20220602175912-14.png]] 1010 1010 1011 - 1012 -**Notice**: In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is: 1013 - 1014 -[[image:image-20220602175638-10.png]] 1015 - 1016 - 1017 1017 == 6.2 How to change the LoRa Frequency Bands/Region? == 1018 1018 1019 1019 User can follow the introduction for [[how to upgrade image>>||anchor="H6.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download. 1020 1020 1021 1021 987 + 1022 1022 == 6.3 How many RS485-Slave can RS485-BL connects? == 1023 1023 1024 1024 The RS485-BL can support max 32 RS485 devices. Each uplink command of RS485-BL can support max 16 different RS485 command. So RS485-BL can support max 16 RS485 devices pre-program in the device for uplink. For other devices no pre-program, user can use the [[downlink message (type code 0xA8) to poll their info>>||anchor="H3.3.3Configurereadcommandsforeachsampling"]]. 1025 1025 1026 1026 1027 -== 6.4 Compatible question to ChirpStack and TTI LoRaWAN server ? == 1028 1028 1029 -When user need to use with ChirpStack or TTI. Please set AT+RPL=4. 1030 - 1031 -Detail info check this link: [[Set Packet Receiving Response Level>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H7.23SetPacketReceivingResponseLevel"]] 1032 - 1033 - 1034 1034 = 7. Trouble Shooting = 1035 1035 996 + 1036 1036 == 7.1 Downlink doesn’t work, how to solve it? == 1037 1037 1038 1038 Please see this link for debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome]] ... ... @@ -1045,7 +1045,7 @@ 1045 1045 1046 1046 = 8. Order Info = 1047 1047 1048 -(% style="color:blue" %)**Part Number: RS485-L N-XXX**1009 +(% style="color:blue" %)**Part Number: RS485-BL-XXX** 1049 1049 1050 1050 (% style="color:blue" %)**XXX:** 1051 1051 ... ... @@ -1060,82 +1060,5 @@ 1060 1060 * (% style="color:blue" %)**RU864**(%%): frequency bands RU864 1061 1061 * (% style="color:blue" %)**KZ865**(%%): frequency bands KZ865 1062 1062 1063 - 1064 - 1065 -= 9.Packing Info = 1066 - 1067 - 1068 -**Package Includes**: 1069 - 1070 -* RS485-LN x 1 1071 -* Stick Antenna for LoRa RF part x 1 1072 -* Program cable x 1 1073 - 1074 -**Dimension and weight**: 1075 - 1076 -* Device Size: 13.5 x 7 x 3 cm 1077 -* Device Weight: 105g 1078 -* Package Size / pcs : 14.5 x 8 x 5 cm 1079 -* Weight / pcs : 170g 1080 - 1081 - 1082 - 1083 -= 10. FCC Caution for RS485LN-US915 = 1084 - 1085 -((( 1086 -Any Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. 1087 -))) 1088 - 1089 -((( 1090 -This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. 1091 -))) 1092 - 1093 -((( 1024 +(% class="wikigeneratedid" %) 1094 1094 1095 -))) 1096 - 1097 -((( 1098 -**IMPORTANT NOTE:** 1099 -))) 1100 - 1101 -((( 1102 -**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: 1103 -))) 1104 - 1105 -((( 1106 -—Reorient or relocate the receiving antenna. 1107 -))) 1108 - 1109 -((( 1110 -—Increase the separation between the equipment and receiver. 1111 -))) 1112 - 1113 -((( 1114 -—Connect the equipment into an outlet on a circuit different from that to which the receiver is connected. 1115 -))) 1116 - 1117 -((( 1118 -—Consult the dealer or an experienced radio/TV technician for help. 1119 -))) 1120 - 1121 -((( 1122 - 1123 -))) 1124 - 1125 -((( 1126 -**FCC Radiation Exposure Statement:** 1127 -))) 1128 - 1129 -((( 1130 -This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment.This equipment should be installed and operated with minimum distance 20cm between the radiator& your body. 1131 -))) 1132 - 1133 - 1134 -= 11. Support = 1135 - 1136 -* ((( 1137 -Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 1138 -))) 1139 -* ((( 1140 -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]]. 1141 -)))
- 1654162535040-878.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -670.0 KB - Content
- image-20220602175638-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -85.5 KB - Content
- image-20220602175743-11.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -85.5 KB - Content
- image-20220602175818-12.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -102.5 KB - Content
- image-20220602175848-13.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -250.9 KB - Content
- image-20220602175912-14.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -176.1 KB - Content