Last modified by Xiaoling on 2025/04/23 15:57

From version 40.40
edited by Xiaoling
on 2022/06/06 10:06
Change comment: There is no comment for this version
To version 40.54
edited by Xiaoling
on 2022/06/06 10:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -94,7 +94,6 @@
94 94  * 127 dB Dynamic Range RSSI.
95 95  * Automatic RF Sense and CAD with ultra-fast AFC. ​​​
96 96  
97 -
98 98  == 1.3 Features ==
99 99  
100 100  * LoRaWAN Class A & Class C protocol (default Class A)
... ... @@ -106,7 +106,6 @@
106 106  * Support Modbus protocol
107 107  * Support Interrupt uplink
108 108  
109 -
110 110  == 1.4 Applications ==
111 111  
112 112  * Smart Buildings & Home Automation
... ... @@ -116,7 +116,6 @@
116 116  * Smart Cities
117 117  * Smart Factory
118 118  
119 -
120 120  == 1.5 Firmware Change log ==
121 121  
122 122  [[RS485-BL Image files – Download link and Change log>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/RS485-BL/Firmware/||style="background-color: rgb(255, 255, 255);"]]
... ... @@ -285,29 +285,29 @@
285 285  RS485-BL default UART settings is **9600, no parity, stop bit 1**. If the sensor has a different settings, user can change the RS485-BL setting to match.
286 286  )))
287 287  
288 -(% border="1" style="background-color:#ffffcc; color:green; width:510px" %)
289 -|=(% style="width: 121px;" %)(((
285 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
286 +|=(% style="width: 120px;" %)(((
290 290  (((
291 291  **AT Commands**
292 292  )))
293 -)))|=(% style="width: 110px;" %)(((
290 +)))|=(% style="width: 190px;" %)(((
294 294  (((
295 295  **Description**
296 296  )))
297 -)))|=(% style="width: 200px;" %)(((
294 +)))|=(% style="width: 190px;" %)(((
298 298  (((
299 299  **Example**
300 300  )))
301 301  )))
302 -|(% style="width:200px" %)(((
299 +|(% style="width:120px" %)(((
303 303  (((
304 304  AT+BAUDR
305 305  )))
306 -)))|(% style="width:303px" %)(((
303 +)))|(% style="width:190px" %)(((
307 307  (((
308 308  Set the baud rate (for RS485 connection). Default Value is: 9600.
309 309  )))
310 -)))|(% style="width:340px" %)(((
307 +)))|(% style="width:190px" %)(((
311 311  (((
312 312  (((
313 313  AT+BAUDR=9600
... ... @@ -320,11 +320,11 @@
320 320  )))
321 321  )))
322 322  )))
323 -|(% style="width:121px" %)(((
320 +|(% style="width:120px" %)(((
324 324  (((
325 325  AT+PARITY
326 326  )))
327 -)))|(% style="width:303px" %)(((
324 +)))|(% style="width:190px" %)(((
328 328  (((
329 329  (((
330 330  Set UART parity (for RS485 connection)
... ... @@ -336,7 +336,7 @@
336 336  Default Value is: no parity.
337 337  )))
338 338  )))
339 -)))|(% style="width:340px" %)(((
336 +)))|(% style="width:190px" %)(((
340 340  (((
341 341  (((
342 342  AT+PARITY=0
... ... @@ -349,11 +349,11 @@
349 349  )))
350 350  )))
351 351  )))
352 -|(% style="width:121px" %)(((
349 +|(% style="width:120px" %)(((
353 353  (((
354 354  AT+STOPBIT
355 355  )))
356 -)))|(% style="width:303px" %)(((
353 +)))|(% style="width:190px" %)(((
357 357  (((
358 358  (((
359 359  Set serial stopbit (for RS485 connection)
... ... @@ -365,7 +365,7 @@
365 365  Default Value is: 1bit.
366 366  )))
367 367  )))
368 -)))|(% style="width:340px" %)(((
365 +)))|(% style="width:190px" %)(((
369 369  (((
370 370  (((
371 371  AT+STOPBIT=0 for 1bit
... ... @@ -397,19 +397,20 @@
397 397  When user issue an (% style="color:#4f81bd" %)**AT+CFGDEV**(%%) command, Each (% style="color:#4f81bd" %)**AT+CFGDEV**(%%) equals to send a command to the RS485 or TTL sensors. This command will only run when user input it and won’t run during each sampling.
398 398  )))
399 399  
400 -(% border="1" style="background-color:#ffffcc; color:green; width:806px" %)
401 -|**AT Commands**|(% style="width:418px" %)**Description**|(% style="width:256px" %)**Example**
402 -|AT+CFGDEV|(% style="width:418px" %)(((
397 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
398 +|=(% style="width: 120px;" %)**AT Commands**|=(% style="width: 190px;" %)**Description**|=(% style="width: 190px;" %)**Example**
399 +|AT+CFGDEV|(% style="width:120px" %)(((
403 403  This command is used to configure the RS485/TTL devices; they won’t be used during sampling.
404 404  
405 405  AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,
406 406  
407 407  mm: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command
408 -)))|(% style="width:256px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
405 +)))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
409 409  
410 410  Detail of AT+CFGDEV command see [[AT+CFGDEV detail>>||anchor="HRS485DebugCommand28AT2BCFGDEV29"]].
411 411  
412 412  
410 +
413 413  === 3.3.3 Configure read commands for each sampling ===
414 414  
415 415  (((
... ... @@ -476,20 +476,32 @@
476 476  After we got the valid value from each RS485 commands, we need to combine them together with the command **AT+DATAUP**.
477 477  )))
478 478  
477 +(((
479 479  **Examples:**
479 +)))
480 480  
481 +(((
481 481  Below are examples for the how above AT Commands works.
483 +)))
482 482  
485 +(((
483 483  **AT+COMMANDx : **This command will be sent to RS485/TTL devices during each sampling, Max command length is 14 bytes. The grammar is:
487 +)))
484 484  
485 -(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:501px" %)
489 +(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:500px" %)
486 486  |(% style="width:498px" %)(((
491 +(((
487 487  **AT+COMMANDx=xx xx xx xx xx xx xx xx xx xx xx xx,m**
493 +)))
488 488  
495 +(((
489 489  **xx xx xx xx xx xx xx xx xx xx xx xx: The RS485 command to be sent**
497 +)))
490 490  
499 +(((
491 491  **m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command**
492 492  )))
502 +)))
493 493  
494 494  For example, if we have a RS485 sensor. The command to get sensor value is: 01 03 0B B8 00 02 46 0A. Where 01 03 0B B8 00 02 is the Modbus command to read the register 0B B8 where stored the sensor value. The 46 0A is the CRC-16/MODBUS which calculate manually.
495 495  
... ... @@ -497,7 +497,7 @@
497 497  
498 498  **AT+SEARCHx**: This command defines how to handle the return from AT+COMMANDx.
499 499  
500 -(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:580px" %)
510 +(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:500px" %)
501 501  |(% style="width:577px" %)(((
502 502  **AT+SEARCHx=aa,xx xx xx xx xx**
503 503  
... ... @@ -525,7 +525,7 @@
525 525  
526 526  **AT+DATACUTx : **This command defines how to handle the return from AT+COMMANDx, max return length is 45 bytes.
527 527  
528 -(% style="background-color:#4f81bd; color:white; width:729px" %)
538 +(% style="background-color:#4f81bd; color:white; width:510px" %)
529 529  |(% style="width:726px" %)(((
530 530  **AT+DATACUTx=a,b,c**
531 531  
... ... @@ -593,10 +593,14 @@
593 593  
594 594  (((
595 595  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.**
606 +
607 +
596 596  )))
597 597  
598 598  (((
599 599  (% style="color:#037691" %)**Examples: AT+DATAUP=0**
612 +
613 +
600 600  )))
601 601  
602 602  (((
... ... @@ -814,7 +814,6 @@
814 814  
815 815  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for RS485-BL.  User can see these commands below:
816 816  
817 -
818 818  === 3.5.1 Common Commands: ===
819 819  
820 820  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]]
... ... @@ -1174,7 +1174,6 @@
1174 1174  |=(% style="width: 89px;" %)**Button**|=(% style="width: 141px;" %)**Feature**
1175 1175  |(% style="width:89px" %)**RST**|(% style="width:141px" %)Reboot RS485-BL
1176 1176  
1177 -
1178 1178  == 3.7 +3V3 Output ==
1179 1179  
1180 1180  RS485-BL has a Controllable +3V3 output, user can use this output to power external sensor.
... ... @@ -1215,7 +1215,6 @@
1215 1215  |=**LEDs**|=(% style="width: 274px;" %)**Feature**
1216 1216  |**LED1**|(% style="width:274px" %)Blink when device transmit a packet.
1217 1217  
1218 -
1219 1219  == 3.10 Switch Jumper ==
1220 1220  
1221 1221  (% border="1" style="background-color:#ffffcc; color:green; width:515px" %)
... ... @@ -1403,8 +1403,6 @@
1403 1403  * (% style="color:blue" %)**RU864**(%%): frequency bands RU864
1404 1404  * (% style="color:blue" %)**KZ865**(%%): frequency bands KZ865
1405 1405  
1406 -
1407 -
1408 1408  = 9. Packing Info =
1409 1409  
1410 1410  (((