<
From version < 72.1 >
edited by Bei Jinggeng
on 2022/08/24 14:56
To version < 71.1 >
edited by Bei Jinggeng
on 2022/08/24 14:54
>
Change comment: Uploaded new attachment "image-20220824145428-3.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -81,11 +81,13 @@
81 81  ** Idle: 32mA@12v
82 82  ** 20dB Transmit: 65mA@12v
83 83  
84 +
84 84  (% style="color:#037691" %)**Interface for Model:**
85 85  
86 86  * RS485
87 87  * Power Input 7~~ 24V DC. 
88 88  
90 +
89 89  (% style="color:#037691" %)**LoRa Spec:**
90 90  
91 91  * Frequency Range:
... ... @@ -107,11 +107,13 @@
107 107  * Automatic RF Sense and CAD with ultra-fast AFC.
108 108  * Packet engine up to 256 bytes with CRC
109 109  
112 +
113 +
110 110  == 1.3 Features ==
111 111  
112 112  
113 113  * LoRaWAN Class A & Class C protocol (default Class C)
114 -* Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865/RU864/MA869
118 +* Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865/RU864
115 115  * AT Commands to change parameters
116 116  * Remote configure parameters via LoRa Downlink
117 117  * Firmware upgradable via program port
... ... @@ -119,6 +119,8 @@
119 119  * Support Modbus protocol
120 120  * Support Interrupt uplink (Since hardware version v1.2)
121 121  
126 +
127 +
122 122  == 1.4 Applications ==
123 123  
124 124  
... ... @@ -129,6 +129,8 @@
129 129  * Smart Cities
130 130  * Smart Factory
131 131  
138 +
139 +
132 132  == 1.5 Firmware Change log ==
133 133  
134 134  
... ... @@ -345,6 +345,8 @@
345 345  )))
346 346  )))
347 347  
356 +
357 +
348 348  === 3.3.2 Configure sensors ===
349 349  
350 350  
... ... @@ -372,6 +372,8 @@
372 372  )))
373 373  )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
374 374  
385 +
386 +
375 375  === 3.3.3 Configure read commands for each sampling ===
376 376  
377 377  
... ... @@ -415,7 +415,7 @@
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  
418 -(% style="color:#037691" %)**AT+DATACUTx **(%%)**: **This command defines how to handle the return from AT+COMMANDx, max return length is 100 bytes.
430 +(% style="color:#037691" %)**AT+DATACUTx **(%%)**: **This command defines how to handle the return from AT+COMMANDx, max return length is 45 bytes.
419 419  
420 420  (% border="1" style="background-color:#4bacc6; color:white; width:510px" %)
421 421  |(% style="width:510px" %)(((
... ... @@ -519,22 +519,7 @@
519 519  
520 520   ~* For all other bands: max 51 bytes for each uplink.
521 521  
522 -(% style="color:red" %)*** When AT+DATAUP=1, the maximum number of segments is 15, and the maximum total number of bytes is 1500;**
523 523  
524 -(% 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)**
525 -
526 -
527 -(% style="color:#4f81bd" %)**If the data is empty, return to the display(Since v1.4.0)**
528 -
529 -1)When 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.
530 -
531 -[[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"]]
532 -
533 -2)When 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.
534 -
535 -[[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"]]
536 -
537 -
538 538  Below are the uplink payloads:
539 539  
540 540  (% aria-label="1654157178836-407.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654157178836-407.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" %)​
... ... @@ -772,14 +772,8 @@
772 772  )))
773 773  
774 774  
775 -1)Add the interrupt flag at the highest bit of the Payver byte, that is, Byte7 of the first byte. (Since v1.4.0)[[image:image-20220824145428-2.png||height="168" width="1300"]]
776 776  
777 777  
778 -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.
779 -
780 -[[image:image-20220824145428-3.png||height="308" width="1200"]]
781 -
782 -
783 783  ==== (% style="color:blue" %)**Set RS485 Sampling Commands**(%%) ====
784 784  
785 785  
... ... @@ -959,6 +959,8 @@
959 959  )))
960 960  
961 961  
953 +
954 +
962 962  ==== (% style="color:blue" %)**Uplink payload mode**(%%) ====
963 963  
964 964  
... ... @@ -974,43 +974,28 @@
974 974  
975 975  * (((
976 976  (% style="color:#037691" %)** AT Command:**
970 +)))
977 977  
978 978  **AT+DATAUP=0**
979 979  
980 980  **AT+DATAUP=1**
981 981  
982 -
983 -)))
984 984  
985 -**0xAD 01 00 00 14**  **~-~->** Same as AT+DATAUP=1,20000 ~/~/(00 00 14 is 20 seconds)
986 -
987 -Each uplink is sent to the server at 20-second intervals when segmented.
988 -
989 -
990 990  * (((
991 991  (% style="color:#037691" %)** Downlink Payload:**
992 992  )))
993 993  
994 -**0xAD 00**  **~-~->** Same as AT+DATAUP=0
995 -
996 -**0xAD 01**  **~-~->** Same as AT+DATAUP=1  ~/~/Each uplink is sent to the server one after the other as it is segmented.
997 -
998 -
999 -* (((
1000 -(% style="color:#037691" %)** AT Command:**
981 +(((
982 +**0xAD 00**  **~-~->** Same as AT+DATAUP=0
1001 1001  )))
1002 1002  
1003 -**AT+DATAUP=1,Timeout**
1004 -
1005 -
1006 -* (((
1007 -(% style="color:#037691" %)** Downlink Payload:**
985 +(((
986 +**0xAD 01**  **~-~->** Same as AT+DATAUP=1
1008 1008  )))
1009 1009  
1010 -**0xAD 01 00 00 14**  **~-~->** Same as AT+DATAUP=1,20000 ~/~/(00 00 14 is 20 seconds)
1011 1011  
1012 -Each uplink is sent to the server at 20-second intervals when segmented.
1013 1013  
991 +
1014 1014  ==== (% style="color:blue" %)**Manually trigger an Uplink**(%%) ====
1015 1015  
1016 1016  
... ... @@ -1093,8 +1093,6 @@
1093 1093  
1094 1094  (((
1095 1095  Set the Rs485 serial communication parameters:
1096 -
1097 -
1098 1098  )))
1099 1099  
1100 1100  * (((
... ... @@ -1102,10 +1102,12 @@
1102 1102  )))
1103 1103  
1104 1104  (((
1081 +
1082 +
1105 1105  * Set Baud Rate
1106 1106  )))
1107 1107  
1108 -**AT+BAUDR=9600**    ~/~/ Options: (200~~115200)  When using low baud rate or receiving multiple bytes, you need to use AT+CMDDL to increase the receive timeout (the default receive timeout is 400ms), otherwise data will be lost
1086 +**AT+BAUDR=9600**    ~/~/ Options: (1200,2400,4800,14400,19200,115200)
1109 1109  
1110 1110  
1111 1111  (((
... ... @@ -1151,124 +1151,8 @@
1151 1151  )))
1152 1152  
1153 1153  
1154 -==== (% style="color:blue" %)**Encrypted payload**(%%) ====
1155 1155  
1156 -(((
1157 -
1158 -)))
1159 1159  
1160 -* (((
1161 -(% style="color:#037691" %)** AT Command:**
1162 -)))
1163 -
1164 -**AT+DECRYPT=1  **~/~/ The payload is uploaded without encryption
1165 -
1166 -**AT+DECRYPT=0  **~/~/Encrypt when uploading payload (default)
1167 -
1168 -
1169 -==== (% style="color:blue" %)**Get sensor value**(%%) ====
1170 -
1171 -
1172 -* (((
1173 -(% style="color:#037691" %)** AT Command:**
1174 -)))
1175 -
1176 -**AT+GETSENSORVALUE=0  **~/~/ The serial port gets the reading of the current sensor
1177 -
1178 -**AT+GETSENSORVALUE=1  **~/~/The serial port gets the current sensor reading and uploads it.
1179 -
1180 -
1181 -==== (% style="color:blue" %)**Resets the downlink packet count**(%%) ====
1182 -
1183 -
1184 -* (((
1185 -(% style="color:#037691" %)** AT Command:**
1186 -)))
1187 -
1188 -**AT+DISFCNTCHECK=0  **~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node will no longer receive downlink packets (default)
1189 -
1190 -**AT+DISFCNTCHECK=1  **~/~/When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node resets the downlink packet count and keeps it consistent with the server downlink packet count.
1191 -
1192 -
1193 -==== (% style="color:blue" %)**When the limit bytes are exceeded, upload in batches**(%%) ====
1194 -
1195 -
1196 -* (((
1197 -(% style="color:#037691" %)** AT Command:**
1198 -)))
1199 -
1200 - **AT+DISMACANS=0**  ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of 11 bytes (DR0 of US915, DR2 of AS923, DR2 of AU195), the node will send a packet with a payload of 00 and a port of 4. (default)
1201 -
1202 - **AT+DISMACANS=1**      ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of the DR, the node will ignore the MACANS and not reply, and only upload the payload part.
1203 -
1204 -
1205 -* (((
1206 -(% style="color:#037691" %)** Downlink Payload:**
1207 -)))
1208 -
1209 -**0x21 00 01 ** ~/~/ Set  the DISMACANS=1
1210 -
1211 -
1212 -==== (% style="color:blue" %)** Copy downlink to uplink **(%%) ====
1213 -
1214 -
1215 -* (((
1216 -(% style="color:#037691" %)** AT Command:**
1217 -)))
1218 -
1219 -**AT+RPL=5**  ~/~/ After receiving the package from the server, it will immediately upload the content of the package to the server, the port number is 100.
1220 -
1221 -Example:**aa xx xx xx xx**         ~/~/ aa indicates whether the configuration has changed, 00 is yes, 01 is no; xx xx xx xx are the bytes sent.
1222 -
1223 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173747-6.png?width=1124&height=165&rev=1.1||alt="image-20220823173747-6.png"]]
1224 -
1225 -For example, sending 11 22 33 44 55 66 77 will return invalid configuration 00 11 22 33 44 55 66 77.
1226 -
1227 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173833-7.png?width=1124&height=149&rev=1.1||alt="image-20220823173833-7.png"]]
1228 -
1229 -For example, if 01 00 02 58 is issued, a valid configuration of 01 01 00 02 58 will be returned.
1230 -
1231 -
1232 -==== (% style="color:blue" %)**Query version number and frequency band 、TDC**(%%) ====
1233 -
1234 -
1235 -* (((
1236 -(% style="color:#037691" %)**Downlink Payload:**
1237 -
1238 -**26 01  ** ~/~/ Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time.
1239 -)))
1240 -
1241 -Example:
1242 -
1243 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173929-8.png?width=1205&height=76&rev=1.1||alt="image-20220823173929-8.png"]]
1244 -
1245 -(% class="wikigeneratedid" %)
1246 -==== ====
1247 -
1248 -==== (% style="color:blue" %)** Monitor RS485 communication of other devices**(%%) ====
1249 -
1250 -
1251 -* (((
1252 -(% style="color:#037691" %)** AT Command:**
1253 -)))
1254 -
1255 -**~ ​AT+RXMODE=1,10**  ~/~/ When the RS485-LN receives more than 10 bytes from the RS485, it immediately sends the uplink of the received data.
1256 -
1257 -**~ ​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.
1258 -
1259 - **AT+RXMODE=0,0  ** ~/~/Disable this mode (default)
1260 -
1261 -
1262 -* (((
1263 -(% style="color:#037691" %)**Downlink Payload:**
1264 -)))
1265 -
1266 -**A6 aa bb bb  ** ~/~/same as AT+RXMODE=aa,bb
1267 -
1268 -[[image:image-20220824144240-1.png]]
1269 -
1270 -
1271 -
1272 1272  == 3.6 Listening mode for RS485 network ==
1273 1273  
1274 1274  
... ... @@ -1380,6 +1380,9 @@
1380 1380  |(% style="width:50px" %)**RST**|(% style="width:361px" %)Reboot RS485
1381 1381  |(% style="width:50px" %)**PRO**|(% style="width:361px" %)Use for upload image, see [[How to Update Image>>||anchor="H6.1Howtoupgradetheimage3F"]]
1382 1382  
1245 +
1246 +
1247 +
1383 1383  == 3.8 LEDs ==
1384 1384  
1385 1385  
... ... @@ -1388,6 +1388,9 @@
1388 1388  |**PWR**|Always on if there is power
1389 1389  |**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.
1390 1390  
1256 +
1257 +
1258 +
1391 1391  = 4. Case Study =
1392 1392  
1393 1393  
... ... @@ -1621,6 +1621,9 @@
1621 1621  * (% style="color:red" %)**RU864**(%%):  frequency bands RU864
1622 1622  * (% style="color:red" %)**KZ865**(%%):  frequency bands KZ865
1623 1623  
1492 +
1493 +
1494 +
1624 1624  = 9.Packing Info =
1625 1625  
1626 1626  
... ... @@ -1637,6 +1637,9 @@
1637 1637  * Package Size / pcs : 14.5 x 8 x 5 cm
1638 1638  * Weight / pcs : 170g
1639 1639  
1511 +
1512 +
1513 +
1640 1640  = 10. FCC Caution for RS485LN-US915 =
1641 1641  
1642 1642  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0