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

From version 40.13
edited by Xiaoling
on 2022/06/06 09:19
Change comment: There is no comment for this version
To version 40.52
edited by Xiaoling
on 2022/06/06 10:50
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -124,29 +124,47 @@
124 124  (((
125 125  
126 126  
127 +(((
127 127  v1.4
128 128  )))
130 +)))
129 129  
130 130  (((
133 +(((
131 131  ~1. Change Power IC to TPS22916
132 132  )))
136 +)))
133 133  
138 +(((
139 +
140 +)))
134 134  
135 135  (((
143 +(((
136 136  v1.3
137 137  )))
146 +)))
138 138  
139 139  (((
149 +(((
140 140  ~1. Change JP3 from KF350-8P to KF350-11P, Add one extra interface for I2C and one extra interface for one-wire
141 141  )))
152 +)))
142 142  
154 +(((
155 +
156 +)))
143 143  
144 144  (((
159 +(((
145 145  v1.2
146 146  )))
162 +)))
147 147  
148 148  (((
165 +(((
149 149  Release version ​​​​​
167 +)))
150 150  
151 151  
152 152  )))
... ... @@ -240,81 +240,129 @@
240 240  
241 241  === 3.3.1 onfigure UART settings for RS485 or TTL communication ===
242 242  
261 +(((
243 243  RS485-BL can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect.
263 +)))
244 244  
265 +(((
245 245  **~1. RS485-MODBUS mode:**
267 +)))
246 246  
269 +(((
247 247  AT+MOD=1 ~/~/ Support RS485-MODBUS type sensors. User can connect multiply RS485 , Modbus sensors to the A / B pins.
271 +)))
248 248  
273 +(((
249 249  **2. TTL mode:**
275 +)))
250 250  
277 +(((
251 251  AT+MOD=2 ~/~/ Support TTL Level sensors, User can connect one TTL Sensor to the TXD/RXD/GND pins.
279 +)))
252 252  
281 +(((
253 253  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 +)))
254 254  
255 -(% border="1" style="background-color:#ffffcc; color:green; width:795px" %)
256 -|(((
285 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
286 +|=(% style="width: 120px;" %)(((
287 +(((
257 257  **AT Commands**
258 -)))|(% style="width:285px" %)(((
289 +)))
290 +)))|=(% style="width: 190px;" %)(((
291 +(((
259 259  **Description**
260 -)))|(% style="width:347px" %)(((
293 +)))
294 +)))|=(% style="width: 190px;" %)(((
295 +(((
261 261  **Example**
262 262  )))
263 -|(((
298 +)))
299 +|(% style="width:120px" %)(((
300 +(((
264 264  AT+BAUDR
265 -)))|(% style="width:285px" %)(((
302 +)))
303 +)))|(% style="width:190px" %)(((
304 +(((
266 266  Set the baud rate (for RS485 connection). Default Value is: 9600.
267 -)))|(% style="width:347px" %)(((
306 +)))
307 +)))|(% style="width:190px" %)(((
268 268  (((
309 +(((
269 269  AT+BAUDR=9600
270 270  )))
312 +)))
271 271  
272 272  (((
315 +(((
273 273  Options: (1200,2400,4800,14400,19200,115200)
274 274  )))
275 275  )))
276 -|(((
319 +)))
320 +|(% style="width:120px" %)(((
321 +(((
277 277  AT+PARITY
278 -)))|(% style="width:285px" %)(((
323 +)))
324 +)))|(% style="width:190px" %)(((
279 279  (((
326 +(((
280 280  Set UART parity (for RS485 connection)
281 281  )))
329 +)))
282 282  
283 283  (((
332 +(((
284 284  Default Value is: no parity.
285 285  )))
286 -)))|(% style="width:347px" %)(((
335 +)))
336 +)))|(% style="width:190px" %)(((
287 287  (((
338 +(((
288 288  AT+PARITY=0
289 289  )))
341 +)))
290 290  
291 291  (((
344 +(((
292 292  Option: 0: no parity, 1: odd parity, 2: even parity
293 293  )))
294 294  )))
295 -|(((
348 +)))
349 +|(% style="width:120px" %)(((
350 +(((
296 296  AT+STOPBIT
297 -)))|(% style="width:285px" %)(((
352 +)))
353 +)))|(% style="width:190px" %)(((
298 298  (((
355 +(((
299 299  Set serial stopbit (for RS485 connection)
300 300  )))
358 +)))
301 301  
302 302  (((
361 +(((
303 303  Default Value is: 1bit.
304 304  )))
305 -)))|(% style="width:347px" %)(((
364 +)))
365 +)))|(% style="width:190px" %)(((
306 306  (((
367 +(((
307 307  AT+STOPBIT=0 for 1bit
308 308  )))
370 +)))
309 309  
310 310  (((
373 +(((
311 311  AT+STOPBIT=1 for 1.5 bit
312 312  )))
376 +)))
313 313  
314 314  (((
379 +(((
315 315  AT+STOPBIT=2 for 2 bits
316 316  )))
317 317  )))
383 +)))
318 318  
319 319  === 3.3.2 Configure sensors ===
320 320  
... ... @@ -326,19 +326,20 @@
326 326  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.
327 327  )))
328 328  
329 -(% border="1" style="background-color:#ffffcc; color:green; width:806px" %)
330 -|**AT Commands**|(% style="width:418px" %)**Description**|(% style="width:256px" %)**Example**
331 -|AT+CFGDEV|(% style="width:418px" %)(((
395 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
396 +|=(% style="width: 120px;" %)**AT Commands**|=(% style="width: 190px;" %)**Description**|=(% style="width: 190px;" %)**Example**
397 +|AT+CFGDEV|(% style="width:120px" %)(((
332 332  This command is used to configure the RS485/TTL devices; they won’t be used during sampling.
333 333  
334 334  AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,
335 335  
336 336  mm: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command
337 -)))|(% style="width:256px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
403 +)))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
338 338  
339 339  Detail of AT+CFGDEV command see [[AT+CFGDEV detail>>||anchor="HRS485DebugCommand28AT2BCFGDEV29"]].
340 340  
341 341  
408 +
342 342  === 3.3.3 Configure read commands for each sampling ===
343 343  
344 344  (((
... ... @@ -411,7 +411,7 @@
411 411  
412 412  **AT+COMMANDx : **This command will be sent to RS485/TTL devices during each sampling, Max command length is 14 bytes. The grammar is:
413 413  
414 -(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:501px" %)
481 +(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:500px" %)
415 415  |(% style="width:498px" %)(((
416 416  **AT+COMMANDx=xx xx xx xx xx xx xx xx xx xx xx xx,m**
417 417  
... ... @@ -426,7 +426,7 @@
426 426  
427 427  **AT+SEARCHx**: This command defines how to handle the return from AT+COMMANDx.
428 428  
429 -(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:580px" %)
496 +(% border="1" class="table-bordered" style="background-color:#4f81bd; color:white; width:500px" %)
430 430  |(% style="width:577px" %)(((
431 431  **AT+SEARCHx=aa,xx xx xx xx xx**
432 432  
... ... @@ -454,7 +454,7 @@
454 454  
455 455  **AT+DATACUTx : **This command defines how to handle the return from AT+COMMANDx, max return length is 45 bytes.
456 456  
457 -(% style="background-color:#4f81bd; color:white; width:729px" %)
524 +(% style="background-color:#4f81bd; color:white; width:510px" %)
458 458  |(% style="width:726px" %)(((
459 459  **AT+DATACUTx=a,b,c**
460 460  
... ... @@ -522,10 +522,14 @@
522 522  
523 523  (((
524 524  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 +
525 525  )))
526 526  
527 527  (((
528 528  (% style="color:#037691" %)**Examples: AT+DATAUP=0**
598 +
599 +
529 529  )))
530 530  
531 531  (((
... ... @@ -721,7 +721,7 @@
721 721  )))
722 722  
723 723  (((
724 -}
795 +**}**
725 725  
726 726  
727 727  )))
... ... @@ -743,8 +743,6 @@
743 743  
744 744  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for RS485-BL.  User can see these commands below:
745 745  
746 -
747 -
748 748  === 3.5.1 Common Commands: ===
749 749  
750 750  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]]
... ... @@ -999,6 +999,7 @@
999 999  
1000 1000  
1001 1001  
1071 +
1002 1002  ==== **Manually trigger an Uplink** ====
1003 1003  
1004 1004  Ask device to send an uplink immediately.
... ... @@ -1009,6 +1009,7 @@
1009 1009  
1010 1010  
1011 1011  
1082 +
1012 1012  ==== **Clear RS485 Command** ====
1013 1013  
1014 1014  The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them.
... ... @@ -1095,6 +1095,7 @@
1095 1095  **07 02 aa bb**  Same as AT+3V3T=(aa bb)
1096 1096  
1097 1097  
1169 +
1098 1098  == 3.6 Buttons ==
1099 1099  
1100 1100  (% border="1" style="background-color:#ffffcc; color:green; width:233px" %)
... ... @@ -1101,8 +1101,6 @@
1101 1101  |=(% style="width: 89px;" %)**Button**|=(% style="width: 141px;" %)**Feature**
1102 1102  |(% style="width:89px" %)**RST**|(% style="width:141px" %)Reboot RS485-BL
1103 1103  
1104 -
1105 -
1106 1106  == 3.7 +3V3 Output ==
1107 1107  
1108 1108  RS485-BL has a Controllable +3V3 output, user can use this output to power external sensor.
... ... @@ -1143,8 +1143,6 @@
1143 1143  |=**LEDs**|=(% style="width: 274px;" %)**Feature**
1144 1144  |**LED1**|(% style="width:274px" %)Blink when device transmit a packet.
1145 1145  
1146 -
1147 -
1148 1148  == 3.10 Switch Jumper ==
1149 1149  
1150 1150  (% border="1" style="background-color:#ffffcc; color:green; width:515px" %)
... ... @@ -1184,7 +1184,7 @@
1184 1184  [[image:1654136105500-922.png]]
1185 1185  
1186 1186  
1187 -More detail AT Command manual can be found at [[AT Command Manual>>||anchor="3.5ConfigureRS485-BLviaATorDownlink"]]
1255 +More detail AT Command manual can be found at [[AT Command Manual>>||anchor="H3.5ConfigureRS485-BLviaATorDownlink"]]
1188 1188  
1189 1189  
1190 1190  == 5.2 Common AT Command Sequence ==
... ... @@ -1288,13 +1288,17 @@
1288 1288  
1289 1289  == 6.2 How to change the LoRa Frequency Bands/Region? ==
1290 1290  
1359 +(((
1291 1291  User can follow the introduction for [[how to upgrade image>>||anchor="H6.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download.
1361 +)))
1292 1292  
1293 1293  
1294 1294  
1295 1295  == 6.3 How many RS485-Slave can RS485-BL connects? ==
1296 1296  
1367 +(((
1297 1297  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"]].
1369 +)))
1298 1298  
1299 1299  
1300 1300  
... ... @@ -1328,7 +1328,6 @@
1328 1328  * (% style="color:blue" %)**RU864**(%%): frequency bands RU864
1329 1329  * (% style="color:blue" %)**KZ865**(%%): frequency bands KZ865
1330 1330  
1331 -
1332 1332  = 9. Packing Info =
1333 1333  
1334 1334  (((
... ... @@ -1366,5 +1366,9 @@
1366 1366  
1367 1367  = 10. Support =
1368 1368  
1369 -* 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.
1370 -* 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]]
1440 +* (((
1441 +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.
1442 +)))
1443 +* (((
1444 +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]]
1445 +)))