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 ((( ... ... @@ -208,7 +208,7 @@ 208 208 ))) 209 209 ))) 210 210 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" %)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" %) 212 212 213 213 214 214 ((( ... ... @@ -304,7 +304,6 @@ 304 304 305 305 ((( 306 306 Options: (1200,2400,4800, 307 - 308 308 14400,19200,115200) 309 309 ))) 310 310 ))) ... ... @@ -319,9 +319,7 @@ 319 319 320 320 ((( 321 321 Option: 0: no parity, 322 - 323 323 1: odd parity, 324 - 325 325 2: even parity 326 326 ))) 327 327 ))) ... ... @@ -331,10 +331,6 @@ 331 331 ((( 332 332 Set serial stopbit (for RS485 connection) 333 333 ))) 334 - 335 -((( 336 - 337 -))) 338 338 )))|(% style="width:193px" %)((( 339 339 ((( 340 340 AT+STOPBIT=0 for 1bit ... ... @@ -349,7 +349,6 @@ 349 349 ))) 350 350 ))) 351 351 352 - 353 353 === 3.3.2 Configure sensors === 354 354 355 355 ... ... @@ -417,6 +417,20 @@ 417 417 In the RS485-LN, we should use this command AT+COMMAND1=01 03 0B B8 00 02,1 for the same. 418 418 419 419 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 + 420 420 (% style="color:#037691" %)**AT+DATACUTx **(%%)**: **This command defines how to handle the return from AT+COMMANDx, max return length is 100 bytes. 421 421 422 422 (% border="1" style="background-color:#f2f2f2; width:510px" %) ... ... @@ -562,7 +562,7 @@ 562 562 563 563 564 564 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 565 -|=(% scope="row" style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((571 +|=(% scope="row" style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)((( 566 566 Size(bytes) 567 567 )))|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:360px" %)((( 568 568 **Length depends on the return from the commands** ... ... @@ -1012,6 +1012,8 @@ 1012 1012 (% 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. 1013 1013 1014 1014 1021 +(Since firmware v1.4.0) 1022 + 1015 1015 * ((( 1016 1016 (% style="color:#037691" %)** AT Command:** 1017 1017 ))) ... ... @@ -1028,7 +1028,44 @@ 1028 1028 Each uplink is sent to the server at 20-second intervals when segmented. 1029 1029 1030 1030 1039 +==== (% style="color:blue" %)**Cut data separation processing(Since Version 1.4.2)**(%%) ==== 1031 1031 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 + 1032 1032 ==== (% style="color:blue" %)**Manually trigger an Uplink**(%%) ==== 1033 1033 1034 1034 ... ... @@ -1591,6 +1591,13 @@ 1591 1591 (% 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" %) 1592 1592 1593 1593 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 + 1594 1594 (% 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:** 1595 1595 1596 1596 (% 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" %) ... ... @@ -1743,6 +1743,18 @@ 1743 1743 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) 1744 1744 1745 1745 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 + 1746 1746 = 7. Trouble Shooting = 1747 1747 1748 1748 == 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