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

From version 44.11
edited by Xiaoling
on 2022/06/14 10:05
Change comment: There is no comment for this version
To version 44.25
edited by Xiaoling
on 2022/06/14 10:28
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -63,7 +63,6 @@
63 63  ** Idle: 6uA@3.3v
64 64  ** 20dB Transmit: 130mA@3.3v
65 65  
66 -
67 67  **Interface for Model:**
68 68  
69 69  * 1 x RS485 Interface
... ... @@ -73,7 +73,6 @@
73 73  * 1 x Interrupt Interface
74 74  * 1 x Controllable 5V output, max
75 75  
76 -
77 77  **LoRa Spec:**
78 78  
79 79  * Frequency Range:
... ... @@ -92,9 +92,6 @@
92 92  * 127 dB Dynamic Range RSSI.
93 93  * Automatic RF Sense and CAD with ultra-fast AFC. ​​​
94 94  
95 -
96 -
97 -
98 98  == 1.3 Features ==
99 99  
100 100  * LoRaWAN Class A & Class C protocol (default Class A)
... ... @@ -106,9 +106,6 @@
106 106  * Support Modbus protocol
107 107  * Support Interrupt uplink
108 108  
109 -
110 -
111 -
112 112  == 1.4 Applications ==
113 113  
114 114  * Smart Buildings & Home Automation
... ... @@ -118,9 +118,6 @@
118 118  * Smart Cities
119 119  * Smart Factory
120 120  
121 -
122 -
123 -
124 124  == 1.5 Firmware Change log ==
125 125  
126 126  [[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);"]]
... ... @@ -214,7 +214,7 @@
214 214  )))
215 215  
216 216  (((
217 -**(% style="color:blue" %)Step 1**(%%): Create a device in TTN V3 with the OTAA keys from RS485-BL.
206 +(% style="color:blue" %)**Step 1**(%%): Create a device in TTN V3 with the OTAA keys from RS485-BL.
218 218  )))
219 219  
220 220  (((
... ... @@ -254,7 +254,7 @@
254 254  
255 255  
256 256  (((
257 -**(% style="color:blue" %)Step 2**(%%): Power on RS485-BL and it will auto join to the TTN V3 network. After join success, it will start to upload message to TTN V3 and user can see in the panel.
246 +(% style="color:blue" %)**Step 2**(%%): Power on RS485-BL and it will auto join to the TTN V3 network. After join success, it will start to upload message to TTN V3 and user can see in the panel.
258 258  )))
259 259  
260 260  [[image:1652953568895-172.png||height="232" width="724"]]
... ... @@ -444,18 +444,22 @@
444 444  
445 445  (((
446 446  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 +
447 447  )))
448 448  
449 449  (((
450 -**Command from RS485-BL to Sensor:**
441 +(% style="color:blue" %)**Command from RS485-BL to Sensor:**
451 451  )))
452 452  
453 453  (((
454 454  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 +
455 455  )))
456 456  
457 457  (((
458 -**Handle return from sensors to RS485-BL**:
451 +(% style="color:blue" %)**Handle return from sensors to RS485-BL**:
459 459  )))
460 460  
461 461  (((
... ... @@ -463,15 +463,17 @@
463 463  )))
464 464  
465 465  * (((
466 -**AT+DATACUT**
459 +(% style="color:blue" %)**AT+DATACUT**
467 467  )))
468 468  
469 469  (((
470 470  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 +
471 471  )))
472 472  
473 473  * (((
474 -**AT+SEARCH**
469 +(% style="color:blue" %)**AT+SEARCH**
475 475  )))
476 476  
477 477  (((
... ... @@ -479,7 +479,9 @@
479 479  )))
480 480  
481 481  (((
482 -**Define wait timeout:**
477 +
478 +
479 +(% style="color:blue" %)**Define wait timeout:**
483 483  )))
484 484  
485 485  (((
... ... @@ -491,6 +491,8 @@
491 491  )))
492 492  
493 493  (((
491 +
492 +
494 494  **Examples:**
495 495  )))
496 496  
... ... @@ -548,6 +548,8 @@
548 548  )))
549 549  
550 550  (((
550 +
551 +
551 551  **Examples:**
552 552  )))
553 553  
... ... @@ -565,6 +565,8 @@
565 565  
566 566  (((
567 567  [[image:1653271044481-711.png]]
569 +
570 +
568 568  )))
569 569  
570 570  (((
... ... @@ -605,11 +605,13 @@
605 605  )))
606 606  
607 607  (((
611 +
612 +
608 608  **Examples:**
609 609  )))
610 610  
611 611  * (((
612 -Grab bytes:
617 +(% style="color:blue" %)**Grab bytes:**
613 613  )))
614 614  
615 615  (((
... ... @@ -621,7 +621,7 @@
621 621  )))
622 622  
623 623  * (((
624 -Grab a section.
629 +(% style="color:blue" %)**Grab a section.**
625 625  )))
626 626  
627 627  (((
... ... @@ -633,11 +633,13 @@
633 633  )))
634 634  
635 635  * (((
636 -Grab different sections.
641 +(% style="color:blue" %)**Grab different sections.**
637 637  )))
638 638  
639 639  (((
640 640  [[image:1653271657255-576.png||height="305" width="730"]]
646 +
647 +
641 641  )))
642 642  
643 643  (((
... ... @@ -765,6 +765,8 @@
765 765  )))
766 766  1. (((
767 767  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 +
768 768  )))
769 769  
770 770  [[image:1653272817147-600.png||height="437" width="717"]]
... ... @@ -888,7 +888,7 @@
888 888  )))
889 889  
890 890  (((
891 -**}**
900 +}
892 892  
893 893  
894 894  )))
... ... @@ -916,6 +916,10 @@
916 916  
917 917  * (((
918 918  (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for RS485-BL.  User can see these commands below:
928 +
929 +
930 +
931 +
919 919  )))
920 920  
921 921  === 3.5.1 Common Commands: ===
... ... @@ -931,21 +931,17 @@
931 931  
932 932  RS485-BL can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect.
933 933  
934 -* **AT Command**
947 +* (% style="color:#037691" %)**AT Command**
935 935  
936 -(% class="box infomessage" %)
937 -(((
949 +
938 938  **AT+MOD=1** ~/~/ Set to support RS485-MODBUS type sensors. User can connect multiply RS485 , Modbus sensors to the A / B pins.
939 -)))
940 940  
941 -(% class="box infomessage" %)
942 -(((
943 943  **AT+MOD=2** ~/~/ Set to support TTL Level sensors, User can connect one TTL Sensor to the TXD/RXD/GND pins.
944 -)))
945 945  
946 946  
947 -* **Downlink Payload**
948 948  
956 +* (% style="color:#037691" %)**Downlink Payload**
957 +
949 949  **0A aa**  ~-~->  same as AT+MOD=aa
950 950  
951 951  
... ... @@ -958,7 +958,7 @@
958 958  )))
959 959  
960 960  * (((
961 -**AT Command**
970 +(% style="color:#037691" %)**AT Command**
962 962  )))
963 963  
964 964  (% class="box infomessage" %)
... ... @@ -977,7 +977,7 @@
977 977  )))
978 978  
979 979  * (((
980 -**Downlink Payload**
989 +(% style="color:#037691" %)**Downlink Payload**
981 981  )))
982 982  
983 983  (((
... ... @@ -1057,16 +1057,14 @@
1057 1057  
1058 1058  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.
1059 1059  
1060 -* **AT Command:**
1069 +* (% style="color:#037691" %)**AT Command:**
1061 1061  
1062 -(% class="box infomessage" %)
1063 -(((
1064 1064  **AT+PAYVER: Set PAYVER field = 1**
1065 -)))
1066 1066  
1067 1067  
1068 -* **Downlink Payload:**
1069 1069  
1075 +* (% style="color:#037691" %)**Downlink Payload:**
1076 +
1070 1070  **0xAE 01**  ~-~-> Set PAYVER field =  0x01
1071 1071  
1072 1072  **0xAE 0F**   ~-~-> Set PAYVER field =  0x0F
... ... @@ -1089,36 +1089,18 @@
1089 1089  )))
1090 1090  
1091 1091  * (((
1092 -**AT Command:**
1099 +(% style="color:#037691" %)**AT Command:**
1093 1093  )))
1094 1094  
1095 -(% class="box infomessage" %)
1096 -(((
1097 -(((
1098 1098  **AT+COMMANDx: Configure RS485 read command to sensor.**
1099 -)))
1100 -)))
1101 1101  
1102 -(% class="box infomessage" %)
1103 -(((
1104 -(((
1105 1105  **AT+DATACUTx: Configure how to handle return from RS485 devices.**
1106 -)))
1107 -)))
1108 1108  
1109 -(% class="box infomessage" %)
1110 -(((
1111 -(((
1112 1112  **AT+SEARCHx: Configure search command**
1113 -)))
1114 -)))
1115 1115  
1116 -(((
1117 -
1118 -)))
1119 1119  
1120 1120  * (((
1121 -**Downlink Payload:**
1110 +(% style="color:#037691" %)**Downlink Payload:**
1122 1122  )))
1123 1123  
1124 1124  (((
... ... @@ -1210,7 +1210,7 @@
1210 1210  )))
1211 1211  
1212 1212  (((
1213 -**AT+MBFUN has only two value:**
1202 +(% style="color:#037691" %)**AT+MBFUN has only two value:**
1214 1214  )))
1215 1215  
1216 1216  * (((
... ... @@ -1246,7 +1246,7 @@
1246 1246  
1247 1247  
1248 1248  * (((
1249 -**Downlink Commands:**
1238 +(% style="color:#037691" %)**Downlink Commands:**
1250 1250  )))
1251 1251  
1252 1252  (((
... ... @@ -1271,15 +1271,12 @@
1271 1271  )))
1272 1272  
1273 1273  * (((
1274 -**AT Command:**
1275 -)))
1263 +(% style="color:#037691" %)**AT Command:**
1276 1276  
1277 -(% class="box infomessage" %)
1278 -(((
1279 -(((
1280 1280  **AT+CMDDLaa=hex(bb cc)**
1266 +
1267 +
1281 1281  )))
1282 -)))
1283 1283  
1284 1284  (((
1285 1285  **Example:**
... ... @@ -1294,7 +1294,7 @@
1294 1294  )))
1295 1295  
1296 1296  * (((
1297 -**Downlink Payload:**
1283 +(% style="color:#037691" %)**Downlink Payload:**
1298 1298  )))
1299 1299  
1300 1300  (((
... ... @@ -1327,22 +1327,12 @@
1327 1327  )))
1328 1328  
1329 1329  * (((
1330 -**AT Command:**
1331 -)))
1316 +(% style="color:#037691" %)**AT Command:**
1332 1332  
1333 -(% class="box infomessage" %)
1334 -(((
1335 -(((
1336 1336  **AT+DATAUP=0**
1337 -)))
1338 -)))
1339 1339  
1340 -(% class="box infomessage" %)
1341 -(((
1342 -(((
1343 1343  **AT+DATAUP=1**
1344 1344  )))
1345 -)))
1346 1346  
1347 1347  (((
1348 1348  
... ... @@ -1349,7 +1349,7 @@
1349 1349  )))
1350 1350  
1351 1351  * (((
1352 -**Downlink Payload:**
1328 +(% style="color:#037691" %)**Downlink Payload:**
1353 1353  )))
1354 1354  
1355 1355  (((
... ... @@ -1367,7 +1367,7 @@
1367 1367  
1368 1368  Ask device to send an uplink immediately.
1369 1369  
1370 -* **Downlink Payload:**
1346 +* (% style="color:#037691" %)**Downlink Payload:**
1371 1371  
1372 1372  **0x08 FF**, RS485-BL will immediately send an uplink.
1373 1373  
... ... @@ -1385,7 +1385,7 @@
1385 1385  )))
1386 1386  
1387 1387  * (((
1388 -**AT Command:**
1364 +(% style="color:#037691" %)**AT Command:**
1389 1389  )))
1390 1390  
1391 1391  (((
... ... @@ -1413,7 +1413,7 @@
1413 1413  )))
1414 1414  
1415 1415  * (((
1416 -**Downlink Payload:**
1392 +(% style="color:#037691" %)**Downlink Payload:**
1417 1417  )))
1418 1418  
1419 1419  (((
... ... @@ -1430,30 +1430,30 @@
1430 1430  )))
1431 1431  
1432 1432  * (((
1433 -**AT Command:**
1409 +(% style="color:#037691" %)**AT Command:**
1434 1434  )))
1435 1435  
1436 1436  (((
1437 -Set Baud Rate:
1413 +
1414 +
1415 +* Set Baud Rate:
1438 1438  )))
1439 1439  
1440 -(% class="box infomessage" %)
1441 -(((
1442 -(((
1443 1443  **AT+BAUDR=9600**    ~/~/ Options: (1200,2400,4800,14400,19200,115200)
1444 1444  
1445 -Set UART Parity
1420 +
1421 +* Set UART Parity
1422 +
1446 1446  **AT+PARITY=0**    ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity
1447 1447  
1448 -Set STOPBIT
1449 1449  
1426 +* Set STOPBIT
1427 +
1450 1450  **AT+STOPBIT=0**    ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits
1451 -)))
1452 -)))
1453 1453  
1454 1454  
1455 1455  * (((
1456 -**Downlink Payload:**
1432 +(% style="color:#037691" %)**Downlink Payload:**
1457 1457  )))
1458 1458  
1459 1459  (((
... ... @@ -1461,6 +1461,8 @@
1461 1461  )))
1462 1462  
1463 1463  (((
1440 +
1441 +
1464 1464  **Example:**
1465 1465  )))
1466 1466  
... ... @@ -1489,7 +1489,7 @@
1489 1489  )))
1490 1490  
1491 1491  * (((
1492 -**AT Command:**
1470 +(% style="color:#037691" %)**AT Command:**
1493 1493  )))
1494 1494  
1495 1495  (((
... ... @@ -1509,7 +1509,7 @@
1509 1509  )))
1510 1510  
1511 1511  * (((
1512 -**LoRaWAN Downlink Command:**
1490 +(% style="color:#037691" %)**LoRaWAN Downlink Command:**
1513 1513  )))
1514 1514  
1515 1515  (((
... ... @@ -1528,6 +1528,9 @@
1528 1528  |=(% style="width: 89px;" %)**Button**|=(% style="width: 141px;" %)**Feature**
1529 1529  |(% style="width:89px" %)**RST**|(% style="width:141px" %)Reboot RS485-BL
1530 1530  
1509 +
1510 +
1511 +
1531 1531  == 3.7 +3V3 Output ==
1532 1532  
1533 1533  (((