Changes for page RS485-LN – RS485 to LoRaWAN Converter User Manual
Last modified by Bei Jinggeng on 2025/01/16 11:36
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- 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: ... ... @@ -505,7 +505,7 @@ 505 505 506 506 ))) 507 507 508 -[[image:image-20220 929111027-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" %) 509 509 510 510 511 511 (% style="color:#037691" %)**Examples: AT+DATAUP=1** ... ... @@ -513,7 +513,7 @@ 513 513 514 514 Compose the uplink payload with value returns in sequence and send with (% style="color:red" %)**Multiply UPLINKs**. 515 515 516 -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** 517 517 518 518 519 519 1. PAYVER: Defined by AT+PAYVER ... ... @@ -522,7 +522,6 @@ 522 522 1. DATA: Valid value: max 8 bytes for each uplink so each uplink <= 11 bytes. For the last uplink, DATA will might less than 8 bytes 523 523 524 524 525 - 526 526 (% aria-label="image-20220602155039-4.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602155039-4.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" %) 527 527 528 528 ... ... @@ -546,13 +546,27 @@ 546 546 547 547 ~* For all other bands: max 51 bytes for each uplink. 548 548 550 +(% style="color:red" %)*** When AT+DATAUP=1, the maximum number of segments is 15, and the maximum total number of bytes is 1500;** 549 549 550 -(% style="color:red" %)** When AT+DATAUP=1, the maximum number of segmentsis15,and theaximum totalnumberofbytesis1500;**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)** 551 551 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)** 553 553 555 +(% style="color:#4f81bd" %)**If the data is empty, return to the display(Since v1.4.0)** 554 554 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**. 555 555 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 + 556 556 Below are the uplink payloads: 557 557 558 558 ... ... @@ -633,11 +633,8 @@ 633 633 634 634 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. 635 635 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" %) 636 636 637 -(% 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"]] 638 - 639 -(% title="Click and drag to resize" %) 640 - 641 641 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) 642 642 643 643 ... ... @@ -657,6 +657,7 @@ 657 657 ((( 658 658 * (% style="color:#037691" %)**AT Command** 659 659 672 + 660 660 ((( 661 661 (% 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 662 662 ))) ... ... @@ -780,6 +780,7 @@ 780 780 ((( 781 781 * (% style="color:#037691" %)**AT Command:** 782 782 796 + 783 783 (% style="color:#4472c4" %)** AT+PAYVER: ** (%%) Set PAYVER field = 1 784 784 785 785 ... ... @@ -798,16 +798,14 @@ 798 798 ))) 799 799 800 800 801 - **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) 802 802 803 - 804 804 [[image:image-20220824145428-2.png||height="168" width="1300"]] 805 805 806 806 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. 807 807 808 -**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.** 809 809 810 - 811 811 [[image:image-20220824145428-3.png||height="308" width="1200"]] 812 812 813 813 ... ... @@ -933,10 +933,8 @@ 933 933 934 934 ))) 935 935 936 -(% 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" %) 937 937 938 -(% title="Click and drag to resize" %) 939 - 940 940 (% 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" %) 941 941 942 942 ... ... @@ -956,6 +956,7 @@ 956 956 ((( 957 957 * (% style="color:#037691" %)** AT Command:** 958 958 969 + 959 959 (% style="color:#4472c4" %)** AT+CMDDLaa=hex(bb cc)*1000** 960 960 ))) 961 961 ... ... @@ -1010,6 +1010,7 @@ 1010 1010 ((( 1011 1011 * (% style="color:#037691" %)** AT Command:** 1012 1012 1024 + 1013 1013 (% style="color:#4472c4" %)** AT+DATAUP=0** 1014 1014 1015 1015 (% style="color:#4472c4" %)** AT+DATAUP=1** ... ... @@ -1299,6 +1299,7 @@ 1299 1299 ((( 1300 1300 * (% style="color:#037691" %)**Downlink Payload:** 1301 1301 1314 + 1302 1302 (% style="color:#4472c4" %)** 26 01 ** (%%) ~/~/ Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time. 1303 1303 ))) 1304 1304 ... ... @@ -1322,7 +1322,7 @@ 1322 1322 1323 1323 (% 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. 1324 1324 1325 -(% style="color:#4472c4" %)**AT+RXMODE=0,0 ** (%%) ~/~/ 1338 +(% style="color:#4472c4" %)**AT+RXMODE=0,0 ** (%%) ~/~/ Disable this mode (default) 1326 1326 1327 1327 1328 1328 * ((( ... ... @@ -1348,12 +1348,10 @@ 1348 1348 1349 1349 ))) 1350 1350 1351 -(% 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" %) 1352 1352 1353 -(% title="Click and drag to resize" %) 1354 - 1355 1355 ((( 1356 -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. 1357 1357 ))) 1358 1358 1359 1359 ((( ... ... @@ -1388,13 +1388,11 @@ 1388 1388 ))) 1389 1389 1390 1390 ((( 1391 - 1392 - 1393 -(% style="color:#037691" %)**Downlink Command:** 1402 +(% style="color:#037691" %)** Downlink Command:** 1394 1394 ))) 1395 1395 1396 1396 ((( 1397 - (% style="color:#4472c4" %)**(%%)same as AT+RXMODE=aa,(bb<<8 | cc)1406 +**0xA6 aa bb cc ** same as AT+RXMODE=aa,(bb<<8 | cc) 1398 1398 ))) 1399 1399 1400 1400 ((( ... ... @@ -1423,8 +1423,6 @@ 1423 1423 1424 1424 ((( 1425 1425 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 1426 - 1427 - 1428 1428 ))) 1429 1429 1430 1430 ((( ... ... @@ -1452,8 +1452,6 @@ 1452 1452 |(% style="width:50px" %)**RST**|(% style="width:361px" %)Reboot RS485 1453 1453 |(% style="width:50px" %)**PRO**|(% style="width:361px" %)Use for upload image, see [[How to Update Image>>||anchor="H6.1Howtoupgradetheimage3F"]] 1454 1454 1455 - 1456 - 1457 1457 == 3.8 LEDs == 1458 1458 1459 1459 ... ... @@ -1462,8 +1462,6 @@ 1462 1462 |**PWR**|Always on if there is power 1463 1463 |**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. 1464 1464 1465 - 1466 - 1467 1467 = 4. Case Study = 1468 1468 1469 1469 ... ... @@ -1479,18 +1479,13 @@ 1479 1479 1480 1480 ((( 1481 1481 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. 1482 - 1483 - 1484 1484 ))) 1485 1485 1486 1486 (% 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" %) 1487 1487 1488 1488 1489 - 1490 1490 ((( 1491 1491 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: 1492 - 1493 - 1494 1494 ))) 1495 1495 1496 1496 (% 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" %) ... ... @@ -1596,20 +1596,14 @@ 1596 1596 1597 1597 ((( 1598 1598 (% 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]]. 1599 - 1600 - 1601 1601 ))) 1602 1602 1603 1603 ((( 1604 1604 (% 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]]. 1605 - 1606 - 1607 1607 ))) 1608 1608 1609 1609 ((( 1610 1610 (% style="color:blue" %)**Step3**(%%)**: **Open flashloader; choose the correct COM port to update. 1611 - 1612 - 1613 1613 ))) 1614 1614 1615 1615 ((( ... ... @@ -1708,8 +1708,6 @@ 1708 1708 * (% style="color:red" %)**RU864**(%%): frequency bands RU864 1709 1709 * (% style="color:red" %)**KZ865**(%%): frequency bands KZ865 1710 1710 1711 - 1712 - 1713 1713 = 9.Packing Info = 1714 1714 1715 1715 ... ... @@ -1726,8 +1726,6 @@ 1726 1726 * Package Size / pcs : 14.5 x 8 x 5 cm 1727 1727 * Weight / pcs : 170g 1728 1728 1729 - 1730 - 1731 1731 = 10. FCC Caution for RS485LN-US915 = 1732 1732 1733 1733
- image-20220929111027-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -240.0 KB - Content