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

From version 43.1
edited by Edwin Chen
on 2022/06/13 10:47
Change comment: There is no comment for this version
To version 41.35
edited by Xiaoling
on 2022/06/06 11:19
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Xiaoling
Content
... ... @@ -94,7 +94,6 @@
94 94  * 127 dB Dynamic Range RSSI.
95 95  * Automatic RF Sense and CAD with ultra-fast AFC. ​​​
96 96  
97 -
98 98  == 1.3 Features ==
99 99  
100 100  * LoRaWAN Class A & Class C protocol (default Class A)
... ... @@ -106,7 +106,6 @@
106 106  * Support Modbus protocol
107 107  * Support Interrupt uplink
108 108  
109 -
110 110  == 1.4 Applications ==
111 111  
112 112  * Smart Buildings & Home Automation
... ... @@ -116,7 +116,6 @@
116 116  * Smart Cities
117 117  * Smart Factory
118 118  
119 -
120 120  == 1.5 Firmware Change log ==
121 121  
122 122  [[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);"]]
... ... @@ -286,28 +286,28 @@
286 286  )))
287 287  
288 288  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
289 -|=(% style="width: 80px;" %)(((
286 +|=(% style="width: 120px;" %)(((
290 290  (((
291 291  **AT Commands**
292 292  )))
293 -)))|=(% style="width: 210px;" %)(((
290 +)))|=(% style="width: 190px;" %)(((
294 294  (((
295 295  **Description**
296 296  )))
297 -)))|=(% style="width: 210px;" %)(((
294 +)))|=(% style="width: 190px;" %)(((
298 298  (((
299 299  **Example**
300 300  )))
301 301  )))
302 -|(% style="width:80px" %)(((
299 +|(% style="width:120px" %)(((
303 303  (((
304 304  AT+BAUDR
305 305  )))
306 -)))|(% style="width:210px" %)(((
303 +)))|(% style="width:190px" %)(((
307 307  (((
308 308  Set the baud rate (for RS485 connection). Default Value is: 9600.
309 309  )))
310 -)))|(% style="width:210px" %)(((
307 +)))|(% style="width:190px" %)(((
311 311  (((
312 312  (((
313 313  AT+BAUDR=9600
... ... @@ -320,11 +320,11 @@
320 320  )))
321 321  )))
322 322  )))
323 -|(% style="width:80px" %)(((
320 +|(% style="width:120px" %)(((
324 324  (((
325 325  AT+PARITY
326 326  )))
327 -)))|(% style="width:210px" %)(((
324 +)))|(% style="width:190px" %)(((
328 328  (((
329 329  (((
330 330  Set UART parity (for RS485 connection)
... ... @@ -336,7 +336,7 @@
336 336  Default Value is: no parity.
337 337  )))
338 338  )))
339 -)))|(% style="width:210px" %)(((
336 +)))|(% style="width:190px" %)(((
340 340  (((
341 341  (((
342 342  AT+PARITY=0
... ... @@ -349,11 +349,11 @@
349 349  )))
350 350  )))
351 351  )))
352 -|(% style="width:80px" %)(((
349 +|(% style="width:120px" %)(((
353 353  (((
354 354  AT+STOPBIT
355 355  )))
356 -)))|(% style="width:210px" %)(((
353 +)))|(% style="width:190px" %)(((
357 357  (((
358 358  (((
359 359  Set serial stopbit (for RS485 connection)
... ... @@ -365,7 +365,7 @@
365 365  Default Value is: 1bit.
366 366  )))
367 367  )))
368 -)))|(% style="width:210px" %)(((
365 +)))|(% style="width:190px" %)(((
369 369  (((
370 370  (((
371 371  AT+STOPBIT=0 for 1bit
... ... @@ -386,6 +386,7 @@
386 386  )))
387 387  
388 388  
386 +
389 389  === 3.3.2 Configure sensors ===
390 390  
391 391  (((
... ... @@ -397,20 +397,14 @@
397 397  )))
398 398  
399 399  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
400 -|=(% style="width: 80px;" %)**AT Commands**|=(% style="width: 210px;" %)**Description**|=(% style="width: 210px;" %)**Example**
401 -|AT+CFGDEV|(% style="width:80px" %)(((
402 -(((
398 +|=(% style="width: 120px;" %)**AT Commands**|=(% style="width: 190px;" %)**Description**|=(% style="width: 190px;" %)**Example**
399 +|AT+CFGDEV|(% style="width:120px" %)(((
403 403  This command is used to configure the RS485/TTL devices; they won’t be used during sampling.
404 -)))
405 405  
406 -(((
407 407  AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,
408 -)))
409 409  
410 -(((
411 411  mm: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command
412 -)))
413 -)))|(% style="width:210px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
405 +)))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
414 414  
415 415  Detail of AT+CFGDEV command see [[AT+CFGDEV detail>>||anchor="HRS485DebugCommand28AT2BCFGDEV29"]].
416 416  
... ... @@ -880,7 +880,7 @@
880 880  )))
881 881  
882 882  (((
883 -**}**
875 +{{{}}}}
884 884  
885 885  
886 886  )))
... ... @@ -910,6 +910,8 @@
910 910  (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for RS485-BL.  User can see these commands below:
911 911  )))
912 912  
905 +
906 +
913 913  === 3.5.1 Common Commands: ===
914 914  
915 915  They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.3, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
... ... @@ -1237,13 +1237,9 @@
1237 1237  [[image:1654133954153-643.png]]
1238 1238  
1239 1239  
1240 -* (((
1241 -**Downlink Commands:**
1242 -)))
1234 +* **Downlink Commands:**
1243 1243  
1244 -(((
1245 1245  **A9 aa** ~-~-> Same as AT+MBFUN=aa
1246 -)))
1247 1247  
1248 1248  
1249 1249  
... ... @@ -1250,60 +1250,32 @@
1250 1250  
1251 1251  ==== **RS485 command timeout** ====
1252 1252  
1253 -(((
1254 1254  Some Modbus device has slow action to send replies. This command is used to configure the RS485-BL to use longer time to wait for their action.
1255 -)))
1256 1256  
1257 -(((
1258 1258  Default value: 0, range:  0 ~~ 5 seconds
1259 -)))
1260 1260  
1261 -(((
1262 -
1263 -)))
1264 1264  
1265 -* (((
1266 -**AT Command:**
1267 -)))
1248 +* **AT Command:**
1268 1268  
1269 1269  (% class="box infomessage" %)
1270 1270  (((
1271 -(((
1272 1272  **AT+CMDDLaa=hex(bb cc)**
1273 1273  )))
1274 -)))
1275 1275  
1276 -(((
1277 1277  **Example:**
1278 -)))
1279 1279  
1280 -(((
1281 1281  **AT+CMDDL1=1000** to send the open time to 1000ms
1282 -)))
1283 1283  
1284 -(((
1285 -
1286 -)))
1287 1287  
1288 -* (((
1289 -**Downlink Payload:**
1290 -)))
1260 +* **Downlink Payload:**
1291 1291  
1292 -(((
1293 1293  0x AA aa bb cc
1294 -)))
1295 1295  
1296 -(((
1297 1297  Same as: AT+CMDDLaa=hex(bb cc)
1298 -)))
1299 1299  
1300 -(((
1301 1301   **Example:**
1302 -)))
1303 1303  
1304 -(((
1305 1305   **0xAA 01 03 E8**  ~-~-> Same as **AT+CMDDL1=1000 ms**
1306 -)))
1307 1307  
1308 1308  
1309 1309  
... ... @@ -1310,47 +1310,28 @@
1310 1310  
1311 1311  ==== **Uplink payload mode** ====
1312 1312  
1313 -(((
1314 1314  Define to use one uplink or multiple uplinks for the sampling.
1315 -)))
1316 1316  
1317 -(((
1318 1318  The use of this command please see: [[Compose Uplink payload>>||anchor="H3.3.4Composetheuplinkpayload"]]
1319 -)))
1320 1320  
1321 -* (((
1322 -**AT Command:**
1323 -)))
1279 +* **AT Command:**
1324 1324  
1325 1325  (% class="box infomessage" %)
1326 1326  (((
1327 -(((
1328 1328  **AT+DATAUP=0**
1329 1329  )))
1330 -)))
1331 1331  
1332 1332  (% class="box infomessage" %)
1333 1333  (((
1334 -(((
1335 1335  **AT+DATAUP=1**
1336 1336  )))
1337 -)))
1338 1338  
1339 -(((
1340 -
1341 -)))
1342 1342  
1343 -* (((
1344 -**Downlink Payload:**
1345 -)))
1292 +* **Downlink Payload:**
1346 1346  
1347 -(((
1348 1348  **0xAD 00**  **~-~->** Same as AT+DATAUP=0
1349 -)))
1350 1350  
1351 -(((
1352 1352  **0xAD 01**  **~-~->** Same as AT+DATAUP=1
1353 -)))
1354 1354  
1355 1355  
1356 1356  
... ... @@ -1368,49 +1368,26 @@
1368 1368  
1369 1369  ==== **Clear RS485 Command** ====
1370 1370  
1371 -(((
1372 1372  The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them.
1373 -)))
1374 1374  
1375 -(((
1376 -
1377 -)))
1378 1378  
1379 -* (((
1380 -**AT Command:**
1381 -)))
1317 +* **AT Command:**
1382 1382  
1383 1383  (((
1384 1384  (% style="color:#037691" %)**AT+CMDEAR=mm,nn** (%%) mm: start position of erase ,nn: stop position of erase Etc. AT+CMDEAR=1,10 means erase AT+COMMAND1/AT+DATACUT1 to AT+COMMAND10/AT+DATACUT10
1385 1385  )))
1386 1386  
1387 -(((
1388 1388  Example screen shot after clear all RS485 commands. 
1389 -)))
1390 1390  
1391 -(((
1392 -
1393 -)))
1394 1394  
1395 -(((
1396 1396  The uplink screen shot is:
1397 -)))
1398 1398  
1399 -(((
1400 1400  [[image:1654134704555-320.png]]
1401 -)))
1402 1402  
1403 -(((
1404 -
1405 -)))
1406 1406  
1407 -* (((
1408 -**Downlink Payload:**
1409 -)))
1331 +* **Downlink Payload:**
1410 1410  
1411 -(((
1412 1412  **0x09 aa bb** same as AT+CMDEAR=aa,bb
1413 -)))
1414 1414  
1415 1415  
1416 1416  
... ... @@ -1417,59 +1417,44 @@
1417 1417  
1418 1418  ==== **Set Serial Communication Parameters** ====
1419 1419  
1420 -(((
1421 1421  Set the Rs485 serial communication parameters:
1422 -)))
1423 1423  
1424 -* (((
1425 -**AT Command:**
1426 -)))
1342 +* **AT Command:**
1427 1427  
1428 -(((
1429 1429  Set Baud Rate:
1430 -)))
1431 1431  
1432 1432  (% class="box infomessage" %)
1433 1433  (((
1434 -(((
1435 1435  **AT+BAUDR=9600**    ~/~/ Options: (1200,2400,4800,14400,19200,115200)
1349 +)))
1436 1436  
1437 1437  Set UART Parity
1352 +
1353 +(% class="box infomessage" %)
1354 +(((
1438 1438  **AT+PARITY=0**    ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity
1356 +)))
1439 1439  
1440 1440  Set STOPBIT
1441 1441  
1360 +(% class="box infomessage" %)
1361 +(((
1442 1442  **AT+STOPBIT=0**    ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits
1443 1443  )))
1444 -)))
1445 1445  
1446 1446  
1447 -* (((
1448 -**Downlink Payload:**
1449 -)))
1366 +* **Downlink Payload:**
1450 1450  
1451 -(((
1452 1452  **A7 01 aa bb**: Same  AT+BAUDR=hex(aa bb)*100
1453 -)))
1454 1454  
1455 -(((
1456 1456  **Example:**
1457 -)))
1458 1458  
1459 -* (((
1460 -A7 01 00 60   same as AT+BAUDR=9600
1461 -)))
1462 -* (((
1463 -A7 01 04 80  same as AT+BAUDR=115200
1464 -)))
1372 +* A7 01 00 60   same as AT+BAUDR=9600
1373 +* A7 01 04 80  same as AT+BAUDR=115200
1465 1465  
1466 -(((
1467 1467  A7 02 aa: Same as  AT+PARITY=aa  (aa value: 00 , 01 or 02)
1468 -)))
1469 1469  
1470 -(((
1471 1471  A7 03 aa: Same as  AT+STOPBIT=aa  (aa value: 00 , 01 or 02)
1472 -)))
1473 1473  
1474 1474  
1475 1475  
... ... @@ -1476,41 +1476,22 @@
1476 1476  
1477 1477  ==== **Control output power duration** ====
1478 1478  
1479 -(((
1480 1480  User can set the output power duration before each sampling.
1481 -)))
1482 1482  
1483 -* (((
1484 -**AT Command:**
1485 -)))
1386 +* **AT Command:**
1486 1486  
1487 -(((
1488 1488  **Example:**
1489 -)))
1490 1490  
1491 -(((
1492 1492  **AT+3V3T=1000**  ~/~/ 3V3 output power will open 1s before each sampling.
1493 -)))
1494 1494  
1495 -(((
1496 1496  **AT+5VT=1000**  ~/~/ +5V output power will open 1s before each sampling.
1497 -)))
1498 1498  
1499 -(((
1500 -
1501 -)))
1502 1502  
1503 -* (((
1504 -**LoRaWAN Downlink Command:**
1505 -)))
1395 +* **LoRaWAN Downlink Command:**
1506 1506  
1507 -(((
1508 1508  **07 01 aa bb**  Same as AT+5VT=(aa bb)
1509 -)))
1510 1510  
1511 -(((
1512 1512  **07 02 aa bb**  Same as AT+3V3T=(aa bb)
1513 -)))
1514 1514  
1515 1515  
1516 1516  
... ... @@ -1520,6 +1520,8 @@
1520 1520  |=(% style="width: 89px;" %)**Button**|=(% style="width: 141px;" %)**Feature**
1521 1521  |(% style="width:89px" %)**RST**|(% style="width:141px" %)Reboot RS485-BL
1522 1522  
1409 +
1410 +
1523 1523  == 3.7 +3V3 Output ==
1524 1524  
1525 1525  (((
... ... @@ -1597,14 +1597,22 @@
1597 1597  |=**LEDs**|=(% style="width: 274px;" %)**Feature**
1598 1598  |**LED1**|(% style="width:274px" %)Blink when device transmit a packet.
1599 1599  
1488 +
1489 +
1600 1600  == 3.10 Switch Jumper ==
1601 1601  
1602 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:463px" %)
1603 -|=(% style="width: 123px;" %)**Switch Jumper**|=(% style="width: 336px;" %)**Feature**
1604 -|(% style="width:123px" %)**SW1**|(% style="width:336px" %)ISP position: Upgrade firmware via UART
1492 +(% border="1" style="background-color:#ffffcc; color:green; width:515px" %)
1493 +|=(% style="width: 124px;" %)**Switch Jumper**|=(% style="width: 388px;" %)**Feature**
1494 +|(% style="width:124px" %)**SW1**|(% style="width:388px" %)(((
1495 +ISP position: Upgrade firmware via UART
1496 +
1605 1605  Flash position: Configure device, check running status.
1606 -|(% style="width:123px" %)**SW2**|(% style="width:336px" %)5V position: set to compatible with 5v I/O.
1498 +)))
1499 +|(% style="width:124px" %)**SW2**|(% style="width:388px" %)(((
1500 +5V position: set to compatible with 5v I/O.
1501 +
1607 1607  3.3v position: set to compatible with 3.3v I/O.,
1503 +)))
1608 1608  
1609 1609  (((
1610 1610  **+3.3V**: is always ON
... ... @@ -1802,6 +1802,8 @@
1802 1802  * (% style="color:blue" %)**RU864**(%%): frequency bands RU864
1803 1803  * (% style="color:blue" %)**KZ865**(%%): frequency bands KZ865
1804 1804  
1701 +
1702 +
1805 1805  = 9. Packing Info =
1806 1806  
1807 1807  (((