<
From version < 32.11 >
edited by Xiaoling
on 2022/06/02 15:26
To version < 32.17 >
edited by Xiaoling
on 2022/06/02 15:31
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -142,6 +142,8 @@
142 142  
143 143  (((
144 144  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 +
145 145  )))
146 146  
147 147  == 3.2 Example to join LoRaWAN network ==
... ... @@ -150,10 +150,15 @@
150 150  
151 151  [[image:1653268155545-638.png||height="334" width="724"]]
152 152  
155 +
153 153  (((
157 +(((
154 154  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 +)))
155 155  
161 +(((
156 156  485A+ and 485B- of the sensor are connected to RS485A and RA485B of RS485-LN respectively.
163 +)))
157 157  
158 158  [[image:1653268227651-549.png||height="592" width="720"]]
159 159  
... ... @@ -205,6 +205,7 @@
205 205  
206 206  [[image:1652953568895-172.png||height="232" width="724"]]
207 207  
215 +
208 208  == 3.3 Configure Commands to read data ==
209 209  
210 210  (((
... ... @@ -214,6 +214,8 @@
214 214  
215 215  (((
216 216  (% 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 +
217 217  )))
218 218  )))
219 219  
... ... @@ -221,19 +221,19 @@
221 221  
222 222  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:
223 223  
224 -(% border="1" style="background-color:#ffffcc; color:green; width:795px" %)
225 -|(((
234 +(% border="1" style="background-color:#ffffcc; color:green; width:782px" %)
235 +|(% style="width:128px" %)(((
226 226  **AT Commands**
227 -)))|(% style="width:285px" %)(((
237 +)))|(% style="width:305px" %)(((
228 228  **Description**
229 -)))|(% style="width:347px" %)(((
239 +)))|(% style="width:346px" %)(((
230 230  **Example**
231 231  )))
232 -|(((
242 +|(% style="width:128px" %)(((
233 233  AT+BAUDR
234 -)))|(% style="width:285px" %)(((
244 +)))|(% style="width:305px" %)(((
235 235  Set the baud rate (for RS485 connection). Default Value is: 9600.
236 -)))|(% style="width:347px" %)(((
246 +)))|(% style="width:346px" %)(((
237 237  (((
238 238  AT+BAUDR=9600
239 239  )))
... ... @@ -242,11 +242,11 @@
242 242  Options: (1200,2400,4800,14400,19200,115200)
243 243  )))
244 244  )))
245 -|(((
255 +|(% style="width:128px" %)(((
246 246  AT+PARITY
247 -)))|(% style="width:285px" %)(((
257 +)))|(% style="width:305px" %)(((
248 248  Set UART parity (for RS485 connection)
249 -)))|(% style="width:347px" %)(((
259 +)))|(% style="width:346px" %)(((
250 250  (((
251 251  AT+PARITY=0
252 252  )))
... ... @@ -255,9 +255,9 @@
255 255  Option: 0: no parity, 1: odd parity, 2: even parity
256 256  )))
257 257  )))
258 -|(((
268 +|(% style="width:128px" %)(((
259 259  AT+STOPBIT
260 -)))|(% style="width:285px" %)(((
270 +)))|(% style="width:305px" %)(((
261 261  (((
262 262  Set serial stopbit (for RS485 connection)
263 263  )))
... ... @@ -265,7 +265,7 @@
265 265  (((
266 266  
267 267  )))
268 -)))|(% style="width:347px" %)(((
278 +)))|(% style="width:346px" %)(((
269 269  (((
270 270  AT+STOPBIT=0 for 1bit
271 271  )))
... ... @@ -279,6 +279,7 @@
279 279  )))
280 280  )))
281 281  
292 +
282 282  === 3.3.2 Configure sensors ===
283 283  
284 284  (((
... ... @@ -297,6 +297,8 @@
297 297  mm: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command
298 298  )))|(% style="width:256px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
299 299  
311 +
312 +
300 300  === 3.3.3 Configure read commands for each sampling ===
301 301  
302 302  (((
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0