Changes for page RS485-LN – RS485 to LoRaWAN Converter User Manual
Last modified by Bei Jinggeng on 2025/01/16 11:36
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -12,11 +12,6 @@ 12 12 13 13 14 14 15 - 16 - 17 - 18 - 19 - 20 20 **Table of Contents:** 21 21 22 22 {{toc/}} ... ... @@ -113,6 +113,8 @@ 113 113 114 114 115 115 111 + 112 + 116 116 == 1.3 Features == 117 117 118 118 * LoRaWAN Class A & Class C protocol (default Class C) ... ... @@ -126,6 +126,8 @@ 126 126 127 127 128 128 126 + 127 + 129 129 == 1.4 Applications == 130 130 131 131 * Smart Buildings & Home Automation ... ... @@ -137,6 +137,8 @@ 137 137 138 138 139 139 139 + 140 + 140 140 == 1.5 Firmware Change log == 141 141 142 142 [[RS485-LN Image files – Download link and Change log>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/]] ... ... @@ -339,7 +339,6 @@ 339 339 ))) 340 340 341 341 342 - 343 343 === 3.3.2 Configure sensors === 344 344 345 345 ((( ... ... @@ -365,7 +365,6 @@ 365 365 )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m 366 366 367 367 368 - 369 369 === 3.3.3 Configure read commands for each sampling === 370 370 371 371 ((( ... ... @@ -577,18 +577,17 @@ 577 577 578 578 Response feature is added to the server's downlink, a special package with a FPort of 200 will be uploaded immediately after receiving the data sent by the server. 579 579 580 -(% aria-label="image-20220602163333-5.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602163333-5.png||data-widget="image" height="263" width="1160"]](% title="Click and drag to resize" %) 579 +(% aria-label="image-20220602163333-5.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602163333-5.png||data-widget="image" height="263" width="1160"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 581 581 582 582 The first byte of this package represents whether the configuration is successful, 00 represents failure, 01 represents success. Except for the first byte, the other is the previous downlink. (All commands except A8 type commands are applicable) 583 583 584 584 585 - 586 586 === 3.5.3 Sensor related commands === 587 587 588 588 589 589 590 590 591 -==== (% style="color: blue" %)**RS485 Debug Command**(%%) ====589 +==== (% style="color:#037691" %)**RS485 Debug Command**(%%) ==== 592 592 593 593 ((( 594 594 This command is used to configure the RS485 devices; they won’t be used during sampling. ... ... @@ -1194,8 +1194,6 @@ 1194 1194 |(% style="width:50px" %)**RST**|(% style="width:361px" %)Reboot RS485 1195 1195 |(% style="width:50px" %)**PRO**|(% style="width:361px" %)Use for upload image, see [[How to Update Image>>||anchor="H6.1Howtoupgradetheimage3F"]] 1196 1196 1197 - 1198 - 1199 1199 == 3.8 LEDs == 1200 1200 1201 1201 ... ... @@ -1204,8 +1204,6 @@ 1204 1204 |**PWR**|Always on if there is power 1205 1205 |**SYS**|After device is powered on, the SYS will (% style="color:green" %)**fast blink in GREEN**(%%) for 5 times, means RS485-LN start to join LoRaWAN network. If join success, SYS will be (% style="color:green" %)**on GREEN for 5 seconds** (%%)**. **SYS will (% style="color:green" %)**blink Blue**(%%) on every upload and (% style="color:green" %)**blink Green**(%%) once receive a downlink message. 1206 1206 1207 - 1208 - 1209 1209 = 4. Case Study = 1210 1210 1211 1211 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]] ... ... @@ -1237,24 +1237,38 @@ 1237 1237 1238 1238 == 5.2 Common AT Command Sequence == 1239 1239 1240 - 1241 1241 === 5.2.1 Multi-channel ABP mode (Use with SX1301/LG308) === 1242 1242 1243 1243 If device has not joined network yet: 1244 1244 1245 -* (% style="color:#037691" %)**AT+FDR** 1246 -* (% style="color:#037691" %)**AT+NJM=0** 1247 -* (% style="color:#037691" %)**ATZ** 1238 +(% class="box infomessage" %) 1239 +((( 1240 +**AT+FDR** 1241 +))) 1248 1248 1243 +(% class="box infomessage" %) 1249 1249 ((( 1250 - 1245 +**AT+NJM=0** 1246 +))) 1251 1251 1248 +(% class="box infomessage" %) 1249 +((( 1250 +**ATZ** 1251 +))) 1252 + 1253 + 1254 +((( 1252 1252 If device already joined network: 1256 +))) 1253 1253 1254 -* (% style="color:#037691" %)**AT+NJM=0** 1255 -* (% style="color:#037691" %)**ATZ** 1258 +(% class="box infomessage" %) 1259 +((( 1260 +**AT+NJM=0** 1261 +))) 1256 1256 1257 - 1263 +(% class="box infomessage" %) 1264 +((( 1265 +**ATZ** 1258 1258 ))) 1259 1259 1260 1260 ... ... @@ -1261,25 +1261,25 @@ 1261 1261 === 5.5.2 Single-channel ABP mode (Use with LG01/LG02) === 1262 1262 1263 1263 1264 -(% style="background-color:#dcdcdc" %)**AT+FDR** (%%) 1272 +(% style="background-color:#dcdcdc" %)**AT+FDR** (%%) Reset Parameters to Factory Default, Keys Reserve 1265 1265 1266 -(% style="background-color:#dcdcdc" %)**AT+NJM=0 **(%%) 1274 +(% style="background-color:#dcdcdc" %)**AT+NJM=0 **(%%)Set to ABP mode 1267 1267 1268 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) 1276 +(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%)Set the Adaptive Data Rate Off 1269 1269 1270 -(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) 1278 +(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%)Set Data Rate 1271 1271 1272 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000** (%%) 1280 +(% style="background-color:#dcdcdc" %)**AT+TDC=60000** (%%) Set transmit interval to 60 seconds 1273 1273 1274 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) 1282 +(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) Set transmit frequency to 868.4Mhz 1275 1275 1276 -(% style="background-color:#dcdcdc" %)**AT+RX2FQ=868400000** (%%) 1284 +(% style="background-color:#dcdcdc" %)**AT+RX2FQ=868400000** (%%) Set RX2Frequency to 868.4Mhz (according to the result from server) 1277 1277 1278 -(% style="background-color:#dcdcdc" %)**AT+RX2DR=5** (%%) 1286 +(% style="background-color:#dcdcdc" %)**AT+RX2DR=5** (%%) Set RX2DR to match the downlink DR from server. see below 1279 1279 1280 -(% style="background-color:#dcdcdc" %)**AT+DADDR=26** (%%) 1288 +(% 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. 1281 1281 1282 -(% style="background-color:#dcdcdc" %)**ATZ** (%%) 1290 +(% style="background-color:#dcdcdc" %)**ATZ** (%%) Reset MCU 1283 1283 1284 1284 1285 1285 (% style="color:red" %)**Note:** ... ... @@ -1319,15 +1319,15 @@ 1319 1319 (% aria-label="1654162535040-878.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654162535040-878.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 1320 1320 1321 1321 ((( 1322 - (% style="color:blue" %)**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]].1330 +**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]]. 1323 1323 ))) 1324 1324 1325 1325 ((( 1326 - (% style="color:blue" %)**Step2**(%%)**:**Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].1334 +**Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]. 1327 1327 ))) 1328 1328 1329 1329 ((( 1330 - (% style="color:blue" %)**Step3**(%%)**: **Open flashloader; choose the correct COM port to update.1338 +**Step3: **Open flashloader; choose the correct COM port to update. 1331 1331 ))) 1332 1332 1333 1333 ((( ... ... @@ -1348,7 +1348,7 @@ 1348 1348 (% aria-label="image-20220602175912-14.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602175912-14.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 1349 1349 1350 1350 1351 - (% style="color:red" %)**Notice**: In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is:1359 +**Notice**: In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is: 1352 1352 1353 1353 (% aria-label="image-20220602175638-10.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602175638-10.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 1354 1354 ... ... @@ -1370,24 +1370,14 @@ 1370 1370 Detail info check this link: [[Set Packet Receiving Response Level>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H7.23SetPacketReceivingResponseLevel"]] 1371 1371 1372 1372 1373 -== 6.5 Can i use point to point communication for RS485-LN? == 1374 - 1375 -Yes, please refer [[Point to Point Communication for RS485-LN>>Point to Point Communication for RS485-LN]]. 1376 - 1377 - 1378 -== 6.6 How to Use RS485-BL to connect to RS232 devices? == 1379 - 1380 -[[Use RS485-BL or RS485-LN to connect to RS232 devices. - DRAGINO>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/RS485%20to%20RS232/]] 1381 - 1382 - 1383 1383 = 7. Trouble Shooting = 1384 1384 1385 -== 7.1 Downlink doesn 't work, how to solve it? ==1383 +== 7.1 Downlink doesn’t work, how to solve it? == 1386 1386 1387 1387 Please see this link for debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome]] 1388 1388 1389 1389 1390 -== 7.2 Why I can 't join TTN V3 in US915 /AU915 bands? ==1388 +== 7.2 Why I can’t join TTN V3 in US915 /AU915 bands? == 1391 1391 1392 1392 It might about the channels mapping. Please see for detail: [[Notice of Frequency band>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]] 1393 1393 ... ... @@ -1398,19 +1398,17 @@ 1398 1398 1399 1399 (% style="color:blue" %)**XXX:** 1400 1400 1401 -* (% style="color: red" %)**EU433**(%%):1402 -* (% style="color: red" %)**EU868**(%%):1403 -* (% style="color: red" %)**KR920**(%%):1404 -* (% style="color: red" %)**CN470**(%%):1405 -* (% style="color: red" %)**AS923**(%%):1406 -* (% style="color: red" %)**AU915**(%%):1407 -* (% style="color: red" %)**US915**(%%):1408 -* (% style="color: red" %)**IN865**(%%):1409 -* (% style="color: red" %)**RU864**(%%):1410 -* (% style="color: red" %)**KZ865**(%%):1399 +* (% style="color:blue" %)**EU433**(%%): frequency bands EU433 1400 +* (% style="color:blue" %)**EU868**(%%): frequency bands EU868 1401 +* (% style="color:blue" %)**KR920**(%%): frequency bands KR920 1402 +* (% style="color:blue" %)**CN470**(%%): frequency bands CN470 1403 +* (% style="color:blue" %)**AS923**(%%): frequency bands AS923 1404 +* (% style="color:blue" %)**AU915**(%%): frequency bands AU915 1405 +* (% style="color:blue" %)**US915**(%%): frequency bands US915 1406 +* (% style="color:blue" %)**IN865**(%%): frequency bands IN865 1407 +* (% style="color:blue" %)**RU864**(%%): frequency bands RU864 1408 +* (% style="color:blue" %)**KZ865**(%%): frequency bands KZ865 1411 1411 1412 - 1413 - 1414 1414 = 9.Packing Info = 1415 1415 1416 1416 ... ... @@ -1427,8 +1427,6 @@ 1427 1427 * Package Size / pcs : 14.5 x 8 x 5 cm 1428 1428 * Weight / pcs : 170g 1429 1429 1430 - 1431 - 1432 1432 = 10. FCC Caution for RS485LN-US915 = 1433 1433 1434 1434 ((( ... ... @@ -1444,7 +1444,7 @@ 1444 1444 ))) 1445 1445 1446 1446 ((( 1447 - (% style="color:red" %)**IMPORTANT NOTE:**1441 +**IMPORTANT NOTE:** 1448 1448 ))) 1449 1449 1450 1450 ((( ... ... @@ -1472,7 +1472,7 @@ 1472 1472 ))) 1473 1473 1474 1474 ((( 1475 - (% style="color:red" %)**FCC Radiation Exposure Statement:**1469 +**FCC Radiation Exposure Statement:** 1476 1476 ))) 1477 1477 1478 1478 ((( ... ... @@ -1480,7 +1480,6 @@ 1480 1480 ))) 1481 1481 1482 1482 1483 - 1484 1484 = 11. Support = 1485 1485 1486 1486 * (((