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)
-
Attachments (0 modified, 0 added, 7 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1139,6 +1139,7 @@ 1139 1139 |=**LEDs**|=(% style="width: 274px;" %)**Feature** 1140 1140 |**LED1**|(% style="width:274px" %)Blink when device transmit a packet. 1141 1141 1142 + 1142 1142 == 3.10 Switch Jumper == 1143 1143 1144 1144 (% border="1" style="background-color:#ffffcc; color:green; width:515px" %) ... ... @@ -1159,101 +1159,89 @@ 1159 1159 **+5V**: Only open before every sampling. The time is by default, it is AT+5VT=0. Max open time. 5000 ms. 1160 1160 1161 1161 1162 - = 4. Case Study=1163 +1. Case Study 1163 1163 1164 -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 +User can check this URL for some case studies. 1165 1165 1167 +[[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]] 1166 1166 1167 -= 5. Use AT Command = 1168 1168 1169 -== 5.1 Access AT Command == 1170 1170 1171 + 1172 +1. Use AT Command 1173 +11. Access AT Command 1174 + 1171 1171 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. 1172 1172 1173 -[[image: 1654135840598-282.png]]1177 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image027.png]] 1174 1174 1175 1175 1176 -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:1180 +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: 1177 1177 1178 -[[image: 1654136105500-922.png]]1182 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.png]] 1179 1179 1180 1180 1181 -More detail AT Command manual can be found at [[AT Command Manual>>||anchor="3.5ConfigureRS485-BLviaATorDownlink"]] 1182 1182 1186 +More detail AT Command manual can be found at [[AT Command Manual>>path:#AT_COMMAND]] 1183 1183 1184 -== 5.2 Common AT Command Sequence == 1185 1185 1186 -=== 5.2.1 Multi-channel ABP mode (Use with SX1301/LG308) === 1187 1187 1190 +1. 1191 +11. Common AT Command Sequence 1192 +111. Multi-channel ABP mode (Use with SX1301/LG308) 1193 + 1188 1188 If device has not joined network yet: 1189 1189 1190 -(% class="box infomessage" %) 1191 -((( 1192 -**AT+FDR** 1193 -))) 1196 +AT+FDR 1194 1194 1195 -(% class="box infomessage" %) 1196 -((( 1197 -**AT+NJM=0** 1198 -))) 1198 +AT+NJM=0 1199 1199 1200 -(% class="box infomessage" %) 1201 -((( 1202 -**ATZ** 1203 -))) 1200 +ATZ 1204 1204 1205 1205 1206 1206 If device already joined network: 1207 1207 1208 -(% class="box infomessage" %) 1209 -((( 1210 -**AT+NJM=0** 1211 -))) 1205 +AT+NJM=0 1212 1212 1213 -(% class="box infomessage" %) 1214 -((( 1215 -**ATZ** 1216 -))) 1207 +ATZ 1217 1217 1209 +1. 1210 +11. 1211 +111. Single-channel ABP mode (Use with LG01/LG02) 1218 1218 1219 - ===5.5.2 Single-channelABPode(UsewithLG01/LG02)===1213 +AT+FDR Reset Parameters to Factory Default, Keys Reserve 1220 1220 1215 +AT+NJM=0 Set to ABP mode 1221 1221 1222 - (% style="background-color:#dcdcdc" %)**AT+FDR**(%%) ResetParametersto FactoryDefault,KeysReserve1217 +AT+ADR=0 Set the Adaptive Data Rate Off 1223 1223 1224 - (% style="background-color:#dcdcdc" %)**AT+NJM=0**(%%)Set toABP mode1219 +AT+DR=5 Set Data Rate 1225 1225 1226 - (% style="background-color:#dcdcdc" %)**AT+ADR=0**(%%)Set the AdaptiveDataRateOff1221 +AT+TDC=60000 Set transmit interval to 60 seconds 1227 1227 1228 - (% style="background-color:#dcdcdc" %)**AT+DR=5**(%%)SetDataRate1223 +AT+CHS=868400000 Set transmit frequency to 868.4Mhz 1229 1229 1230 - (% style="background-color:#dcdcdc" %)**AT+TDC=60000**(%%)Settransmit interval60seconds1225 +AT+RX2FQ=868400000 Set RX2Frequency to 868.4Mhz (according to the result from server) 1231 1231 1232 - (% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%)Set transmitfrequencyto868.4Mhz1227 +AT+RX2DR=5 Set RX2DR to match the downlink DR from server. see below 1233 1233 1234 - (% style="background-color:#dcdcdc" %)**AT+RX2FQ=868400000**(%%)SetRX2Frequencyto868.4Mhz(accordingto theresult fromserver)1229 +AT+DADDR=26 01 1A F1 Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal. 1235 1235 1236 - (% style="background-color:#dcdcdc" %)**AT+RX2DR=5**(%%) SetRX2DR to match thedownlink DR fromserver.see below1231 +ATZ Reset MCU 1237 1237 1238 - (% style="background-color:#dcdcdc" %)**AT+DADDR=26** (%%) 01 1A F1 Set Device Address to26 01 1A F1,this ID can befound in the LoRa Server portal.1233 +**Note:** 1239 1239 1240 -(% style="background-color:#dcdcdc" %)**ATZ** (%%) Reset MCU 1235 +1. Make sure the device is set to ABP mode in the IoT Server. 1236 +1. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting. 1237 +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. 1238 +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 1241 1241 1240 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]] 1242 1242 1243 -(% style="color:red" %)**Note:** 1244 1244 1245 -(% style="color:red" %)1. Make sure the device is set to ABP mode in the IoT Server. 1246 -2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting. 1247 -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. 1248 -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 1243 +1. FAQ 1244 +11. How to upgrade the image? 1249 1249 1250 -[[image:1654136435598-589.png]] 1251 - 1252 - 1253 -= 6. FAQ = 1254 - 1255 -== 6.1 How to upgrade the image? == 1256 - 1257 1257 The RS485-BL LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to RS485-BL to: 1258 1258 1259 1259 * Support new features ... ... @@ -1262,7 +1262,7 @@ 1262 1262 1263 1263 Below shows the hardware connection for how to upload an image to RS485-BL: 1264 1264 1265 -[[image: 1654136646995-976.png]]1254 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png]] 1266 1266 1267 1267 **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]]. 1268 1268 ... ... @@ -1270,61 +1270,81 @@ 1270 1270 1271 1271 **Step3: **Open flashloader; choose the correct COM port to update. 1272 1272 1273 -[[image:image-20220602102605-1.png]] 1274 1274 1263 +|((( 1264 +HOLD PRO then press the RST button, SYS will be ON, then click next 1265 +))) 1275 1275 1276 -[[image:image-20220602102637-2.png]] 1267 +|((( 1268 +Board detected 1269 +))) 1277 1277 1271 +|((( 1272 + 1273 +))) 1278 1278 1279 -[[image:image -20220602102715-3.png]]1275 +[[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]] 1280 1280 1281 1281 1282 1282 1283 - ==6.2 HowtongetheLoRaFrequency Bands/Region? ==1279 +[[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]] 1284 1284 1285 -User can follow the introduction for [[how to upgrade image>>||anchor="H6.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download. 1286 1286 1282 +[[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]] 1287 1287 1288 1288 1289 -== 6.3 How many RS485-Slave can RS485-BL connects? == 1285 +1. 1286 +11. How to change the LoRa Frequency Bands/Region? 1290 1290 1291 - TheRS485-BLcansupportmax 32 RS485 devices.Each uplinkcommandofRS485-BLcansupport max 16differentRS485 command. So RS485-BL can support max 16 RS485devicespre-program inthedevice for uplink. Forotherdevicesnopre-program, usercan usethe[[downlinkmessage(type code 0xA8) to poll theirinfo>>||anchor="H3.3.3Configurereadcommandsforeachsampling"]].1288 +User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download. 1292 1292 1293 1293 1294 1294 1295 -= 7. Trouble Shooting = 1292 +1. 1293 +11. How many RS485-Slave can RS485-BL connects? 1296 1296 1295 +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]]. 1297 1297 1298 -== 7.1 Downlink doesn’t work, how to solve it? == 1299 1299 1300 -Please see this link for debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome]] 1301 1301 1302 1302 1303 -== 7.2 Why I can’t join TTN V3 in US915 /AU915 bands? == 1300 +1. Trouble Shooting 1301 +11. Downlink doesn’t work, how to solve it? 1304 1304 1305 - It might about the channels mapping.Please seefor detail:[[NoticeofFrequencyband>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]]1303 +Please see this link for debug: 1306 1306 1305 +[[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]] 1307 1307 1308 -= 8. Order Info = 1309 1309 1310 -(% style="color:bule" %)**Part Number: RS485-BL-XXX** 1311 1311 1312 -(% style="color:bule" %)**XXX:** 1309 +1. 1310 +11. Why I can’t join TTN V3 in US915 /AU915 bands? 1313 1313 1314 -* (% style="color:bule" %)**EU433**(%%): frequency bands EU433 1315 -* (% style="color:bule" %)**EU868**(%%): frequency bands EU868 1316 -* (% style="color:bule" %)**KR920**(%%): frequency bands KR920 1317 -* (% style="color:bule" %)**CN470**(%%): frequency bands CN470 1318 -* (% style="color:bule" %)**AS923**(%%): frequency bands AS923 1319 -* (% style="color:bule" %)**AU915**(%%): frequency bands AU915 1320 -* (% style="color:bule" %)**US915**(%%): frequency bands US915 1321 -* (% style="color:bule" %)**IN865**(%%): frequency bands IN865 1322 -* (% style="color:bule" %)**RU864**(%%): frequency bands RU864 1323 -* (% style="color:bule" %)**KZ865**(%%): frequency bands KZ865 1312 +It might about the channels mapping. Please see for detail. 1324 1324 1314 +[[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]] 1325 1325 1326 -= 9. Packing Info = 1327 1327 1317 + 1318 +1. Order Info 1319 + 1320 +**Part Number: RS485-BL-XXX** 1321 + 1322 +**XXX:** 1323 + 1324 +* **EU433**: frequency bands EU433 1325 +* **EU868**: frequency bands EU868 1326 +* **KR920**: frequency bands KR920 1327 +* **CN470**: frequency bands CN470 1328 +* **AS923**: frequency bands AS923 1329 +* **AU915**: frequency bands AU915 1330 +* **US915**: frequency bands US915 1331 +* **IN865**: frequency bands IN865 1332 +* **RU864**: frequency bands RU864 1333 +* **KZ865: **frequency bands KZ865 1334 + 1335 +1. Packing Info 1336 + 1328 1328 **Package Includes**: 1329 1329 1330 1330 * RS485-BL x 1 ... ... @@ -1338,9 +1338,8 @@ 1338 1338 * Package Size / pcs : 14.5 x 8 x 5 cm 1339 1339 * Weight / pcs : 170g 1340 1340 1350 +1. Support 1341 1341 1342 -= 10. Support = 1343 - 1344 1344 * 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. 1345 1345 * 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 1346 1346
- 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