<
From version < 66.1 >
edited by Bei Jinggeng
on 2022/07/08 16:50
To version < 61.27 >
edited by Xiaoling
on 2022/06/14 11:56
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +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/}}
... ... @@ -340,6 +340,7 @@
340 340  
341 341  
342 342  
338 +
343 343  === 3.3.2 Configure sensors ===
344 344  
345 345  (((
... ... @@ -366,6 +366,7 @@
366 366  
367 367  
368 368  
365 +
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" %)​
577 +(% 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**(%%) ====
587 +==== (% 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.
... ... @@ -719,7 +719,7 @@
719 719  * (((
720 720  (% style="color:#037691" %)**AT Command:**
721 721  
722 -**AT+PAYVER:    **Set PAYVER field = 1
718 +**AT+PAYVER:  **Set PAYVER field = 1
723 723  
724 724  
725 725  )))
... ... @@ -756,9 +756,9 @@
756 756  (% style="color:#037691" %)**AT Command:**
757 757  )))
758 758  
759 -**AT+COMMANDx:    **Configure RS485 read command to sensor.
755 +**AT+COMMANDx:  **Configure RS485 read command to sensor.
760 760  
761 -**AT+DATACUTx:        **Configure how to handle return from RS485 devices.
757 +**AT+DATACUTx:  **Configure how to handle return from RS485 devices.
762 762  
763 763  
764 764  * (((
... ... @@ -821,7 +821,7 @@
821 821  ==== (% style="color:blue" %)**Fast command to handle MODBUS device**(%%) ====
822 822  
823 823  (((
824 -**AT+MBFUN** is valid since v1.3 firmware version. The command is for fast configure to read Modbus devices. It is only valid for the devices which follow the [[MODBUS-RTU protocol>>url:https://www.modbustools.com/modbus.html]].
820 +AT+MBFUN is valid since v1.3 firmware version. The command is for fast configure to read Modbus devices. It is only valid for the devices which follow the [[MODBUS-RTU protocol>>url:https://www.modbustools.com/modbus.html]].
825 825  )))
826 826  
827 827  (((
... ... @@ -871,13 +871,16 @@
871 871  
872 872  * (((
873 873  (% style="color:#037691" %)** AT Command:**
870 +)))
874 874  
872 +(% class="box infomessage" %)
873 +(((
874 +(((
875 875  **AT+CMDDLaa=hex(bb cc)*1000**
876 876  )))
877 +)))
877 877  
878 878  (((
879 -
880 -
881 881  **Example:**
882 882  )))
883 883  
... ... @@ -902,11 +902,11 @@
902 902  )))
903 903  
904 904  (((
905 -**Example:**
904 + **Example:**
906 906  )))
907 907  
908 908  (((
909 -**0xAA 01 00 01**  ~-~-> Same as  **AT+CMDDL1=1000 ms**
908 + 0xAA 01 00 01  ~-~-> Same as **AT+CMDDL1=1000 ms**
910 910  )))
911 911  
912 912  
... ... @@ -920,8 +920,6 @@
920 920  
921 921  (((
922 922  The use of this command please see: [[Compose Uplink payload>>||anchor="H3.3.4Composetheuplinkpayload"]]
923 -
924 -
925 925  )))
926 926  
927 927  * (((
... ... @@ -981,8 +981,6 @@
981 981  
982 982  (((
983 983  The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them.
984 -
985 -
986 986  )))
987 987  
988 988  * (((
... ... @@ -1034,35 +1034,35 @@
1034 1034  )))
1035 1035  
1036 1036  (((
1037 -
1038 -
1039 -* Set Baud Rate
1032 +Set Baud Rate:
1040 1040  )))
1041 1041  
1035 +
1042 1042  **AT+BAUDR=9600**    ~/~/ Options: (1200,2400,4800,14400,19200,115200)
1043 1043  
1044 1044  
1045 1045  (((
1046 -* Set UART Parity
1040 +Set UART Parity
1047 1047  )))
1048 1048  
1043 +
1049 1049  **AT+PARITY=0**    ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity
1050 1050  
1051 1051  
1052 1052  (((
1053 -* Set STOPBIT
1048 +Set STOPBIT
1054 1054  )))
1055 1055  
1051 +
1056 1056  **AT+STOPBIT=0**    ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits
1057 1057  
1058 1058  
1059 -
1060 1060  * (((
1061 1061  (% style="color:#037691" %)** Downlink Payload:**
1062 1062  )))
1063 1063  
1064 1064  (((
1065 -**A7 01 aa bb**:  Same  AT+BAUDR=hex(aa bb)*100
1060 +**A7 01 aa bb**: Same  AT+BAUDR=hex(aa bb)*100
1066 1066  )))
1067 1067  
1068 1068  (((
... ... @@ -1077,11 +1077,11 @@
1077 1077  )))
1078 1078  
1079 1079  (((
1080 -A7 02 aa:  Same as  AT+PARITY=aa  (aa value: 00 , 01 or 02)
1075 +A7 02 aa: Same as  AT+PARITY=aa  (aa value: 00 , 01 or 02)
1081 1081  )))
1082 1082  
1083 1083  (((
1084 -A7 03 aa:  Same as  AT+STOPBIT=aa  (aa value: 00 , 01 or 02)
1079 +A7 03 aa: Same as  AT+STOPBIT=aa  (aa value: 00 , 01 or 02)
1085 1085  )))
1086 1086  
1087 1087  
... ... @@ -1135,7 +1135,7 @@
1135 1135  )))
1136 1136  
1137 1137  (((
1138 -(% style="color:#037691" %)** Downlink Command:**
1133 +**Downlink Command:**
1139 1139  )))
1140 1140  
1141 1141  (((
... ... @@ -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**
1235 +(% class="box infomessage" %)
1236 +(((
1237 +**AT+FDR**
1238 +)))
1248 1248  
1240 +(% class="box infomessage" %)
1249 1249  (((
1250 -
1242 +**AT+NJM=0**
1243 +)))
1251 1251  
1245 +(% class="box infomessage" %)
1246 +(((
1247 +**ATZ**
1248 +)))
1249 +
1250 +
1251 +(((
1252 1252  If device already joined network:
1253 +)))
1253 1253  
1254 -* (% style="color:#037691" %)**AT+NJM=0**
1255 -* (% style="color:#037691" %)**ATZ**
1255 +(% class="box infomessage" %)
1256 +(((
1257 +**AT+NJM=0**
1258 +)))
1256 1256  
1257 -
1260 +(% class="box infomessage" %)
1261 +(((
1262 +**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** (%%) Reset Parameters to Factory Default, Keys Reserve
1269 +(% style="background-color:#dcdcdc" %)**AT+FDR** (%%) Reset Parameters to Factory Default, Keys Reserve
1265 1265  
1266 -(% style="background-color:#dcdcdc" %)**AT+NJM=0 **(%%) Set to ABP mode
1271 +(% style="background-color:#dcdcdc" %)**AT+NJM=0 **(%%)Set to ABP mode
1267 1267  
1268 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) Set the Adaptive Data Rate Off
1273 +(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%)Set the Adaptive Data Rate Off
1269 1269  
1270 -(% style="background-color:#dcdcdc" %)**AT+DR=5**   (%%) Set Data Rate
1275 +(% style="background-color:#dcdcdc" %)**AT+DR=5**   (%%)Set Data Rate
1271 1271  
1272 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000** (%%) Set transmit interval to 60 seconds
1277 +(% style="background-color:#dcdcdc" %)**AT+TDC=60000** (%%) Set transmit interval to 60 seconds
1273 1273  
1274 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%)  Set transmit frequency to 868.4Mhz
1279 +(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) Set transmit frequency to 868.4Mhz
1275 1275  
1276 -(% style="background-color:#dcdcdc" %)**AT+RX2FQ=868400000** (%%) Set RX2Frequency to 868.4Mhz (according to the result from server)
1281 +(% 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**  (%%) Set RX2DR to match the downlink DR from server. see below
1283 +(% 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** (%%) 01 1A F1 Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.
1285 +(% 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**       (%%) Reset MCU
1287 +(% 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]].
1327 +**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/]].
1331 +**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.
1335 +**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:
1356 +**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? ==
1380 +== 7.1 Downlink doesnt 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? ==
1385 +== 7.2 Why I cant 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**(%%):  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
1396 +* (% style="color:blue" %)**EU433**(%%): frequency bands EU433
1397 +* (% style="color:blue" %)**EU868**(%%): frequency bands EU868
1398 +* (% style="color:blue" %)**KR920**(%%): frequency bands KR920
1399 +* (% style="color:blue" %)**CN470**(%%): frequency bands CN470
1400 +* (% style="color:blue" %)**AS923**(%%): frequency bands AS923
1401 +* (% style="color:blue" %)**AU915**(%%): frequency bands AU915
1402 +* (% style="color:blue" %)**US915**(%%): frequency bands US915
1403 +* (% style="color:blue" %)**IN865**(%%): frequency bands IN865
1404 +* (% style="color:blue" %)**RU864**(%%): frequency bands RU864
1405 +* (% 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:**
1438 +**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:**
1466 +**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  * (((
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0