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
-
... ... @@ -94,6 +94,7 @@ 94 94 * 127 dB Dynamic Range RSSI. 95 95 * Automatic RF Sense and CAD with ultra-fast AFC. 96 96 97 + 97 97 == 1.3 Features == 98 98 99 99 * LoRaWAN Class A & Class C protocol (default Class A) ... ... @@ -105,6 +105,7 @@ 105 105 * Support Modbus protocol 106 106 * Support Interrupt uplink 107 107 109 + 108 108 == 1.4 Applications == 109 109 110 110 * Smart Buildings & Home Automation ... ... @@ -114,6 +114,7 @@ 114 114 * Smart Cities 115 115 * Smart Factory 116 116 119 + 117 117 == 1.5 Firmware Change log == 118 118 119 119 [[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);"]] ... ... @@ -258,130 +258,83 @@ 258 258 259 259 === 3.3.1 onfigure UART settings for RS485 or TTL communication === 260 260 261 -((( 262 262 RS485-BL can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect. 263 -))) 264 264 265 -((( 266 266 **~1. RS485-MODBUS mode:** 267 -))) 268 268 269 -((( 270 270 AT+MOD=1 ~/~/ Support RS485-MODBUS type sensors. User can connect multiply RS485 , Modbus sensors to the A / B pins. 271 -))) 272 272 273 -((( 274 274 **2. TTL mode:** 275 -))) 276 276 277 -((( 278 278 AT+MOD=2 ~/~/ Support TTL Level sensors, User can connect one TTL Sensor to the TXD/RXD/GND pins. 279 -))) 280 280 281 -((( 282 282 RS485-BL default UART settings is **9600, no parity, stop bit 1**. If the sensor has a different settings, user can change the RS485-BL setting to match. 283 -))) 284 284 285 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 286 -|=(% style="width: 120px;" %)((( 287 -((( 276 +(% border="1" style="background-color:#ffffcc; color:green; width:795px" %) 277 +|((( 288 288 **AT Commands** 289 -))) 290 -)))|=(% style="width: 190px;" %)((( 291 -((( 279 +)))|(% style="width:285px" %)((( 292 292 **Description** 293 -))) 294 -)))|=(% style="width: 190px;" %)((( 295 -((( 281 +)))|(% style="width:347px" %)((( 296 296 **Example** 297 297 ))) 298 -))) 299 -|(% style="width:120px" %)((( 300 -((( 284 +|((( 301 301 AT+BAUDR 302 -))) 303 -)))|(% style="width:190px" %)((( 304 -((( 286 +)))|(% style="width:285px" %)((( 305 305 Set the baud rate (for RS485 connection). Default Value is: 9600. 306 -))) 307 -)))|(% style="width:190px" %)((( 288 +)))|(% style="width:347px" %)((( 308 308 ((( 309 -((( 310 310 AT+BAUDR=9600 311 311 ))) 312 -))) 313 313 314 314 ((( 315 -((( 316 316 Options: (1200,2400,4800,14400,19200,115200) 317 317 ))) 318 318 ))) 319 -))) 320 -|(% style="width:120px" %)((( 321 -((( 297 +|((( 322 322 AT+PARITY 323 -))) 324 -)))|(% style="width:190px" %)((( 299 +)))|(% style="width:285px" %)((( 325 325 ((( 326 -((( 327 327 Set UART parity (for RS485 connection) 328 328 ))) 329 -))) 330 330 331 331 ((( 332 -((( 333 333 Default Value is: no parity. 334 334 ))) 335 -))) 336 -)))|(% style="width:190px" %)((( 307 +)))|(% style="width:347px" %)((( 337 337 ((( 338 -((( 339 339 AT+PARITY=0 340 340 ))) 341 -))) 342 342 343 343 ((( 344 -((( 345 345 Option: 0: no parity, 1: odd parity, 2: even parity 346 346 ))) 347 347 ))) 348 -))) 349 -|(% style="width:120px" %)((( 350 -((( 316 +|((( 351 351 AT+STOPBIT 352 -))) 353 -)))|(% style="width:190px" %)((( 318 +)))|(% style="width:285px" %)((( 354 354 ((( 355 -((( 356 356 Set serial stopbit (for RS485 connection) 357 357 ))) 358 -))) 359 359 360 360 ((( 361 -((( 362 362 Default Value is: 1bit. 363 363 ))) 364 -))) 365 -)))|(% style="width:190px" %)((( 326 +)))|(% style="width:347px" %)((( 366 366 ((( 367 -((( 368 368 AT+STOPBIT=0 for 1bit 369 369 ))) 370 -))) 371 371 372 372 ((( 373 -((( 374 374 AT+STOPBIT=1 for 1.5 bit 375 375 ))) 376 -))) 377 377 378 378 ((( 379 -((( 380 380 AT+STOPBIT=2 for 2 bits 381 381 ))) 382 382 ))) 383 -))) 384 384 340 + 385 385 === 3.3.2 Configure sensors === 386 386 387 387 ((( ... ... @@ -392,15 +392,15 @@ 392 392 When user issue an (% style="color:#4f81bd" %)**AT+CFGDEV**(%%) command, Each (% style="color:#4f81bd" %)**AT+CFGDEV**(%%) equals to send a command to the RS485 or TTL sensors. This command will only run when user input it and won’t run during each sampling. 393 393 ))) 394 394 395 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)396 -| =(% style="width: 120px;" %)**AT Commands**|=(% style="width:90px;" %)**Description**|=(% style="width:190px;" %)**Example**397 -|AT+CFGDEV|(% style="width:1 20px" %)(((351 +(% border="1" style="background-color:#ffffcc; color:green; width:806px" %) 352 +|**AT Commands**|(% style="width:418px" %)**Description**|(% style="width:256px" %)**Example** 353 +|AT+CFGDEV|(% style="width:418px" %)((( 398 398 This command is used to configure the RS485/TTL devices; they won’t be used during sampling. 399 399 400 400 AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx, 401 401 402 402 mm: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command 403 -)))|(% style="width: 190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m359 +)))|(% style="width:256px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m 404 404 405 405 Detail of AT+CFGDEV command see [[AT+CFGDEV detail>>||anchor="HRS485DebugCommand28AT2BCFGDEV29"]]. 406 406 ... ... @@ -477,7 +477,7 @@ 477 477 478 478 **AT+COMMANDx : **This command will be sent to RS485/TTL devices during each sampling, Max command length is 14 bytes. The grammar is: 479 479 480 -(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:50 0px" %)436 +(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:501px" %) 481 481 |(% style="width:498px" %)((( 482 482 **AT+COMMANDx=xx xx xx xx xx xx xx xx xx xx xx xx,m** 483 483 ... ... @@ -492,7 +492,7 @@ 492 492 493 493 **AT+SEARCHx**: This command defines how to handle the return from AT+COMMANDx. 494 494 495 -(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:50 0px" %)451 +(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:580px" %) 496 496 |(% style="width:577px" %)((( 497 497 **AT+SEARCHx=aa,xx xx xx xx xx** 498 498 ... ... @@ -520,7 +520,7 @@ 520 520 521 521 **AT+DATACUTx : **This command defines how to handle the return from AT+COMMANDx, max return length is 45 bytes. 522 522 523 -(% style="background-color:#4f81bd; color:white; width: 510px" %)479 +(% style="background-color:#4f81bd; color:white; width:729px" %) 524 524 |(% style="width:726px" %)((( 525 525 **AT+DATACUTx=a,b,c** 526 526 ... ... @@ -588,14 +588,10 @@ 588 588 589 589 ((( 590 590 Through AT+COMMANDx and AT+DATACUTx we got valid value from each RS485 commands, Assume these valid value are RETURN1, RETURN2, .., to RETURNx. The next step is how to compose the LoRa Uplink Payload by these RETURNs. The command is **AT+DATAUP.** 591 - 592 - 593 593 ))) 594 594 595 595 ((( 596 596 (% style="color:#037691" %)**Examples: AT+DATAUP=0** 597 - 598 - 599 599 ))) 600 600 601 601 ((( ... ... @@ -813,6 +813,7 @@ 813 813 814 814 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for RS485-BL. User can see these commands below: 815 815 768 + 816 816 === 3.5.1 Common Commands: === 817 817 818 818 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]] ... ... @@ -1172,6 +1172,7 @@ 1172 1172 |=(% style="width: 89px;" %)**Button**|=(% style="width: 141px;" %)**Feature** 1173 1173 |(% style="width:89px" %)**RST**|(% style="width:141px" %)Reboot RS485-BL 1174 1174 1128 + 1175 1175 == 3.7 +3V3 Output == 1176 1176 1177 1177 RS485-BL has a Controllable +3V3 output, user can use this output to power external sensor. ... ... @@ -1212,6 +1212,7 @@ 1212 1212 |=**LEDs**|=(% style="width: 274px;" %)**Feature** 1213 1213 |**LED1**|(% style="width:274px" %)Blink when device transmit a packet. 1214 1214 1169 + 1215 1215 == 3.10 Switch Jumper == 1216 1216 1217 1217 (% border="1" style="background-color:#ffffcc; color:green; width:515px" %) ... ... @@ -1399,6 +1399,8 @@ 1399 1399 * (% style="color:blue" %)**RU864**(%%): frequency bands RU864 1400 1400 * (% style="color:blue" %)**KZ865**(%%): frequency bands KZ865 1401 1401 1357 + 1358 + 1402 1402 = 9. Packing Info = 1403 1403 1404 1404 (((