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,8 +94,6 @@ 94 94 * 127 dB Dynamic Range RSSI. 95 95 * Automatic RF Sense and CAD with ultra-fast AFC. 96 96 97 - 98 - 99 99 == 1.3 Features == 100 100 101 101 * LoRaWAN Class A & Class C protocol (default Class A) ... ... @@ -126,29 +126,47 @@ 126 126 ((( 127 127 128 128 127 +((( 129 129 v1.4 130 130 ))) 130 +))) 131 131 132 132 ((( 133 +((( 133 133 ~1. Change Power IC to TPS22916 134 134 ))) 136 +))) 135 135 138 +((( 139 + 140 +))) 136 136 137 137 ((( 143 +((( 138 138 v1.3 139 139 ))) 146 +))) 140 140 141 141 ((( 149 +((( 142 142 ~1. Change JP3 from KF350-8P to KF350-11P, Add one extra interface for I2C and one extra interface for one-wire 143 143 ))) 152 +))) 144 144 154 +((( 155 + 156 +))) 145 145 146 146 ((( 159 +((( 147 147 v1.2 148 148 ))) 162 +))) 149 149 150 150 ((( 165 +((( 151 151 Release version 167 +))) 152 152 153 153 154 154 ))) ... ... @@ -242,82 +242,132 @@ 242 242 243 243 === 3.3.1 onfigure UART settings for RS485 or TTL communication === 244 244 261 +((( 245 245 RS485-BL can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect. 263 +))) 246 246 265 +((( 247 247 **~1. RS485-MODBUS mode:** 267 +))) 248 248 269 +((( 249 249 AT+MOD=1 ~/~/ Support RS485-MODBUS type sensors. User can connect multiply RS485 , Modbus sensors to the A / B pins. 271 +))) 250 250 273 +((( 251 251 **2. TTL mode:** 275 +))) 252 252 277 +((( 253 253 AT+MOD=2 ~/~/ Support TTL Level sensors, User can connect one TTL Sensor to the TXD/RXD/GND pins. 279 +))) 254 254 281 +((( 255 255 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 +))) 256 256 257 -(% border="1" style="background-color:#ffffcc; color:green; width:795px" %) 258 -|((( 285 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 286 +|=(% style="width: 120px;" %)((( 287 +((( 259 259 **AT Commands** 260 -)))|(% style="width:285px" %)((( 289 +))) 290 +)))|=(% style="width: 190px;" %)((( 291 +((( 261 261 **Description** 262 -)))|(% style="width:347px" %)((( 293 +))) 294 +)))|=(% style="width: 190px;" %)((( 295 +((( 263 263 **Example** 264 264 ))) 265 -|((( 298 +))) 299 +|(% style="width:120px" %)((( 300 +((( 266 266 AT+BAUDR 267 -)))|(% style="width:285px" %)((( 302 +))) 303 +)))|(% style="width:190px" %)((( 304 +((( 268 268 Set the baud rate (for RS485 connection). Default Value is: 9600. 269 -)))|(% style="width:347px" %)((( 306 +))) 307 +)))|(% style="width:190px" %)((( 270 270 ((( 309 +((( 271 271 AT+BAUDR=9600 272 272 ))) 312 +))) 273 273 274 274 ((( 315 +((( 275 275 Options: (1200,2400,4800,14400,19200,115200) 276 276 ))) 277 277 ))) 278 -|((( 319 +))) 320 +|(% style="width:120px" %)((( 321 +((( 279 279 AT+PARITY 280 -)))|(% style="width:285px" %)((( 323 +))) 324 +)))|(% style="width:190px" %)((( 281 281 ((( 326 +((( 282 282 Set UART parity (for RS485 connection) 283 283 ))) 329 +))) 284 284 285 285 ((( 332 +((( 286 286 Default Value is: no parity. 287 287 ))) 288 -)))|(% style="width:347px" %)((( 335 +))) 336 +)))|(% style="width:190px" %)((( 289 289 ((( 338 +((( 290 290 AT+PARITY=0 291 291 ))) 341 +))) 292 292 293 293 ((( 344 +((( 294 294 Option: 0: no parity, 1: odd parity, 2: even parity 295 295 ))) 296 296 ))) 297 -|((( 348 +))) 349 +|(% style="width:120px" %)((( 350 +((( 298 298 AT+STOPBIT 299 -)))|(% style="width:285px" %)((( 352 +))) 353 +)))|(% style="width:190px" %)((( 300 300 ((( 355 +((( 301 301 Set serial stopbit (for RS485 connection) 302 302 ))) 358 +))) 303 303 304 304 ((( 361 +((( 305 305 Default Value is: 1bit. 306 306 ))) 307 -)))|(% style="width:347px" %)((( 364 +))) 365 +)))|(% style="width:190px" %)((( 308 308 ((( 367 +((( 309 309 AT+STOPBIT=0 for 1bit 310 310 ))) 370 +))) 311 311 312 312 ((( 373 +((( 313 313 AT+STOPBIT=1 for 1.5 bit 314 314 ))) 376 +))) 315 315 316 316 ((( 379 +((( 317 317 AT+STOPBIT=2 for 2 bits 318 318 ))) 319 319 ))) 383 +))) 320 320 385 + 386 + 321 321 === 3.3.2 Configure sensors === 322 322 323 323 ((( ... ... @@ -328,19 +328,20 @@ 328 328 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. 329 329 ))) 330 330 331 -(% border="1" style="background-color:#ffffcc; color:green; width: 806px" %)332 -|**AT Commands**|(% style="width: 418px" %)**Description**|(% style="width:256px" %)**Example**333 -|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" %)((( 334 334 This command is used to configure the RS485/TTL devices; they won’t be used during sampling. 335 335 336 336 AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx, 337 337 338 338 mm: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command 339 -)))|(% 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 340 340 341 341 Detail of AT+CFGDEV command see [[AT+CFGDEV detail>>||anchor="HRS485DebugCommand28AT2BCFGDEV29"]]. 342 342 343 343 410 + 344 344 === 3.3.3 Configure read commands for each sampling === 345 345 346 346 ((( ... ... @@ -407,20 +407,32 @@ 407 407 After we got the valid value from each RS485 commands, we need to combine them together with the command **AT+DATAUP**. 408 408 ))) 409 409 477 +((( 410 410 **Examples:** 479 +))) 411 411 481 +((( 412 412 Below are examples for the how above AT Commands works. 483 +))) 413 413 485 +((( 414 414 **AT+COMMANDx : **This command will be sent to RS485/TTL devices during each sampling, Max command length is 14 bytes. The grammar is: 487 +))) 415 415 416 -(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:50 1px" %)489 +(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:500px" %) 417 417 |(% style="width:498px" %)((( 491 +((( 418 418 **AT+COMMANDx=xx xx xx xx xx xx xx xx xx xx xx xx,m** 493 +))) 419 419 495 +((( 420 420 **xx xx xx xx xx xx xx xx xx xx xx xx: The RS485 command to be sent** 497 +))) 421 421 499 +((( 422 422 **m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command** 423 423 ))) 502 +))) 424 424 425 425 For example, if we have a RS485 sensor. The command to get sensor value is: 01 03 0B B8 00 02 46 0A. Where 01 03 0B B8 00 02 is the Modbus command to read the register 0B B8 where stored the sensor value. The 46 0A is the CRC-16/MODBUS which calculate manually. 426 426 ... ... @@ -428,7 +428,7 @@ 428 428 429 429 **AT+SEARCHx**: This command defines how to handle the return from AT+COMMANDx. 430 430 431 -(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:5 80px" %)510 +(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:500px" %) 432 432 |(% style="width:577px" %)((( 433 433 **AT+SEARCHx=aa,xx xx xx xx xx** 434 434 ... ... @@ -456,7 +456,7 @@ 456 456 457 457 **AT+DATACUTx : **This command defines how to handle the return from AT+COMMANDx, max return length is 45 bytes. 458 458 459 -(% style="background-color:#4f81bd; color:white; width: 729px" %)538 +(% style="background-color:#4f81bd; color:white; width:510px" %) 460 460 |(% style="width:726px" %)((( 461 461 **AT+DATACUTx=a,b,c** 462 462 ... ... @@ -524,10 +524,14 @@ 524 524 525 525 ((( 526 526 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.** 606 + 607 + 527 527 ))) 528 528 529 529 ((( 530 530 (% style="color:#037691" %)**Examples: AT+DATAUP=0** 612 + 613 + 531 531 ))) 532 532 533 533 ((( ... ... @@ -723,7 +723,7 @@ 723 723 ))) 724 724 725 725 ((( 726 -} 809 +**}** 727 727 728 728 729 729 ))) ... ... @@ -745,8 +745,6 @@ 745 745 746 746 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for RS485-BL. User can see these commands below: 747 747 748 - 749 - 750 750 === 3.5.1 Common Commands: === 751 751 752 752 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]] ... ... @@ -1001,6 +1001,7 @@ 1001 1001 1002 1002 1003 1003 1085 + 1004 1004 ==== **Manually trigger an Uplink** ==== 1005 1005 1006 1006 Ask device to send an uplink immediately. ... ... @@ -1011,6 +1011,7 @@ 1011 1011 1012 1012 1013 1013 1096 + 1014 1014 ==== **Clear RS485 Command** ==== 1015 1015 1016 1016 The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them. ... ... @@ -1097,6 +1097,7 @@ 1097 1097 **07 02 aa bb** Same as AT+3V3T=(aa bb) 1098 1098 1099 1099 1183 + 1100 1100 == 3.6 Buttons == 1101 1101 1102 1102 (% border="1" style="background-color:#ffffcc; color:green; width:233px" %) ... ... @@ -1103,8 +1103,6 @@ 1103 1103 |=(% style="width: 89px;" %)**Button**|=(% style="width: 141px;" %)**Feature** 1104 1104 |(% style="width:89px" %)**RST**|(% style="width:141px" %)Reboot RS485-BL 1105 1105 1106 - 1107 - 1108 1108 == 3.7 +3V3 Output == 1109 1109 1110 1110 RS485-BL has a Controllable +3V3 output, user can use this output to power external sensor. ... ... @@ -1145,8 +1145,6 @@ 1145 1145 |=**LEDs**|=(% style="width: 274px;" %)**Feature** 1146 1146 |**LED1**|(% style="width:274px" %)Blink when device transmit a packet. 1147 1147 1148 - 1149 - 1150 1150 == 3.10 Switch Jumper == 1151 1151 1152 1152 (% border="1" style="background-color:#ffffcc; color:green; width:515px" %) ... ... @@ -1186,7 +1186,7 @@ 1186 1186 [[image:1654136105500-922.png]] 1187 1187 1188 1188 1189 -More detail AT Command manual can be found at [[AT Command Manual>>||anchor="3.5ConfigureRS485-BLviaATorDownlink"]] 1269 +More detail AT Command manual can be found at [[AT Command Manual>>||anchor="H3.5ConfigureRS485-BLviaATorDownlink"]] 1190 1190 1191 1191 1192 1192 == 5.2 Common AT Command Sequence == ... ... @@ -1290,13 +1290,17 @@ 1290 1290 1291 1291 == 6.2 How to change the LoRa Frequency Bands/Region? == 1292 1292 1373 +((( 1293 1293 User can follow the introduction for [[how to upgrade image>>||anchor="H6.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download. 1375 +))) 1294 1294 1295 1295 1296 1296 1297 1297 == 6.3 How many RS485-Slave can RS485-BL connects? == 1298 1298 1381 +((( 1299 1299 The RS485-BL can support max 32 RS485 devices. Each uplink command of RS485-BL can support max 16 different RS485 command. So RS485-BL can support max 16 RS485 devices pre-program in the device for uplink. For other devices no pre-program, user can use the [[downlink message (type code 0xA8) to poll their info>>||anchor="H3.3.3Configurereadcommandsforeachsampling"]]. 1383 +))) 1300 1300 1301 1301 1302 1302 ... ... @@ -1330,7 +1330,6 @@ 1330 1330 * (% style="color:blue" %)**RU864**(%%): frequency bands RU864 1331 1331 * (% style="color:blue" %)**KZ865**(%%): frequency bands KZ865 1332 1332 1333 - 1334 1334 = 9. Packing Info = 1335 1335 1336 1336 ((( ... ... @@ -1368,5 +1368,9 @@ 1368 1368 1369 1369 = 10. Support = 1370 1370 1371 -* Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 1372 -* Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]] 1454 +* ((( 1455 +Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 1456 +))) 1457 +* ((( 1458 +Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]] 1459 +)))