Changes for page RS485-BL – Waterproof RS485 to LoRaWAN Converter
Last modified by Xiaoling on 2025/04/23 15:57
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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,12 +1260,15 @@ 1260 1260 ))) 1261 1261 1262 1262 * ((( 1263 -(% style="color:#037691" %)**AT Command:** 1274 +**AT Command:** 1275 +))) 1264 1264 1277 +(% class="box infomessage" %) 1278 +((( 1279 +((( 1265 1265 **AT+CMDDLaa=hex(bb cc)** 1266 - 1267 - 1268 1268 ))) 1282 +))) 1269 1269 1270 1270 ((( 1271 1271 **Example:** ... ... @@ -1280,7 +1280,7 @@ 1280 1280 ))) 1281 1281 1282 1282 * ((( 1283 - (% style="color:#037691" %)**Downlink Payload:**1297 +**Downlink Payload:** 1284 1284 ))) 1285 1285 1286 1286 ((( ... ... @@ -1313,12 +1313,22 @@ 1313 1313 ))) 1314 1314 1315 1315 * ((( 1316 -(% style="color:#037691" %)**AT Command:** 1330 +**AT Command:** 1331 +))) 1317 1317 1333 +(% class="box infomessage" %) 1334 +((( 1335 +((( 1318 1318 **AT+DATAUP=0** 1337 +))) 1338 +))) 1319 1319 1340 +(% class="box infomessage" %) 1341 +((( 1342 +((( 1320 1320 **AT+DATAUP=1** 1321 1321 ))) 1345 +))) 1322 1322 1323 1323 ((( 1324 1324 ... ... @@ -1325,7 +1325,7 @@ 1325 1325 ))) 1326 1326 1327 1327 * ((( 1328 - (% style="color:#037691" %)**Downlink Payload:**1352 +**Downlink Payload:** 1329 1329 ))) 1330 1330 1331 1331 ((( ... ... @@ -1343,7 +1343,7 @@ 1343 1343 1344 1344 Ask device to send an uplink immediately. 1345 1345 1346 -* (% style="color:#037691" %)**Downlink Payload:**1370 +* **Downlink Payload:** 1347 1347 1348 1348 **0x08 FF**, RS485-BL will immediately send an uplink. 1349 1349 ... ... @@ -1361,7 +1361,7 @@ 1361 1361 ))) 1362 1362 1363 1363 * ((( 1364 - (% style="color:#037691" %)**AT Command:**1388 +**AT Command:** 1365 1365 ))) 1366 1366 1367 1367 ((( ... ... @@ -1389,7 +1389,7 @@ 1389 1389 ))) 1390 1390 1391 1391 * ((( 1392 - (% style="color:#037691" %)**Downlink Payload:**1416 +**Downlink Payload:** 1393 1393 ))) 1394 1394 1395 1395 ((( ... ... @@ -1406,30 +1406,30 @@ 1406 1406 ))) 1407 1407 1408 1408 * ((( 1409 - (% style="color:#037691" %)**AT Command:**1433 +**AT Command:** 1410 1410 ))) 1411 1411 1412 1412 ((( 1413 - 1414 - 1415 -* Set Baud Rate: 1437 +Set Baud Rate: 1416 1416 ))) 1417 1417 1440 +(% class="box infomessage" %) 1441 +((( 1442 +((( 1418 1418 **AT+BAUDR=9600** ~/~/ Options: (1200,2400,4800,14400,19200,115200) 1419 1419 1420 - 1421 -* Set UART Parity 1422 - 1445 +Set UART Parity 1423 1423 **AT+PARITY=0** ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity 1424 1424 1448 +Set STOPBIT 1425 1425 1426 -* Set STOPBIT 1427 - 1428 1428 **AT+STOPBIT=0** ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits 1451 +))) 1452 +))) 1429 1429 1430 1430 1431 1431 * ((( 1432 - (% style="color:#037691" %)**Downlink Payload:**1456 +**Downlink Payload:** 1433 1433 ))) 1434 1434 1435 1435 ((( ... ... @@ -1437,8 +1437,6 @@ 1437 1437 ))) 1438 1438 1439 1439 ((( 1440 - 1441 - 1442 1442 **Example:** 1443 1443 ))) 1444 1444 ... ... @@ -1467,7 +1467,7 @@ 1467 1467 ))) 1468 1468 1469 1469 * ((( 1470 - (% style="color:#037691" %)**AT Command:**1492 +**AT Command:** 1471 1471 ))) 1472 1472 1473 1473 ((( ... ... @@ -1487,7 +1487,7 @@ 1487 1487 ))) 1488 1488 1489 1489 * ((( 1490 - (% style="color:#037691" %)**LoRaWAN Downlink Command:**1512 +**LoRaWAN Downlink Command:** 1491 1491 ))) 1492 1492 1493 1493 ((( ... ... @@ -1506,9 +1506,6 @@ 1506 1506 |=(% style="width: 89px;" %)**Button**|=(% style="width: 141px;" %)**Feature** 1507 1507 |(% style="width:89px" %)**RST**|(% style="width:141px" %)Reboot RS485-BL 1508 1508 1509 - 1510 - 1511 - 1512 1512 == 3.7 +3V3 Output == 1513 1513 1514 1514 (((