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

From version 44.13
edited by Xiaoling
on 2022/06/14 10:08
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);"]]
... ... @@ -389,9 +389,6 @@
389 389  )))
390 390  )))
391 391  
392 -
393 -
394 -
395 395  === 3.3.2 Configure sensors ===
396 396  
397 397  (((
... ... @@ -442,18 +442,22 @@
442 442  
443 443  (((
444 444  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 +
445 445  )))
446 446  
447 447  (((
448 -**Command from RS485-BL to Sensor:**
441 +(% style="color:blue" %)**Command from RS485-BL to Sensor:**
449 449  )))
450 450  
451 451  (((
452 452  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 +
453 453  )))
454 454  
455 455  (((
456 -**Handle return from sensors to RS485-BL**:
451 +(% style="color:blue" %)**Handle return from sensors to RS485-BL**:
457 457  )))
458 458  
459 459  (((
... ... @@ -461,15 +461,17 @@
461 461  )))
462 462  
463 463  * (((
464 -**AT+DATACUT**
459 +(% style="color:blue" %)**AT+DATACUT**
465 465  )))
466 466  
467 467  (((
468 468  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 +
469 469  )))
470 470  
471 471  * (((
472 -**AT+SEARCH**
469 +(% style="color:blue" %)**AT+SEARCH**
473 473  )))
474 474  
475 475  (((
... ... @@ -477,7 +477,9 @@
477 477  )))
478 478  
479 479  (((
480 -**Define wait timeout:**
477 +
478 +
479 +(% style="color:blue" %)**Define wait timeout:**
481 481  )))
482 482  
483 483  (((
... ... @@ -489,6 +489,8 @@
489 489  )))
490 490  
491 491  (((
491 +
492 +
492 492  **Examples:**
493 493  )))
494 494  
... ... @@ -546,6 +546,8 @@
546 546  )))
547 547  
548 548  (((
550 +
551 +
549 549  **Examples:**
550 550  )))
551 551  
... ... @@ -563,6 +563,8 @@
563 563  
564 564  (((
565 565  [[image:1653271044481-711.png]]
569 +
570 +
566 566  )))
567 567  
568 568  (((
... ... @@ -603,11 +603,13 @@
603 603  )))
604 604  
605 605  (((
611 +
612 +
606 606  **Examples:**
607 607  )))
608 608  
609 609  * (((
610 -Grab bytes:
617 +(% style="color:blue" %)**Grab bytes:**
611 611  )))
612 612  
613 613  (((
... ... @@ -619,7 +619,7 @@
619 619  )))
620 620  
621 621  * (((
622 -Grab a section.
629 +(% style="color:blue" %)**Grab a section.**
623 623  )))
624 624  
625 625  (((
... ... @@ -631,11 +631,13 @@
631 631  )))
632 632  
633 633  * (((
634 -Grab different sections.
641 +(% style="color:blue" %)**Grab different sections.**
635 635  )))
636 636  
637 637  (((
638 638  [[image:1653271657255-576.png||height="305" width="730"]]
646 +
647 +
639 639  )))
640 640  
641 641  (((
... ... @@ -763,6 +763,8 @@
763 763  )))
764 764  1. (((
765 765  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 +
766 766  )))
767 767  
768 768  [[image:1653272817147-600.png||height="437" width="717"]]
... ... @@ -886,7 +886,7 @@
886 886  )))
887 887  
888 888  (((
889 -**}**
900 +}
890 890  
891 891  
892 892  )))
... ... @@ -914,6 +914,10 @@
914 914  
915 915  * (((
916 916  (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for RS485-BL.  User can see these commands below:
928 +
929 +
930 +
931 +
917 917  )))
918 918  
919 919  === 3.5.1 Common Commands: ===
... ... @@ -929,21 +929,17 @@
929 929  
930 930  RS485-BL can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect.
931 931  
932 -* **AT Command**
947 +* (% style="color:#037691" %)**AT Command**
933 933  
934 -(% class="box infomessage" %)
935 -(((
949 +
936 936  **AT+MOD=1** ~/~/ Set to support RS485-MODBUS type sensors. User can connect multiply RS485 , Modbus sensors to the A / B pins.
937 -)))
938 938  
939 -(% class="box infomessage" %)
940 -(((
941 941  **AT+MOD=2** ~/~/ Set to support TTL Level sensors, User can connect one TTL Sensor to the TXD/RXD/GND pins.
942 -)))
943 943  
944 944  
945 -* **Downlink Payload**
946 946  
956 +* (% style="color:#037691" %)**Downlink Payload**
957 +
947 947  **0A aa**  ~-~->  same as AT+MOD=aa
948 948  
949 949  
... ... @@ -956,7 +956,7 @@
956 956  )))
957 957  
958 958  * (((
959 -**AT Command**
970 +(% style="color:#037691" %)**AT Command**
960 960  )))
961 961  
962 962  (% class="box infomessage" %)
... ... @@ -975,7 +975,7 @@
975 975  )))
976 976  
977 977  * (((
978 -**Downlink Payload**
989 +(% style="color:#037691" %)**Downlink Payload**
979 979  )))
980 980  
981 981  (((
... ... @@ -1055,16 +1055,14 @@
1055 1055  
1056 1056  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.
1057 1057  
1058 -* **AT Command:**
1069 +* (% style="color:#037691" %)**AT Command:**
1059 1059  
1060 -(% class="box infomessage" %)
1061 -(((
1062 1062  **AT+PAYVER: Set PAYVER field = 1**
1063 -)))
1064 1064  
1065 1065  
1066 -* **Downlink Payload:**
1067 1067  
1075 +* (% style="color:#037691" %)**Downlink Payload:**
1076 +
1068 1068  **0xAE 01**  ~-~-> Set PAYVER field =  0x01
1069 1069  
1070 1070  **0xAE 0F**   ~-~-> Set PAYVER field =  0x0F
... ... @@ -1087,36 +1087,18 @@
1087 1087  )))
1088 1088  
1089 1089  * (((
1090 -**AT Command:**
1099 +(% style="color:#037691" %)**AT Command:**
1091 1091  )))
1092 1092  
1093 -(% class="box infomessage" %)
1094 -(((
1095 -(((
1096 1096  **AT+COMMANDx: Configure RS485 read command to sensor.**
1097 -)))
1098 -)))
1099 1099  
1100 -(% class="box infomessage" %)
1101 -(((
1102 -(((
1103 1103  **AT+DATACUTx: Configure how to handle return from RS485 devices.**
1104 -)))
1105 -)))
1106 1106  
1107 -(% class="box infomessage" %)
1108 -(((
1109 -(((
1110 1110  **AT+SEARCHx: Configure search command**
1111 -)))
1112 -)))
1113 1113  
1114 -(((
1115 -
1116 -)))
1117 1117  
1118 1118  * (((
1119 -**Downlink Payload:**
1110 +(% style="color:#037691" %)**Downlink Payload:**
1120 1120  )))
1121 1121  
1122 1122  (((
... ... @@ -1208,7 +1208,7 @@
1208 1208  )))
1209 1209  
1210 1210  (((
1211 -**AT+MBFUN has only two value:**
1202 +(% style="color:#037691" %)**AT+MBFUN has only two value:**
1212 1212  )))
1213 1213  
1214 1214  * (((
... ... @@ -1244,7 +1244,7 @@
1244 1244  
1245 1245  
1246 1246  * (((
1247 -**Downlink Commands:**
1238 +(% style="color:#037691" %)**Downlink Commands:**
1248 1248  )))
1249 1249  
1250 1250  (((
... ... @@ -1269,7 +1269,7 @@
1269 1269  )))
1270 1270  
1271 1271  * (((
1272 -**AT Command:**
1263 +(% style="color:#037691" %)**AT Command:**
1273 1273  )))
1274 1274  
1275 1275  (% class="box infomessage" %)
... ... @@ -1292,7 +1292,7 @@
1292 1292  )))
1293 1293  
1294 1294  * (((
1295 -**Downlink Payload:**
1286 +(% style="color:#037691" %)**Downlink Payload:**
1296 1296  )))
1297 1297  
1298 1298  (((
... ... @@ -1325,7 +1325,7 @@
1325 1325  )))
1326 1326  
1327 1327  * (((
1328 -**AT Command:**
1319 +(% style="color:#037691" %)**AT Command:**
1329 1329  )))
1330 1330  
1331 1331  (% class="box infomessage" %)
... ... @@ -1347,7 +1347,7 @@
1347 1347  )))
1348 1348  
1349 1349  * (((
1350 -**Downlink Payload:**
1341 +(% style="color:#037691" %)**Downlink Payload:**
1351 1351  )))
1352 1352  
1353 1353  (((
... ... @@ -1365,7 +1365,7 @@
1365 1365  
1366 1366  Ask device to send an uplink immediately.
1367 1367  
1368 -* **Downlink Payload:**
1359 +* (% style="color:#037691" %)**Downlink Payload:**
1369 1369  
1370 1370  **0x08 FF**, RS485-BL will immediately send an uplink.
1371 1371  
... ... @@ -1383,7 +1383,7 @@
1383 1383  )))
1384 1384  
1385 1385  * (((
1386 -**AT Command:**
1377 +(% style="color:#037691" %)**AT Command:**
1387 1387  )))
1388 1388  
1389 1389  (((
... ... @@ -1411,7 +1411,7 @@
1411 1411  )))
1412 1412  
1413 1413  * (((
1414 -**Downlink Payload:**
1405 +(% style="color:#037691" %)**Downlink Payload:**
1415 1415  )))
1416 1416  
1417 1417  (((
... ... @@ -1428,7 +1428,7 @@
1428 1428  )))
1429 1429  
1430 1430  * (((
1431 -**AT Command:**
1422 +(% style="color:#037691" %)**AT Command:**
1432 1432  )))
1433 1433  
1434 1434  (((
... ... @@ -1435,23 +1435,21 @@
1435 1435  Set Baud Rate:
1436 1436  )))
1437 1437  
1438 -(% class="box infomessage" %)
1439 -(((
1440 -(((
1429 +
1441 1441  **AT+BAUDR=9600**    ~/~/ Options: (1200,2400,4800,14400,19200,115200)
1442 1442  
1443 1443  Set UART Parity
1444 1444  **AT+PARITY=0**    ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity
1445 1445  
1435 +
1446 1446  Set STOPBIT
1447 1447  
1448 1448  **AT+STOPBIT=0**    ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits
1449 -)))
1450 -)))
1451 1451  
1452 1452  
1441 +
1453 1453  * (((
1454 -**Downlink Payload:**
1443 +(% style="color:#037691" %)**Downlink Payload:**
1455 1455  )))
1456 1456  
1457 1457  (((
... ... @@ -1487,7 +1487,7 @@
1487 1487  )))
1488 1488  
1489 1489  * (((
1490 -**AT Command:**
1479 +(% style="color:#037691" %)**AT Command:**
1491 1491  )))
1492 1492  
1493 1493  (((
... ... @@ -1507,7 +1507,7 @@
1507 1507  )))
1508 1508  
1509 1509  * (((
1510 -**LoRaWAN Downlink Command:**
1499 +(% style="color:#037691" %)**LoRaWAN Downlink Command:**
1511 1511  )))
1512 1512  
1513 1513  (((
... ... @@ -1526,6 +1526,9 @@
1526 1526  |=(% style="width: 89px;" %)**Button**|=(% style="width: 141px;" %)**Feature**
1527 1527  |(% style="width:89px" %)**RST**|(% style="width:141px" %)Reboot RS485-BL
1528 1528  
1518 +
1519 +
1520 +
1529 1529  == 3.7 +3V3 Output ==
1530 1530  
1531 1531  (((