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

From version 40.43
edited by Xiaoling
on 2022/06/06 10:21
Change comment: There is no comment for this version
To version 35.3
edited by Xiaoling
on 2022/06/02 10:15
Change comment: There is no comment for this version

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="190" style="background-color:#ffffcc; color:green; width:510px" %)
286 -|=(% style="width: 125px;" %)(((
287 -(((
255 +(% border="1" style="background-color:#ffffcc; color:green; width:795px" %)
256 +|(((
288 288  **AT Commands**
289 -)))
290 -)))|=(% style="width: 110px;" %)(((
291 -(((
258 +)))|(% style="width:285px" %)(((
292 292  **Description**
293 -)))
294 -)))|=(% style="width: 255px;" %)(((
295 -(((
260 +)))|(% style="width:347px" %)(((
296 296  **Example**
297 297  )))
298 -)))
299 -|(% style="width:125px" %)(((
300 -(((
263 +|(((
301 301  AT+BAUDR
302 -)))
303 -)))|(% style="width:110px" %)(((
304 -(((
265 +)))|(% style="width:285px" %)(((
305 305  Set the baud rate (for RS485 connection). Default Value is: 9600.
306 -)))
307 -)))|(% style="width:255px" %)(((
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:125px" %)(((
321 -(((
276 +|(((
322 322  AT+PARITY
323 -)))
324 -)))|(% style="width:110px" %)(((
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:255px" %)(((
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:125px" %)(((
350 -(((
295 +|(((
351 351  AT+STOPBIT
352 -)))
353 -)))|(% style="width:110px" %)(((
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:255px" %)(((
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  
... ... @@ -787,7 +787,7 @@
787 787  )))
788 788  
789 789  (((
790 -**}**
724 +}
791 791  
792 792  
793 793  )))
... ... @@ -805,7 +805,7 @@
805 805  
806 806  There are two kinds of Commands:
807 807  
808 -* (% 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]]
809 809  
810 810  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for RS485-BL.  User can see these commands below:
811 811  
... ... @@ -816,6 +816,7 @@
816 816  
817 817  === 3.5.2 Sensor related commands: ===
818 818  
753 +==== ====
819 819  
820 820  ==== **Choose Device Type (RS485 or TTL)** ====
821 821  
... ... @@ -890,7 +890,6 @@
890 890  
891 891  
892 892  
893 -
894 894  ==== **Set Payload version** ====
895 895  
896 896  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.
... ... @@ -1063,7 +1063,6 @@
1063 1063  
1064 1064  
1065 1065  
1066 -
1067 1067  ==== **Manually trigger an Uplink** ====
1068 1068  
1069 1069  Ask device to send an uplink immediately.
... ... @@ -1074,7 +1074,6 @@
1074 1074  
1075 1075  
1076 1076  
1077 -
1078 1078  ==== **Clear RS485 Command** ====
1079 1079  
1080 1080  The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them.
... ... @@ -1161,7 +1161,6 @@
1161 1161  **07 02 aa bb**  Same as AT+3V3T=(aa bb)
1162 1162  
1163 1163  
1164 -
1165 1165  == 3.6 Buttons ==
1166 1166  
1167 1167  (% border="1" style="background-color:#ffffcc; color:green; width:233px" %)
... ... @@ -1247,7 +1247,7 @@
1247 1247  [[image:1654136105500-922.png]]
1248 1248  
1249 1249  
1250 -More detail AT Command manual can be found at [[AT Command Manual>>||anchor="H3.5ConfigureRS485-BLviaATorDownlink"]]
1181 +More detail AT Command manual can be found at [[AT Command Manual>>||anchor="3.5ConfigureRS485-BLviaATorDownlink"]]
1251 1251  
1252 1252  
1253 1253  == 5.2 Common AT Command Sequence ==
... ... @@ -1256,73 +1256,56 @@
1256 1256  
1257 1257  If device has not joined network yet:
1258 1258  
1259 -(% class="box infomessage" %)
1260 -(((
1261 -**AT+FDR**
1262 -)))
1190 +AT+FDR
1263 1263  
1264 -(% class="box infomessage" %)
1265 -(((
1266 -**AT+NJM=0**
1267 -)))
1192 +AT+NJM=0
1268 1268  
1269 -(% class="box infomessage" %)
1270 -(((
1271 -**ATZ**
1272 -)))
1194 +ATZ
1273 1273  
1274 1274  
1275 1275  If device already joined network:
1276 1276  
1277 -(% class="box infomessage" %)
1278 -(((
1279 -**AT+NJM=0**
1280 -)))
1199 +AT+NJM=0
1281 1281  
1282 -(% class="box infomessage" %)
1283 -(((
1284 -**ATZ**
1285 -)))
1201 +ATZ
1286 1286  
1203 +1.
1204 +11.
1205 +111. Single-channel ABP mode (Use with LG01/LG02)
1287 1287  
1288 -=== 5.5.2 Single-channel ABP mode (Use with LG01/LG02) ===
1207 +AT+FDR   Reset Parameters to Factory Default, Keys Reserve
1289 1289  
1209 +AT+NJM=0 Set to ABP mode
1290 1290  
1291 -(% style="background-color:#dcdcdc" %)**AT+FDR** (%%) Reset Parameters to Factory Default, Keys Reserve
1211 +AT+ADR=0 Set the Adaptive Data Rate Off
1292 1292  
1293 -(% style="background-color:#dcdcdc" %)**AT+NJM=0 **(%%)Set to ABP mode
1213 +AT+DR= Set Data Rate
1294 1294  
1295 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%)Set the Adaptive Data Rate Off
1215 +AT+TDC=60000  Set transmit interval to 60 seconds
1296 1296  
1297 -(% style="background-color:#dcdcdc" %)**AT+DR=5**  (%%)Set Data Rate
1217 +AT+CHS=868400000 Set transmit frequency to 868.4Mhz
1298 1298  
1299 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000** (%%) Set transmit interval to 60 seconds
1219 +AT+RX2FQ=868400000 Set RX2Frequency to 868.4Mhz (according to the result from server)
1300 1300  
1301 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) Set transmit frequency to 868.4Mhz
1221 +AT+RX2DR= Set RX2DR to match the downlink DR from server. see below
1302 1302  
1303 -(% style="background-color:#dcdcdc" %)**AT+RX2FQ=868400000** (%%) Set RX2Frequency to 868.4Mhz (according to the result from server)
1223 +AT+DADDR=26 01 1A F1 Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.
1304 1304  
1305 -(% style="background-color:#dcdcdc" %)**AT+RX2DR=5**  (%%) Set RX2DR to match the downlink DR from server. see below
1225 +ATZ          Reset MCU
1306 1306  
1307 -(% 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.
1227 +**Note:**
1308 1308  
1309 -(% style="background-color:#dcdcdc" %)**ATZ**       (%%) Reset MCU
1229 +1. Make sure the device is set to ABP mode in the IoT Server.
1230 +1. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.
1231 +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.
1232 +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
1310 1310  
1234 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]]
1311 1311  
1312 -(% style="color:red" %)**Note:**
1313 1313  
1314 -(% style="color:red" %)1. Make sure the device is set to ABP mode in the IoT Server.
1315 -2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.
1316 -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.
1317 -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
1237 +1. FAQ
1238 +11. How to upgrade the image?
1318 1318  
1319 -[[image:1654136435598-589.png]]
1320 -
1321 -
1322 -= 6. FAQ =
1323 -
1324 -== 6.1 How to upgrade the image? ==
1325 -
1326 1326  The RS485-BL LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to RS485-BL to:
1327 1327  
1328 1328  * Support new features
... ... @@ -1331,7 +1331,7 @@
1331 1331  
1332 1332  Below shows the hardware connection for how to upload an image to RS485-BL:
1333 1333  
1334 -[[image:1654136646995-976.png]]
1248 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png]]
1335 1335  
1336 1336  **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]].
1337 1337  
... ... @@ -1339,102 +1339,97 @@
1339 1339  
1340 1340  **Step3: **Open flashloader; choose the correct COM port to update.
1341 1341  
1342 -[[image:image-20220602102605-1.png]]
1343 1343  
1257 +|(((
1258 +HOLD PRO then press the RST button, SYS will be ON, then click next
1259 +)))
1344 1344  
1345 -[[image:image-20220602102637-2.png]]
1261 +|(((
1262 +Board detected
1263 +)))
1346 1346  
1265 +|(((
1266 +
1267 +)))
1347 1347  
1348 -[[image:image-20220602102715-3.png]]
1269 +[[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]]
1349 1349  
1350 1350  
1351 1351  
1352 -== 6.2 How to change the LoRa Frequency Bands/Region? ==
1273 +[[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]]
1353 1353  
1354 -(((
1355 -User can follow the introduction for [[how to upgrade image>>||anchor="H6.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download.
1356 -)))
1357 1357  
1276 +[[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]]
1358 1358  
1359 1359  
1360 -== 6.3 How many RS485-Slave can RS485-BL connects? ==
1279 +1.
1280 +11. How to change the LoRa Frequency Bands/Region?
1361 1361  
1362 -(((
1363 -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"]].
1364 -)))
1282 +User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
1365 1365  
1366 1366  
1367 1367  
1368 -= 7. Trouble Shooting =
1286 +1.
1287 +11. How many RS485-Slave can RS485-BL connects?
1369 1369  
1289 +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]].
1370 1370  
1371 -== 7.1 Downlink doesn’t work, how to solve it? ==
1372 1372  
1373 -Please see this link for debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome]]
1374 1374  
1375 1375  
1376 -== 7.2 Why I can’t join TTN V3 in US915 /AU915 bands? ==
1294 +1. Trouble Shooting     
1295 +11. Downlink doesn’t work, how to solve it?
1377 1377  
1378 -It might about the channels mapping. Please see for detail: [[Notice of Frequency band>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]]
1297 +Please see this link for debug:
1379 1379  
1299 +[[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]] 
1380 1380  
1381 -= 8. Order Info =
1382 1382  
1383 -(% style="color:blue" %)**Part Number: RS485-BL-XXX**
1384 1384  
1385 -(% style="color:blue" %)**XXX:**
1303 +1.
1304 +11. Why I can’t join TTN V3 in US915 /AU915 bands?
1386 1386  
1387 -* (% style="color:blue" %)**EU433**(%%): frequency bands EU433
1388 -* (% style="color:blue" %)**EU868**(%%): frequency bands EU868
1389 -* (% style="color:blue" %)**KR920**(%%): frequency bands KR920
1390 -* (% style="color:blue" %)**CN470**(%%): frequency bands CN470
1391 -* (% style="color:blue" %)**AS923**(%%): frequency bands AS923
1392 -* (% style="color:blue" %)**AU915**(%%): frequency bands AU915
1393 -* (% style="color:blue" %)**US915**(%%): frequency bands US915
1394 -* (% style="color:blue" %)**IN865**(%%): frequency bands IN865
1395 -* (% style="color:blue" %)**RU864**(%%): frequency bands RU864
1396 -* (% style="color:blue" %)**KZ865**(%%): frequency bands KZ865
1306 +It might about the channels mapping. Please see for detail.
1397 1397  
1398 -= 9. Packing Info =
1308 +[[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]]
1399 1399  
1400 -(((
1310 +
1311 +
1312 +1. Order Info
1313 +
1314 +**Part Number: RS485-BL-XXX**
1315 +
1316 +**XXX:**
1317 +
1318 +* **EU433**: frequency bands EU433
1319 +* **EU868**: frequency bands EU868
1320 +* **KR920**: frequency bands KR920
1321 +* **CN470**: frequency bands CN470
1322 +* **AS923**: frequency bands AS923
1323 +* **AU915**: frequency bands AU915
1324 +* **US915**: frequency bands US915
1325 +* **IN865**: frequency bands IN865
1326 +* **RU864**: frequency bands RU864
1327 +* **KZ865: **frequency bands KZ865
1328 +
1329 +1. Packing Info
1330 +
1401 1401  **Package Includes**:
1402 -)))
1403 1403  
1404 -* (((
1405 -RS485-BL x 1
1406 -)))
1407 -* (((
1408 -Stick Antenna for LoRa RF part x 1
1409 -)))
1410 -* (((
1411 -Program cable x 1
1412 -)))
1333 +* RS485-BL x 1
1334 +* Stick Antenna for LoRa RF part x 1
1335 +* Program cable x 1
1413 1413  
1414 -(((
1415 1415  **Dimension and weight**:
1416 -)))
1417 1417  
1418 -* (((
1419 -Device Size: 13.5 x 7 x 3 cm
1420 -)))
1421 -* (((
1422 -Device Weight: 105g
1423 -)))
1424 -* (((
1425 -Package Size / pcs : 14.5 x 8 x 5 cm
1426 -)))
1427 -* (((
1428 -Weight / pcs : 170g
1339 +* Device Size: 13.5 x 7 x 3 cm
1340 +* Device Weight: 105g
1341 +* Package Size / pcs : 14.5 x 8 x 5 cm
1342 +* Weight / pcs : 170g
1429 1429  
1430 -
1431 -)))
1344 +1. Support
1432 1432  
1433 -= 10. Support =
1346 +* 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.
1347 +* 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
1434 1434  
1435 -* (((
1436 -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.
1437 -)))
1438 -* (((
1439 -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 -)))
1349 +[[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]]
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