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

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

Summary

Details

Page properties
Content
... ... @@ -63,6 +63,7 @@
63 63  ** Idle: 6uA@3.3v
64 64  ** 20dB Transmit: 130mA@3.3v
65 65  
66 +
66 66  **Interface for Model:**
67 67  
68 68  * 1 x RS485 Interface
... ... @@ -72,6 +72,7 @@
72 72  * 1 x Interrupt Interface
73 73  * 1 x Controllable 5V output, max
74 74  
76 +
75 75  **LoRa Spec:**
76 76  
77 77  * Frequency Range:
... ... @@ -90,6 +90,9 @@
90 90  * 127 dB Dynamic Range RSSI.
91 91  * Automatic RF Sense and CAD with ultra-fast AFC. ​​​
92 92  
95 +
96 +
97 +
93 93  == 1.3 Features ==
94 94  
95 95  * LoRaWAN Class A & Class C protocol (default Class A)
... ... @@ -101,6 +101,9 @@
101 101  * Support Modbus protocol
102 102  * Support Interrupt uplink
103 103  
109 +
110 +
111 +
104 104  == 1.4 Applications ==
105 105  
106 106  * Smart Buildings & Home Automation
... ... @@ -110,6 +110,9 @@
110 110  * Smart Cities
111 111  * Smart Factory
112 112  
121 +
122 +
123 +
113 113  == 1.5 Firmware Change log ==
114 114  
115 115  [[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);"]]
... ... @@ -203,7 +203,7 @@
203 203  )))
204 204  
205 205  (((
206 -(% style="color:blue" %)**Step 1**(%%): Create a device in TTN V3 with the OTAA keys from RS485-BL.
217 +**(% style="color:blue" %)Step 1**(%%): Create a device in TTN V3 with the OTAA keys from RS485-BL.
207 207  )))
208 208  
209 209  (((
... ... @@ -243,7 +243,7 @@
243 243  
244 244  
245 245  (((
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.
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.
247 247  )))
248 248  
249 249  [[image:1652953568895-172.png||height="232" width="724"]]
... ... @@ -433,22 +433,18 @@
433 433  
434 434  (((
435 435  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 -
438 438  )))
439 439  
440 440  (((
441 -(% style="color:blue" %)**Command from RS485-BL to Sensor:**
450 +**Command from RS485-BL to Sensor:**
442 442  )))
443 443  
444 444  (((
445 445  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 -
448 448  )))
449 449  
450 450  (((
451 -(% style="color:blue" %)**Handle return from sensors to RS485-BL**:
458 +**Handle return from sensors to RS485-BL**:
452 452  )))
453 453  
454 454  (((
... ... @@ -456,17 +456,15 @@
456 456  )))
457 457  
458 458  * (((
459 -(% style="color:blue" %)**AT+DATACUT**
466 +**AT+DATACUT**
460 460  )))
461 461  
462 462  (((
463 463  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 -(% style="color:blue" %)**AT+SEARCH**
474 +**AT+SEARCH**
470 470  )))
471 471  
472 472  (((
... ... @@ -474,9 +474,7 @@
474 474  )))
475 475  
476 476  (((
477 -
478 -
479 -(% style="color:blue" %)**Define wait timeout:**
482 +**Define wait timeout:**
480 480  )))
481 481  
482 482  (((
... ... @@ -488,8 +488,6 @@
488 488  )))
489 489  
490 490  (((
491 -
492 -
493 493  **Examples:**
494 494  )))
495 495  
... ... @@ -547,8 +547,6 @@
547 547  )))
548 548  
549 549  (((
550 -
551 -
552 552  **Examples:**
553 553  )))
554 554  
... ... @@ -566,8 +566,6 @@
566 566  
567 567  (((
568 568  [[image:1653271044481-711.png]]
569 -
570 -
571 571  )))
572 572  
573 573  (((
... ... @@ -608,13 +608,11 @@
608 608  )))
609 609  
610 610  (((
611 -
612 -
613 613  **Examples:**
614 614  )))
615 615  
616 616  * (((
617 -(% style="color:blue" %)**Grab bytes:**
612 +Grab bytes:
618 618  )))
619 619  
620 620  (((
... ... @@ -626,7 +626,7 @@
626 626  )))
627 627  
628 628  * (((
629 -(% style="color:blue" %)**Grab a section.**
624 +Grab a section.
630 630  )))
631 631  
632 632  (((
... ... @@ -638,13 +638,11 @@
638 638  )))
639 639  
640 640  * (((
641 -(% style="color:blue" %)**Grab different sections.**
636 +Grab different sections.
642 642  )))
643 643  
644 644  (((
645 645  [[image:1653271657255-576.png||height="305" width="730"]]
646 -
647 -
648 648  )))
649 649  
650 650  (((
... ... @@ -772,8 +772,6 @@
772 772  )))
773 773  1. (((
774 774  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 -
777 777  )))
778 778  
779 779  [[image:1653272817147-600.png||height="437" width="717"]]
... ... @@ -897,7 +897,7 @@
897 897  )))
898 898  
899 899  (((
900 -}
891 +**}**
901 901  
902 902  
903 903  )))
... ... @@ -925,10 +925,6 @@
925 925  
926 926  * (((
927 927  (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for RS485-BL.  User can see these commands below:
928 -
929 -
930 -
931 -
932 932  )))
933 933  
934 934  === 3.5.1 Common Commands: ===
... ... @@ -944,17 +944,21 @@
944 944  
945 945  RS485-BL can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect.
946 946  
947 -* (% style="color:#037691" %)**AT Command**
934 +* **AT Command**
948 948  
949 -
936 +(% class="box infomessage" %)
937 +(((
950 950  **AT+MOD=1** ~/~/ Set to support RS485-MODBUS type sensors. User can connect multiply RS485 , Modbus sensors to the A / B pins.
939 +)))
951 951  
941 +(% class="box infomessage" %)
942 +(((
952 952  **AT+MOD=2** ~/~/ Set to support TTL Level sensors, User can connect one TTL Sensor to the TXD/RXD/GND pins.
944 +)))
953 953  
954 954  
947 +* **Downlink Payload**
955 955  
956 -* (% style="color:#037691" %)**Downlink Payload**
957 -
958 958  **0A aa**  ~-~->  same as AT+MOD=aa
959 959  
960 960  
... ... @@ -967,7 +967,7 @@
967 967  )))
968 968  
969 969  * (((
970 -(% style="color:#037691" %)**AT Command**
961 +**AT Command**
971 971  )))
972 972  
973 973  (% class="box infomessage" %)
... ... @@ -986,7 +986,7 @@
986 986  )))
987 987  
988 988  * (((
989 -(% style="color:#037691" %)**Downlink Payload**
980 +**Downlink Payload**
990 990  )))
991 991  
992 992  (((
... ... @@ -1066,14 +1066,16 @@
1066 1066  
1067 1067  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.
1068 1068  
1069 -* (% style="color:#037691" %)**AT Command:**
1060 +* **AT Command:**
1070 1070  
1062 +(% class="box infomessage" %)
1063 +(((
1071 1071  **AT+PAYVER: Set PAYVER field = 1**
1065 +)))
1072 1072  
1073 1073  
1068 +* **Downlink Payload:**
1074 1074  
1075 -* (% style="color:#037691" %)**Downlink Payload:**
1076 -
1077 1077  **0xAE 01**  ~-~-> Set PAYVER field =  0x01
1078 1078  
1079 1079  **0xAE 0F**   ~-~-> Set PAYVER field =  0x0F
... ... @@ -1096,18 +1096,36 @@
1096 1096  )))
1097 1097  
1098 1098  * (((
1099 -(% style="color:#037691" %)**AT Command:**
1092 +**AT Command:**
1100 1100  )))
1101 1101  
1095 +(% class="box infomessage" %)
1096 +(((
1097 +(((
1102 1102  **AT+COMMANDx: Configure RS485 read command to sensor.**
1099 +)))
1100 +)))
1103 1103  
1102 +(% class="box infomessage" %)
1103 +(((
1104 +(((
1104 1104  **AT+DATACUTx: Configure how to handle return from RS485 devices.**
1106 +)))
1107 +)))
1105 1105  
1109 +(% class="box infomessage" %)
1110 +(((
1111 +(((
1106 1106  **AT+SEARCHx: Configure search command**
1113 +)))
1114 +)))
1107 1107  
1116 +(((
1117 +
1118 +)))
1108 1108  
1109 1109  * (((
1110 -(% style="color:#037691" %)**Downlink Payload:**
1121 +**Downlink Payload:**
1111 1111  )))
1112 1112  
1113 1113  (((
... ... @@ -1199,7 +1199,7 @@
1199 1199  )))
1200 1200  
1201 1201  (((
1202 -(% style="color:#037691" %)**AT+MBFUN has only two value:**
1213 +**AT+MBFUN has only two value:**
1203 1203  )))
1204 1204  
1205 1205  * (((
... ... @@ -1235,7 +1235,7 @@
1235 1235  
1236 1236  
1237 1237  * (((
1238 -(% style="color:#037691" %)**Downlink Commands:**
1249 +**Downlink Commands:**
1239 1239  )))
1240 1240  
1241 1241  (((
... ... @@ -1260,7 +1260,7 @@
1260 1260  )))
1261 1261  
1262 1262  * (((
1263 -(% style="color:#037691" %)**AT Command:**
1274 +**AT Command:**
1264 1264  )))
1265 1265  
1266 1266  (% class="box infomessage" %)
... ... @@ -1283,7 +1283,7 @@
1283 1283  )))
1284 1284  
1285 1285  * (((
1286 -(% style="color:#037691" %)**Downlink Payload:**
1297 +**Downlink Payload:**
1287 1287  )))
1288 1288  
1289 1289  (((
... ... @@ -1316,7 +1316,7 @@
1316 1316  )))
1317 1317  
1318 1318  * (((
1319 -(% style="color:#037691" %)**AT Command:**
1330 +**AT Command:**
1320 1320  )))
1321 1321  
1322 1322  (% class="box infomessage" %)
... ... @@ -1338,7 +1338,7 @@
1338 1338  )))
1339 1339  
1340 1340  * (((
1341 -(% style="color:#037691" %)**Downlink Payload:**
1352 +**Downlink Payload:**
1342 1342  )))
1343 1343  
1344 1344  (((
... ... @@ -1356,7 +1356,7 @@
1356 1356  
1357 1357  Ask device to send an uplink immediately.
1358 1358  
1359 -* (% style="color:#037691" %)**Downlink Payload:**
1370 +* **Downlink Payload:**
1360 1360  
1361 1361  **0x08 FF**, RS485-BL will immediately send an uplink.
1362 1362  
... ... @@ -1374,7 +1374,7 @@
1374 1374  )))
1375 1375  
1376 1376  * (((
1377 -(% style="color:#037691" %)**AT Command:**
1388 +**AT Command:**
1378 1378  )))
1379 1379  
1380 1380  (((
... ... @@ -1402,7 +1402,7 @@
1402 1402  )))
1403 1403  
1404 1404  * (((
1405 -(% style="color:#037691" %)**Downlink Payload:**
1416 +**Downlink Payload:**
1406 1406  )))
1407 1407  
1408 1408  (((
... ... @@ -1419,7 +1419,7 @@
1419 1419  )))
1420 1420  
1421 1421  * (((
1422 -(% style="color:#037691" %)**AT Command:**
1433 +**AT Command:**
1423 1423  )))
1424 1424  
1425 1425  (((
... ... @@ -1426,21 +1426,23 @@
1426 1426  Set Baud Rate:
1427 1427  )))
1428 1428  
1429 -
1440 +(% class="box infomessage" %)
1441 +(((
1442 +(((
1430 1430  **AT+BAUDR=9600**    ~/~/ Options: (1200,2400,4800,14400,19200,115200)
1431 1431  
1432 1432  Set UART Parity
1433 1433  **AT+PARITY=0**    ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity
1434 1434  
1435 -
1436 1436  Set STOPBIT
1437 1437  
1438 1438  **AT+STOPBIT=0**    ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits
1451 +)))
1452 +)))
1439 1439  
1440 1440  
1441 -
1442 1442  * (((
1443 -(% style="color:#037691" %)**Downlink Payload:**
1456 +**Downlink Payload:**
1444 1444  )))
1445 1445  
1446 1446  (((
... ... @@ -1476,7 +1476,7 @@
1476 1476  )))
1477 1477  
1478 1478  * (((
1479 -(% style="color:#037691" %)**AT Command:**
1492 +**AT Command:**
1480 1480  )))
1481 1481  
1482 1482  (((
... ... @@ -1496,7 +1496,7 @@
1496 1496  )))
1497 1497  
1498 1498  * (((
1499 -(% style="color:#037691" %)**LoRaWAN Downlink Command:**
1512 +**LoRaWAN Downlink Command:**
1500 1500  )))
1501 1501  
1502 1502  (((
... ... @@ -1515,9 +1515,6 @@
1515 1515  |=(% style="width: 89px;" %)**Button**|=(% style="width: 141px;" %)**Feature**
1516 1516  |(% style="width:89px" %)**RST**|(% style="width:141px" %)Reboot RS485-BL
1517 1517  
1518 -
1519 -
1520 -
1521 1521  == 3.7 +3V3 Output ==
1522 1522  
1523 1523  (((