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, 2 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1099,6 +1099,7 @@ 1099 1099 |=(% style="width: 89px;" %)**Button**|=(% style="width: 141px;" %)**Feature** 1100 1100 |(% style="width:89px" %)**RST**|(% style="width:141px" %)Reboot RS485-BL 1101 1101 1102 + 1102 1102 == 3.7 +3V3 Output == 1103 1103 1104 1104 RS485-BL has a Controllable +3V3 output, user can use this output to power external sensor. ... ... @@ -1122,125 +1122,113 @@ 1122 1122 1123 1123 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. 1124 1124 1126 + 1125 1125 The 5V output time can be controlled by AT Command. 1126 1126 1127 - 1128 1128 (% style="color:#037691" %)**AT+5VT=1000** 1129 1129 1130 - 1131 1131 Means set 5V valid time to have 1000ms. So, the real 5V output will actually have 1000ms + sampling time for other sensors. 1132 1132 1133 + 1133 1133 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. 1134 1134 1135 1135 1137 + 1136 1136 == 3.9 LEDs == 1137 1137 1138 -(% border="1" style="background-color:#ffffcc; color:green; width:332px" %) 1139 -|=**LEDs**|=(% style="width: 274px;" %)**Feature** 1140 -|**LED1**|(% style="width:274px" %)Blink when device transmit a packet. 1140 +|**LEDs**|**Feature** 1141 +|**LED1**|Blink when device transmit a packet. 1141 1141 1142 1142 == 3.10 Switch Jumper == 1143 1143 1144 -(% border="1" style="background-color:#ffffcc; color:green; width:515px" %) 1145 -|=(% style="width: 124px;" %)**Switch Jumper**|=(% style="width: 388px;" %)**Feature** 1146 -|(% style="width:124px" %)**SW1**|(% style="width:388px" %)((( 1145 +|**Switch Jumper**|**Feature** 1146 +|**SW1**|((( 1147 1147 ISP position: Upgrade firmware via UART 1148 1148 1149 1149 Flash position: Configure device, check running status. 1150 1150 ))) 1151 -| (% style="width:124px" %)**SW2**|(% style="width:388px" %)(((1151 +|**SW2**|((( 1152 1152 5V position: set to compatible with 5v I/O. 1153 1153 1154 1154 3.3v position: set to compatible with 3.3v I/O., 1155 1155 ))) 1156 1156 1157 - **+3.3V**: is always ON1157 ++3.3V: is always ON 1158 1158 1159 - **+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. 1160 1160 1161 +1. Case Study 1161 1161 1162 - =4.CaseStudy =1163 +User can check this URL for some case studies. 1163 1163 1164 - User can checkthis URL forsomecase studies: [[APPdoc:Main.ApplicationNote \: CommunicatewithDifferentSensors -----RS485-LNRS485-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]] 1165 1165 1166 1166 1167 -= 5. Use AT Command = 1168 1168 1169 -== 5.1 Access AT Command == 1170 1170 1170 +1. Use AT Command 1171 +11. Access AT Command 1172 + 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]]1175 +[[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: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: 1177 1177 1178 -[[image: 1654136105500-922.png]]1180 +[[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 1184 +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 1188 +1. 1189 +11. Common AT Command Sequence 1190 +111. Multi-channel ABP mode (Use with SX1301/LG308) 1191 + 1188 1188 If device has not joined network yet: 1189 1189 1190 -(% class="box infomessage" %) 1191 -((( 1192 -**AT+FDR** 1193 -))) 1194 +AT+FDR 1194 1194 1195 -(% class="box infomessage" %) 1196 -((( 1197 -**AT+NJM=0** 1198 -))) 1196 +AT+NJM=0 1199 1199 1200 -(% class="box infomessage" %) 1201 -((( 1202 -**ATZ** 1203 -))) 1198 +ATZ 1204 1204 1205 1205 1206 1206 If device already joined network: 1207 1207 1208 -(% class="box infomessage" %) 1209 -((( 1210 -**AT+NJM=0** 1211 -))) 1203 +AT+NJM=0 1212 1212 1213 -(% class="box infomessage" %) 1214 -((( 1215 -**ATZ** 1216 -))) 1205 +ATZ 1217 1217 1207 +1. 1208 +11. 1209 +111. Single-channel ABP mode (Use with LG01/LG02) 1218 1218 1219 - ===5.5.2 Single-channelABPode(UsewithLG01/LG02)===1211 +AT+FDR Reset Parameters to Factory Default, Keys Reserve 1220 1220 1213 +AT+NJM=0 Set to ABP mode 1221 1221 1222 - (% style="background-color:#dcdcdc" %)**AT+FDR**(%%) ResetParametersto FactoryDefault,KeysReserve1215 +AT+ADR=0 Set the Adaptive Data Rate Off 1223 1223 1224 - (% style="background-color:#dcdcdc" %)**AT+NJM=0**(%%)Set toABP mode1217 +AT+DR=5 Set Data Rate 1225 1225 1226 - (% style="background-color:#dcdcdc" %)**AT+ADR=0**(%%)Set the AdaptiveDataRateOff1219 +AT+TDC=60000 Set transmit interval to 60 seconds 1227 1227 1228 - (% style="background-color:#dcdcdc" %)**AT+DR=5**(%%)SetDataRate1221 +AT+CHS=868400000 Set transmit frequency to 868.4Mhz 1229 1229 1230 - (% style="background-color:#dcdcdc" %)**AT+TDC=60000**(%%)Settransmit interval60seconds1223 +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.4Mhz1225 +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)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. 1235 1235 1236 - (% style="background-color:#dcdcdc" %)**AT+RX2DR=5**(%%) SetRX2DR to match thedownlink DR fromserver.see below1229 +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.1231 +**Note:** 1239 1239 1240 -(% style="background-color:#dcdcdc" %)**ATZ** (%%) Reset MCU 1241 - 1242 -(% style="color:red" %)**Note:** 1243 - 1244 1244 1. Make sure the device is set to ABP mode in the IoT Server. 1245 1245 1. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting. 1246 1246 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.
- 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