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
-
... ... @@ -739,12 +739,10 @@ 739 739 740 740 There are two kinds of Commands: 741 741 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: [[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]] 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]] ... ... @@ -752,6 +752,7 @@ 752 752 753 753 === 3.5.2 Sensor related commands: === 754 754 753 +==== ==== 755 755 756 756 ==== **Choose Device Type (RS485 or TTL)** ==== 757 757 ... ... @@ -826,7 +826,6 @@ 826 826 827 827 828 828 829 - 830 830 ==== **Set Payload version** ==== 831 831 832 832 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. ... ... @@ -1095,171 +1095,160 @@ 1095 1095 **07 02 aa bb** Same as AT+3V3T=(aa bb) 1096 1096 1097 1097 1098 -== 3.6 Buttons == 1099 1099 1100 -(% border="1" style="background-color:#ffffcc; color:green; width:233px" %) 1101 -|=(% style="width: 89px;" %)**Button**|=(% style="width: 141px;" %)**Feature** 1102 -|(% style="width:89px" %)**RST**|(% style="width:141px" %)Reboot RS485-BL 1103 1103 1098 +1. 1099 +11. Buttons 1104 1104 1101 +|**Button**|**Feature** 1102 +|**RST**|Reboot RS485-BL 1105 1105 1106 -== 3.7 +3V3 Output == 1104 +1. 1105 +11. +3V3 Output 1107 1107 1108 1108 RS485-BL has a Controllable +3V3 output, user can use this output to power external sensor. 1109 1109 1110 1110 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. 1111 1111 1111 + 1112 1112 The +3V3 output time can be controlled by AT Command. 1113 1113 1114 +**AT+3V3T=1000** 1114 1114 1115 -(% style="color:#037691" %)**AT+3V3T=1000** 1116 - 1117 - 1118 1118 Means set +3v3 valid time to have 1000ms. So, the real +3v3 output will actually have 1000ms + sampling time for other sensors. 1119 1119 1118 + 1120 1120 By default, the AT+3V3T=0. This is a special case, means the +3V3 output is always on at any time 1121 1121 1122 1122 1123 -== 3.8 +5V Output == 1122 +1. 1123 +11. +5V Output 1124 1124 1125 1125 RS485-BL has a Controllable +5V output, user can use this output to power external sensor. 1126 1126 1127 1127 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. 1128 1128 1129 + 1129 1129 The 5V output time can be controlled by AT Command. 1130 1130 1132 +**AT+5VT=1000** 1131 1131 1132 -(% style="color:#037691" %)**AT+5VT=1000** 1133 - 1134 - 1135 1135 Means set 5V valid time to have 1000ms. So, the real 5V output will actually have 1000ms + sampling time for other sensors. 1136 1136 1136 + 1137 1137 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. 1138 1138 1139 1139 1140 -== 3.9 LEDs == 1141 1141 1142 -(% border="1" style="background-color:#ffffcc; color:green; width:332px" %) 1143 -|=**LEDs**|=(% style="width: 274px;" %)**Feature** 1144 -|**LED1**|(% style="width:274px" %)Blink when device transmit a packet. 1145 1145 1142 +1. 1143 +11. LEDs 1146 1146 1145 +|**LEDs**|**Feature** 1146 +|**LED1**|Blink when device transmit a packet. 1147 1147 1148 -== 3.10 Switch Jumper == 1148 +1. 1149 +11. Switch Jumper 1149 1149 1150 -(% border="1" style="background-color:#ffffcc; color:green; width:515px" %) 1151 -|=(% style="width: 124px;" %)**Switch Jumper**|=(% style="width: 388px;" %)**Feature** 1152 -|(% style="width:124px" %)**SW1**|(% style="width:388px" %)((( 1151 +|**Switch Jumper**|**Feature** 1152 +|**SW1**|((( 1153 1153 ISP position: Upgrade firmware via UART 1154 1154 1155 1155 Flash position: Configure device, check running status. 1156 1156 ))) 1157 -| (% style="width:124px" %)**SW2**|(% style="width:388px" %)(((1157 +|**SW2**|((( 1158 1158 5V position: set to compatible with 5v I/O. 1159 1159 1160 1160 3.3v position: set to compatible with 3.3v I/O., 1161 1161 ))) 1162 1162 1163 - **+3.3V**: is always ON1163 ++3.3V: is always ON 1164 1164 1165 - **+5V**: Only open before every sampling. The time is by default, it is AT+5VT=0. Max open time. 5000 ms.1165 ++5V: Only open before every sampling. The time is by default, it is AT+5VT=0. Max open time. 5000 ms. 1166 1166 1167 +1. Case Study 1167 1167 1168 - =4.CaseStudy =1169 +User can check this URL for some case studies. 1169 1169 1170 - User can checkthis URL forsomecase studies: [[APPdoc:Main.ApplicationNote \: CommunicatewithDifferentSensors -----RS485-LNRS485-BL.WebHome]]1171 +[[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]] 1171 1171 1172 1172 1173 -= 5. Use AT Command = 1174 1174 1175 -== 5.1 Access AT Command == 1176 1176 1176 +1. Use AT Command 1177 +11. Access AT Command 1178 + 1177 1177 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. 1178 1178 1179 -[[image: 1654135840598-282.png]]1181 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image027.png]] 1180 1180 1181 1181 1182 -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:1184 +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: 1183 1183 1184 -[[image: 1654136105500-922.png]]1186 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.png]] 1185 1185 1186 1186 1187 -More detail AT Command manual can be found at [[AT Command Manual>>||anchor="3.5ConfigureRS485-BLviaATorDownlink"]] 1188 1188 1190 +More detail AT Command manual can be found at [[AT Command Manual>>path:#AT_COMMAND]] 1189 1189 1190 -== 5.2 Common AT Command Sequence == 1191 1191 1192 -=== 5.2.1 Multi-channel ABP mode (Use with SX1301/LG308) === 1193 1193 1194 +1. 1195 +11. Common AT Command Sequence 1196 +111. Multi-channel ABP mode (Use with SX1301/LG308) 1197 + 1194 1194 If device has not joined network yet: 1195 1195 1196 -(% class="box infomessage" %) 1197 -((( 1198 -**AT+FDR** 1199 -))) 1200 +AT+FDR 1200 1200 1201 -(% class="box infomessage" %) 1202 -((( 1203 -**AT+NJM=0** 1204 -))) 1202 +AT+NJM=0 1205 1205 1206 -(% class="box infomessage" %) 1207 -((( 1208 -**ATZ** 1209 -))) 1204 +ATZ 1210 1210 1211 1211 1212 1212 If device already joined network: 1213 1213 1214 -(% class="box infomessage" %) 1215 -((( 1216 -**AT+NJM=0** 1217 -))) 1209 +AT+NJM=0 1218 1218 1219 -(% class="box infomessage" %) 1220 -((( 1221 -**ATZ** 1222 -))) 1211 +ATZ 1223 1223 1213 +1. 1214 +11. 1215 +111. Single-channel ABP mode (Use with LG01/LG02) 1224 1224 1225 - ===5.5.2 Single-channelABPode(UsewithLG01/LG02)===1217 +AT+FDR Reset Parameters to Factory Default, Keys Reserve 1226 1226 1219 +AT+NJM=0 Set to ABP mode 1227 1227 1228 - (% style="background-color:#dcdcdc" %)**AT+FDR**(%%) ResetParametersto FactoryDefault,KeysReserve1221 +AT+ADR=0 Set the Adaptive Data Rate Off 1229 1229 1230 - (% style="background-color:#dcdcdc" %)**AT+NJM=0**(%%)Set toABP mode1223 +AT+DR=5 Set Data Rate 1231 1231 1232 - (% style="background-color:#dcdcdc" %)**AT+ADR=0**(%%)Set the AdaptiveDataRateOff1225 +AT+TDC=60000 Set transmit interval to 60 seconds 1233 1233 1234 - (% style="background-color:#dcdcdc" %)**AT+DR=5**(%%)SetDataRate1227 +AT+CHS=868400000 Set transmit frequency to 868.4Mhz 1235 1235 1236 - (% style="background-color:#dcdcdc" %)**AT+TDC=60000**(%%)Settransmit interval60seconds1229 +AT+RX2FQ=868400000 Set RX2Frequency to 868.4Mhz (according to the result from server) 1237 1237 1238 - (% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%)Set transmitfrequencyto868.4Mhz1231 +AT+RX2DR=5 Set RX2DR to match the downlink DR from server. see below 1239 1239 1240 - (% style="background-color:#dcdcdc" %)**AT+RX2FQ=868400000**(%%)SetRX2Frequencyto868.4Mhz(accordingto theresult fromserver)1233 +AT+DADDR=26 01 1A F1 Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal. 1241 1241 1242 - (% style="background-color:#dcdcdc" %)**AT+RX2DR=5**(%%) SetRX2DR to match thedownlink DR fromserver.see below1235 +ATZ Reset MCU 1243 1243 1244 - (% 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.1237 +**Note:** 1245 1245 1246 -(% style="background-color:#dcdcdc" %)**ATZ** (%%) Reset MCU 1239 +1. Make sure the device is set to ABP mode in the IoT Server. 1240 +1. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting. 1241 +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. 1242 +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 1247 1247 1244 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]] 1248 1248 1249 -(% style="color:red" %)**Note:** 1250 1250 1251 -(% style="color:red" %)1. Make sure the device is set to ABP mode in the IoT Server. 1252 -2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting. 1253 -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. 1254 -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 1247 +1. FAQ 1248 +11. How to upgrade the image? 1255 1255 1256 -[[image:1654136435598-589.png]] 1257 - 1258 - 1259 -= 6. FAQ = 1260 - 1261 -== 6.1 How to upgrade the image? == 1262 - 1263 1263 The RS485-BL LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to RS485-BL to: 1264 1264 1265 1265 * Support new features ... ... @@ -1268,7 +1268,7 @@ 1268 1268 1269 1269 Below shows the hardware connection for how to upload an image to RS485-BL: 1270 1270 1271 -[[image: 1654136646995-976.png]]1258 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png]] 1272 1272 1273 1273 **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]]. 1274 1274 ... ... @@ -1276,95 +1276,97 @@ 1276 1276 1277 1277 **Step3: **Open flashloader; choose the correct COM port to update. 1278 1278 1279 -[[image:image-20220602102605-1.png]] 1280 1280 1267 +|((( 1268 +HOLD PRO then press the RST button, SYS will be ON, then click next 1269 +))) 1281 1281 1282 -[[image:image-20220602102637-2.png]] 1271 +|((( 1272 +Board detected 1273 +))) 1283 1283 1275 +|((( 1276 + 1277 +))) 1284 1284 1285 -[[image:image -20220602102715-3.png]]1279 +[[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]] 1286 1286 1287 1287 1288 1288 1289 - ==6.2 HowtongetheLoRaFrequency Bands/Region? ==1283 +[[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]] 1290 1290 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. 1292 1292 1286 +[[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]] 1293 1293 1294 1294 1295 -== 6.3 How many RS485-Slave can RS485-BL connects? == 1289 +1. 1290 +11. How to change the LoRa Frequency Bands/Region? 1296 1296 1297 - 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"]].1292 +User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download. 1298 1298 1299 1299 1300 1300 1301 -= 7. Trouble Shooting = 1296 +1. 1297 +11. How many RS485-Slave can RS485-BL connects? 1302 1302 1299 +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]]. 1303 1303 1304 -== 7.1 Downlink doesn’t work, how to solve it? == 1305 1305 1306 -Please see this link for debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome]] 1307 1307 1308 1308 1309 -== 7.2 Why I can’t join TTN V3 in US915 /AU915 bands? == 1304 +1. Trouble Shooting 1305 +11. Downlink doesn’t work, how to solve it? 1310 1310 1311 - It might about the channels mapping.Please seefor detail:[[NoticeofFrequencyband>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]]1307 +Please see this link for debug: 1312 1312 1309 +[[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]] 1313 1313 1314 -= 8. Order Info = 1315 1315 1316 -(% style="color:blue" %)**Part Number: RS485-BL-XXX** 1317 1317 1318 -(% style="color:blue" %)**XXX:** 1313 +1. 1314 +11. Why I can’t join TTN V3 in US915 /AU915 bands? 1319 1319 1320 -* (% style="color:blue" %)**EU433**(%%): frequency bands EU433 1321 -* (% style="color:blue" %)**EU868**(%%): frequency bands EU868 1322 -* (% style="color:blue" %)**KR920**(%%): frequency bands KR920 1323 -* (% style="color:blue" %)**CN470**(%%): frequency bands CN470 1324 -* (% style="color:blue" %)**AS923**(%%): frequency bands AS923 1325 -* (% style="color:blue" %)**AU915**(%%): frequency bands AU915 1326 -* (% style="color:blue" %)**US915**(%%): frequency bands US915 1327 -* (% style="color:blue" %)**IN865**(%%): frequency bands IN865 1328 -* (% style="color:blue" %)**RU864**(%%): frequency bands RU864 1329 -* (% style="color:blue" %)**KZ865**(%%): frequency bands KZ865 1316 +It might about the channels mapping. Please see for detail. 1330 1330 1318 +[[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]] 1331 1331 1332 -= 9. Packing Info = 1333 1333 1334 -((( 1321 + 1322 +1. Order Info 1323 + 1324 +**Part Number: RS485-BL-XXX** 1325 + 1326 +**XXX:** 1327 + 1328 +* **EU433**: frequency bands EU433 1329 +* **EU868**: frequency bands EU868 1330 +* **KR920**: frequency bands KR920 1331 +* **CN470**: frequency bands CN470 1332 +* **AS923**: frequency bands AS923 1333 +* **AU915**: frequency bands AU915 1334 +* **US915**: frequency bands US915 1335 +* **IN865**: frequency bands IN865 1336 +* **RU864**: frequency bands RU864 1337 +* **KZ865: **frequency bands KZ865 1338 + 1339 +1. Packing Info 1340 + 1335 1335 **Package Includes**: 1336 -))) 1337 1337 1338 -* ((( 1339 -RS485-BL x 1 1340 -))) 1341 -* ((( 1342 -Stick Antenna for LoRa RF part x 1 1343 -))) 1344 -* ((( 1345 -Program cable x 1 1346 -))) 1343 +* RS485-BL x 1 1344 +* Stick Antenna for LoRa RF part x 1 1345 +* Program cable x 1 1347 1347 1348 -((( 1349 1349 **Dimension and weight**: 1350 -))) 1351 1351 1352 -* ((( 1353 -Device Size: 13.5 x 7 x 3 cm 1354 -))) 1355 -* ((( 1356 -Device Weight: 105g 1357 -))) 1358 -* ((( 1359 -Package Size / pcs : 14.5 x 8 x 5 cm 1360 -))) 1361 -* ((( 1362 -Weight / pcs : 170g 1349 +* Device Size: 13.5 x 7 x 3 cm 1350 +* Device Weight: 105g 1351 +* Package Size / pcs : 14.5 x 8 x 5 cm 1352 +* Weight / pcs : 170g 1363 1363 1364 - 1365 -))) 1354 +1. Support 1366 1366 1367 -= 10. Support = 1368 - 1369 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]] 1357 +* 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 1358 + 1359 +[[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