Changes for page RS485-LN – RS485 to LoRaWAN Converter User Manual
Last modified by Bei Jinggeng on 2025/01/10 15:06
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
-
... ... @@ -38,7 +38,7 @@ 38 38 ))) 39 39 40 40 ((( 41 -RS485-LN allows user to (% style="color:blue" %)**monitor / control RS485 devices**(%%) and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, smartphone detection,building automation, and so on.41 +RS485-LN allows user to (% style="color:blue" %)**monitor / control RS485 devices**(%%) and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, building automation, and so on. 42 42 ))) 43 43 44 44 ((( ... ... @@ -94,8 +94,6 @@ 94 94 * Automatic RF Sense and CAD with ultra-fast AFC. 95 95 * Packet engine up to 256 bytes with CRC 96 96 97 - 98 - 99 99 == 1.3 Features == 100 100 101 101 ... ... @@ -108,8 +108,6 @@ 108 108 * Support Modbus protocol 109 109 * Support Interrupt uplink (Since hardware version v1.2) 110 110 111 - 112 - 113 113 == 1.4 Applications == 114 114 115 115 ... ... @@ -120,8 +120,6 @@ 120 120 * Smart Cities 121 121 * Smart Factory 122 122 123 - 124 - 125 125 == 1.5 Firmware Change log == 126 126 127 127 ... ... @@ -214,7 +214,7 @@ 214 214 ))) 215 215 ))) 216 216 217 -(% aria-label="1652953462722-299.png image widget" contenteditable="false" role="region"tabindex="-1" %)[[image:1652953462722-299.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" %)211 +(% 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"]][[image:image-20230425175410-2.png]](% title="Click and drag to resize" %) 218 218 219 219 220 220 ((( ... ... @@ -348,8 +348,6 @@ 348 348 ))) 349 349 ))) 350 350 351 - 352 - 353 353 === 3.3.2 Configure sensors === 354 354 355 355 ... ... @@ -373,8 +373,6 @@ 373 373 ))) 374 374 )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m 375 375 376 - 377 - 378 378 === 3.3.3 Configure read commands for each sampling === 379 379 380 380 ... ... @@ -419,6 +419,20 @@ 419 419 In the RS485-LN, we should use this command AT+COMMAND1=01 03 0B B8 00 02,1 for the same. 420 420 421 421 412 +If a single command exceeds 14 bytes, you can use the command splicing function. 413 + 414 +When AT+CMDDLx=1, the commands of AT+COMMANDx and AT+COMMAND(x+1) will be merged. 415 + 416 + 417 +**Examples:** To send 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F data it should be configured: 418 + 419 + AT+COMMAND1=00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D,0 420 + 421 + AT+COMMAND1=1 422 + 423 + AT+COMMAND2=0E 0F,0 424 + 425 + 422 422 (% style="color:#037691" %)**AT+DATACUTx **(%%)**: **This command defines how to handle the return from AT+COMMANDx, max return length is 100 bytes. 423 423 424 424 (% border="1" style="background-color:#f2f2f2; width:510px" %) ... ... @@ -1014,6 +1014,8 @@ 1014 1014 (% style="color:#4472c4" %)** 0xAD 01** (%%) **~-~->** Same as AT+DATAUP=1 ~/~/Each uplink is sent to the server one after the other as it is segmented. 1015 1015 1016 1016 1021 +(Since firmware v1.4.0) 1022 + 1017 1017 * ((( 1018 1018 (% style="color:#037691" %)** AT Command:** 1019 1019 ))) ... ... @@ -1030,7 +1030,44 @@ 1030 1030 Each uplink is sent to the server at 20-second intervals when segmented. 1031 1031 1032 1032 1039 +==== (% style="color:blue" %)**Cut data separation processing(Since Version 1.4.2)**(%%) ==== 1033 1033 1041 + 1042 +AT+NEWLINE command, which only takes effect when AT+DATAUP=1 or AT+DATAUP=1, timeout. 1043 + 1044 +When not set, each part of AT+DATAUP is sent according to the maximum number of bytes of DR. 1045 + 1046 +When setting, each part of AT+DATAUP is sent according to the value set by AT+NEWLINE. 1047 + 1048 + 1049 +* ((( 1050 +(% style="color:#037691" %)** AT Command:** 1051 +))) 1052 + 1053 +(% style="color:#4472c4" %)//**AT+NEWLINE=ALL**//(%%)// //The data cut out by each AT+COMMANDx command is sent separately as an uplink. 1054 + 1055 +(% style="color:#4472c4" %)//**AT+NEWLINE=ALL**//(%%)// equal: (% style="color:#4472c4" %)**AT+NEWLINE=1+2+3+4+5+6+7+8+9+10+11+12+13+14+15**// 1056 + 1057 + 1058 +(% style="color:#4472c4" %)//**AT+NEWLINE=a+b+c**//(%%)// //The data returned by all commands is divided into three parts, COMMAND(1~~a) is the first part, COMMAND(a+1~~b) is the second part,COMMAND(b+1~~c) is the third part. 1059 + 1060 + 1061 +(% style="color:#4472c4" %)//**AT+NEWLINE=NULL**//(%%)// //Turn off the functionality of this AT command. 1062 + 1063 + 1064 +* ((( 1065 +(% style="color:#037691" %)** Downlink Payload:** 1066 +))) 1067 + 1068 +//AT+NEWLINE=ALL ~-~--> (% style="color:#4472c4" %)**0xAC 01**// 1069 + 1070 +// AT+NEWLINE= NULL ~-~--> (% style="color:#4472c4" %)**0xAC 00**// 1071 + 1072 +//AT+NEWLINE= a+b+c ~-~--> (% style="color:#4472c4" %)**0xAC number of bytes a b c**// 1073 + 1074 +//AT+NEWLINE= 1+5+15 ~-~--> (% style="color:#4472c4" %)**0xAC 03 01 05 0F**// 1075 + 1076 + 1034 1034 ==== (% style="color:blue" %)**Manually trigger an Uplink**(%%) ==== 1035 1035 1036 1036 ... ... @@ -1427,8 +1427,6 @@ 1427 1427 |(% style="width:50px" %)RST|(% style="width:361px" %)Reboot RS485 1428 1428 |(% style="width:50px" %)PRO|(% style="width:361px" %)Use for upload image, see [[How to Update Image>>||anchor="H6.1Howtoupgradetheimage3F"]] 1429 1429 1430 - 1431 - 1432 1432 == 3.8 LEDs == 1433 1433 1434 1434 ... ... @@ -1437,8 +1437,6 @@ 1437 1437 |PWR|Always on if there is power 1438 1438 |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. 1439 1439 1440 - 1441 - 1442 1442 = 4. Case Study = 1443 1443 1444 1444 ... ... @@ -1597,6 +1597,13 @@ 1597 1597 (% aria-label="image-20220602175912-14.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602175912-14.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" %) 1598 1598 1599 1599 1639 + 1640 +(% style="color:red" %)**Users can select the new burning software STM32Cubeprogramer for firmware upgrade and follow the same connection steps to enter burning mode (until SYS LED is RED ON):** 1641 + 1642 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H4.2.FirmwareupgradeusingSTM32Cubeprogramer>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H4.2.FirmwareupgradeusingSTM32Cubeprogramer]] 1643 + 1644 + 1645 + 1600 1600 (% style="color:red" %)**Notice**: **In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is:** 1601 1601 1602 1602 (% aria-label="image-20220602175638-10.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602175638-10.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" %) ... ... @@ -1749,6 +1749,18 @@ 1749 1749 The decoder for RS485-LN needs to be written by yourself. Because the sensor to which the user is connected is custom, the read device data bytes also need custom parsing, so there is no universal decoder. We can only provide [[templates>>https://github.com/dragino/dragino-end-node-decoder/tree/main/RS485-LN]] for decoders (no intermediate data parsing part involved) 1750 1750 1751 1751 1798 +== 6.9 How to configure RS485 commands more conveniently? == 1799 + 1800 + 1801 +Dragino has developed an application for the RS485 series of products. 1802 + 1803 +It can help you configure RS485 sensors more conveniently 1804 +Please refer to the link below for specific usage: 1805 + 1806 +[[RS485 Configure Tool - DRAGINO>>url:http://wiki.dragino.com/xwiki/bin/view/Main/RS485_Configure_Tool/#HTableofContentsFF1A]] 1807 + 1808 + 1809 + 1752 1752 = 7. Trouble Shooting = 1753 1753 1754 1754 == 7.1 Downlink doesn't work, how to solve it? == ... ... @@ -1781,8 +1781,6 @@ 1781 1781 * (% style="color:red" %)**RU864**(%%): frequency bands RU864 1782 1782 * (% style="color:red" %)**KZ865**(%%): frequency bands KZ865 1783 1783 1784 - 1785 - 1786 1786 = 9. Packing Info = 1787 1787 1788 1788 ... ... @@ -1799,8 +1799,6 @@ 1799 1799 * Package Size / pcs : 14.5 x 8 x 5 cm 1800 1800 * Weight / pcs : 170g 1801 1801 1802 - 1803 - 1804 1804 = 10. FCC Caution for RS485LN-US915 = 1805 1805 1806 1806
- image-20230425175410-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +150.1 KB - Content