<
From version < 76.1 >
edited by Edwin Chen
on 2022/10/06 15:44
To version < 73.7 >
edited by Xiaoling
on 2022/09/12 11:29
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Xiaoling
Content
... ... @@ -82,11 +82,13 @@
82 82  ** Idle: 32mA@12v
83 83  ** 20dB Transmit: 65mA@12v
84 84  
85 +
85 85  (% style="color:#037691" %)**Interface for Model:**
86 86  
87 87  * RS485
88 88  * Power Input 7~~ 24V DC. 
89 89  
91 +
90 90  (% style="color:#037691" %)**LoRa Spec:**
91 91  
92 92  * Frequency Range:
... ... @@ -109,6 +109,7 @@
109 109  * Packet engine up to 256 bytes with CRC
110 110  
111 111  
114 +
112 112  == 1.3 Features ==
113 113  
114 114  
... ... @@ -122,6 +122,7 @@
122 122  * Support Interrupt uplink (Since hardware version v1.2)
123 123  
124 124  
128 +
125 125  == 1.4 Applications ==
126 126  
127 127  
... ... @@ -133,6 +133,7 @@
133 133  * Smart Factory
134 134  
135 135  
140 +
136 136  == 1.5 Firmware Change log ==
137 137  
138 138  
... ... @@ -365,6 +365,7 @@
365 365  )))
366 366  
367 367  
373 +
368 368  === 3.3.2 Configure sensors ===
369 369  
370 370  
... ... @@ -393,6 +393,7 @@
393 393  )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
394 394  
395 395  
402 +
396 396  === 3.3.3 Configure read commands for each sampling ===
397 397  
398 398  
... ... @@ -500,7 +500,7 @@
500 500  
501 501  )))
502 502  
503 -[[image:image-20220929111027-1.png||height="509" width="685"]](% title="Click and drag to resize" %)​
510 +(% aria-label="1653269759169-150.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1653269759169-150.png||data-widget="image" height="513" width="716"]](% 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" %)​
504 504  
505 505  
506 506  (% style="color:#037691" %)**Examples: AT+DATAUP=1**
... ... @@ -508,7 +508,7 @@
508 508  
509 509  Compose the uplink payload with value returns in sequence and send with (% style="color:red" %)**Multiply UPLINKs**.
510 510  
511 -Final Payload is (% style="color:#4f81bd" %)**PAYVER + PAYLOAD COUNT + PAYLOAD# + DATA**
518 +Final Payload is (% style="color:#4f81bd" %)**Battery Info+PAYVER + PAYLOAD COUNT + PAYLOAD# + DATA**
512 512  
513 513  
514 514  1. PAYVER: Defined by AT+PAYVER
... ... @@ -540,13 +540,27 @@
540 540  
541 541   ~* For all other bands: max 51 bytes for each uplink.
542 542  
550 +(% style="color:red" %)*** When AT+DATAUP=1, the maximum number of segments is 15, and the maximum total number of bytes is 1500;**
543 543  
544 -(% style="color:red" %)** When AT+DATAUP=1, the maximum number of segments is 15, and the maximum total number of bytes is 1500;**
552 +(% style="color:red" %)** When AT+DATAUP=1 and AT+ADR=0, the maximum number of bytes of each payload is determined by the DR value. (Since v1.4.0)**
545 545  
546 -(% style="color:red" %)** When AT+DATAUP=1 and AT+ADR=0, the maximum number of bytes of each payload is determined by the DR value. (Since v1.4.0)**
547 547  
555 +(% style="color:#4f81bd" %)**If the data is empty, return to the display(Since v1.4.0)**
548 548  
557 +1 )  When (% style="color:blue" %)**AT+MOD=1**(%%), if the data intercepted by** AT+DATACUT** or **AT+MBFUN** is empty, it will display **NULL**, and the payload will be filled with **n FFs**.
549 549  
559 +
560 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/test/WebHome/image-20220824114359-3.png?width=1106&height=297&rev=1.1||alt="image-20220824114359-3.png" height="297" width="1106"]]
561 +
562 +
563 +
564 +2 )  When (% style="color:blue" %)**AT+MOD=2**(%%), if the data intercepted by **AT+DATACUT** or **AT+MBFUN** is empty, it will display **NULL**, and the payload will be filled with **n 00s**.
565 +
566 +
567 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/test/WebHome/image-20220824114330-2.png?rev=1.1||alt="image-20220824114330-2.png"]]
568 +
569 +
570 +
550 550  Below are the uplink payloads:
551 551  
552 552  
... ... @@ -627,11 +627,8 @@
627 627  
628 628  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.
629 629  
651 +(% aria-label="image-20220602163333-5.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602163333-5.png||data-widget="image" height="263" width="1160"]](% title="Click and drag to resize" %)​
630 630  
631 -(% aria-label="image-20220602163333-5.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602163333-5.png||data-widget="image" height="263" width="1160"]]
632 -
633 -(% title="Click and drag to resize" %)​
634 -
635 635  The first byte of this package represents whether the configuration is successful, 00 represents failure, 01 represents success. Except for the first byte, the other is the previous downlink. (All commands except A8 type commands are applicable)
636 636  
637 637  
... ... @@ -651,6 +651,7 @@
651 651  (((
652 652  * (% style="color:#037691" %)**AT Command**
653 653  
672 +
654 654  (((
655 655  (% style="color:#4472c4" %)** AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m**  (%%) m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command
656 656  )))
... ... @@ -774,6 +774,7 @@
774 774  (((
775 775  * (% style="color:#037691" %)**AT Command:**
776 776  
796 +
777 777  (% style="color:#4472c4" %)** AT+PAYVER:    ** (%%) Set PAYVER field = 1
778 778  
779 779  
... ... @@ -792,16 +792,14 @@
792 792  )))
793 793  
794 794  
795 -**1 )  Add the interrupt flag at the highest bit of the Payver byte, that is, Byte7 of the first byte. (Since v1.4.0)**
815 +1 )  Add the interrupt flag at the highest bit of the Payver byte, that is, Byte7 of the first byte. (Since v1.4.0)
796 796  
797 -
798 798  [[image:image-20220824145428-2.png||height="168" width="1300"]]
799 799  
800 800  
820 +2 )  if the data intercepted by AT+DATACUT or AT+MBFUN is empty, it will display NULL, and the payload will be filled with n FFs.
801 801  
802 -**2 )  if the data intercepted by AT+DATACUT or AT+MBFUN is empty, it will display NULL, and the payload will be filled with n FFs.**
803 803  
804 -
805 805  [[image:image-20220824145428-3.png||height="308" width="1200"]]
806 806  
807 807  
... ... @@ -927,10 +927,8 @@
927 927  
928 928  )))
929 929  
930 -(% aria-label="image-20220602165351-6.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602165351-6.png||data-widget="image"]]
948 +(% aria-label="image-20220602165351-6.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602165351-6.png||data-widget="image"]](% title="Click and drag to resize" %)​
931 931  
932 -(% title="Click and drag to resize" %)​
933 -
934 934  (% aria-label="image-20220602165351-7.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602165351-7.png||data-widget="image"]](% title="Click and drag to resize" %)​
935 935  
936 936  
... ... @@ -950,6 +950,7 @@
950 950  (((
951 951  * (% style="color:#037691" %)** AT Command:**
952 952  
969 +
953 953  (% style="color:#4472c4" %)** AT+CMDDLaa=hex(bb cc)*1000**
954 954  )))
955 955  
... ... @@ -1004,6 +1004,7 @@
1004 1004  (((
1005 1005  * (% style="color:#037691" %)** AT Command:**
1006 1006  
1024 +
1007 1007  (% style="color:#4472c4" %)** AT+DATAUP=0**
1008 1008  
1009 1009  (% style="color:#4472c4" %)** AT+DATAUP=1**
... ... @@ -1127,10 +1127,15 @@
1127 1127  
1128 1128  (((
1129 1129  Set the Rs485 serial communication parameters:
1148 +
1149 +
1130 1130  )))
1131 1131  
1132 -(((
1133 -(% style="color:#037691" %)**AT Command:**
1152 +* (((
1153 +(% style="color:#037691" %)** AT Command:**
1154 +
1155 +
1156 +
1134 1134  )))
1135 1135  
1136 1136  (((
... ... @@ -1137,7 +1137,7 @@
1137 1137  * Set Baud Rate
1138 1138  )))
1139 1139  
1140 -(% style="color:#4472c4" %)** AT+BAUDR=9600** (%%) ~/~/  Options: (200~~115200)  When using low baud rate or receiving multiple bytes, you need to use AT+CMDDL to increase the receive timeout (the default receive timeout is 400ms), otherwise data will be lost
1163 +(% style="color:#4472c4" %)** AT+BAUDR=9600** (%%) ~/~/  Options: (200~~115200)  When using low baud rate or receiving multiple bytes, you need to use AT+CMDDL to increase the receive timeout (the default receive timeout is 400ms), otherwise data will be lost
1141 1141  
1142 1142  
1143 1143  (((
... ... @@ -1144,7 +1144,7 @@
1144 1144  * Set UART Parity
1145 1145  )))
1146 1146  
1147 -(% style="color:#4472c4" %)** AT+PARITY=0** (%%) ~/~/  Option: 0: no parity, 1: odd parity, 2: even parity
1170 +(% style="color:#4472c4" %)** AT+PARITY=0** (%%) ~/~/  Option: 0: no parity, 1: odd parity, 2: even parity
1148 1148  
1149 1149  
1150 1150  (((
... ... @@ -1151,18 +1151,21 @@
1151 1151  * Set STOPBIT
1152 1152  )))
1153 1153  
1154 -(% style="color:#4472c4" %)** AT+STOPBIT=0** (%%) ~/~/  Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits
1177 +(% style="color:#4472c4" %)** AT+STOPBIT=0** (%%) ~/~/  Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits
1155 1155  
1156 1156  
1157 -(((
1158 -(% style="color:#037691" %)**Downlink Payload:**
1180 +
1181 +* (((
1182 +(% style="color:#037691" %)** Downlink Payload:**
1159 1159  )))
1160 1160  
1161 1161  (((
1162 -(% style="color:#4472c4" %)** A7 01 aa bb**:   (%%) Same  AT+BAUDR=hex(aa bb)*100
1186 +(% style="color:#4472c4" %)** A7 01 aa bb**:   (%%) Same  AT+BAUDR=hex(aa bb)*100
1163 1163  )))
1164 1164  
1165 1165  (((
1190 +
1191 +
1166 1166  **Example:**
1167 1167  )))
1168 1168  
... ... @@ -1285,6 +1285,7 @@
1285 1285  (((
1286 1286  * (% style="color:#037691" %)**Downlink Payload:**
1287 1287  
1314 +
1288 1288  (% style="color:#4472c4" %)** 26 01  ** (%%) ~/~/  Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time.
1289 1289  )))
1290 1290  
... ... @@ -1308,7 +1308,7 @@
1308 1308  
1309 1309  (% style="color:#4472c4" %)**AT+RXMODE=2,500    ** (%%) ~/~/  RS485-LN uploads data as uplink from the first byte received by RS485 to the data received within 500ms after that.
1310 1310  
1311 -(% style="color:#4472c4" %)**AT+RXMODE=0,0  ** (%%) ~/~/  Disable this mode (default)
1338 +(% style="color:#4472c4" %)**AT+RXMODE=0,0  ** (%%) ~/~/ Disable this mode (default)
1312 1312  
1313 1313  
1314 1314  * (((
... ... @@ -1334,12 +1334,10 @@
1334 1334  
1335 1335  )))
1336 1336  
1337 -(% aria-label="image-20220602171200-8.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602171200-8.png||data-widget="image" height="567" width="1007"]](% 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"]]
1364 +(% aria-label="image-20220602171200-8.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602171200-8.png||data-widget="image" height="567" width="1007"]](% 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" %)​
1338 1338  
1339 -(% title="Click and drag to resize" %)​
1340 -
1341 1341  (((
1342 -To enable the listening mode, use can run the command (% style="color:#4472c4" %)** AT+RXMODE**.
1367 +To enable the listening mode, use can run the command AT+RXMODE.
1343 1343  )))
1344 1344  
1345 1345  (((
... ... @@ -1374,13 +1374,11 @@
1374 1374  )))
1375 1375  
1376 1376  (((
1377 -
1378 -
1379 -(% style="color:#037691" %)**Downlink Command:**
1402 +(% style="color:#037691" %)** Downlink Command:**
1380 1380  )))
1381 1381  
1382 1382  (((
1383 -(% style="color:#4472c4" %)** 0xA6 aa bb cc **(%%) same as AT+RXMODE=aa,(bb<<8 | cc)
1406 +**0xA6 aa bb cc ** same as AT+RXMODE=aa,(bb<<8 | cc)
1384 1384  )))
1385 1385  
1386 1386  (((
... ... @@ -1409,8 +1409,6 @@
1409 1409  
1410 1410  (((
1411 1411  RS485-LN will capture both and send the uplink: (% style="background-color:#ffc000" %)01 03 00 00 00 02 c4 0b  (% style="background-color:green" %)01 03 04 00 00 00 00 fa 33
1412 -
1413 -
1414 1414  )))
1415 1415  
1416 1416  (((
... ... @@ -1438,7 +1438,6 @@
1438 1438  |(% style="width:50px" %)**RST**|(% style="width:361px" %)Reboot RS485
1439 1439  |(% style="width:50px" %)**PRO**|(% style="width:361px" %)Use for upload image, see [[How to Update Image>>||anchor="H6.1Howtoupgradetheimage3F"]]
1440 1440  
1441 -
1442 1442  == 3.8 LEDs ==
1443 1443  
1444 1444  
... ... @@ -1447,7 +1447,6 @@
1447 1447  |**PWR**|Always on if there is power
1448 1448  |**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.
1449 1449  
1450 -
1451 1451  = 4. Case Study =
1452 1452  
1453 1453  
... ... @@ -1463,18 +1463,13 @@
1463 1463  
1464 1464  (((
1465 1465  RS485-LN supports AT Command set. User can use a USB to TTL adapter plus the 3.5mm Program Cable to connect to RS485-LN to use AT command, as below.
1466 -
1467 -
1468 1468  )))
1469 1469  
1470 1470  (% aria-label="1654162355560-817.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654162355560-817.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" %)​
1471 1471  
1472 1472  
1473 -
1474 1474  (((
1475 1475  In PC, User needs to set (% style="color:blue" %)**serial tool**(%%)(such as [[putty>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console of RS485-LN. The default password is 123456. Below is the output for reference:
1476 -
1477 -
1478 1478  )))
1479 1479  
1480 1480  (% aria-label="1654162368066-342.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654162368066-342.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" %)​
... ... @@ -1580,20 +1580,14 @@
1580 1580  
1581 1581  (((
1582 1582  (% 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]].
1583 -
1584 -
1585 1585  )))
1586 1586  
1587 1587  (((
1588 1588  (% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>url:https://www.dropbox.com/sh/g99v0fxcltn9r1y/AACP33wo_ZQLsxW2MJ70oUoba/RS485-LN/Firmware?dl=0&subfolder_nav_tracking=1]].
1589 -
1590 -
1591 1591  )))
1592 1592  
1593 1593  (((
1594 1594  (% style="color:blue" %)**Step3**(%%)**: **Open flashloader; choose the correct COM port to update.
1595 -
1596 -
1597 1597  )))
1598 1598  
1599 1599  (((
... ... @@ -1692,7 +1692,6 @@
1692 1692  * (% style="color:red" %)**RU864**(%%):  frequency bands RU864
1693 1693  * (% style="color:red" %)**KZ865**(%%):  frequency bands KZ865
1694 1694  
1695 -
1696 1696  = 9.Packing Info =
1697 1697  
1698 1698  
... ... @@ -1709,7 +1709,6 @@
1709 1709  * Package Size / pcs : 14.5 x 8 x 5 cm
1710 1710  * Weight / pcs : 170g
1711 1711  
1712 -
1713 1713  = 10. FCC Caution for RS485LN-US915 =
1714 1714  
1715 1715  
image-20220929111027-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -240.0 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0