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)
Details
- Page properties
-
- Content
-
... ... @@ -18,26 +18,30 @@ 18 18 19 19 ((( 20 20 ((( 21 -The Dragino RS485-LN is a RS485 to LoRaWAN Converter. It converts the RS485 signal into LoRaWAN wireless signal which simplify the IoT installation and reduce the installation/maintaining cost. 21 +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. 22 22 ))) 23 23 24 24 ((( 25 -RS485-LN allows user to 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. 25 +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. 26 26 ))) 27 27 28 28 ((( 29 -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. 29 +(% 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. 30 30 ))) 31 31 32 32 ((( 33 -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. 33 +(% 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. 34 + 35 +(% 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]] 34 34 ))) 35 35 ))) 36 36 37 37 [[image:1653267211009-519.png||height="419" width="724"]] 38 38 41 + 39 39 == 1.2 Specifications == 40 40 44 + 41 41 **Hardware System:** 42 42 43 43 * STM32L072CZT6 MCU ... ... @@ -44,8 +44,6 @@ 44 44 * SX1276/78 Wireless Chip 45 45 * Power Consumption (exclude RS485 device): 46 46 ** Idle: 32mA@12v 47 - 48 -* 49 49 ** 20dB Transmit: 65mA@12v 50 50 51 51 **Interface for Model:** ... ... @@ -74,6 +74,8 @@ 74 74 * Automatic RF Sense and CAD with ultra-fast AFC. 75 75 * Packet engine up to 256 bytes with CRC. 76 76 79 + 80 + 77 77 == 1.3 Features == 78 78 79 79 * LoRaWAN Class A & Class C protocol (default Class C) ... ... @@ -85,6 +85,8 @@ 85 85 * Support Modbus protocol 86 86 * Support Interrupt uplink (Since hardware version v1.2) 87 87 92 + 93 + 88 88 == 1.4 Applications == 89 89 90 90 * Smart Buildings & Home Automation ... ... @@ -94,10 +94,13 @@ 94 94 * Smart Cities 95 95 * Smart Factory 96 96 103 + 104 + 97 97 == 1.5 Firmware Change log == 98 98 99 99 [[RS485-LN Image files – Download link and Change log>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/]] 100 100 109 + 101 101 == 1.6 Hardware Change log == 102 102 103 103 ((( ... ... @@ -105,6 +105,8 @@ 105 105 v1.2: Add External Interrupt Pin. 106 106 107 107 v1.0: Release 117 + 118 + 108 108 ))) 109 109 ))) 110 110 ... ... @@ -121,6 +121,8 @@ 121 121 ))) 122 122 123 123 [[image:1653268091319-405.png]] 135 + 136 + 124 124 ))) 125 125 126 126 = 3. Operation Mode = ... ... @@ -129,6 +129,8 @@ 129 129 130 130 ((( 131 131 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. 145 + 146 + 132 132 ))) 133 133 134 134 == 3.2 Example to join LoRaWAN network == ... ... @@ -137,10 +137,15 @@ 137 137 138 138 [[image:1653268155545-638.png||height="334" width="724"]] 139 139 155 + 140 140 ((( 157 +((( 141 141 The RS485-LN in this example connected to two RS485 devices for demonstration, user can connect to other RS485 devices via the same method. The connection is as below: 159 +))) 142 142 161 +((( 143 143 485A+ and 485B- of the sensor are connected to RS485A and RA485B of RS485-LN respectively. 163 +))) 144 144 145 145 [[image:1653268227651-549.png||height="592" width="720"]] 146 146 ... ... @@ -192,6 +192,7 @@ 192 192 193 193 [[image:1652953568895-172.png||height="232" width="724"]] 194 194 215 + 195 195 == 3.3 Configure Commands to read data == 196 196 197 197 ((( ... ... @@ -201,6 +201,8 @@ 201 201 202 202 ((( 203 203 (% style="color:red" %)Note: below description and commands are for firmware version >v1.1, if you have firmware version v1.0. Please check the [[user manual v1.0>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/&file=RS485-LN_UserManual_v1.0.1.pdf]] or upgrade the firmware to v1.1 225 + 226 + 204 204 ))) 205 205 ))) 206 206 ... ... @@ -208,19 +208,19 @@ 208 208 209 209 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: 210 210 211 -(% border="1" style="background-color:#ffffcc; color:green; width:7 95px" %)212 -|((( 234 +(% border="1" style="background-color:#ffffcc; color:green; width:782px" %) 235 +|(% style="width:128px" %)((( 213 213 **AT Commands** 214 -)))|(% style="width: 285px" %)(((237 +)))|(% style="width:305px" %)((( 215 215 **Description** 216 -)))|(% style="width:34 7px" %)(((239 +)))|(% style="width:346px" %)((( 217 217 **Example** 218 218 ))) 219 -|((( 242 +|(% style="width:128px" %)((( 220 220 AT+BAUDR 221 -)))|(% style="width: 285px" %)(((244 +)))|(% style="width:305px" %)((( 222 222 Set the baud rate (for RS485 connection). Default Value is: 9600. 223 -)))|(% style="width:34 7px" %)(((246 +)))|(% style="width:346px" %)((( 224 224 ((( 225 225 AT+BAUDR=9600 226 226 ))) ... ... @@ -229,11 +229,11 @@ 229 229 Options: (1200,2400,4800,14400,19200,115200) 230 230 ))) 231 231 ))) 232 -|((( 255 +|(% style="width:128px" %)((( 233 233 AT+PARITY 234 -)))|(% style="width: 285px" %)(((257 +)))|(% style="width:305px" %)((( 235 235 Set UART parity (for RS485 connection) 236 -)))|(% style="width:34 7px" %)(((259 +)))|(% style="width:346px" %)((( 237 237 ((( 238 238 AT+PARITY=0 239 239 ))) ... ... @@ -242,9 +242,9 @@ 242 242 Option: 0: no parity, 1: odd parity, 2: even parity 243 243 ))) 244 244 ))) 245 -|((( 268 +|(% style="width:128px" %)((( 246 246 AT+STOPBIT 247 -)))|(% style="width: 285px" %)(((270 +)))|(% style="width:305px" %)((( 248 248 ((( 249 249 Set serial stopbit (for RS485 connection) 250 250 ))) ... ... @@ -252,7 +252,7 @@ 252 252 ((( 253 253 254 254 ))) 255 -)))|(% style="width:34 7px" %)(((278 +)))|(% style="width:346px" %)((( 256 256 ((( 257 257 AT+STOPBIT=0 for 1bit 258 258 ))) ... ... @@ -266,6 +266,7 @@ 266 266 ))) 267 267 ))) 268 268 292 + 269 269 === 3.3.2 Configure sensors === 270 270 271 271 (((