Changes for page RS485-LN – RS485 to LoRaWAN Converter User Manual
Last modified by Bei Jinggeng on 2025/01/10 15:06
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Saxer1 +XWiki.Xiaoling - 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, 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, smartphone detection, building automation, and so on. 42 42 ))) 43 43 44 44 ((( ... ... @@ -208,7 +208,7 @@ 208 208 ))) 209 209 ))) 210 210 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" %)211 +(% 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" %) 212 212 213 213 214 214 ((( ... ... @@ -281,55 +281,53 @@ 281 281 282 282 To use RS485-LN to read data from RS485 sensors, connect the RS485-LN A/B traces to the sensors. And user need to make sure RS485-LN use the match UART setting to access the sensors. The related commands for UART settings are: 283 283 284 + 284 284 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 285 -|=(% style="width: 1 26px; background-color:#D9E2F3;color:#0070C0" %)(((286 +|=(% style="width: 119px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)((( 286 286 **AT Commands** 287 -)))|=(% style="width: 1 87px; background-color:#D9E2F3;color:#0070C0" %)(((288 +)))|=(% style="width: 116px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)((( 288 288 **Description** 289 -)))|=(% style="width: 19 7px;background-color:#D9E2F3;color:#0070C0" %)(((290 +)))|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)((( 290 290 **Example** 291 291 ))) 292 -|(% style="width:126px" %)((( 293 - 294 - 295 -((( 293 +|(% style="width:119px" %)((( 296 296 AT+BAUDR 297 -))) 298 -)))|(% style="width:177px" %)((( 295 +)))|(% style="width:116px" %)((( 299 299 Set the baud rate (for RS485 connection). Default Value is: 9600. 300 -)))|(% style="width:19 3px" %)(((297 +)))|(% style="width:190px" %)((( 301 301 ((( 302 302 AT+BAUDR=9600 303 303 ))) 304 304 305 305 ((( 306 -Options: (1200,2400,4800, 307 -14400,19200,115200) 303 +Options: (1200,2400,4800,14400,19200,115200) 308 308 ))) 309 309 ))) 310 -|(% style="width:1 26px" %)(((306 +|(% style="width:119px" %)((( 311 311 AT+PARITY 312 -)))|(% style="width:1 77px" %)(((308 +)))|(% style="width:116px" %)((( 313 313 Set UART parity (for RS485 connection) 314 -)))|(% style="width:19 3px" %)(((310 +)))|(% style="width:190px" %)((( 315 315 ((( 316 316 AT+PARITY=0 317 317 ))) 318 318 319 319 ((( 320 -Option: 0: no parity, 321 -1: odd parity, 322 -2: even parity 316 +Option: 0: no parity, 1: odd parity, 2: even parity 323 323 ))) 324 324 ))) 325 -|(% style="width:1 26px" %)(((319 +|(% style="width:119px" %)((( 326 326 AT+STOPBIT 327 -)))|(% style="width:1 77px" %)(((321 +)))|(% style="width:116px" %)((( 328 328 ((( 329 329 Set serial stopbit (for RS485 connection) 330 330 ))) 331 - )))|(% style="width:193px" %)(((325 + 332 332 ((( 327 + 328 +))) 329 +)))|(% style="width:190px" %)((( 330 +((( 333 333 AT+STOPBIT=0 for 1bit 334 334 ))) 335 335 ... ... @@ -346,8 +346,12 @@ 346 346 347 347 348 348 ((( 347 +((( 349 349 Some sensors might need to configure before normal operation. User can configure such sensor via PC and RS485 adapter or through RS485-LN AT Commands (% style="color:#4f81bd" %)**AT+CFGDEV**(%%). Each (% style="color:#4f81bd" %)**AT+CFGDEV **(%%)equals to send a RS485 command to sensors. This command will only run when user input it and won't run during each sampling. 349 + 350 + 350 350 ))) 352 +))) 351 351 352 352 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 353 353 |=(% style="width: 122px; background-color:#D9E2F3;color:#0070C0" %)**AT Commands**|=(% style="width: 198px; background-color:#D9E2F3;color:#0070C0" %)**Description**|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)**Example** ... ... @@ -409,20 +409,6 @@ 409 409 In the RS485-LN, we should use this command AT+COMMAND1=01 03 0B B8 00 02,1 for the same. 410 410 411 411 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 - 426 426 (% style="color:#037691" %)**AT+DATACUTx **(%%)**: **This command defines how to handle the return from AT+COMMANDx, max return length is 100 bytes. 427 427 428 428 (% border="1" style="background-color:#f2f2f2; width:510px" %) ... ... @@ -568,7 +568,7 @@ 568 568 569 569 570 570 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 571 -|=(% scope="row" style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)(((559 +|=(% scope="row" style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)((( 572 572 Size(bytes) 573 573 )))|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:360px" %)((( 574 574 **Length depends on the return from the commands** ... ... @@ -1018,8 +1018,6 @@ 1018 1018 (% 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. 1019 1019 1020 1020 1021 -(Since firmware v1.4.0) 1022 - 1023 1023 * ((( 1024 1024 (% style="color:#037691" %)** AT Command:** 1025 1025 ))) ... ... @@ -1036,44 +1036,7 @@ 1036 1036 Each uplink is sent to the server at 20-second intervals when segmented. 1037 1037 1038 1038 1039 -==== (% style="color:blue" %)**Cut data separation processing(Since Version 1.4.2)**(%%) ==== 1040 1040 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 - 1077 1077 ==== (% style="color:blue" %)**Manually trigger an Uplink**(%%) ==== 1078 1078 1079 1079
- image-20230425175403-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -150.1 KB - Content
- image-20230425175410-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -150.1 KB - Content