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

From version 44.12
edited by Xiaoling
on 2022/06/14 10:06
Change comment: There is no comment for this version
To version 44.23
edited by Xiaoling
on 2022/06/14 10:23
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -90,8 +90,6 @@
90 90  * 127 dB Dynamic Range RSSI.
91 91  * Automatic RF Sense and CAD with ultra-fast AFC. ​​​
92 92  
93 -
94 -
95 95  == 1.3 Features ==
96 96  
97 97  * LoRaWAN Class A & Class C protocol (default Class A)
... ... @@ -103,8 +103,6 @@
103 103  * Support Modbus protocol
104 104  * Support Interrupt uplink
105 105  
106 -
107 -
108 108  == 1.4 Applications ==
109 109  
110 110  * Smart Buildings & Home Automation
... ... @@ -114,8 +114,6 @@
114 114  * Smart Cities
115 115  * Smart Factory
116 116  
117 -
118 -
119 119  == 1.5 Firmware Change log ==
120 120  
121 121  [[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);"]]
... ... @@ -439,18 +439,22 @@
439 439  
440 440  (((
441 441  During each sampling, the RS485-BL can support 15 commands to read sensors. And combine the return to one or several uplink payloads.
436 +
437 +
442 442  )))
443 443  
444 444  (((
445 -**Command from RS485-BL to Sensor:**
441 +(% style="color:blue" %)**Command from RS485-BL to Sensor:**
446 446  )))
447 447  
448 448  (((
449 449  RS485-BL can send out pre-set max 15 strings via **AT+COMMAD1**, **ATCOMMAND2**,…, to **AT+COMMANDF** . All commands are of same grammar.
446 +
447 +
450 450  )))
451 451  
452 452  (((
453 -**Handle return from sensors to RS485-BL**:
451 +(% style="color:blue" %)**Handle return from sensors to RS485-BL**:
454 454  )))
455 455  
456 456  (((
... ... @@ -458,15 +458,17 @@
458 458  )))
459 459  
460 460  * (((
461 -**AT+DATACUT**
459 +(% style="color:blue" %)**AT+DATACUT**
462 462  )))
463 463  
464 464  (((
465 465  When the return value from sensor have fix length and we know which position the valid value we should get, we can use AT+DATACUT command.
464 +
465 +
466 466  )))
467 467  
468 468  * (((
469 -**AT+SEARCH**
469 +(% style="color:blue" %)**AT+SEARCH**
470 470  )))
471 471  
472 472  (((
... ... @@ -474,7 +474,9 @@
474 474  )))
475 475  
476 476  (((
477 -**Define wait timeout:**
477 +
478 +
479 +(% style="color:blue" %)**Define wait timeout:**
478 478  )))
479 479  
480 480  (((
... ... @@ -486,6 +486,8 @@
486 486  )))
487 487  
488 488  (((
491 +
492 +
489 489  **Examples:**
490 490  )))
491 491  
... ... @@ -543,6 +543,8 @@
543 543  )))
544 544  
545 545  (((
550 +
551 +
546 546  **Examples:**
547 547  )))
548 548  
... ... @@ -560,6 +560,8 @@
560 560  
561 561  (((
562 562  [[image:1653271044481-711.png]]
569 +
570 +
563 563  )))
564 564  
565 565  (((
... ... @@ -600,11 +600,13 @@
600 600  )))
601 601  
602 602  (((
611 +
612 +
603 603  **Examples:**
604 604  )))
605 605  
606 606  * (((
607 -Grab bytes:
617 +(% style="color:blue" %)**Grab bytes:**
608 608  )))
609 609  
610 610  (((
... ... @@ -616,7 +616,7 @@
616 616  )))
617 617  
618 618  * (((
619 -Grab a section.
629 +(% style="color:blue" %)**Grab a section.**
620 620  )))
621 621  
622 622  (((
... ... @@ -628,11 +628,13 @@
628 628  )))
629 629  
630 630  * (((
631 -Grab different sections.
641 +(% style="color:blue" %)**Grab different sections.**
632 632  )))
633 633  
634 634  (((
635 635  [[image:1653271657255-576.png||height="305" width="730"]]
646 +
647 +
636 636  )))
637 637  
638 638  (((
... ... @@ -760,6 +760,8 @@
760 760  )))
761 761  1. (((
762 762  DATA: Valid value: max 6 bytes(US915 version here, Notice*!) for each uplink so each uplink <= 11 bytes. For the last uplink, DATA will might less than 6 bytes
775 +
776 +
763 763  )))
764 764  
765 765  [[image:1653272817147-600.png||height="437" width="717"]]
... ... @@ -883,7 +883,7 @@
883 883  )))
884 884  
885 885  (((
886 -**}**
900 +}
887 887  
888 888  
889 889  )))
... ... @@ -911,6 +911,10 @@
911 911  
912 912  * (((
913 913  (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for RS485-BL.  User can see these commands below:
928 +
929 +
930 +
931 +
914 914  )))
915 915  
916 916  === 3.5.1 Common Commands: ===
... ... @@ -926,21 +926,17 @@
926 926  
927 927  RS485-BL can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect.
928 928  
929 -* **AT Command**
947 +* (% style="color:#037691" %)**AT Command**
930 930  
931 -(% class="box infomessage" %)
932 -(((
949 +
933 933  **AT+MOD=1** ~/~/ Set to support RS485-MODBUS type sensors. User can connect multiply RS485 , Modbus sensors to the A / B pins.
934 -)))
935 935  
936 -(% class="box infomessage" %)
937 -(((
938 938  **AT+MOD=2** ~/~/ Set to support TTL Level sensors, User can connect one TTL Sensor to the TXD/RXD/GND pins.
939 -)))
940 940  
941 941  
942 -* **Downlink Payload**
943 943  
956 +* (% style="color:#037691" %)**Downlink Payload**
957 +
944 944  **0A aa**  ~-~->  same as AT+MOD=aa
945 945  
946 946  
... ... @@ -953,7 +953,7 @@
953 953  )))
954 954  
955 955  * (((
956 -**AT Command**
970 +(% style="color:#037691" %)**AT Command**
957 957  )))
958 958  
959 959  (% class="box infomessage" %)
... ... @@ -972,7 +972,7 @@
972 972  )))
973 973  
974 974  * (((
975 -**Downlink Payload**
989 +(% style="color:#037691" %)**Downlink Payload**
976 976  )))
977 977  
978 978  (((
... ... @@ -1052,16 +1052,14 @@
1052 1052  
1053 1053  This is the first byte of the uplink payload. RS485-BL can connect to different sensors. User can set the PAYVER field to tell server how to decode the current payload.
1054 1054  
1055 -* **AT Command:**
1069 +* (% style="color:#037691" %)**AT Command:**
1056 1056  
1057 -(% class="box infomessage" %)
1058 -(((
1059 1059  **AT+PAYVER: Set PAYVER field = 1**
1060 -)))
1061 1061  
1062 1062  
1063 -* **Downlink Payload:**
1064 1064  
1075 +* (% style="color:#037691" %)**Downlink Payload:**
1076 +
1065 1065  **0xAE 01**  ~-~-> Set PAYVER field =  0x01
1066 1066  
1067 1067  **0xAE 0F**   ~-~-> Set PAYVER field =  0x0F
... ... @@ -1084,36 +1084,18 @@
1084 1084  )))
1085 1085  
1086 1086  * (((
1087 -**AT Command:**
1099 +(% style="color:#037691" %)**AT Command:**
1088 1088  )))
1089 1089  
1090 -(% class="box infomessage" %)
1091 -(((
1092 -(((
1093 1093  **AT+COMMANDx: Configure RS485 read command to sensor.**
1094 -)))
1095 -)))
1096 1096  
1097 -(% class="box infomessage" %)
1098 -(((
1099 -(((
1100 1100  **AT+DATACUTx: Configure how to handle return from RS485 devices.**
1101 -)))
1102 -)))
1103 1103  
1104 -(% class="box infomessage" %)
1105 -(((
1106 -(((
1107 1107  **AT+SEARCHx: Configure search command**
1108 -)))
1109 -)))
1110 1110  
1111 -(((
1112 -
1113 -)))
1114 1114  
1115 1115  * (((
1116 -**Downlink Payload:**
1110 +(% style="color:#037691" %)**Downlink Payload:**
1117 1117  )))
1118 1118  
1119 1119  (((
... ... @@ -1205,7 +1205,7 @@
1205 1205  )))
1206 1206  
1207 1207  (((
1208 -**AT+MBFUN has only two value:**
1202 +(% style="color:#037691" %)**AT+MBFUN has only two value:**
1209 1209  )))
1210 1210  
1211 1211  * (((
... ... @@ -1241,7 +1241,7 @@
1241 1241  
1242 1242  
1243 1243  * (((
1244 -**Downlink Commands:**
1238 +(% style="color:#037691" %)**Downlink Commands:**
1245 1245  )))
1246 1246  
1247 1247  (((
... ... @@ -1266,7 +1266,7 @@
1266 1266  )))
1267 1267  
1268 1268  * (((
1269 -**AT Command:**
1263 +(% style="color:#037691" %)**AT Command:**
1270 1270  )))
1271 1271  
1272 1272  (% class="box infomessage" %)
... ... @@ -1289,7 +1289,7 @@
1289 1289  )))
1290 1290  
1291 1291  * (((
1292 -**Downlink Payload:**
1286 +(% style="color:#037691" %)**Downlink Payload:**
1293 1293  )))
1294 1294  
1295 1295  (((
... ... @@ -1322,7 +1322,7 @@
1322 1322  )))
1323 1323  
1324 1324  * (((
1325 -**AT Command:**
1319 +(% style="color:#037691" %)**AT Command:**
1326 1326  )))
1327 1327  
1328 1328  (% class="box infomessage" %)
... ... @@ -1344,7 +1344,7 @@
1344 1344  )))
1345 1345  
1346 1346  * (((
1347 -**Downlink Payload:**
1341 +(% style="color:#037691" %)**Downlink Payload:**
1348 1348  )))
1349 1349  
1350 1350  (((
... ... @@ -1362,7 +1362,7 @@
1362 1362  
1363 1363  Ask device to send an uplink immediately.
1364 1364  
1365 -* **Downlink Payload:**
1359 +* (% style="color:#037691" %)**Downlink Payload:**
1366 1366  
1367 1367  **0x08 FF**, RS485-BL will immediately send an uplink.
1368 1368  
... ... @@ -1380,7 +1380,7 @@
1380 1380  )))
1381 1381  
1382 1382  * (((
1383 -**AT Command:**
1377 +(% style="color:#037691" %)**AT Command:**
1384 1384  )))
1385 1385  
1386 1386  (((
... ... @@ -1408,7 +1408,7 @@
1408 1408  )))
1409 1409  
1410 1410  * (((
1411 -**Downlink Payload:**
1405 +(% style="color:#037691" %)**Downlink Payload:**
1412 1412  )))
1413 1413  
1414 1414  (((
... ... @@ -1425,7 +1425,7 @@
1425 1425  )))
1426 1426  
1427 1427  * (((
1428 -**AT Command:**
1422 +(% style="color:#037691" %)**AT Command:**
1429 1429  )))
1430 1430  
1431 1431  (((
... ... @@ -1432,23 +1432,21 @@
1432 1432  Set Baud Rate:
1433 1433  )))
1434 1434  
1435 -(% class="box infomessage" %)
1436 -(((
1437 -(((
1429 +
1438 1438  **AT+BAUDR=9600**    ~/~/ Options: (1200,2400,4800,14400,19200,115200)
1439 1439  
1440 1440  Set UART Parity
1441 1441  **AT+PARITY=0**    ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity
1442 1442  
1435 +
1443 1443  Set STOPBIT
1444 1444  
1445 1445  **AT+STOPBIT=0**    ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits
1446 -)))
1447 -)))
1448 1448  
1449 1449  
1441 +
1450 1450  * (((
1451 -**Downlink Payload:**
1443 +(% style="color:#037691" %)**Downlink Payload:**
1452 1452  )))
1453 1453  
1454 1454  (((
... ... @@ -1484,7 +1484,7 @@
1484 1484  )))
1485 1485  
1486 1486  * (((
1487 -**AT Command:**
1479 +(% style="color:#037691" %)**AT Command:**
1488 1488  )))
1489 1489  
1490 1490  (((
... ... @@ -1504,7 +1504,7 @@
1504 1504  )))
1505 1505  
1506 1506  * (((
1507 -**LoRaWAN Downlink Command:**
1499 +(% style="color:#037691" %)**LoRaWAN Downlink Command:**
1508 1508  )))
1509 1509  
1510 1510  (((
... ... @@ -1523,6 +1523,9 @@
1523 1523  |=(% style="width: 89px;" %)**Button**|=(% style="width: 141px;" %)**Feature**
1524 1524  |(% style="width:89px" %)**RST**|(% style="width:141px" %)Reboot RS485-BL
1525 1525  
1518 +
1519 +
1520 +
1526 1526  == 3.7 +3V3 Output ==
1527 1527  
1528 1528  (((