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. Xiaoling1 +XWiki.Bei - Content
-
... ... @@ -12,6 +12,11 @@ 12 12 13 13 14 14 15 + 16 + 17 + 18 + 19 + 15 15 **Table of Contents:** 16 16 17 17 {{toc/}} ... ... @@ -108,8 +108,6 @@ 108 108 109 109 110 110 111 - 112 - 113 113 == 1.3 Features == 114 114 115 115 * LoRaWAN Class A & Class C protocol (default Class C) ... ... @@ -123,8 +123,6 @@ 123 123 124 124 125 125 126 - 127 - 128 128 == 1.4 Applications == 129 129 130 130 * Smart Buildings & Home Automation ... ... @@ -136,8 +136,6 @@ 136 136 137 137 138 138 139 - 140 - 141 141 == 1.5 Firmware Change log == 142 142 143 143 [[RS485-LN Image files – Download link and Change log>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/]] ... ... @@ -340,6 +340,7 @@ 340 340 ))) 341 341 342 342 342 + 343 343 === 3.3.2 Configure sensors === 344 344 345 345 ((( ... ... @@ -365,6 +365,7 @@ 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 + 368 368 === 3.3.3 Configure read commands for each sampling === 369 369 370 370 ((( ... ... @@ -576,17 +576,18 @@ 576 576 577 577 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. 578 578 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 tomove" width="15"]](% title="Click and drag to resize" %)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" %) 580 580 581 581 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) 582 582 583 583 585 + 584 584 === 3.5.3 Sensor related commands === 585 585 586 586 587 587 588 588 589 -==== (% style="color: #037691" %)**RS485 Debug Command**(%%) ====591 +==== (% style="color:blue" %)**RS485 Debug Command**(%%) ==== 590 590 591 591 ((( 592 592 This command is used to configure the RS485 devices; they won’t be used during sampling. ... ... @@ -1192,6 +1192,8 @@ 1192 1192 |(% style="width:50px" %)**RST**|(% style="width:361px" %)Reboot RS485 1193 1193 |(% style="width:50px" %)**PRO**|(% style="width:361px" %)Use for upload image, see [[How to Update Image>>||anchor="H6.1Howtoupgradetheimage3F"]] 1194 1194 1197 + 1198 + 1195 1195 == 3.8 LEDs == 1196 1196 1197 1197 ... ... @@ -1200,6 +1200,8 @@ 1200 1200 |**PWR**|Always on if there is power 1201 1201 |**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. 1202 1202 1207 + 1208 + 1203 1203 = 4. Case Study = 1204 1204 1205 1205 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]] ... ... @@ -1231,20 +1231,22 @@ 1231 1231 1232 1232 == 5.2 Common AT Command Sequence == 1233 1233 1240 + 1234 1234 === 5.2.1 Multi-channel ABP mode (Use with SX1301/LG308) === 1235 1235 1236 1236 If device has not joined network yet: 1237 1237 1238 -* **(% style="color:#037691" %)AT+FDR**1239 -* **(% style="color:#037691" %)AT+NJM=0**1240 -* **(% style="color:#037691" %)ATZ**1245 +* (% style="color:#037691" %)**AT+FDR** 1246 +* (% style="color:#037691" %)**AT+NJM=0** 1247 +* (% style="color:#037691" %)**ATZ** 1241 1241 1242 - 1243 1243 ((( 1250 + 1251 + 1244 1244 If device already joined network: 1245 1245 1246 -* **(% style="color:#037691" %)AT+NJM=0**1247 -* **(% style="color:#037691" %)ATZ**1254 +* (% style="color:#037691" %)**AT+NJM=0** 1255 +* (% style="color:#037691" %)**ATZ** 1248 1248 1249 1249 1250 1250 ))) ... ... @@ -1253,25 +1253,25 @@ 1253 1253 === 5.5.2 Single-channel ABP mode (Use with LG01/LG02) === 1254 1254 1255 1255 1256 -(% style="background-color:#dcdcdc" %)**AT+FDR** (%%) Reset Parameters to Factory Default, Keys Reserve 1264 +(% style="background-color:#dcdcdc" %)**AT+FDR** (%%) Reset Parameters to Factory Default, Keys Reserve 1257 1257 1258 -(% style="background-color:#dcdcdc" %)**AT+NJM=0 **(%%)Set to ABP mode 1266 +(% style="background-color:#dcdcdc" %)**AT+NJM=0 **(%%) Set to ABP mode 1259 1259 1260 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%)Set the Adaptive Data Rate Off 1268 +(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) Set the Adaptive Data Rate Off 1261 1261 1262 -(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%)Set Data Rate 1270 +(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) Set Data Rate 1263 1263 1264 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000** (%%) Set transmit interval to 60 seconds 1272 +(% style="background-color:#dcdcdc" %)**AT+TDC=60000** (%%) Set transmit interval to 60 seconds 1265 1265 1266 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) Set transmit frequency to 868.4Mhz 1274 +(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) Set transmit frequency to 868.4Mhz 1267 1267 1268 -(% style="background-color:#dcdcdc" %)**AT+RX2FQ=868400000** (%%) Set RX2Frequency to 868.4Mhz (according to the result from server) 1276 +(% style="background-color:#dcdcdc" %)**AT+RX2FQ=868400000** (%%) Set RX2Frequency to 868.4Mhz (according to the result from server) 1269 1269 1270 -(% style="background-color:#dcdcdc" %)**AT+RX2DR=5** (%%) Set RX2DR to match the downlink DR from server. see below 1278 +(% style="background-color:#dcdcdc" %)**AT+RX2DR=5** (%%) Set RX2DR to match the downlink DR from server. see below 1271 1271 1272 -(% 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. 1280 +(% 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. 1273 1273 1274 -(% style="background-color:#dcdcdc" %)**ATZ** (%%) Reset MCU 1282 +(% style="background-color:#dcdcdc" %)**ATZ** (%%) Reset MCU 1275 1275 1276 1276 1277 1277 (% style="color:red" %)**Note:** ... ... @@ -1311,15 +1311,15 @@ 1311 1311 (% 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" %) 1312 1312 1313 1313 ((( 1314 -**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]]. 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]]. 1315 1315 ))) 1316 1316 1317 1317 ((( 1318 -**Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]. 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/]]. 1319 1319 ))) 1320 1320 1321 1321 ((( 1322 -**Step3: **Open flashloader; choose the correct COM port to update. 1330 +(% style="color:blue" %)**Step3**(%%)**: **Open flashloader; choose the correct COM port to update. 1323 1323 ))) 1324 1324 1325 1325 ((( ... ... @@ -1340,7 +1340,7 @@ 1340 1340 (% 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" %) 1341 1341 1342 1342 1343 -**Notice**: In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is: 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: 1344 1344 1345 1345 (% 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" %) 1346 1346 ... ... @@ -1362,14 +1362,24 @@ 1362 1362 Detail info check this link: [[Set Packet Receiving Response Level>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H7.23SetPacketReceivingResponseLevel"]] 1363 1363 1364 1364 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 + 1365 1365 = 7. Trouble Shooting = 1366 1366 1367 -== 7.1 Downlink doesn ’t work, how to solve it? ==1385 +== 7.1 Downlink doesn't work, how to solve it? == 1368 1368 1369 1369 Please see this link for debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome]] 1370 1370 1371 1371 1372 -== 7.2 Why I can ’t join TTN V3 in US915 /AU915 bands? ==1390 +== 7.2 Why I can't join TTN V3 in US915 /AU915 bands? == 1373 1373 1374 1374 It might about the channels mapping. Please see for detail: [[Notice of Frequency band>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]] 1375 1375 ... ... @@ -1380,21 +1380,19 @@ 1380 1380 1381 1381 (% style="color:blue" %)**XXX:** 1382 1382 1383 -* (% style="color: blue" %)**EU433**(%%): frequency bands EU4331384 -* (% style="color: blue" %)**EU868**(%%): frequency bands EU8681385 -* (% style="color: blue" %)**KR920**(%%): frequency bands KR9201386 -* (% style="color: blue" %)**CN470**(%%): frequency bands CN4701387 -* (% style="color: blue" %)**AS923**(%%): frequency bands AS9231388 -* (% style="color: blue" %)**AU915**(%%): frequency bands AU9151389 -* (% style="color: blue" %)**US915**(%%): frequency bands US9151390 -* (% style="color: blue" %)**IN865**(%%): frequency bands IN8651391 -* (% style="color: blue" %)**RU864**(%%): frequency bands RU8641392 -* (% style="color: blue" %)**KZ865**(%%): frequency bands KZ8651401 +* (% style="color:red" %)**EU433**(%%): frequency bands EU433 1402 +* (% style="color:red" %)**EU868**(%%): frequency bands EU868 1403 +* (% style="color:red" %)**KR920**(%%): frequency bands KR920 1404 +* (% style="color:red" %)**CN470**(%%): frequency bands CN470 1405 +* (% style="color:red" %)**AS923**(%%): frequency bands AS923 1406 +* (% style="color:red" %)**AU915**(%%): frequency bands AU915 1407 +* (% style="color:red" %)**US915**(%%): frequency bands US915 1408 +* (% style="color:red" %)**IN865**(%%): frequency bands IN865 1409 +* (% style="color:red" %)**RU864**(%%): frequency bands RU864 1410 +* (% style="color:red" %)**KZ865**(%%): frequency bands KZ865 1393 1393 1394 1394 1395 1395 1396 - 1397 - 1398 1398 = 9.Packing Info = 1399 1399 1400 1400 ... ... @@ -1413,8 +1413,6 @@ 1413 1413 1414 1414 1415 1415 1416 - 1417 - 1418 1418 = 10. FCC Caution for RS485LN-US915 = 1419 1419 1420 1420 ((( ... ... @@ -1430,7 +1430,7 @@ 1430 1430 ))) 1431 1431 1432 1432 ((( 1433 -**IMPORTANT NOTE:** 1447 +(% style="color:red" %)**IMPORTANT NOTE:** 1434 1434 ))) 1435 1435 1436 1436 ((( ... ... @@ -1458,7 +1458,7 @@ 1458 1458 ))) 1459 1459 1460 1460 ((( 1461 -**FCC Radiation Exposure Statement:** 1475 +(% style="color:red" %)**FCC Radiation Exposure Statement:** 1462 1462 ))) 1463 1463 1464 1464 ((( ... ... @@ -1466,6 +1466,7 @@ 1466 1466 ))) 1467 1467 1468 1468 1483 + 1469 1469 = 11. Support = 1470 1470 1471 1471 * (((