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,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);"]] ... ... @@ -127,29 +127,47 @@ 127 127 ((( 128 128 129 129 127 +((( 130 130 v1.4 131 131 ))) 130 +))) 132 132 133 133 ((( 133 +((( 134 134 ~1. Change Power IC to TPS22916 135 135 ))) 136 +))) 136 136 138 +((( 139 + 140 +))) 137 137 138 138 ((( 143 +((( 139 139 v1.3 140 140 ))) 146 +))) 141 141 142 142 ((( 149 +((( 143 143 ~1. Change JP3 from KF350-8P to KF350-11P, Add one extra interface for I2C and one extra interface for one-wire 144 144 ))) 152 +))) 145 145 154 +((( 155 + 156 +))) 146 146 147 147 ((( 159 +((( 148 148 v1.2 149 149 ))) 162 +))) 150 150 151 151 ((( 165 +((( 152 152 Release version 167 +))) 153 153 154 154 155 155 ))) ... ... @@ -243,83 +243,132 @@ 243 243 244 244 === 3.3.1 onfigure UART settings for RS485 or TTL communication === 245 245 261 +((( 246 246 RS485-BL can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect. 263 +))) 247 247 265 +((( 248 248 **~1. RS485-MODBUS mode:** 267 +))) 249 249 269 +((( 250 250 AT+MOD=1 ~/~/ Support RS485-MODBUS type sensors. User can connect multiply RS485 , Modbus sensors to the A / B pins. 271 +))) 251 251 273 +((( 252 252 **2. TTL mode:** 275 +))) 253 253 277 +((( 254 254 AT+MOD=2 ~/~/ Support TTL Level sensors, User can connect one TTL Sensor to the TXD/RXD/GND pins. 279 +))) 255 255 281 +((( 256 256 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 +))) 257 257 258 -(% border="1" style="background-color:#ffffcc; color:green; width:795px" %) 259 -|((( 285 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 286 +|=(% style="width: 120px;" %)((( 287 +((( 260 260 **AT Commands** 261 -)))|(% style="width:285px" %)((( 289 +))) 290 +)))|=(% style="width: 190px;" %)((( 291 +((( 262 262 **Description** 263 -)))|(% style="width:347px" %)((( 293 +))) 294 +)))|=(% style="width: 190px;" %)((( 295 +((( 264 264 **Example** 265 265 ))) 266 -|((( 298 +))) 299 +|(% style="width:120px" %)((( 300 +((( 267 267 AT+BAUDR 268 -)))|(% style="width:285px" %)((( 302 +))) 303 +)))|(% style="width:190px" %)((( 304 +((( 269 269 Set the baud rate (for RS485 connection). Default Value is: 9600. 270 -)))|(% style="width:347px" %)((( 306 +))) 307 +)))|(% style="width:190px" %)((( 271 271 ((( 309 +((( 272 272 AT+BAUDR=9600 273 273 ))) 312 +))) 274 274 275 275 ((( 315 +((( 276 276 Options: (1200,2400,4800,14400,19200,115200) 277 277 ))) 278 278 ))) 279 -|((( 319 +))) 320 +|(% style="width:120px" %)((( 321 +((( 280 280 AT+PARITY 281 -)))|(% style="width:285px" %)((( 323 +))) 324 +)))|(% style="width:190px" %)((( 282 282 ((( 326 +((( 283 283 Set UART parity (for RS485 connection) 284 284 ))) 329 +))) 285 285 286 286 ((( 332 +((( 287 287 Default Value is: no parity. 288 288 ))) 289 -)))|(% style="width:347px" %)((( 335 +))) 336 +)))|(% style="width:190px" %)((( 290 290 ((( 338 +((( 291 291 AT+PARITY=0 292 292 ))) 341 +))) 293 293 294 294 ((( 344 +((( 295 295 Option: 0: no parity, 1: odd parity, 2: even parity 296 296 ))) 297 297 ))) 298 -|((( 348 +))) 349 +|(% style="width:120px" %)((( 350 +((( 299 299 AT+STOPBIT 300 -)))|(% style="width:285px" %)((( 352 +))) 353 +)))|(% style="width:190px" %)((( 301 301 ((( 355 +((( 302 302 Set serial stopbit (for RS485 connection) 303 303 ))) 358 +))) 304 304 305 305 ((( 361 +((( 306 306 Default Value is: 1bit. 307 307 ))) 308 -)))|(% style="width:347px" %)((( 364 +))) 365 +)))|(% style="width:190px" %)((( 309 309 ((( 367 +((( 310 310 AT+STOPBIT=0 for 1bit 311 311 ))) 370 +))) 312 312 313 313 ((( 373 +((( 314 314 AT+STOPBIT=1 for 1.5 bit 315 315 ))) 376 +))) 316 316 317 317 ((( 379 +((( 318 318 AT+STOPBIT=2 for 2 bits 319 319 ))) 320 320 ))) 383 +))) 321 321 322 322 386 + 323 323 === 3.3.2 Configure sensors === 324 324 325 325 ((( ... ... @@ -330,19 +330,20 @@ 330 330 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. 331 331 ))) 332 332 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" %)(((397 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 398 +|=(% style="width: 120px;" %)**AT Commands**|=(% style="width: 190px;" %)**Description**|=(% style="width: 190px;" %)**Example** 399 +|AT+CFGDEV|(% style="width:120px" %)((( 336 336 This command is used to configure the RS485/TTL devices; they won’t be used during sampling. 337 337 338 338 AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx, 339 339 340 340 mm: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command 341 -)))|(% style="width: 256px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m405 +)))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m 342 342 343 343 Detail of AT+CFGDEV command see [[AT+CFGDEV detail>>||anchor="HRS485DebugCommand28AT2BCFGDEV29"]]. 344 344 345 345 410 + 346 346 === 3.3.3 Configure read commands for each sampling === 347 347 348 348 ((( ... ... @@ -415,7 +415,7 @@ 415 415 416 416 **AT+COMMANDx : **This command will be sent to RS485/TTL devices during each sampling, Max command length is 14 bytes. The grammar is: 417 417 418 -(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:50 1px" %)483 +(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:500px" %) 419 419 |(% style="width:498px" %)((( 420 420 **AT+COMMANDx=xx xx xx xx xx xx xx xx xx xx xx xx,m** 421 421 ... ... @@ -430,7 +430,7 @@ 430 430 431 431 **AT+SEARCHx**: This command defines how to handle the return from AT+COMMANDx. 432 432 433 -(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:5 80px" %)498 +(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:500px" %) 434 434 |(% style="width:577px" %)((( 435 435 **AT+SEARCHx=aa,xx xx xx xx xx** 436 436 ... ... @@ -458,7 +458,7 @@ 458 458 459 459 **AT+DATACUTx : **This command defines how to handle the return from AT+COMMANDx, max return length is 45 bytes. 460 460 461 -(% style="background-color:#4f81bd; color:white; width: 729px" %)526 +(% style="background-color:#4f81bd; color:white; width:510px" %) 462 462 |(% style="width:726px" %)((( 463 463 **AT+DATACUTx=a,b,c** 464 464 ... ... @@ -526,10 +526,14 @@ 526 526 527 527 ((( 528 528 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.** 594 + 595 + 529 529 ))) 530 530 531 531 ((( 532 532 (% style="color:#037691" %)**Examples: AT+DATAUP=0** 600 + 601 + 533 533 ))) 534 534 535 535 ((( ... ... @@ -747,7 +747,6 @@ 747 747 748 748 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for RS485-BL. User can see these commands below: 749 749 750 - 751 751 === 3.5.1 Common Commands: === 752 752 753 753 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]] ... ... @@ -1107,7 +1107,6 @@ 1107 1107 |=(% style="width: 89px;" %)**Button**|=(% style="width: 141px;" %)**Feature** 1108 1108 |(% style="width:89px" %)**RST**|(% style="width:141px" %)Reboot RS485-BL 1109 1109 1110 - 1111 1111 == 3.7 +3V3 Output == 1112 1112 1113 1113 RS485-BL has a Controllable +3V3 output, user can use this output to power external sensor. ... ... @@ -1148,7 +1148,6 @@ 1148 1148 |=**LEDs**|=(% style="width: 274px;" %)**Feature** 1149 1149 |**LED1**|(% style="width:274px" %)Blink when device transmit a packet. 1150 1150 1151 - 1152 1152 == 3.10 Switch Jumper == 1153 1153 1154 1154 (% border="1" style="background-color:#ffffcc; color:green; width:515px" %) ... ... @@ -1336,8 +1336,6 @@ 1336 1336 * (% style="color:blue" %)**RU864**(%%): frequency bands RU864 1337 1337 * (% style="color:blue" %)**KZ865**(%%): frequency bands KZ865 1338 1338 1339 - 1340 - 1341 1341 = 9. Packing Info = 1342 1342 1343 1343 (((