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 +**Step 1**: Create a device in TTN V3 with the OTAA keys from RS485-BL. 207 207 ))) 208 208 209 209 ((( ... ... @@ -235,15 +235,13 @@ 235 235 236 236 [[image:1652953542269-423.png||height="710" width="723"]] 237 237 238 - 239 239 Add APP KEY and DEV EUI 240 240 241 241 [[image:1652953553383-907.png||height="514" width="724"]] 242 242 243 243 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.255 +**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:**448 +**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**:456 +**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**464 +**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**472 +**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:** 480 +**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:**610 +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.**622 +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.**634 +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 -} 889 +**}** 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**932 +* **AT Command** 948 948 949 - 934 +(% class="box infomessage" %) 935 +((( 950 950 **AT+MOD=1** ~/~/ Set to support RS485-MODBUS type sensors. User can connect multiply RS485 , Modbus sensors to the A / B pins. 937 +))) 951 951 939 +(% class="box infomessage" %) 940 +((( 952 952 **AT+MOD=2** ~/~/ Set to support TTL Level sensors, User can connect one TTL Sensor to the TXD/RXD/GND pins. 942 +))) 953 953 954 954 945 +* **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**959 +**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**978 +**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:**1058 +* **AT Command:** 1070 1070 1060 +(% class="box infomessage" %) 1061 +((( 1071 1071 **AT+PAYVER: Set PAYVER field = 1** 1063 +))) 1072 1072 1073 1073 1066 +* **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:**1090 +**AT Command:** 1100 1100 ))) 1101 1101 1093 +(% class="box infomessage" %) 1094 +((( 1095 +((( 1102 1102 **AT+COMMANDx: Configure RS485 read command to sensor.** 1097 +))) 1098 +))) 1103 1103 1100 +(% class="box infomessage" %) 1101 +((( 1102 +((( 1104 1104 **AT+DATACUTx: Configure how to handle return from RS485 devices.** 1104 +))) 1105 +))) 1105 1105 1107 +(% class="box infomessage" %) 1108 +((( 1109 +((( 1106 1106 **AT+SEARCHx: Configure search command** 1111 +))) 1112 +))) 1107 1107 1114 +((( 1115 + 1116 +))) 1108 1108 1109 1109 * ((( 1110 - (% style="color:#037691" %)**Downlink Payload:**1119 +**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:**1211 +**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:**1247 +**Downlink Commands:** 1239 1239 ))) 1240 1240 1241 1241 ((( ... ... @@ -1260,7 +1260,7 @@ 1260 1260 ))) 1261 1261 1262 1262 * ((( 1263 - (% style="color:#037691" %)**AT Command:**1272 +**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:**1295 +**Downlink Payload:** 1287 1287 ))) 1288 1288 1289 1289 ((( ... ... @@ -1316,12 +1316,22 @@ 1316 1316 ))) 1317 1317 1318 1318 * ((( 1319 -(% style="color:#037691" %)**AT Command:** 1328 +**AT Command:** 1329 +))) 1320 1320 1331 +(% class="box infomessage" %) 1332 +((( 1333 +((( 1321 1321 **AT+DATAUP=0** 1335 +))) 1336 +))) 1322 1322 1338 +(% class="box infomessage" %) 1339 +((( 1340 +((( 1323 1323 **AT+DATAUP=1** 1324 1324 ))) 1343 +))) 1325 1325 1326 1326 ((( 1327 1327 ... ... @@ -1328,7 +1328,7 @@ 1328 1328 ))) 1329 1329 1330 1330 * ((( 1331 - (% style="color:#037691" %)**Downlink Payload:**1350 +**Downlink Payload:** 1332 1332 ))) 1333 1333 1334 1334 ((( ... ... @@ -1346,7 +1346,7 @@ 1346 1346 1347 1347 Ask device to send an uplink immediately. 1348 1348 1349 -* (% style="color:#037691" %)**Downlink Payload:**1368 +* **Downlink Payload:** 1350 1350 1351 1351 **0x08 FF**, RS485-BL will immediately send an uplink. 1352 1352 ... ... @@ -1364,7 +1364,7 @@ 1364 1364 ))) 1365 1365 1366 1366 * ((( 1367 - (% style="color:#037691" %)**AT Command:**1386 +**AT Command:** 1368 1368 ))) 1369 1369 1370 1370 ((( ... ... @@ -1392,7 +1392,7 @@ 1392 1392 ))) 1393 1393 1394 1394 * ((( 1395 - (% style="color:#037691" %)**Downlink Payload:**1414 +**Downlink Payload:** 1396 1396 ))) 1397 1397 1398 1398 ((( ... ... @@ -1409,30 +1409,30 @@ 1409 1409 ))) 1410 1410 1411 1411 * ((( 1412 - (% style="color:#037691" %)**AT Command:**1431 +**AT Command:** 1413 1413 ))) 1414 1414 1415 1415 ((( 1416 - 1417 - 1418 -* Set Baud Rate: 1435 +Set Baud Rate: 1419 1419 ))) 1420 1420 1438 +(% class="box infomessage" %) 1439 +((( 1440 +((( 1421 1421 **AT+BAUDR=9600** ~/~/ Options: (1200,2400,4800,14400,19200,115200) 1422 1422 1423 - 1424 -* Set UART Parity 1425 - 1443 +Set UART Parity 1426 1426 **AT+PARITY=0** ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity 1427 1427 1446 +Set STOPBIT 1428 1428 1429 -* Set STOPBIT 1430 - 1431 1431 **AT+STOPBIT=0** ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits 1449 +))) 1450 +))) 1432 1432 1433 1433 1434 1434 * ((( 1435 - (% style="color:#037691" %)**Downlink Payload:**1454 +**Downlink Payload:** 1436 1436 ))) 1437 1437 1438 1438 ((( ... ... @@ -1440,8 +1440,6 @@ 1440 1440 ))) 1441 1441 1442 1442 ((( 1443 - 1444 - 1445 1445 **Example:** 1446 1446 ))) 1447 1447 ... ... @@ -1470,7 +1470,7 @@ 1470 1470 ))) 1471 1471 1472 1472 * ((( 1473 - (% style="color:#037691" %)**AT Command:**1490 +**AT Command:** 1474 1474 ))) 1475 1475 1476 1476 ((( ... ... @@ -1490,7 +1490,7 @@ 1490 1490 ))) 1491 1491 1492 1492 * ((( 1493 - (% style="color:#037691" %)**LoRaWAN Downlink Command:**1510 +**LoRaWAN Downlink Command:** 1494 1494 ))) 1495 1495 1496 1496 ((( ... ... @@ -1509,9 +1509,6 @@ 1509 1509 |=(% style="width: 89px;" %)**Button**|=(% style="width: 141px;" %)**Feature** 1510 1510 |(% style="width:89px" %)**RST**|(% style="width:141px" %)Reboot RS485-BL 1511 1511 1512 - 1513 - 1514 - 1515 1515 == 3.7 +3V3 Output == 1516 1516 1517 1517 (((