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);"]] ... ... @@ -124,47 +124,29 @@ 124 124 ((( 125 125 126 126 127 -((( 128 128 v1.4 129 129 ))) 130 -))) 131 131 132 132 ((( 133 -((( 134 134 ~1. Change Power IC to TPS22916 135 135 ))) 136 -))) 137 137 138 -((( 139 - 140 -))) 141 141 142 142 ((( 143 -((( 144 144 v1.3 145 145 ))) 146 -))) 147 147 148 148 ((( 149 -((( 150 150 ~1. Change JP3 from KF350-8P to KF350-11P, Add one extra interface for I2C and one extra interface for one-wire 151 151 ))) 152 -))) 153 153 154 -((( 155 - 156 -))) 157 157 158 158 ((( 159 -((( 160 160 v1.2 161 161 ))) 162 -))) 163 163 164 164 ((( 165 -((( 166 166 Release version 167 -))) 168 168 169 169 170 170 ))) ... ... @@ -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 -((( 258 +(% border="1" style="background-color:#ffffcc; color:green; width:795px" %) 259 +|((( 288 288 **AT Commands** 289 -))) 290 -)))|=(% style="width: 190px;" %)((( 291 -((( 261 +)))|(% style="width:285px" %)((( 292 292 **Description** 293 -))) 294 -)))|=(% style="width: 190px;" %)((( 295 -((( 263 +)))|(% style="width:347px" %)((( 296 296 **Example** 297 297 ))) 298 -))) 299 -|(% style="width:120px" %)((( 300 -((( 266 +|((( 301 301 AT+BAUDR 302 -))) 303 -)))|(% style="width:190px" %)((( 304 -((( 268 +)))|(% style="width:285px" %)((( 305 305 Set the baud rate (for RS485 connection). Default Value is: 9600. 306 -))) 307 -)))|(% style="width:190px" %)((( 270 +)))|(% 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 -((( 279 +|((( 322 322 AT+PARITY 323 -))) 324 -)))|(% style="width:190px" %)((( 281 +)))|(% 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" %)((( 289 +)))|(% 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 -((( 298 +|((( 351 351 AT+STOPBIT 352 -))) 353 -)))|(% style="width:190px" %)((( 300 +)))|(% 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" %)((( 308 +)))|(% 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 322 + 385 385 === 3.3.2 Configure sensors === 386 386 387 387 ((( ... ... @@ -392,20 +392,19 @@ 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" %)(((333 +(% border="1" style="background-color:#ffffcc; color:green; width:806px" %) 334 +|**AT Commands**|(% style="width:418px" %)**Description**|(% style="width:256px" %)**Example** 335 +|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,m341 +)))|(% 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 407 407 408 - 409 409 === 3.3.3 Configure read commands for each sampling === 410 410 411 411 ((( ... ... @@ -478,7 +478,7 @@ 478 478 479 479 **AT+COMMANDx : **This command will be sent to RS485/TTL devices during each sampling, Max command length is 14 bytes. The grammar is: 480 480 481 -(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:50 0px" %)418 +(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:501px" %) 482 482 |(% style="width:498px" %)((( 483 483 **AT+COMMANDx=xx xx xx xx xx xx xx xx xx xx xx xx,m** 484 484 ... ... @@ -493,7 +493,7 @@ 493 493 494 494 **AT+SEARCHx**: This command defines how to handle the return from AT+COMMANDx. 495 495 496 -(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:50 0px" %)433 +(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:580px" %) 497 497 |(% style="width:577px" %)((( 498 498 **AT+SEARCHx=aa,xx xx xx xx xx** 499 499 ... ... @@ -521,7 +521,7 @@ 521 521 522 522 **AT+DATACUTx : **This command defines how to handle the return from AT+COMMANDx, max return length is 45 bytes. 523 523 524 -(% style="background-color:#4f81bd; color:white; width: 510px" %)461 +(% style="background-color:#4f81bd; color:white; width:729px" %) 525 525 |(% style="width:726px" %)((( 526 526 **AT+DATACUTx=a,b,c** 527 527 ... ... @@ -589,14 +589,10 @@ 589 589 590 590 ((( 591 591 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.** 592 - 593 - 594 594 ))) 595 595 596 596 ((( 597 597 (% style="color:#037691" %)**Examples: AT+DATAUP=0** 598 - 599 - 600 600 ))) 601 601 602 602 ((( ... ... @@ -814,6 +814,7 @@ 814 814 815 815 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for RS485-BL. User can see these commands below: 816 816 750 + 817 817 === 3.5.1 Common Commands: === 818 818 819 819 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]] ... ... @@ -1173,6 +1173,7 @@ 1173 1173 |=(% style="width: 89px;" %)**Button**|=(% style="width: 141px;" %)**Feature** 1174 1174 |(% style="width:89px" %)**RST**|(% style="width:141px" %)Reboot RS485-BL 1175 1175 1110 + 1176 1176 == 3.7 +3V3 Output == 1177 1177 1178 1178 RS485-BL has a Controllable +3V3 output, user can use this output to power external sensor. ... ... @@ -1213,6 +1213,7 @@ 1213 1213 |=**LEDs**|=(% style="width: 274px;" %)**Feature** 1214 1214 |**LED1**|(% style="width:274px" %)Blink when device transmit a packet. 1215 1215 1151 + 1216 1216 == 3.10 Switch Jumper == 1217 1217 1218 1218 (% border="1" style="background-color:#ffffcc; color:green; width:515px" %) ... ... @@ -1400,6 +1400,8 @@ 1400 1400 * (% style="color:blue" %)**RU864**(%%): frequency bands RU864 1401 1401 * (% style="color:blue" %)**KZ865**(%%): frequency bands KZ865 1402 1402 1339 + 1340 + 1403 1403 = 9. Packing Info = 1404 1404 1405 1405 (((