<
From version < 64.3 >
edited by Xiaoling
on 2022/07/04 10:11
To version < 68.1 >
edited by Bei Jinggeng
on 2022/08/06 09:30
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Bei
Content
... ... @@ -113,9 +113,9 @@
113 113  
114 114  
115 115  
116 -
117 117  == 1.3 Features ==
118 118  
118 +
119 119  * LoRaWAN Class A & Class C protocol (default Class C)
120 120  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865/RU864
121 121  * AT Commands to change parameters
... ... @@ -127,9 +127,9 @@
127 127  
128 128  
129 129  
130 -
131 131  == 1.4 Applications ==
132 132  
132 +
133 133  * Smart Buildings & Home Automation
134 134  * Logistics and Supply Chain Management
135 135  * Smart Metering
... ... @@ -139,14 +139,16 @@
139 139  
140 140  
141 141  
142 -
143 143  == 1.5 Firmware Change log ==
144 144  
144 +
145 145  [[RS485-LN Image files – Download link and Change log>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/]]
146 146  
147 147  
148 +
148 148  == 1.6 Hardware Change log ==
149 149  
151 +
150 150  (((
151 151  (((
152 152  (((
... ... @@ -157,6 +157,7 @@
157 157  v1.0: Release
158 158  )))
159 159  
162 +
160 160  
161 161  )))
162 162  )))
... ... @@ -163,6 +163,7 @@
163 163  
164 164  = 2. Power ON Device =
165 165  
169 +
166 166  (((
167 167  The RS485-LN can be powered by 7 ~~ 24V DC power source. Connection as below
168 168  
... ... @@ -175,6 +175,7 @@
175 175  
176 176  (% aria-label="1653268091319-405.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1653268091319-405.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" %)​
177 177  
182 +
178 178  
179 179  )))
180 180  
... ... @@ -182,16 +182,19 @@
182 182  
183 183  == 3.1 How it works? ==
184 184  
190 +
185 185  (((
186 186  (((
187 187  The RS485-LN is configured as LoRaWAN OTAA Class C mode by default. It has OTAA keys to join network. To connect a local LoRaWAN network, user just need to input the OTAA keys in the network server and power on the RS485-LN. It will auto join the network via OTAA.
188 188  )))
189 189  
196 +
190 190  
191 191  )))
192 192  
193 193  == 3.2 Example to join LoRaWAN network ==
194 194  
202 +
195 195  Here shows an example for how to join the TTN V3 Network. Below is the network structure, we use [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]] as LoRaWAN gateway here. 
196 196  
197 197  (% aria-label="1653268155545-638.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1653268155545-638.png||data-widget="image" height="334" width="724"]](% 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" %)​
... ... @@ -261,8 +261,10 @@
261 261  (% aria-label="1652953568895-172.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1652953568895-172.png||data-widget="image" height="232" width="724"]](% 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" %)​
262 262  
263 263  
272 +
264 264  == 3.3 Configure Commands to read data ==
265 265  
275 +
266 266  (((
267 267  (((
268 268  (((
... ... @@ -272,15 +272,17 @@
272 272  
273 273  (((
274 274  (((
275 -(% style="color:red" %)Note: below description and commands are for firmware version >v1.1, if you have firmware version v1.0. Please check the [[user manual v1.0>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/&file=RS485-LN_UserManual_v1.0.1.pdf]] or upgrade the firmware to v1.1
285 +(% style="color:red" %)**Note: below description and commands are for firmware version >v1.1, if you have firmware version v1.0. Please check the [[user manual v1.0>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/&file=RS485-LN_UserManual_v1.0.1.pdf]] or upgrade the firmware to v1.1**
276 276  )))
277 277  
288 +
278 278  
279 279  )))
280 280  )))
281 281  
282 -=== 3.3.1 onfigure UART settings for RS485 or TTL communication ===
293 +=== 3.3.1 Configure UART settings for RS485 or TTL communication ===
283 283  
295 +
284 284  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:
285 285  
286 286  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
... ... @@ -342,10 +342,9 @@
342 342  )))
343 343  
344 344  
345 -
346 -
347 347  === 3.3.2 Configure sensors ===
348 348  
359 +
349 349  (((
350 350  (((
351 351  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.
... ... @@ -369,10 +369,9 @@
369 369  )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
370 370  
371 371  
372 -
373 -
374 374  === 3.3.3 Configure read commands for each sampling ===
375 375  
385 +
376 376  (((
377 377  During each sampling, we need confirm what commands we need to send to the RS485 sensors to read data. After the RS485 sensors send back the value, it normally include some bytes and we only need a few from them for a shorten payload.
378 378  
... ... @@ -446,6 +446,7 @@
446 446  
447 447  === 3.3.4 Compose the uplink payload ===
448 448  
459 +
449 449  (((
450 450  Through AT+COMMANDx and AT+DATACUTx we got valid value from each RS485 commands, Assume these valid value are RETURN1, RETURN2, .., to RETURNx. The next step is how to compose the LoRa Uplink Payload by these RETURNs. The command is **AT+DATAUP.**
451 451  
... ... @@ -504,7 +504,7 @@
504 504  DATA3=the rest of Valid value of RETURN10= **30**
505 505  
506 506  
507 -(% style="color:red" %)Notice: In firmware v1.3, the Max bytes has been changed according to the max bytes in different Frequency Bands for lowest SF. As below:
518 +(% style="color:red" %)**Notice: In firmware v1.3, the Max bytes has been changed according to the max bytes in different Frequency Bands for lowest SF. As below:**
508 508  
509 509   ~* For AU915/AS923 bands, if UplinkDwell time=0, max 51 bytes for each uplink.
510 510  
... ... @@ -523,6 +523,7 @@
523 523  
524 524  === 3.3.5 Uplink on demand ===
525 525  
537 +
526 526  Except uplink periodically, RS485-LN is able to uplink on demand. The server send downlink command to RS485-LN and RS485 will uplink data base on the command.
527 527  
528 528  Downlink control command:
... ... @@ -535,6 +535,7 @@
535 535  
536 536  === 3.3.6 Uplink on Interrupt ===
537 537  
550 +
538 538  RS485-LN support external Interrupt uplink since hardware v1.2 release.
539 539  
540 540  (% aria-label="1654157342174-798.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654157342174-798.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" %)​
... ... @@ -542,6 +542,7 @@
542 542  Connect the Interrupt pin to RS485-LN INT port and connect the GND pin to V- port. When there is a high voltage (Max 24v) on INT pin. Device will send an uplink packet.
543 543  
544 544  
558 +
545 545  == 3.4 Uplink Payload ==
546 546  
547 547  
... ... @@ -550,8 +550,10 @@
550 550  Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors.
551 551  
552 552  
567 +
553 553  == 3.5 Configure RS485-LN via AT or Downlink ==
554 554  
570 +
555 555  (((
556 556  User can configure RS485-LN via AT Commands or LoRaWAN Downlink Commands
557 557  )))
... ... @@ -573,13 +573,17 @@
573 573  )))
574 574  
575 575  
592 +
576 576  === 3.5.1 Common Commands ===
577 577  
595 +
578 578  They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.3, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
579 579  
580 580  
599 +
581 581  === 3.5.2 Sensor related commands ===
582 582  
602 +
583 583  Response feature is added to the server's downlink, a special package with a FPort of 200 will be uploaded immediately after receiving the data sent by the server.
584 584  
585 585  (% aria-label="image-20220602163333-5.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602163333-5.png||data-widget="image" height="263" width="1160"]](% title="Click and drag to resize" %)​
... ... @@ -1094,6 +1094,7 @@
1094 1094  
1095 1095  == 3.6 Listening mode for RS485 network ==
1096 1096  
1117 +
1097 1097  (((
1098 1098  This feature support since firmware v1.4
1099 1099  )))
... ... @@ -1100,6 +1100,8 @@
1100 1100  
1101 1101  (((
1102 1102  RS485-LN supports listening mode, it can listen the RS485 network packets and send them via LoRaWAN uplink. Below is the structure. The blue arrow shows the RS485 network packets to RS485-LN.
1124 +
1125 +
1103 1103  )))
1104 1104  
1105 1105  (% aria-label="image-20220602171200-8.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602171200-8.png||data-widget="image" height="567" width="1007"]](% 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" %)​
... ... @@ -1185,11 +1185,12 @@
1185 1185  
1186 1186  (((
1187 1187  (((
1188 -(% style="color:red" %)Notice: Listening mode can work with the default polling mode of RS485-LN. When RS485-LN is in to send the RS485 commands (from AT+COMMANDx), the listening mode will be interrupt for a while.
1211 +(% style="color:red" %)**Notice: Listening mode can work with the default polling mode of RS485-LN. When RS485-LN is in to send the RS485 commands (from AT+COMMANDx), the listening mode will be interrupt for a while.**
1189 1189  )))
1190 1190  )))
1191 1191  
1192 1192  
1216 +
1193 1193  == 3.7 Buttons ==
1194 1194  
1195 1195  
... ... @@ -1200,8 +1200,6 @@
1200 1200  |(% style="width:50px" %)**PRO**|(% style="width:361px" %)Use for upload image, see [[How to Update Image>>||anchor="H6.1Howtoupgradetheimage3F"]]
1201 1201  
1202 1202  
1203 -
1204 -
1205 1205  == 3.8 LEDs ==
1206 1206  
1207 1207  
... ... @@ -1211,17 +1211,18 @@
1211 1211  |**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.
1212 1212  
1213 1213  
1214 -
1215 -
1216 1216  = 4. Case Study =
1217 1217  
1238 +
1218 1218  User can check this URL for some case studies: [[APP RS485 COMMUNICATE WITH SENSORS>>doc:Main.Application Note \: Communicate with Different Sensors ----- RS485-LN RS485-BL.WebHome]]
1219 1219  
1220 1220  
1242 +
1221 1221  = 5. Use AT Command =
1222 1222  
1223 1223  == 5.1 Access AT Command ==
1224 1224  
1247 +
1225 1225  (((
1226 1226  RS485-LN supports AT Command set. User can use a USB to TTL adapter plus the 3.5mm Program Cable to connect to RS485-LN to use AT command, as below.
1227 1227  )))
... ... @@ -1247,6 +1247,7 @@
1247 1247  
1248 1248  === 5.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
1249 1249  
1273 +
1250 1250  If device has not joined network yet:
1251 1251  
1252 1252  * (% style="color:#037691" %)**AT+FDR**
... ... @@ -1265,6 +1265,7 @@
1265 1265  )))
1266 1266  
1267 1267  
1292 +
1268 1268  === 5.5.2 Single-channel ABP mode (Use with LG01/LG02) ===
1269 1269  
1270 1270  
... ... @@ -1301,10 +1301,12 @@
1301 1301  (% aria-label="1654162478620-421.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654162478620-421.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" %)​
1302 1302  
1303 1303  
1329 +
1304 1304  = 6. FAQ =
1305 1305  
1306 1306  == 6.1 How to upgrade the image? ==
1307 1307  
1334 +
1308 1308  (((
1309 1309  The RS485-LN LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to RS485-LN to:
1310 1310  )))
... ... @@ -1330,7 +1330,7 @@
1330 1330  )))
1331 1331  
1332 1332  (((
1333 -(% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].
1360 +(% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>url:https://www.dragino.com/downloads/index.php?dir=RS485-LN/Firmware/]].
1334 1334  )))
1335 1335  
1336 1336  (((
... ... @@ -1355,47 +1355,69 @@
1355 1355  (% 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" %)​
1356 1356  
1357 1357  
1358 -(% 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:
1385 +(% 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:**
1359 1359  
1360 1360  (% 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" %)​
1361 1361  
1362 1362  
1390 +
1363 1363  == 6.2 How to change the LoRa Frequency Bands/Region? ==
1364 1364  
1393 +
1365 1365  User can follow the introduction for [[how to upgrade image>>||anchor="H6.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download.
1366 1366  
1367 1367  
1397 +
1368 1368  == 6.3 How many RS485-Slave can RS485-LN connects? ==
1369 1369  
1400 +
1370 1370  The RS485-LN can support max 32 RS485 devices. Each uplink command of RS485-LN can support max 16 different RS485 command. So RS485-LN can support max 16 RS485 devices pre-program in the device for uplink. For other devices no pre-program, user can use the [[downlink message (type code 0xA8) to poll their info>>||anchor="H3.3.3Configurereadcommandsforeachsampling"]].
1371 1371  
1372 1372  
1404 +
1373 1373  == 6.4 Compatible question to ChirpStack and TTI LoRaWAN server ? ==
1374 1374  
1407 +
1375 1375  When user need to use with ChirpStack or TTI. Please set AT+RPL=4.
1376 1376  
1377 1377  Detail info check this link: [[Set Packet Receiving Response Level>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H7.23SetPacketReceivingResponseLevel"]]
1378 1378  
1379 1379  
1413 +
1380 1380  == 6.5 Can i use point to point communication for RS485-LN? ==
1381 1381  
1416 +
1382 1382  Yes, please refer [[Point to Point Communication for RS485-LN>>Point to Point Communication for RS485-LN]].
1383 1383  
1384 1384  
1420 +
1421 +== 6.6 How to Use RS485-LN  to connect to RS232 devices? ==
1422 +
1423 +
1424 +[[Use RS485-BL or RS485-LN to connect to RS232 devices. - DRAGINO>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/RS485%20to%20RS232/]]
1425 +
1426 +
1427 +
1385 1385  = 7. Trouble Shooting =
1386 1386  
1430 +
1387 1387  == 7.1 Downlink doesn't work, how to solve it? ==
1388 1388  
1433 +
1389 1389  Please see this link for debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome]]
1390 1390  
1391 1391  
1437 +
1392 1392  == 7.2 Why I can't join TTN V3 in US915 /AU915 bands? ==
1393 1393  
1440 +
1394 1394  It might about the channels mapping. Please see for detail: [[Notice of Frequency band>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]]
1395 1395  
1396 1396  
1444 +
1397 1397  = 8. Order Info =
1398 1398  
1447 +
1399 1399  (% style="color:blue" %)**Part Number: RS485-LN-XXX**
1400 1400  
1401 1401  (% style="color:blue" %)**XXX:**
... ... @@ -1411,6 +1411,8 @@
1411 1411  * (% style="color:red" %)**RU864**(%%):  frequency bands RU864
1412 1412  * (% style="color:red" %)**KZ865**(%%):  frequency bands KZ865
1413 1413  
1463 +
1464 +
1414 1414  = 9.Packing Info =
1415 1415  
1416 1416  
... ... @@ -1427,8 +1427,12 @@
1427 1427  * Package Size / pcs : 14.5 x 8 x 5 cm
1428 1428  * Weight / pcs : 170g
1429 1429  
1481 +
1482 +
1483 +
1430 1430  = 10. FCC Caution for RS485LN-US915 =
1431 1431  
1486 +
1432 1432  (((
1433 1433  Any Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.
1434 1434  )))
... ... @@ -1478,8 +1478,10 @@
1478 1478  )))
1479 1479  
1480 1480  
1536 +
1481 1481  = 11. Support =
1482 1482  
1539 +
1483 1483  * (((
1484 1484  Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
1485 1485  )))
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0