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

From version 35.2
edited by Xiaoling
on 2022/06/02 10:15
Change comment: There is no comment for this version
To version 38.2
edited by Xiaoling
on 2022/06/02 10:26
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1181,7 +1181,6 @@
1181 1181  More detail AT Command manual can be found at [[AT Command Manual>>||anchor="3.5ConfigureRS485-BLviaATorDownlink"]]
1182 1182  
1183 1183  
1184 -
1185 1185  == 5.2 Common AT Command Sequence ==
1186 1186  
1187 1187  === 5.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
... ... @@ -1188,56 +1188,73 @@
1188 1188  
1189 1189  If device has not joined network yet:
1190 1190  
1191 -AT+FDR
1190 +(% class="box infomessage" %)
1191 +(((
1192 +**AT+FDR**
1193 +)))
1192 1192  
1193 -AT+NJM=0
1195 +(% class="box infomessage" %)
1196 +(((
1197 +**AT+NJM=0**
1198 +)))
1194 1194  
1195 -ATZ
1200 +(% class="box infomessage" %)
1201 +(((
1202 +**ATZ**
1203 +)))
1196 1196  
1197 1197  
1198 1198  If device already joined network:
1199 1199  
1200 -AT+NJM=0
1208 +(% class="box infomessage" %)
1209 +(((
1210 +**AT+NJM=0**
1211 +)))
1201 1201  
1202 -ATZ
1213 +(% class="box infomessage" %)
1214 +(((
1215 +**ATZ**
1216 +)))
1203 1203  
1204 -1.
1205 -11.
1206 -111. Single-channel ABP mode (Use with LG01/LG02)
1207 1207  
1208 -AT+FDR   Reset Parameters to Factory Default, Keys Reserve
1219 +=== 5.5.2 Single-channel ABP mode (Use with LG01/LG02) ===
1209 1209  
1210 -AT+NJM=0 Set to ABP mode
1211 1211  
1212 -AT+ADR=0 Set the Adaptive Data Rate Off
1222 +(% style="background-color:#dcdcdc" %)**AT+FDR** (%%) Reset Parameters to Factory Default, Keys Reserve
1213 1213  
1214 -AT+DR= Set Data Rate
1224 +(% style="background-color:#dcdcdc" %)**AT+NJM=0 **(%%)Set to ABP mode
1215 1215  
1216 -AT+TDC=60000  Set transmit interval to 60 seconds
1226 +(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%)Set the Adaptive Data Rate Off
1217 1217  
1218 -AT+CHS=868400000 Set transmit frequency to 868.4Mhz
1228 +(% style="background-color:#dcdcdc" %)**AT+DR=5**  (%%)Set Data Rate
1219 1219  
1220 -AT+RX2FQ=868400000 Set RX2Frequency to 868.4Mhz (according to the result from server)
1230 +(% style="background-color:#dcdcdc" %)**AT+TDC=60000** (%%) Set transmit interval to 60 seconds
1221 1221  
1222 -AT+RX2DR= Set RX2DR to match the downlink DR from server. see below
1232 +(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) Set transmit frequency to 868.4Mhz
1223 1223  
1224 -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 +(% style="background-color:#dcdcdc" %)**AT+RX2FQ=868400000** (%%) Set RX2Frequency to 868.4Mhz (according to the result from server)
1225 1225  
1226 -ATZ          Reset MCU
1236 +(% style="background-color:#dcdcdc" %)**AT+RX2DR=5**  (%%) Set RX2DR to match the downlink DR from server. see below
1227 1227  
1228 -**Note:**
1238 +(% 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.
1229 1229  
1230 -1. Make sure the device is set to ABP mode in the IoT Server.
1231 -1. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.
1232 -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.
1233 -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 +(% style="background-color:#dcdcdc" %)**ATZ**       (%%) Reset MCU
1234 1234  
1235 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]]
1236 1236  
1243 +(% style="color:red" %)**Note:**
1237 1237  
1238 -1. FAQ
1239 -11. How to upgrade the image?
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
1240 1240  
1250 +[[image:1654136435598-589.png]]
1251 +
1252 +
1253 += 6. FAQ =
1254 +
1255 +== 6.1 How to upgrade the image? ==
1256 +
1241 1241  The RS485-BL LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to RS485-BL to:
1242 1242  
1243 1243  * Support new features
... ... @@ -1246,7 +1246,7 @@
1246 1246  
1247 1247  Below shows the hardware connection for how to upload an image to RS485-BL:
1248 1248  
1249 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png]]
1265 +[[image:1654136646995-976.png]]
1250 1250  
1251 1251  **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]].
1252 1252  
... ... @@ -1254,30 +1254,12 @@
1254 1254  
1255 1255  **Step3: **Open flashloader; choose the correct COM port to update.
1256 1256  
1273 +[[image:image-20220602102605-1.png]]
1257 1257  
1258 -|(((
1259 -HOLD PRO then press the RST button, SYS will be ON, then click next
1260 -)))
1261 1261  
1262 -|(((
1263 -Board detected
1264 -)))
1265 1265  
1266 -|(((
1267 -
1268 -)))
1269 1269  
1270 -[[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]]
1271 -
1272 -
1273 -
1274 -[[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]]
1275 -
1276 -
1277 -[[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]]
1278 -
1279 -
1280 -1.
1278 +1.
1281 1281  11. How to change the LoRa Frequency Bands/Region?
1282 1282  
1283 1283  User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
... ... @@ -1284,7 +1284,7 @@
1284 1284  
1285 1285  
1286 1286  
1287 -1.
1285 +1.
1288 1288  11. How many RS485-Slave can RS485-BL connects?
1289 1289  
1290 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>>path:#downlink_A8]].
... ... @@ -1301,7 +1301,7 @@
1301 1301  
1302 1302  
1303 1303  
1304 -1.
1302 +1.
1305 1305  11. Why I can’t join TTN V3 in US915 /AU915 bands?
1306 1306  
1307 1307  It might about the channels mapping. Please see for detail.
1654136435598-589.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +158.9 KB
Content
1654136646995-976.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +1.3 MB
Content
image-20220602102605-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +102.6 KB
Content