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

From version 40.51
edited by Xiaoling
on 2022/06/06 10:50
Change comment: There is no comment for this version
To version 33.1
edited by Xiaoling
on 2022/06/02 09:51
Change comment: Uploaded new attachment "1654134704555-320.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -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,129 +258,81 @@
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 -(((
255 +(% border="1" style="background-color:#ffffcc; color:green; width:795px" %)
256 +|(((
288 288  **AT Commands**
289 -)))
290 -)))|=(% style="width: 190px;" %)(((
291 -(((
258 +)))|(% style="width:285px" %)(((
292 292  **Description**
293 -)))
294 -)))|=(% style="width: 190px;" %)(((
295 -(((
260 +)))|(% style="width:347px" %)(((
296 296  **Example**
297 297  )))
298 -)))
299 -|(% style="width:120px" %)(((
300 -(((
263 +|(((
301 301  AT+BAUDR
302 -)))
303 -)))|(% style="width:190px" %)(((
304 -(((
265 +)))|(% style="width:285px" %)(((
305 305  Set the baud rate (for RS485 connection). Default Value is: 9600.
306 -)))
307 -)))|(% style="width:190px" %)(((
267 +)))|(% 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 -(((
276 +|(((
322 322  AT+PARITY
323 -)))
324 -)))|(% style="width:190px" %)(((
278 +)))|(% 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" %)(((
286 +)))|(% 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 -(((
295 +|(((
351 351  AT+STOPBIT
352 -)))
353 -)))|(% style="width:190px" %)(((
297 +)))|(% 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" %)(((
305 +)))|(% 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  
385 385  === 3.3.2 Configure sensors ===
386 386  
... ... @@ -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: 190px;" %)**Description**|=(% style="width: 190px;" %)**Example**
397 -|AT+CFGDEV|(% style="width:120px" %)(((
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" %)(((
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,m
337 +)))|(% 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:500px" %)
414 +(% 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:500px" %)
429 +(% 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" %)
457 +(% 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  (((
... ... @@ -791,7 +791,7 @@
791 791  )))
792 792  
793 793  (((
794 -**}**
724 +}
795 795  
796 796  
797 797  )))
... ... @@ -809,7 +809,7 @@
809 809  
810 810  There are two kinds of Commands:
811 811  
812 -* (% style="color:#4f81bd" %)**Common Commands**(%%): They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.3, user can find what common commands it supports: [[AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
742 +* (% style="color:#4f81bd" %)**Common Commands**(%%): They should be available for each sensor, 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]]
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  
... ... @@ -820,6 +820,7 @@
820 820  
821 821  === 3.5.2 Sensor related commands: ===
822 822  
753 +==== ====
823 823  
824 824  ==== **Choose Device Type (RS485 or TTL)** ====
825 825  
... ... @@ -894,7 +894,6 @@
894 894  
895 895  
896 896  
897 -
898 898  ==== **Set Payload version** ====
899 899  
900 900  This is the first byte of the uplink payload. RS485-BL can connect to different sensors. User can set the PAYVER field to tell server how to decode the current payload.
... ... @@ -1067,7 +1067,6 @@
1067 1067  
1068 1068  
1069 1069  
1070 -
1071 1071  ==== **Manually trigger an Uplink** ====
1072 1072  
1073 1073  Ask device to send an uplink immediately.
... ... @@ -1078,63 +1078,57 @@
1078 1078  
1079 1079  
1080 1080  
1081 -
1082 1082  ==== **Clear RS485 Command** ====
1083 1083  
1084 1084  The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them.
1085 1085  
1086 1086  
1087 -* **AT Command:**
1015 +* AT Command:
1088 1088  
1089 -(% style="color:#037691" %)**AT+CMDEAR=mm,nn** (%%) mm: start position of erase ,nn: stop position of erase Etc. AT+CMDEAR=1,10 means erase AT+COMMAND1/AT+DATACUT1 to AT+COMMAND10/AT+DATACUT10
1017 +**AT+CMDEAR=mm,nn**   mm: start position of erase ,nn: stop position of erase
1090 1090  
1019 +Etc. AT+CMDEAR=1,10 means erase AT+COMMAND1/AT+DATACUT1 to AT+COMMAND10/AT+DATACUT10
1020 +
1091 1091  Example screen shot after clear all RS485 commands. 
1092 1092  
1093 1093  
1024 +
1094 1094  The uplink screen shot is:
1095 1095  
1096 -[[image:1654134704555-320.png]]
1027 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]
1097 1097  
1098 1098  
1099 -* **Downlink Payload:**
1030 +* Downlink Payload:
1100 1100  
1101 -**0x09 aa bb** same as AT+CMDEAR=aa,bb
1032 +0x09 aa bb same as AT+CMDEAR=aa,bb
1102 1102  
1103 1103  
1035 +==== Set Serial Communication Parameters ====
1104 1104  
1105 -==== **Set Serial Communication Parameters** ====
1106 -
1107 1107  Set the Rs485 serial communication parameters:
1108 1108  
1109 -* **AT Command:**
1039 +* AT Command:
1110 1110  
1111 1111  Set Baud Rate:
1112 1112  
1113 -(% class="box infomessage" %)
1114 -(((
1115 -**AT+BAUDR=9600**    ~/~/ Options: (1200,2400,4800,14400,19200,115200)
1116 -)))
1043 +AT+BAUDR=9600    ~/~/ Options: (1200,2400,4800,14400,19200,115200)
1117 1117  
1118 -Set UART Parity
1119 1119  
1120 -(% class="box infomessage" %)
1121 -(((
1122 -**AT+PARITY=0**    ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity
1123 -)))
1046 +Set UART parity
1124 1124  
1048 +AT+PARITY=0    ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity
1049 +
1050 +
1125 1125  Set STOPBIT
1126 1126  
1127 -(% class="box infomessage" %)
1128 -(((
1129 -**AT+STOPBIT=0**    ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits
1130 -)))
1053 +AT+STOPBIT=0    ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits
1131 1131  
1132 1132  
1133 -* **Downlink Payload:**
1056 +* Downlink Payload:
1134 1134  
1135 -**A7 01 aa bb**: Same  AT+BAUDR=hex(aa bb)*100
1058 +A7 01 aa bb: Same  AT+BAUDR=hex(aa bb)*100
1136 1136  
1137 -**Example:**
1060 +Example:
1138 1138  
1139 1139  * A7 01 00 60   same as AT+BAUDR=9600
1140 1140  * A7 01 04 80  same as AT+BAUDR=115200
... ... @@ -1144,189 +1144,180 @@
1144 1144  A7 03 aa: Same as  AT+STOPBIT=aa  (aa value: 00 , 01 or 02)
1145 1145  
1146 1146  
1070 +==== Control output power duration ====
1147 1147  
1148 -==== **Control output power duration** ====
1149 -
1150 1150  User can set the output power duration before each sampling.
1151 1151  
1152 -* **AT Command:**
1074 +* AT Command:
1153 1153  
1154 -**Example:**
1076 +Example:
1155 1155  
1156 -**AT+3V3T=1000**  ~/~/ 3V3 output power will open 1s before each sampling.
1078 +AT+3V3T=1000 ~/~/ 3V3 output power will open 1s before each sampling.
1157 1157  
1158 -**AT+5VT=1000**  ~/~/ +5V output power will open 1s before each sampling.
1080 +AT+5VT=1000 ~/~/ +5V output power will open 1s before each sampling.
1159 1159  
1160 1160  
1161 -* **LoRaWAN Downlink Command:**
1083 +* LoRaWAN Downlink Command:
1162 1162  
1163 -**07 01 aa bb**  Same as AT+5VT=(aa bb)
1085 +07 01 aa bb  Same as AT+5VT=(aa bb)
1164 1164  
1165 -**07 02 aa bb**  Same as AT+3V3T=(aa bb)
1087 +07 02 aa bb  Same as AT+3V3T=(aa bb)
1166 1166  
1167 1167  
1168 1168  
1169 -== 3.6 Buttons ==
1170 1170  
1171 -(% border="1" style="background-color:#ffffcc; color:green; width:233px" %)
1172 -|=(% style="width: 89px;" %)**Button**|=(% style="width: 141px;" %)**Feature**
1173 -|(% style="width:89px" %)**RST**|(% style="width:141px" %)Reboot RS485-BL
1092 +1.
1093 +11. Buttons
1174 1174  
1175 -== 3.7 +3V3 Output ==
1095 +|**Button**|**Feature**
1096 +|**RST**|Reboot RS485-BL
1176 1176  
1098 +1.
1099 +11. +3V3 Output
1100 +
1177 1177  RS485-BL has a Controllable +3V3 output, user can use this output to power external sensor.
1178 1178  
1179 1179  The +3V3 output will be valid for every sampling. RS485-BL will enable +3V3 output before all sampling and disable the +3V3 after all sampling. 
1180 1180  
1105 +
1181 1181  The +3V3 output time can be controlled by AT Command.
1182 1182  
1108 +**AT+3V3T=1000**
1183 1183  
1184 -(% style="color:#037691" %)**AT+3V3T=1000**
1185 -
1186 -
1187 1187  Means set +3v3 valid time to have 1000ms. So, the real +3v3 output will actually have 1000ms + sampling time for other sensors.
1188 1188  
1112 +
1189 1189  By default, the AT+3V3T=0. This is a special case, means the +3V3 output is always on at any time
1190 1190  
1191 1191  
1192 -== 3.8 +5V Output ==
1116 +1.
1117 +11. +5V Output
1193 1193  
1194 1194  RS485-BL has a Controllable +5V output, user can use this output to power external sensor.
1195 1195  
1196 1196  The +5V output will be valid for every sampling. RS485-BL will enable +5V output before all sampling and disable the +5v after all sampling. 
1197 1197  
1123 +
1198 1198  The 5V output time can be controlled by AT Command.
1199 1199  
1126 +**AT+5VT=1000**
1200 1200  
1201 -(% style="color:#037691" %)**AT+5VT=1000**
1202 -
1203 -
1204 1204  Means set 5V valid time to have 1000ms. So, the real 5V output will actually have 1000ms + sampling time for other sensors.
1205 1205  
1130 +
1206 1206  By default, the AT+5VT=0. If the external sensor which require 5v and require more time to get stable state, user can use this command to increase the power ON duration for this sensor.
1207 1207  
1208 1208  
1209 -== 3.9 LEDs ==
1210 1210  
1211 -(% border="1" style="background-color:#ffffcc; color:green; width:332px" %)
1212 -|=**LEDs**|=(% style="width: 274px;" %)**Feature**
1213 -|**LED1**|(% style="width:274px" %)Blink when device transmit a packet.
1214 1214  
1215 -== 3.10 Switch Jumper ==
1136 +1.
1137 +11. LEDs
1216 1216  
1217 -(% border="1" style="background-color:#ffffcc; color:green; width:515px" %)
1218 -|=(% style="width: 124px;" %)**Switch Jumper**|=(% style="width: 388px;" %)**Feature**
1219 -|(% style="width:124px" %)**SW1**|(% style="width:388px" %)(((
1139 +|**LEDs**|**Feature**
1140 +|**LED1**|Blink when device transmit a packet.
1141 +
1142 +1.
1143 +11. Switch Jumper
1144 +
1145 +|**Switch Jumper**|**Feature**
1146 +|**SW1**|(((
1220 1220  ISP position: Upgrade firmware via UART
1221 1221  
1222 1222  Flash position: Configure device, check running status.
1223 1223  )))
1224 -|(% style="width:124px" %)**SW2**|(% style="width:388px" %)(((
1151 +|**SW2**|(((
1225 1225  5V position: set to compatible with 5v I/O.
1226 1226  
1227 1227  3.3v position: set to compatible with 3.3v I/O.,
1228 1228  )))
1229 1229  
1230 -**+3.3V**: is always ON
1157 ++3.3V: is always ON
1231 1231  
1232 -**+5V**: Only open before every sampling. The time is by default, it is AT+5VT=0.  Max open time. 5000 ms.
1159 ++5V: Only open before every sampling. The time is by default, it is AT+5VT=0.  Max open time. 5000 ms.
1233 1233  
1161 +1. Case Study
1234 1234  
1235 -= 4. Case Study =
1163 +User can check this URL for some case studies.
1236 1236  
1237 -User can check this URL for some case studies: [[APP RS485 COMMUNICATE WITH SENSORS>>doc:Main.Application Note \: Communicate with Different Sensors ----- RS485-LN RS485-BL.WebHome]]
1165 +[[http:~~/~~/wiki.dragino.com/index.php?title=APP_RS485_COMMUNICATE_WITH_SENSORS>>url:http://wiki.dragino.com/index.php?title=APP_RS485_COMMUNICATE_WITH_SENSORS]]
1238 1238  
1239 1239  
1240 -= 5. Use AT Command =
1241 1241  
1242 -== 5.1 Access AT Command ==
1243 1243  
1170 +1. Use AT Command
1171 +11. Access AT Command
1172 +
1244 1244  RS485-BL supports AT Command set. User can use a USB to TTL adapter plus the 3.5mm Program Cable to connect to RS485-BL to use AT command, as below.
1245 1245  
1246 -[[image:1654135840598-282.png]]
1175 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image027.png]]
1247 1247  
1248 1248  
1249 -In PC, User needs to set (% style="color:blue" %)**serial tool**(%%)(such as [[putty>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console of RS485-BL. The default password is 123456. Below is the output for reference:
1178 +In PC, User needs to set **serial tool**(such as [[putty>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to **9600** to access to access serial console of RS485-BL. The default password is 123456. Below is the output for reference:
1250 1250  
1251 -[[image:1654136105500-922.png]]
1180 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.png]]
1252 1252  
1253 1253  
1254 -More detail AT Command manual can be found at [[AT Command Manual>>||anchor="H3.5ConfigureRS485-BLviaATorDownlink"]]
1255 1255  
1184 +More detail AT Command manual can be found at [[AT Command Manual>>path:#AT_COMMAND]]
1256 1256  
1257 -== 5.2 Common AT Command Sequence ==
1258 1258  
1259 -=== 5.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
1260 1260  
1188 +1.
1189 +11. Common AT Command Sequence
1190 +111. Multi-channel ABP mode (Use with SX1301/LG308)
1191 +
1261 1261  If device has not joined network yet:
1262 1262  
1263 -(% class="box infomessage" %)
1264 -(((
1265 -**AT+FDR**
1266 -)))
1194 +AT+FDR
1267 1267  
1268 -(% class="box infomessage" %)
1269 -(((
1270 -**AT+NJM=0**
1271 -)))
1196 +AT+NJM=0
1272 1272  
1273 -(% class="box infomessage" %)
1274 -(((
1275 -**ATZ**
1276 -)))
1198 +ATZ
1277 1277  
1278 1278  
1279 1279  If device already joined network:
1280 1280  
1281 -(% class="box infomessage" %)
1282 -(((
1283 -**AT+NJM=0**
1284 -)))
1203 +AT+NJM=0
1285 1285  
1286 -(% class="box infomessage" %)
1287 -(((
1288 -**ATZ**
1289 -)))
1205 +ATZ
1290 1290  
1207 +1.
1208 +11.
1209 +111. Single-channel ABP mode (Use with LG01/LG02)
1291 1291  
1292 -=== 5.5.2 Single-channel ABP mode (Use with LG01/LG02) ===
1211 +AT+FDR   Reset Parameters to Factory Default, Keys Reserve
1293 1293  
1213 +AT+NJM=0 Set to ABP mode
1294 1294  
1295 -(% style="background-color:#dcdcdc" %)**AT+FDR** (%%) Reset Parameters to Factory Default, Keys Reserve
1215 +AT+ADR=0 Set the Adaptive Data Rate Off
1296 1296  
1297 -(% style="background-color:#dcdcdc" %)**AT+NJM=0 **(%%)Set to ABP mode
1217 +AT+DR= Set Data Rate
1298 1298  
1299 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%)Set the Adaptive Data Rate Off
1219 +AT+TDC=60000  Set transmit interval to 60 seconds
1300 1300  
1301 -(% style="background-color:#dcdcdc" %)**AT+DR=5**  (%%)Set Data Rate
1221 +AT+CHS=868400000 Set transmit frequency to 868.4Mhz
1302 1302  
1303 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000** (%%) Set transmit interval to 60 seconds
1223 +AT+RX2FQ=868400000 Set RX2Frequency to 868.4Mhz (according to the result from server)
1304 1304  
1305 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) Set transmit frequency to 868.4Mhz
1225 +AT+RX2DR= Set RX2DR to match the downlink DR from server. see below
1306 1306  
1307 -(% style="background-color:#dcdcdc" %)**AT+RX2FQ=868400000** (%%) Set RX2Frequency to 868.4Mhz (according to the result from server)
1227 +AT+DADDR=26 01 1A F1 Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.
1308 1308  
1309 -(% style="background-color:#dcdcdc" %)**AT+RX2DR=5**  (%%) Set RX2DR to match the downlink DR from server. see below
1229 +ATZ          Reset MCU
1310 1310  
1311 -(% style="background-color:#dcdcdc" %)**AT+DADDR=26** (%%) 01 1A F1 Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.
1231 +**Note:**
1312 1312  
1313 -(% style="background-color:#dcdcdc" %)**ATZ**       (%%) Reset MCU
1233 +1. Make sure the device is set to ABP mode in the IoT Server.
1234 +1. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.
1235 +1. Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer [[this link>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.
1236 +1. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5
1314 1314  
1238 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]]
1315 1315  
1316 -(% style="color:red" %)**Note:**
1317 1317  
1318 -(% style="color:red" %)1. Make sure the device is set to ABP mode in the IoT Server.
1319 -2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.
1320 -3. Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer [[this link>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.
1321 -4. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5
1241 +1. FAQ
1242 +11. How to upgrade the image?
1322 1322  
1323 -[[image:1654136435598-589.png]]
1324 -
1325 -
1326 -= 6. FAQ =
1327 -
1328 -== 6.1 How to upgrade the image? ==
1329 -
1330 1330  The RS485-BL LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to RS485-BL to:
1331 1331  
1332 1332  * Support new features
... ... @@ -1335,7 +1335,7 @@
1335 1335  
1336 1336  Below shows the hardware connection for how to upload an image to RS485-BL:
1337 1337  
1338 -[[image:1654136646995-976.png]]
1252 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png]]
1339 1339  
1340 1340  **Step1:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]].
1341 1341  
... ... @@ -1343,102 +1343,97 @@
1343 1343  
1344 1344  **Step3: **Open flashloader; choose the correct COM port to update.
1345 1345  
1346 -[[image:image-20220602102605-1.png]]
1347 1347  
1261 +|(((
1262 +HOLD PRO then press the RST button, SYS will be ON, then click next
1263 +)))
1348 1348  
1349 -[[image:image-20220602102637-2.png]]
1265 +|(((
1266 +Board detected
1267 +)))
1350 1350  
1269 +|(((
1270 +
1271 +)))
1351 1351  
1352 -[[image:image-20220602102715-3.png]]
1273 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png]] [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image032.png]]
1353 1353  
1354 1354  
1355 1355  
1356 -== 6.2 How to change the LoRa Frequency Bands/Region? ==
1277 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image033.png]] [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image034.png]]
1357 1357  
1358 -(((
1359 -User can follow the introduction for [[how to upgrade image>>||anchor="H6.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download.
1360 -)))
1361 1361  
1280 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image035.png]] [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image036.png]]
1362 1362  
1363 1363  
1364 -== 6.3 How many RS485-Slave can RS485-BL connects? ==
1283 +1.
1284 +11. How to change the LoRa Frequency Bands/Region?
1365 1365  
1366 -(((
1367 -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"]].
1368 -)))
1286 +User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
1369 1369  
1370 1370  
1371 1371  
1372 -= 7. Trouble Shooting =
1290 +1.
1291 +11. How many RS485-Slave can RS485-BL connects?
1373 1373  
1293 +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>>path:#downlink_A8]].
1374 1374  
1375 -== 7.1 Downlink doesn’t work, how to solve it? ==
1376 1376  
1377 -Please see this link for debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome]]
1378 1378  
1379 1379  
1380 -== 7.2 Why I can’t join TTN V3 in US915 /AU915 bands? ==
1298 +1. Trouble Shooting     
1299 +11. Downlink doesn’t work, how to solve it?
1381 1381  
1382 -It might about the channels mapping. Please see for detail: [[Notice of Frequency band>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]]
1301 +Please see this link for debug:
1383 1383  
1303 +[[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#LoRaWAN_Communication_Debug>>url:http://wiki.dragino.com/index.php?title=Main_Page#LoRaWAN_Communication_Debug]] 
1384 1384  
1385 -= 8. Order Info =
1386 1386  
1387 -(% style="color:blue" %)**Part Number: RS485-BL-XXX**
1388 1388  
1389 -(% style="color:blue" %)**XXX:**
1307 +1.
1308 +11. Why I can’t join TTN V3 in US915 /AU915 bands?
1390 1390  
1391 -* (% style="color:blue" %)**EU433**(%%): frequency bands EU433
1392 -* (% style="color:blue" %)**EU868**(%%): frequency bands EU868
1393 -* (% style="color:blue" %)**KR920**(%%): frequency bands KR920
1394 -* (% style="color:blue" %)**CN470**(%%): frequency bands CN470
1395 -* (% style="color:blue" %)**AS923**(%%): frequency bands AS923
1396 -* (% style="color:blue" %)**AU915**(%%): frequency bands AU915
1397 -* (% style="color:blue" %)**US915**(%%): frequency bands US915
1398 -* (% style="color:blue" %)**IN865**(%%): frequency bands IN865
1399 -* (% style="color:blue" %)**RU864**(%%): frequency bands RU864
1400 -* (% style="color:blue" %)**KZ865**(%%): frequency bands KZ865
1310 +It might about the channels mapping. Please see for detail.
1401 1401  
1402 -= 9. Packing Info =
1312 +[[http:~~/~~/wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#Notice_of_US915.2FCN470.2FAU915_Frequency_band>>url:http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#Notice_of_US915.2FCN470.2FAU915_Frequency_band]]
1403 1403  
1404 -(((
1314 +
1315 +
1316 +1. Order Info
1317 +
1318 +**Part Number: RS485-BL-XXX**
1319 +
1320 +**XXX:**
1321 +
1322 +* **EU433**: frequency bands EU433
1323 +* **EU868**: frequency bands EU868
1324 +* **KR920**: frequency bands KR920
1325 +* **CN470**: frequency bands CN470
1326 +* **AS923**: frequency bands AS923
1327 +* **AU915**: frequency bands AU915
1328 +* **US915**: frequency bands US915
1329 +* **IN865**: frequency bands IN865
1330 +* **RU864**: frequency bands RU864
1331 +* **KZ865: **frequency bands KZ865
1332 +
1333 +1. Packing Info
1334 +
1405 1405  **Package Includes**:
1406 -)))
1407 1407  
1408 -* (((
1409 -RS485-BL x 1
1410 -)))
1411 -* (((
1412 -Stick Antenna for LoRa RF part x 1
1413 -)))
1414 -* (((
1415 -Program cable x 1
1416 -)))
1337 +* RS485-BL x 1
1338 +* Stick Antenna for LoRa RF part x 1
1339 +* Program cable x 1
1417 1417  
1418 -(((
1419 1419  **Dimension and weight**:
1420 -)))
1421 1421  
1422 -* (((
1423 -Device Size: 13.5 x 7 x 3 cm
1424 -)))
1425 -* (((
1426 -Device Weight: 105g
1427 -)))
1428 -* (((
1429 -Package Size / pcs : 14.5 x 8 x 5 cm
1430 -)))
1431 -* (((
1432 -Weight / pcs : 170g
1343 +* Device Size: 13.5 x 7 x 3 cm
1344 +* Device Weight: 105g
1345 +* Package Size / pcs : 14.5 x 8 x 5 cm
1346 +* Weight / pcs : 170g
1433 1433  
1434 -
1435 -)))
1348 +1. Support
1436 1436  
1437 -= 10. Support =
1350 +* 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.
1351 +* 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
1438 1438  
1439 -* (((
1440 -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.
1441 -)))
1442 -* (((
1443 -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]]
1444 -)))
1353 +[[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]]
1654135840598-282.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -1.3 MB
Content
1654136105500-922.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -203.7 KB
Content
1654136435598-589.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -158.9 KB
Content
1654136646995-976.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -1.3 MB
Content
image-20220602102605-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -102.6 KB
Content
image-20220602102637-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -250.8 KB
Content
image-20220602102715-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -176.2 KB
Content