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 (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -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 ... ... @@ -287,48 +287,44 @@ 287 287 288 288 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: 289 289 284 + 290 290 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 291 -|=(% style="width: 1 26px; background-color:#D9E2F3;color:#0070C0" %)(((286 +|=(% style="width: 119px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)((( 292 292 **AT Commands** 293 -)))|=(% style="width: 1 87px; background-color:#D9E2F3;color:#0070C0" %)(((288 +)))|=(% style="width: 116px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)((( 294 294 **Description** 295 -)))|=(% style="width: 19 7px;background-color:#D9E2F3;color:#0070C0" %)(((290 +)))|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)((( 296 296 **Example** 297 297 ))) 298 -|(% style="width:126px" %)((( 299 - 300 - 301 -((( 293 +|(% style="width:119px" %)((( 302 302 AT+BAUDR 303 -))) 304 -)))|(% style="width:177px" %)((( 295 +)))|(% style="width:116px" %)((( 305 305 Set the baud rate (for RS485 connection). Default Value is: 9600. 306 -)))|(% style="width:19 3px" %)(((297 +)))|(% style="width:190px" %)((( 307 307 ((( 308 308 AT+BAUDR=9600 309 309 ))) 301 + 310 310 ((( 311 -Options: (1200,2400,4800, 312 -14400,19200,115200) 303 +Options: (1200,2400,4800,14400,19200,115200) 313 313 ))) 314 314 ))) 315 -|(% style="width:1 26px" %)(((306 +|(% style="width:119px" %)((( 316 316 AT+PARITY 317 -)))|(% style="width:1 77px" %)(((308 +)))|(% style="width:116px" %)((( 318 318 Set UART parity (for RS485 connection) 319 -)))|(% style="width:19 3px" %)(((310 +)))|(% style="width:190px" %)((( 320 320 ((( 321 321 AT+PARITY=0 322 322 ))) 314 + 323 323 ((( 324 -Option: 0: no parity, 325 -1: odd parity, 326 -2: even parity 316 +Option: 0: no parity, 1: odd parity, 2: even parity 327 327 ))) 328 328 ))) 329 -|(% style="width:1 26px" %)(((319 +|(% style="width:119px" %)((( 330 330 AT+STOPBIT 331 -)))|(% style="width:1 77px" %)(((321 +)))|(% style="width:116px" %)((( 332 332 ((( 333 333 Set serial stopbit (for RS485 connection) 334 334 ))) ... ... @@ -336,13 +336,15 @@ 336 336 ((( 337 337 338 338 ))) 339 -)))|(% style="width:19 3px" %)(((329 +)))|(% style="width:190px" %)((( 340 340 ((( 341 341 AT+STOPBIT=0 for 1bit 342 342 ))) 333 + 343 343 ((( 344 344 AT+STOPBIT=1 for 1.5 bit 345 345 ))) 337 + 346 346 ((( 347 347 AT+STOPBIT=2 for 2 bits 348 348 ))) ... ... @@ -352,8 +352,12 @@ 352 352 353 353 354 354 ((( 347 +((( 355 355 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 + 356 356 ))) 352 +))) 357 357 358 358 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 359 359 |=(% 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** ... ... @@ -560,7 +560,7 @@ 560 560 561 561 562 562 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 563 -|=(% scope="row" style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)(((559 +|=(% scope="row" style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)((( 564 564 Size(bytes) 565 565 )))|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:360px" %)((( 566 566 **Length depends on the return from the commands** ... ... @@ -1334,32 +1334,34 @@ 1334 1334 To enable the listening mode, use can run the command (% style="color:#4472c4" %)** AT+RXMODE**. 1335 1335 ))) 1336 1336 1333 +((( 1334 + 1335 +))) 1337 1337 1338 - 1339 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 1340 -|=(% style="width: 156px; background-color:#D9E2F3;color:#0070C0" %)((( 1337 +(% border="1" cellspacing="10" style="background-color:#ffffcc; width:500px" %) 1338 +|=(% style="width: 100px;" %)((( 1341 1341 **Command example** 1342 -)))|=(% style="width: 355px;background-color:#D9E2F3;color:#0070C0" %)(((1340 +)))|=(% style="width: 400px;" %)((( 1343 1343 **Function** 1344 1344 ))) 1345 -|(% style="width:1 56px" %)(((1343 +|(% style="width:100px" %)((( 1346 1346 AT+RXMODE=1,10 1347 -)))|(% style="width: 352px" %)(((1345 +)))|(% style="width:400px" %)((( 1348 1348 Enable listening mode 1, if RS485-LN has received more than 10 RS485 commands from the network. RS485-LN will send these commands via LoRaWAN uplinks. 1349 1349 ))) 1350 -|(% style="width:1 56px" %)(((1348 +|(% style="width:100px" %)((( 1351 1351 AT+RXMODE=2,500 1352 -)))|(% style="width: 352px" %)(((1350 +)))|(% style="width:400px" %)((( 1353 1353 Enable listening mode 2, RS485-LN will capture and send a 500ms content once from the first detect of character. Max value is 65535 ms 1354 1354 ))) 1355 -|(% style="width:1 56px" %)(((1353 +|(% style="width:100px" %)((( 1356 1356 AT+RXMODE=0,0 1357 -)))|(% style="width: 352px" %)(((1355 +)))|(% style="width:400px" %)((( 1358 1358 Disable listening mode. This is the default settings. 1359 1359 ))) 1360 -|(% style="width:1 56px" %)(((1358 +|(% style="width:100px" %)((( 1361 1361 1362 -)))|(% style="width: 352px" %)(((1360 +)))|(% style="width:400px" %)((( 1363 1363 A6 aa bb cc same as AT+RXMODE=aa,(bb<<8 | cc) 1364 1364 ))) 1365 1365 ... ... @@ -1407,29 +1407,33 @@ 1407 1407 (% aria-label="image-20220602171200-9.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602171200-9.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" %) 1408 1408 ))) 1409 1409 1408 +((( 1409 + 1410 +))) 1410 1410 1411 - 1412 1412 ((( 1413 +((( 1413 1413 (% 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.** 1414 1414 ))) 1416 +))) 1415 1415 1416 1416 1417 1417 == 3.7 Buttons == 1418 1418 1419 1419 1420 -(% border="1.5" cellspacing="4" style="background-color:#f 2f2f2; width:430px" %)1421 -|=(% style="width: 50px; background-color:#D9E2F3;color:#0070C0" %)**Button**|=(% style="width: 380px;background-color:#D9E2F3;color:#0070C0" %)**Feature**1422 -|(% style="width:50px" %)ACT|(% style="width:361px" %)If RS485 joined in network, press this button for more than 1 second, RS485 will upload a packet, and the SYS LED will give a (% style="color:blue" %)**Blue blink** 1423 -|(% style="width:50px" %)RST|(% style="width:361px" %)Reboot RS485 1424 -|(% style="width:50px" %)PRO|(% style="width:361px" %)Use for upload image, see [[How to Update Image>>||anchor="H6.1Howtoupgradetheimage3F"]] 1422 +(% border="1.5" cellspacing="4" style="background-color:#ffffcc; width:430px" %) 1423 +|=(% style="width: 50px;" %)**Button**|=(% style="width: 380px;" %)**Feature** 1424 +|(% style="width:50px" %)**ACT**|(% style="width:361px" %)If RS485 joined in network, press this button for more than 1 second, RS485 will upload a packet, and the SYS LED will give a (% style="color:blue" %)**Blue blink** 1425 +|(% style="width:50px" %)**RST**|(% style="width:361px" %)Reboot RS485 1426 +|(% style="width:50px" %)**PRO**|(% style="width:361px" %)Use for upload image, see [[How to Update Image>>||anchor="H6.1Howtoupgradetheimage3F"]] 1425 1425 1426 1426 == 3.8 LEDs == 1427 1427 1428 1428 1429 -(% border="1.5" cellspacing="4" style="background-color:#f 2f2f2; width:430px" %)1430 -|=(% style="width: 50px; background-color:#D9E2F3;color:#0070C0" %)**LEDs**|=(% style="width: 380px;background-color:#D9E2F3;color:#0070C0" %)**Feature**1431 -|PWR|Always on if there is power 1432 -|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. 1431 +(% border="1.5" cellspacing="4" style="background-color:#ffffcc; width:430px" %) 1432 +|=(% style="width: 50px;" %)**LEDs**|=(% style="width: 380px;" %)**Feature** 1433 +|**PWR**|Always on if there is power 1434 +|**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. 1433 1433 1434 1434 = 4. Case Study = 1435 1435