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

From version 40.7
edited by Xiaoling
on 2022/06/02 16:13
Change comment: There is no comment for this version
To version 34.1
edited by Xiaoling
on 2022/06/02 10:10
Change comment: Uploaded new attachment "1654135840598-282.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -750,6 +750,7 @@
750 750  
751 751  === 3.5.2 Sensor related commands: ===
752 752  
753 +==== ====
753 753  
754 754  ==== **Choose Device Type (RS485 or TTL)** ====
755 755  
... ... @@ -1163,6 +1163,7 @@
1163 1163  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]]
1164 1164  
1165 1165  
1167 +
1166 1166  = 5. Use AT Command =
1167 1167  
1168 1168  == 5.1 Access AT Command ==
... ... @@ -1169,90 +1169,75 @@
1169 1169  
1170 1170  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.
1171 1171  
1172 -[[image:1654135840598-282.png]]
1174 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image027.png]]
1173 1173  
1174 1174  
1175 -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:
1177 +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:
1176 1176  
1177 -[[image:1654136105500-922.png]]
1179 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.png]]
1178 1178  
1179 1179  
1180 -More detail AT Command manual can be found at [[AT Command Manual>>||anchor="3.5ConfigureRS485-BLviaATorDownlink"]]
1181 1181  
1183 +More detail AT Command manual can be found at [[AT Command Manual>>path:#AT_COMMAND]]
1182 1182  
1183 -== 5.2 Common AT Command Sequence ==
1184 1184  
1185 -=== 5.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
1186 1186  
1187 +1.
1188 +11. Common AT Command Sequence
1189 +111. Multi-channel ABP mode (Use with SX1301/LG308)
1190 +
1187 1187  If device has not joined network yet:
1188 1188  
1189 -(% class="box infomessage" %)
1190 -(((
1191 -**AT+FDR**
1192 -)))
1193 +AT+FDR
1193 1193  
1194 -(% class="box infomessage" %)
1195 -(((
1196 -**AT+NJM=0**
1197 -)))
1195 +AT+NJM=0
1198 1198  
1199 -(% class="box infomessage" %)
1200 -(((
1201 -**ATZ**
1202 -)))
1197 +ATZ
1203 1203  
1204 1204  
1205 1205  If device already joined network:
1206 1206  
1207 -(% class="box infomessage" %)
1208 -(((
1209 -**AT+NJM=0**
1210 -)))
1202 +AT+NJM=0
1211 1211  
1212 -(% class="box infomessage" %)
1213 -(((
1214 -**ATZ**
1215 -)))
1204 +ATZ
1216 1216  
1206 +1.
1207 +11.
1208 +111. Single-channel ABP mode (Use with LG01/LG02)
1217 1217  
1218 -=== 5.5.2 Single-channel ABP mode (Use with LG01/LG02) ===
1210 +AT+FDR   Reset Parameters to Factory Default, Keys Reserve
1219 1219  
1212 +AT+NJM=0 Set to ABP mode
1220 1220  
1221 -(% style="background-color:#dcdcdc" %)**AT+FDR** (%%) Reset Parameters to Factory Default, Keys Reserve
1214 +AT+ADR=0 Set the Adaptive Data Rate Off
1222 1222  
1223 -(% style="background-color:#dcdcdc" %)**AT+NJM=0 **(%%)Set to ABP mode
1216 +AT+DR= Set Data Rate
1224 1224  
1225 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%)Set the Adaptive Data Rate Off
1218 +AT+TDC=60000  Set transmit interval to 60 seconds
1226 1226  
1227 -(% style="background-color:#dcdcdc" %)**AT+DR=5**  (%%)Set Data Rate
1220 +AT+CHS=868400000 Set transmit frequency to 868.4Mhz
1228 1228  
1229 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000** (%%) Set transmit interval to 60 seconds
1222 +AT+RX2FQ=868400000 Set RX2Frequency to 868.4Mhz (according to the result from server)
1230 1230  
1231 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) Set transmit frequency to 868.4Mhz
1224 +AT+RX2DR= Set RX2DR to match the downlink DR from server. see below
1232 1232  
1233 -(% style="background-color:#dcdcdc" %)**AT+RX2FQ=868400000** (%%) Set RX2Frequency to 868.4Mhz (according to the result from server)
1226 +AT+DADDR=26 01 1A F1 Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.
1234 1234  
1235 -(% style="background-color:#dcdcdc" %)**AT+RX2DR=5**  (%%) Set RX2DR to match the downlink DR from server. see below
1228 +ATZ          Reset MCU
1236 1236  
1237 -(% 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.
1230 +**Note:**
1238 1238  
1239 -(% style="background-color:#dcdcdc" %)**ATZ**       (%%) Reset MCU
1232 +1. Make sure the device is set to ABP mode in the IoT Server.
1233 +1. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.
1234 +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.
1235 +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
1240 1240  
1237 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]]
1241 1241  
1242 -(% style="color:red" %)**Note:**
1243 1243  
1244 -(% style="color:red" %)1. Make sure the device is set to ABP mode in the IoT Server.
1245 -2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.
1246 -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.
1247 -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
1240 +1. FAQ
1241 +11. How to upgrade the image?
1248 1248  
1249 -[[image:1654136435598-589.png]]
1250 -
1251 -
1252 -= 6. FAQ =
1253 -
1254 -== 6.1 How to upgrade the image? ==
1255 -
1256 1256  The RS485-BL LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to RS485-BL to:
1257 1257  
1258 1258  * Support new features
... ... @@ -1261,7 +1261,7 @@
1261 1261  
1262 1262  Below shows the hardware connection for how to upload an image to RS485-BL:
1263 1263  
1264 -[[image:1654136646995-976.png]]
1251 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png]]
1265 1265  
1266 1266  **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]].
1267 1267  
... ... @@ -1269,97 +1269,97 @@
1269 1269  
1270 1270  **Step3: **Open flashloader; choose the correct COM port to update.
1271 1271  
1272 -[[image:image-20220602102605-1.png]]
1273 1273  
1260 +|(((
1261 +HOLD PRO then press the RST button, SYS will be ON, then click next
1262 +)))
1274 1274  
1275 -[[image:image-20220602102637-2.png]]
1264 +|(((
1265 +Board detected
1266 +)))
1276 1276  
1268 +|(((
1269 +
1270 +)))
1277 1277  
1278 -[[image:image-20220602102715-3.png]]
1272 +[[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]]
1279 1279  
1280 1280  
1281 1281  
1282 -== 6.2 How to change the LoRa Frequency Bands/Region? ==
1276 +[[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]]
1283 1283  
1284 -User can follow the introduction for [[how to upgrade image>>||anchor="H6.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download.
1285 1285  
1279 +[[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]]
1286 1286  
1287 1287  
1288 -== 6.3 How many RS485-Slave can RS485-BL connects? ==
1282 +1.
1283 +11. How to change the LoRa Frequency Bands/Region?
1289 1289  
1290 -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"]].
1285 +User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
1291 1291  
1292 1292  
1293 1293  
1294 -= 7. Trouble Shooting =
1289 +1.
1290 +11. How many RS485-Slave can RS485-BL connects?
1295 1295  
1292 +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]].
1296 1296  
1297 -== 7.1 Downlink doesn’t work, how to solve it? ==
1298 1298  
1299 -Please see this link for debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome]]
1300 1300  
1301 1301  
1302 -== 7.2 Why I can’t join TTN V3 in US915 /AU915 bands? ==
1297 +1. Trouble Shooting     
1298 +11. Downlink doesn’t work, how to solve it?
1303 1303  
1304 -It might about the channels mapping. Please see for detail: [[Notice of Frequency band>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]]
1300 +Please see this link for debug:
1305 1305  
1302 +[[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]] 
1306 1306  
1307 -= 8. Order Info =
1308 1308  
1309 -(% style="color:blue" %)**Part Number: RS485-BL-XXX**
1310 1310  
1311 -(% style="color:blue" %)**XXX:**
1306 +1.
1307 +11. Why I can’t join TTN V3 in US915 /AU915 bands?
1312 1312  
1313 -* (% style="color:blue" %)**EU433**(%%): frequency bands EU433
1314 -* (% style="color:blue" %)**EU868**(%%): frequency bands EU868
1315 -* (% style="color:blue" %)**KR920**(%%): frequency bands KR920
1316 -* (% style="color:blue" %)**CN470**(%%): frequency bands CN470
1317 -* (% style="color:blue" %)**AS923**(%%): frequency bands AS923
1318 -* (% style="color:blue" %)**AU915**(%%): frequency bands AU915
1319 -* (% style="color:blue" %)**US915**(%%): frequency bands US915
1320 -* (% style="color:blue" %)**IN865**(%%): frequency bands IN865
1321 -* (% style="color:blue" %)**RU864**(%%): frequency bands RU864
1322 -* (% style="color:blue" %)**KZ865**(%%): frequency bands KZ865
1309 +It might about the channels mapping. Please see for detail.
1323 1323  
1311 +[[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]]
1324 1324  
1325 1325  
1326 -= 9. Packing Info =
1327 1327  
1328 -(((
1329 -**Package Includes**:
1330 -)))
1315 +1. Order Info
1331 1331  
1332 -* (((
1333 -RS485-BL x 1
1334 -)))
1335 -* (((
1336 -Stick Antenna for LoRa RF part x 1
1337 -)))
1338 -* (((
1339 -Program cable x 1
1340 -)))
1317 +**Part Number: RS485-BL-XXX**
1341 1341  
1342 -(((
1343 -**Dimension and weight**:
1344 -)))
1319 +**XXX:**
1345 1345  
1346 -* (((
1347 -Device Size: 13.5 x 7 x 3 cm
1348 -)))
1349 -* (((
1350 -Device Weight: 105g
1351 -)))
1352 -* (((
1353 -Package Size / pcs : 14.5 x 8 x 5 cm
1354 -)))
1355 -* (((
1356 -Weight / pcs : 170g
1321 +* **EU433**: frequency bands EU433
1322 +* **EU868**: frequency bands EU868
1323 +* **KR920**: frequency bands KR920
1324 +* **CN470**: frequency bands CN470
1325 +* **AS923**: frequency bands AS923
1326 +* **AU915**: frequency bands AU915
1327 +* **US915**: frequency bands US915
1328 +* **IN865**: frequency bands IN865
1329 +* **RU864**: frequency bands RU864
1330 +* **KZ865: **frequency bands KZ865
1357 1357  
1358 -
1359 -)))
1332 +1. Packing Info
1360 1360  
1334 +**Package Includes**:
1361 1361  
1362 -= 10. Support =
1336 +* RS485-BL x 1
1337 +* Stick Antenna for LoRa RF part x 1
1338 +* Program cable x 1
1363 1363  
1340 +**Dimension and weight**:
1341 +
1342 +* Device Size: 13.5 x 7 x 3 cm
1343 +* Device Weight: 105g
1344 +* Package Size / pcs : 14.5 x 8 x 5 cm
1345 +* Weight / pcs : 170g
1346 +
1347 +1. Support
1348 +
1364 1364  * 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.
1365 -* 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]]
1350 +* 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
1351 +
1352 +[[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]]
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