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, 2 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 ((( ... ... @@ -307,6 +307,7 @@ 307 307 ((( 308 308 AT+BAUDR=9600 309 309 ))) 304 + 310 310 ((( 311 311 Options: (1200,2400,4800, 312 312 14400,19200,115200) ... ... @@ -320,6 +320,7 @@ 320 320 ((( 321 321 AT+PARITY=0 322 322 ))) 318 + 323 323 ((( 324 324 Option: 0: no parity, 325 325 1: odd parity, ... ... @@ -332,17 +332,15 @@ 332 332 ((( 333 333 Set serial stopbit (for RS485 connection) 334 334 ))) 335 - 336 -((( 337 - 338 -))) 339 339 )))|(% style="width:193px" %)((( 340 340 ((( 341 341 AT+STOPBIT=0 for 1bit 342 342 ))) 335 + 343 343 ((( 344 344 AT+STOPBIT=1 for 1.5 bit 345 345 ))) 339 + 346 346 ((( 347 347 AT+STOPBIT=2 for 2 bits 348 348 ))) ... ... @@ -415,6 +415,20 @@ 415 415 In the RS485-LN, we should use this command AT+COMMAND1=01 03 0B B8 00 02,1 for the same. 416 416 417 417 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 + 418 418 (% style="color:#037691" %)**AT+DATACUTx **(%%)**: **This command defines how to handle the return from AT+COMMANDx, max return length is 100 bytes. 419 419 420 420 (% border="1" style="background-color:#f2f2f2; width:510px" %) ... ... @@ -1010,6 +1010,8 @@ 1010 1010 (% 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. 1011 1011 1012 1012 1021 +(Since firmware v1.4.0) 1022 + 1013 1013 * ((( 1014 1014 (% style="color:#037691" %)** AT Command:** 1015 1015 ))) ... ... @@ -1026,7 +1026,44 @@ 1026 1026 Each uplink is sent to the server at 20-second intervals when segmented. 1027 1027 1028 1028 1039 +==== (% style="color:blue" %)**Cut data separation processing(Since Version 1.4.2)**(%%) ==== 1029 1029 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 + 1030 1030 ==== (% style="color:blue" %)**Manually trigger an Uplink**(%%) ==== 1031 1031 1032 1032 ... ... @@ -1589,6 +1589,13 @@ 1589 1589 (% 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" %) 1590 1590 1591 1591 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 + 1592 1592 (% 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:** 1593 1593 1594 1594 (% 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" %) ... ... @@ -1741,6 +1741,18 @@ 1741 1741 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) 1742 1742 1743 1743 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 + 1744 1744 = 7. Trouble Shooting = 1745 1745 1746 1746 == 7.1 Downlink doesn't work, how to solve it? ==
- image-20230425175403-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +150.1 KB - Content
- image-20230425175410-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +150.1 KB - Content