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

From version 34.2
edited by Xiaoling
on 2022/06/02 10:10
Change comment: There is no comment for this version
To version 36.2
edited by Xiaoling
on 2022/06/02 10:21
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1173,69 +1173,82 @@
1173 1173  [[image:1654135840598-282.png]]
1174 1174  
1175 1175  
1176 -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 +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 1177  
1178 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.png]]
1178 +[[image:1654136105500-922.png]]
1179 1179  
1180 1180  
1181 +More detail AT Command manual can be found at [[AT Command Manual>>||anchor="3.5ConfigureRS485-BLviaATorDownlink"]]
1181 1181  
1182 -More detail AT Command manual can be found at [[AT Command Manual>>path:#AT_COMMAND]]
1183 1183  
1184 +== 5.2 Common AT Command Sequence ==
1184 1184  
1186 +=== 5.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
1185 1185  
1186 -1.
1187 -11. Common AT Command Sequence
1188 -111. Multi-channel ABP mode (Use with SX1301/LG308)
1189 -
1190 1190  If device has not joined network yet:
1191 1191  
1192 -AT+FDR
1190 +(% class="box infomessage" %)
1191 +(((
1192 +**AT+FDR**
1193 +)))
1193 1193  
1194 -AT+NJM=0
1195 +(% class="box infomessage" %)
1196 +(((
1197 +**AT+NJM=0**
1198 +)))
1195 1195  
1196 -ATZ
1200 +(% class="box infomessage" %)
1201 +(((
1202 +**ATZ**
1203 +)))
1197 1197  
1198 1198  
1199 1199  If device already joined network:
1200 1200  
1201 -AT+NJM=0
1208 +(% class="box infomessage" %)
1209 +(((
1210 +**AT+NJM=0**
1211 +)))
1202 1202  
1203 -ATZ
1213 +(% class="box infomessage" %)
1214 +(((
1215 +**ATZ**
1216 +)))
1204 1204  
1205 -1.
1206 -11.
1207 -111. Single-channel ABP mode (Use with LG01/LG02)
1208 1208  
1209 -AT+FDR   Reset Parameters to Factory Default, Keys Reserve
1219 +=== 5.5.2 Single-channel ABP mode (Use with LG01/LG02) ===
1210 1210  
1211 -AT+NJM=0 Set to ABP mode
1212 1212  
1213 -AT+ADR=0 Set the Adaptive Data Rate Off
1222 +(% style="background-color:#dcdcdc" %)**AT+FDR** (%%) Reset Parameters to Factory Default, Keys Reserve
1214 1214  
1215 -AT+DR= Set Data Rate
1224 +(% style="background-color:#dcdcdc" %)**AT+NJM=0 **(%%)Set to ABP mode
1216 1216  
1217 -AT+TDC=60000  Set transmit interval to 60 seconds
1226 +(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%)Set the Adaptive Data Rate Off
1218 1218  
1219 -AT+CHS=868400000 Set transmit frequency to 868.4Mhz
1228 +(% style="background-color:#dcdcdc" %)**AT+DR=5**  (%%)Set Data Rate
1220 1220  
1221 -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
1222 1222  
1223 -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
1224 1224  
1225 -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)
1226 1226  
1227 -ATZ          Reset MCU
1236 +(% style="background-color:#dcdcdc" %)**AT+RX2DR=5**  (%%) Set RX2DR to match the downlink DR from server. see below
1228 1228  
1229 -**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.
1230 1230  
1231 -1. Make sure the device is set to ABP mode in the IoT Server.
1232 -1. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.
1233 -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.
1234 -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
1235 1235  
1236 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]]
1242 +(% style="color:red" %)**Note:**
1237 1237  
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
1238 1238  
1249 +[[image:1654136435598-589.png]]
1250 +
1251 +
1239 1239  1. FAQ
1240 1240  11. How to upgrade the image?
1241 1241  
... ... @@ -1278,7 +1278,7 @@
1278 1278  [[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]]
1279 1279  
1280 1280  
1281 -1.
1294 +1.
1282 1282  11. How to change the LoRa Frequency Bands/Region?
1283 1283  
1284 1284  User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
... ... @@ -1285,7 +1285,7 @@
1285 1285  
1286 1286  
1287 1287  
1288 -1.
1301 +1.
1289 1289  11. How many RS485-Slave can RS485-BL connects?
1290 1290  
1291 1291  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]].
... ... @@ -1302,7 +1302,7 @@
1302 1302  
1303 1303  
1304 1304  
1305 -1.
1318 +1.
1306 1306  11. Why I can’t join TTN V3 in US915 /AU915 bands?
1307 1307  
1308 1308  It might about the channels mapping. Please see for detail.
1654136105500-922.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +203.7 KB
Content
1654136435598-589.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +158.9 KB
Content