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