<
From version < 102.15 >
edited by Xiaoling
on 2023/04/25 13:49
To version < 101.1 >
edited by Bei Jinggeng
on 2023/04/17 11:59
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Bei
Content
... ... @@ -95,7 +95,6 @@
95 95  * Packet engine up to 256 bytes with CRC
96 96  
97 97  
98 -
99 99  == 1.3 Features ==
100 100  
101 101  
... ... @@ -109,7 +109,6 @@
109 109  * Support Interrupt uplink (Since hardware version v1.2)
110 110  
111 111  
112 -
113 113  == 1.4 Applications ==
114 114  
115 115  
... ... @@ -121,7 +121,6 @@
121 121  * Smart Factory
122 122  
123 123  
124 -
125 125  == 1.5 Firmware Change log ==
126 126  
127 127  
... ... @@ -288,17 +288,17 @@
288 288  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:
289 289  
290 290  
291 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %)
292 -|=(% style="width: 120px; background-color:#D9E2F3;color:#0070C0" %)(((
288 +(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:510px" %)
289 +|=(% style="width: 110px;" %)(((
293 293  **AT Commands**
294 -)))|=(% style="width: 195px; background-color:#D9E2F3;color:#0070C0" %)(((
291 +)))|=(% style="width: 210px;" %)(((
295 295  **Description**
296 -)))|=(% style="width: 195px;background-color:#D9E2F3;color:#0070C0" %)(((
293 +)))|=(% style="width: 190px;" %)(((
297 297  **Example**
298 298  )))
299 -|(% style="width:119px" %)(((
296 +|(% style="width:110px" %)(((
300 300  AT+BAUDR
301 -)))|(% style="width:116px" %)(((
298 +)))|(% style="width:190px" %)(((
302 302  Set the baud rate (for RS485 connection). Default Value is: 9600.
303 303  )))|(% style="width:190px" %)(((
304 304  (((
... ... @@ -309,9 +309,9 @@
309 309  Options: (1200,2400,4800,14400,19200,115200)
310 310  )))
311 311  )))
312 -|(% style="width:119px" %)(((
309 +|(% style="width:110px" %)(((
313 313  AT+PARITY
314 -)))|(% style="width:116px" %)(((
311 +)))|(% style="width:190px" %)(((
315 315  Set UART parity (for RS485 connection)
316 316  )))|(% style="width:190px" %)(((
317 317  (((
... ... @@ -322,9 +322,9 @@
322 322  Option: 0: no parity, 1: odd parity, 2: even parity
323 323  )))
324 324  )))
325 -|(% style="width:119px" %)(((
322 +|(% style="width:110px" %)(((
326 326  AT+STOPBIT
327 -)))|(% style="width:116px" %)(((
324 +)))|(% style="width:190px" %)(((
328 328  (((
329 329  Set serial stopbit (for RS485 connection)
330 330  )))
... ... @@ -347,7 +347,6 @@
347 347  )))
348 348  
349 349  
350 -
351 351  === 3.3.2 Configure sensors ===
352 352  
353 353  
... ... @@ -359,9 +359,9 @@
359 359  )))
360 360  )))
361 361  
362 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %)
363 -|=(% style="width: 122px; background-color:#D9E2F3;color:#0070C0" %)**AT Commands**|=(% style="width: 198px; background-color:#D9E2F3;color:#0070C0" %)**Description**|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)**Example**
364 -|(% style="width:122px" %)AT+CFGDEV|(% style="width:196px" %)(((
358 +(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:510px" %)
359 +|=(% style="width: 110px;" %)**AT Commands**|=(% style="width: 210px;" %)**Description**|=(% style="width: 190px;" %)**Example**
360 +|AT+CFGDEV|(% style="width:110px" %)(((
365 365  (((
366 366  This command is used to configure the RS485/TTL devices; they won’t be used during sampling.
367 367  )))
... ... @@ -376,7 +376,6 @@
376 376  )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
377 377  
378 378  
379 -
380 380  === 3.3.3 Configure read commands for each sampling ===
381 381  
382 382  
... ... @@ -407,7 +407,7 @@
407 407  
408 408  (% style="color:#037691" %)**AT+COMMANDx **(%%)**: **This command will be sent to RS485 devices during each sampling, Max command length is 14 bytes. The grammar is:
409 409  
410 -(% border="1" style="background-color:#f2f2f2; width:499px" %)
405 +(% border="1" style="background-color:#4bacc6; color:white; width:499px" %)
411 411  |(% style="width:496px" %)(((
412 412  **AT+COMMANDx=xx xx xx xx xx xx xx xx xx xx xx xx,m**
413 413  
... ... @@ -423,7 +423,7 @@
423 423  
424 424  (% style="color:#037691" %)**AT+DATACUTx **(%%)**: **This command defines how to handle the return from AT+COMMANDx, max return length is 100 bytes.
425 425  
426 -(% border="1" style="background-color:#f2f2f2; width:510px" %)
421 +(% border="1" style="background-color:#4bacc6; color:white; width:510px" %)
427 427  |(% style="width:510px" %)(((
428 428  **AT+DATACUTx=a,b,c**
429 429  
... ... @@ -565,11 +565,11 @@
565 565  == 3.4 Uplink Payload ==
566 566  
567 567  
568 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %)
569 -|=(% scope="row" style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((
563 +(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:500px" %)
564 +|=(% scope="row" style="width: 60px;" %)(((
570 570  Size(bytes)
571 -)))|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:360px" %)(((
572 -**Length depends on the return from the commands**
566 +)))|(% style="width:80px" %)1|(% style="width:360px" %)(((
567 +Length depends on the return from the commands
573 573  )))
574 574  |=(% style="width: 90px;" %)(((
575 575  Value
... ... @@ -1340,32 +1340,34 @@
1340 1340  To enable the listening mode, use can run the command (% style="color:#4472c4" %)** AT+RXMODE**.
1341 1341  )))
1342 1342  
1338 +(((
1339 +
1340 +)))
1343 1343  
1344 -
1345 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %)
1346 -|=(% style="width: 156px; background-color:#D9E2F3;color:#0070C0" %)(((
1342 +(% border="1" cellspacing="10" style="background-color:#ffffcc; width:500px" %)
1343 +|=(% style="width: 100px;" %)(((
1347 1347  **Command example**
1348 -)))|=(% style="width: 355px; background-color:#D9E2F3;color:#0070C0" %)(((
1345 +)))|=(% style="width: 400px;" %)(((
1349 1349  **Function**
1350 1350  )))
1351 -|(% style="width:156px" %)(((
1348 +|(% style="width:100px" %)(((
1352 1352  AT+RXMODE=1,10
1353 -)))|(% style="width:352px" %)(((
1350 +)))|(% style="width:400px" %)(((
1354 1354  Enable listening mode 1, if RS485-LN has received more than 10 RS485 commands from the network. RS485-LN will send these commands via LoRaWAN uplinks.
1355 1355  )))
1356 -|(% style="width:156px" %)(((
1353 +|(% style="width:100px" %)(((
1357 1357  AT+RXMODE=2,500
1358 -)))|(% style="width:352px" %)(((
1355 +)))|(% style="width:400px" %)(((
1359 1359  Enable listening mode 2, RS485-LN will capture and send a 500ms content once from the first detect of character. Max value is 65535 ms
1360 1360  )))
1361 -|(% style="width:156px" %)(((
1358 +|(% style="width:100px" %)(((
1362 1362  AT+RXMODE=0,0
1363 -)))|(% style="width:352px" %)(((
1360 +)))|(% style="width:400px" %)(((
1364 1364  Disable listening mode. This is the default settings.
1365 1365  )))
1366 -|(% style="width:156px" %)(((
1363 +|(% style="width:100px" %)(((
1367 1367  
1368 -)))|(% style="width:352px" %)(((
1365 +)))|(% style="width:400px" %)(((
1369 1369  A6 aa bb cc  same as AT+RXMODE=aa,(bb<<8 | cc)
1370 1370  )))
1371 1371  
... ... @@ -1413,34 +1413,36 @@
1413 1413  (% aria-label="image-20220602171200-9.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602171200-9.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" %)​
1414 1414  )))
1415 1415  
1413 +(((
1414 +
1415 +)))
1416 1416  
1417 -
1418 1418  (((
1418 +(((
1419 1419  (% style="color:red" %)**Notice: Listening mode can work with the default polling mode of RS485-LN. When RS485-LN is in to send the RS485 commands (from AT+COMMANDx), the listening mode will be interrupt for a while.**
1420 1420  )))
1421 +)))
1421 1421  
1422 1422  
1423 1423  == 3.7 Buttons ==
1424 1424  
1425 1425  
1426 -(% border="1.5" cellspacing="4" style="background-color:#f2f2f2; width:430px" %)
1427 -|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**Button**|=(% style="width: 380px;background-color:#D9E2F3;color:#0070C0" %)**Feature**
1428 -|(% style="width:50px" %)ACT|(% style="width:361px" %)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**
1429 -|(% style="width:50px" %)RST|(% style="width:361px" %)Reboot RS485
1430 -|(% style="width:50px" %)PRO|(% style="width:361px" %)Use for upload image, see [[How to Update Image>>||anchor="H6.1Howtoupgradetheimage3F"]]
1427 +(% border="1.5" cellspacing="4" style="background-color:#ffffcc; width:430px" %)
1428 +|=(% style="width: 50px;" %)**Button**|=(% style="width: 380px;" %)**Feature**
1429 +|(% style="width:50px" %)**ACT**|(% style="width:361px" %)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**
1430 +|(% style="width:50px" %)**RST**|(% style="width:361px" %)Reboot RS485
1431 +|(% style="width:50px" %)**PRO**|(% style="width:361px" %)Use for upload image, see [[How to Update Image>>||anchor="H6.1Howtoupgradetheimage3F"]]
1431 1431  
1432 1432  
1433 -
1434 1434  == 3.8 LEDs ==
1435 1435  
1436 1436  
1437 -(% border="1.5" cellspacing="4" style="background-color:#f2f2f2; width:430px" %)
1438 -|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**LEDs**|=(% style="width: 380px;background-color:#D9E2F3;color:#0070C0" %)**Feature**
1439 -|PWR|Always on if there is power
1440 -|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.
1437 +(% border="1.5" cellspacing="4" style="background-color:#ffffcc; width:430px" %)
1438 +|=(% style="width: 50px;" %)**LEDs**|=(% style="width: 380px;" %)**Feature**
1439 +|**PWR**|Always on if there is power
1440 +|**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.
1441 1441  
1442 1442  
1443 -
1444 1444  = 4. Case Study =
1445 1445  
1446 1446  
... ... @@ -1695,7 +1695,7 @@
1695 1695  
1696 1696  RS485-LN sent below command:
1697 1697  
1698 -(% style="color:blue" %)**AT+CFGDEV=01 03 00 20 00 01,1**(%%) to RS485 network, and PC is able to get this command and return commands from MTU to show in the serial tool.
1697 +(% style="color:blue" %)**AT+CFGDEV=01 03 20 00 01 85 c0,1**(%%) to RS485 network, and PC is able to get this command and return commands from MTU to show in the serial tool.
1699 1699  
1700 1700  
1701 1701  We can see the output from the Serial port tool to analyze. And check if they are expected result.
... ... @@ -1784,7 +1784,6 @@
1784 1784  * (% style="color:red" %)**KZ865**(%%):  frequency bands KZ865
1785 1785  
1786 1786  
1787 -
1788 1788  = 9. Packing Info =
1789 1789  
1790 1790  
... ... @@ -1802,7 +1802,6 @@
1802 1802  * Weight / pcs : 170g
1803 1803  
1804 1804  
1805 -
1806 1806  = 10. FCC Caution for RS485LN-US915 =
1807 1807  
1808 1808  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0