Changes for page RS485-LN – RS485 to LoRaWAN Converter User Manual
Last modified by Bei Jinggeng on 2025/01/16 11:36
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Bei - Content
-
... ... @@ -108,8 +108,6 @@ 108 108 * Automatic RF Sense and CAD with ultra-fast AFC. 109 109 * Packet engine up to 256 bytes with CRC 110 110 111 - 112 - 113 113 == 1.3 Features == 114 114 115 115 ... ... @@ -122,8 +122,6 @@ 122 122 * Support Modbus protocol 123 123 * Support Interrupt uplink (Since hardware version v1.2) 124 124 125 - 126 - 127 127 == 1.4 Applications == 128 128 129 129 ... ... @@ -134,8 +134,6 @@ 134 134 * Smart Cities 135 135 * Smart Factory 136 136 137 - 138 - 139 139 == 1.5 Firmware Change log == 140 140 141 141 ... ... @@ -367,9 +367,6 @@ 367 367 ))) 368 368 ))) 369 369 370 - 371 - 372 - 373 373 === 3.3.2 Configure sensors === 374 374 375 375 ... ... @@ -397,9 +397,6 @@ 397 397 ))) 398 398 )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m 399 399 400 - 401 - 402 - 403 403 === 3.3.3 Configure read commands for each sampling === 404 404 405 405 ... ... @@ -507,7 +507,7 @@ 507 507 508 508 ))) 509 509 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" %)498 +[[image:image-20220929111027-1.png||height="509" width="685"]](% title="Click and drag to resize" %) 511 511 512 512 513 513 (% style="color:#037691" %)**Examples: AT+DATAUP=1** ... ... @@ -515,7 +515,7 @@ 515 515 516 516 Compose the uplink payload with value returns in sequence and send with (% style="color:red" %)**Multiply UPLINKs**. 517 517 518 -Final Payload is (% style="color:#4f81bd" %)** Battery Info+PAYVER + PAYLOAD COUNT + PAYLOAD# + DATA**506 +Final Payload is (% style="color:#4f81bd" %)**PAYVER + PAYLOAD COUNT + PAYLOAD# + DATA** 519 519 520 520 521 521 1. PAYVER: Defined by AT+PAYVER ... ... @@ -546,27 +546,13 @@ 546 546 547 547 ~* For all other bands: max 51 bytes for each uplink. 548 548 549 -(% style="color:red" %)*** When AT+DATAUP=1, the maximum number of segments is 15, and the maximum total number of bytes is 1500;** 550 550 551 -(% style="color:red" %)** and AT+ADR=0, the maximum number ofbytesofeachpayloadis determinedbyheDR value. (Sincev1.4.0)**538 +(% style="color:red" %)** When AT+DATAUP=1, the maximum number of segments is 15, and the maximum total number of bytes is 1500;** 552 552 540 +(% 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)** 553 553 554 -(% style="color:#4f81bd" %)**If the data is empty, return to the display(Since v1.4.0)** 555 555 556 -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**. 557 557 558 - 559 -[[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"]] 560 - 561 - 562 - 563 -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**. 564 - 565 - 566 -[[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"]] 567 - 568 - 569 - 570 570 Below are the uplink payloads: 571 571 572 572 ... ... @@ -601,9 +601,26 @@ 601 601 602 602 == 3.4 Uplink Payload == 603 603 578 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:800px" %) 579 +|((( 580 +Size(bytes) 581 +)))|1|((( 582 +Length depends on the return from the commands 583 +))) 584 +|((( 585 +Value 586 +)))|((( 587 +PAYLOAD_VER 588 +)))|((( 589 +If the valid payload is too long and exceed the maximum 604 604 605 - (% aria-label="image-20220606110929-1.png image widget" contenteditable="false"role="region"tabindex="-1"%)[[image:image-20220606110929-1.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="Clickanddrag tomove" width="15"]]591 +support payload length in server, server will show payload not 606 606 593 +provided in the LoRaWAN server. 594 +))) 595 + 596 +(% 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"]] 597 + 607 607 (% title="Click and drag to resize" %) 608 608 609 609 Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors. ... ... @@ -665,7 +665,7 @@ 665 665 666 666 667 667 ((( 668 -This command is used to configure the RS485 devices; they won't be used during sampling. 659 +This command is used to configure the RS485 devices; they won't be used during sampling. Max Length of AT+CFGDEV is **40 bytes**. 669 669 ))) 670 670 671 671 ((( ... ... @@ -812,14 +812,16 @@ 812 812 ))) 813 813 814 814 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) 806 +**1 ) Add the interrupt flag at the highest bit of the Payver byte, that is, Byte7 of the first byte. (Since v1.4.0)** 816 816 808 + 817 817 [[image:image-20220824145428-2.png||height="168" width="1300"]] 818 818 819 819 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. 821 821 813 +**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.** 822 822 815 + 823 823 [[image:image-20220824145428-3.png||height="308" width="1200"]] 824 824 825 825 ... ... @@ -945,8 +945,10 @@ 945 945 946 946 ))) 947 947 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" %)941 +(% aria-label="image-20220602165351-6.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602165351-6.png||data-widget="image"]] 949 949 943 +(% title="Click and drag to resize" %) 944 + 950 950 (% 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" %) 951 951 952 952 ... ... @@ -1143,15 +1143,10 @@ 1143 1143 1144 1144 ((( 1145 1145 Set the Rs485 serial communication parameters: 1146 - 1147 - 1148 1148 ))) 1149 1149 1150 -* ((( 1151 -(% style="color:#037691" %)** AT Command:** 1152 - 1153 - 1154 - 1143 +((( 1144 +(% style="color:#037691" %)**AT Command:** 1155 1155 ))) 1156 1156 1157 1157 ((( ... ... @@ -1158,7 +1158,7 @@ 1158 1158 * Set Baud Rate 1159 1159 ))) 1160 1160 1161 -(% 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 1151 +(% 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 1162 1162 1163 1163 1164 1164 ((( ... ... @@ -1165,7 +1165,7 @@ 1165 1165 * Set UART Parity 1166 1166 ))) 1167 1167 1168 -(% style="color:#4472c4" %)** AT+PARITY=0** (%%) ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity 1158 +(% style="color:#4472c4" %)** AT+PARITY=0** (%%) ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity 1169 1169 1170 1170 1171 1171 ((( ... ... @@ -1172,21 +1172,18 @@ 1172 1172 * Set STOPBIT 1173 1173 ))) 1174 1174 1175 -(% style="color:#4472c4" %)** AT+STOPBIT=0** (%%) ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits 1165 +(% style="color:#4472c4" %)** AT+STOPBIT=0** (%%) ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits 1176 1176 1177 1177 1178 - 1179 -* ((( 1180 -(% style="color:#037691" %)** Downlink Payload:** 1168 +((( 1169 +(% style="color:#037691" %)**Downlink Payload:** 1181 1181 ))) 1182 1182 1183 1183 ((( 1184 -(% style="color:#4472c4" %)** A7 01 aa bb**: (%%) Same AT+BAUDR=hex(aa bb)*100 1173 +(% style="color:#4472c4" %)** A7 01 aa bb**: (%%) Same AT+BAUDR=hex(aa bb)*100 1185 1185 ))) 1186 1186 1187 1187 ((( 1188 - 1189 - 1190 1190 **Example:** 1191 1191 ))) 1192 1192 ... ... @@ -1206,9 +1206,26 @@ 1206 1206 ))) 1207 1207 1208 1208 1196 +==== (% style="color:blue" %)**Configure Databit (Since Version 1.4.0)**(%%) ==== 1209 1209 1198 +* ((( 1199 +(% style="color:#037691" %)** AT Command:** 1200 +))) 1210 1210 1202 +**~ AT+DATABIT=7 **~/~/ Set the data bits to 7 1211 1211 1204 +**~ AT+DATABIT=8 **~/~/Set the data bits to 8 1205 + 1206 +* ((( 1207 +(% style="color:#037691" %)**Downlink Payload:** 1208 +))) 1209 + 1210 +**~ A7 04 07**: Same as AT+DATABIT=7 1211 + 1212 +**~ A7 04 08**: Same as AT+DATABIT=8 1213 + 1214 + 1215 + 1212 1212 ==== (% style="color:blue" %)**Encrypted payload**(%%) ==== 1213 1213 1214 1214 ((( ... ... @@ -1433,6 +1433,8 @@ 1433 1433 1434 1434 ((( 1435 1435 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 1440 + 1441 + 1436 1436 ))) 1437 1437 1438 1438 ((( ... ... @@ -1460,8 +1460,6 @@ 1460 1460 |(% style="width:50px" %)**RST**|(% style="width:361px" %)Reboot RS485 1461 1461 |(% style="width:50px" %)**PRO**|(% style="width:361px" %)Use for upload image, see [[How to Update Image>>||anchor="H6.1Howtoupgradetheimage3F"]] 1462 1462 1463 - 1464 - 1465 1465 == 3.8 LEDs == 1466 1466 1467 1467 ... ... @@ -1470,8 +1470,6 @@ 1470 1470 |**PWR**|Always on if there is power 1471 1471 |**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. 1472 1472 1473 - 1474 - 1475 1475 = 4. Case Study = 1476 1476 1477 1477 ... ... @@ -1716,8 +1716,6 @@ 1716 1716 * (% style="color:red" %)**RU864**(%%): frequency bands RU864 1717 1717 * (% style="color:red" %)**KZ865**(%%): frequency bands KZ865 1718 1718 1719 - 1720 - 1721 1721 = 9.Packing Info = 1722 1722 1723 1723 ... ... @@ -1734,8 +1734,6 @@ 1734 1734 * Package Size / pcs : 14.5 x 8 x 5 cm 1735 1735 * Weight / pcs : 170g 1736 1736 1737 - 1738 - 1739 1739 = 10. FCC Caution for RS485LN-US915 = 1740 1740 1741 1741
- image-20220929111027-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +240.0 KB - Content