Changes for page RS485-LN – RS485 to LoRaWAN Converter User Manual
Last modified by Bei Jinggeng on 2025/01/16 11:36
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -80,11 +80,13 @@ 80 80 ** Idle: 32mA@12v 81 81 ** 20dB Transmit: 65mA@12v 82 82 83 + 83 83 **Interface for Model:** 84 84 85 85 * RS485 86 86 * Power Input 7~~ 24V DC. 87 87 89 + 88 88 **LoRa Spec:** 89 89 90 90 * Frequency Range: ... ... @@ -109,7 +109,6 @@ 109 109 110 110 111 111 112 - 113 113 == 1.3 Features == 114 114 115 115 * LoRaWAN Class A & Class C protocol (default Class C) ... ... @@ -124,7 +124,6 @@ 124 124 125 125 126 126 127 - 128 128 == 1.4 Applications == 129 129 130 130 * Smart Buildings & Home Automation ... ... @@ -137,7 +137,6 @@ 137 137 138 138 139 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/]] ... ... @@ -586,7 +586,7 @@ 586 586 587 587 588 588 589 -==== (% style="color:#037691" %) **RS485 Debug Command**(%%) ====588 +==== **(% style="color:#037691" %)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. ... ... @@ -593,15 +593,15 @@ 593 593 ))) 594 594 595 595 * ((( 596 -(% style="color:#037691" %) **AT Command**595 +**(% style="color:#037691" %)AT Command** 597 597 598 -((( 599 -**AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m** m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command 597 +**AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m** 598 + 599 + 600 600 ))) 601 -))) 602 602 603 603 ((( 604 - 603 +m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command 605 605 ))) 606 606 607 607 * ((( ... ... @@ -642,9 +642,7 @@ 642 642 ))) 643 643 644 644 ((( 645 - 646 - 647 -**Example 1** ~-~-> Configure without ask for uplink (YY=0) 644 +**Example 1** ~-~-> Configure without ask for uplink (YY=0) 648 648 ))) 649 649 650 650 ((( ... ... @@ -660,8 +660,6 @@ 660 660 ))) 661 661 662 662 ((( 663 - 664 - 665 665 So if user want to use downlink command to control to RS485 Alarm, he can use: 666 666 ))) 667 667 ... ... @@ -682,7 +682,7 @@ 682 682 ))) 683 683 684 684 ((( 685 -**Example 2** 680 +**Example 2** ~-~-> Configure with requesting uplink and original downlink command (**YY=FF**) 686 686 ))) 687 687 688 688 ((( ... ... @@ -694,11 +694,11 @@ 694 694 ))) 695 695 696 696 ((( 697 -((( 698 -RS485-LN got this downlink command and send (% style="color:#4f81bd" %)**0A 08 00 04 00 01 **(%%)to Modbus network. One of the RS485 sensor in the network send back Modbus reply **0A 08 00 04 00 00**. RS485-LN get this reply and combine with the original downlink command and uplink. The uplink message is: **A8** (% style="color:#4f81bd" %)**0A 08 00 04 00 **(% style="color:red" %)**01 06** ** **(% style="color:green" %)**0A 08 00 04 00 00** 692 +RS485-LN got this downlink command and send (% style="color:#4f81bd" %)**0A 08 00 04 00 01 **(%%)to Modbus network. One of the RS485 sensor in the network send back Modbus reply **0A 08 00 04 00 00**. RS485-LN get this reply and combine with the original downlink command and uplink. The uplink message is: 699 699 ))) 700 700 701 - 695 +((( 696 + **A8** (% style="color:#4f81bd" %)**0A 08 00 04 00 **(% style="color:red" %)**01 06** ** **(% style="color:green" %)**0A 08 00 04 00 00** 702 702 ))) 703 703 704 704 ((( ... ... @@ -708,7 +708,7 @@ 708 708 709 709 710 710 711 -==== (% style="color:blue" %) **Set Payload version**(%%)====706 +==== **(% style="color:blue" %)Set Payload version** ==== 712 712 713 713 ((( 714 714 This is the first byte of the uplink payload. RS485-LN can connect to different sensors. User can set the PAYVER field to tell server how to decode the current payload. ... ... @@ -715,28 +715,32 @@ 715 715 ))) 716 716 717 717 * ((( 718 -(% style="color:#037691" %)**AT Command:** 713 +**(% style="color:#037691" %)AT Command:** 714 +))) 719 719 720 -**AT+PAYVER: **Set PAYVER field = 1 721 - 722 - 716 +(% class="box infomessage" %) 717 +((( 718 +((( 719 +**AT+PAYVER: Set PAYVER field = 1** 723 723 ))) 721 +))) 722 + 724 724 * ((( 725 -(% style="color:#037691" %) **Downlink Payload:**724 +**(% style="color:#037691" %)Downlink Payload:** 726 726 ))) 727 727 728 728 ((( 729 -**0xAE 01** ~-~-> 728 +**0xAE 01** ~-~-> Set PAYVER field = 0x01 730 730 ))) 731 731 732 732 ((( 733 -**0xAE 0F** ~-~-> 732 +**0xAE 0F** ~-~-> Set PAYVER field = 0x0F 734 734 ))) 735 735 736 736 737 737 738 738 739 -==== (% style="color:blue" %) **Set RS485 Sampling Commands**(%%)====738 +==== **(% style="color:blue" %)Set RS485 Sampling Commands** ==== 740 740 741 741 ((( 742 742 AT+COMMANDx or AT+DATACUTx ... ... @@ -751,16 +751,18 @@ 751 751 ))) 752 752 753 753 * ((( 754 -(% style="color:#037691" %) **AT Command:**753 +**(% style="color:#037691" %)AT Command:** 755 755 ))) 756 756 757 -**AT+COMMANDx: **Configure RS485 read command to sensor. 758 758 759 -**AT+ DATACUTx:**Configurehowtohandlereturn fromRS485 devices.757 +**AT+COMMANDx: Configure RS485 read command to sensor.** 760 760 761 761 760 +**AT+DATACUTx: Configure how to handle return from RS485 devices.** 761 + 762 + 762 762 * ((( 763 -(% style="color:#037691" %) **Downlink Payload:**764 +**(% style="color:#037691" %)Downlink Payload:** 764 764 ))) 765 765 766 766 ((( ... ... @@ -796,8 +796,6 @@ 796 796 ))) 797 797 798 798 ((( 799 - 800 - 801 801 **Example:** 802 802 ))) 803 803 ... ... @@ -816,10 +816,10 @@ 816 816 817 817 818 818 819 -==== (% style="color:blue" %) **Fast command to handle MODBUS device**(%%)====818 +==== **(% style="color:blue" %)Fast command to handle MODBUS device** ==== 820 820 821 821 ((( 822 - **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]].821 +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]]. 823 823 ))) 824 824 825 825 ((( ... ... @@ -839,25 +839,23 @@ 839 839 ))) 840 840 841 841 * ((( 842 -AT+MBFUN=1 and AT+DATACUT1/AT+DATACUT2 841 +AT+MBFUN=1 and AT+DATACUT1/AT+DATACUT2 are not configure (0,0,0). So RS485-LN. 843 843 ))) 844 844 * ((( 845 -AT+COMMAND1= 01 03 00 10 00 08,1 844 +AT+COMMAND1= 01 03 00 10 00 08,1 ~-~-> read slave address 01 , function code 03, start address 00 01, quantity of registers 00 08. 846 846 ))) 847 847 * ((( 848 -AT+COMMAND2= 01 02 00 40 00 10,1 ~-~-> read slave address 01 , function code 02, start address 00 40, quantity of inputs 00 10. 849 - 850 - 847 +AT+COMMAND2= 01 02 00 40 00 10,1 ~-~-> read slave address 01 , function code 02, start address 00 40, quantity of inputs 00 10. 851 851 ))) 852 852 853 -(% aria-label="image-20220602165351-6.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602165351-6.png||data-widget="image"]](% title="Click and drag to resize" %) 850 +(% aria-label="image-20220602165351-6.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602165351-6.png||data-widget="image"]](% 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" %) 854 854 855 -(% aria-label="image-20220602165351-7.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602165351-7.png||data-widget="image"]](% title="Click and drag to resize" %) 852 +(% aria-label="image-20220602165351-7.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602165351-7.png||data-widget="image"]](% 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" %) 856 856 857 857 858 858 859 859 860 -==== (% style="color:blue" %) **RS485 command timeout**(%%)====857 +==== **(% style="color:blue" %)RS485 command timeout** ==== 861 861 862 862 ((( 863 863 Some Modbus device has slow action to send replies. This command is used to configure the RS485-LN to use longer time to wait for their action. ... ... @@ -868,14 +868,17 @@ 868 868 ))) 869 869 870 870 * ((( 871 -(% style="color:#037691" %)** AT Command:** 868 +**AT Command:** 869 +))) 872 872 871 +(% class="box infomessage" %) 872 +((( 873 +((( 873 873 **AT+CMDDLaa=hex(bb cc)*1000** 874 874 ))) 876 +))) 875 875 876 876 ((( 877 - 878 - 879 879 **Example:** 880 880 ))) 881 881 ... ... @@ -888,7 +888,7 @@ 888 888 ))) 889 889 890 890 * ((( 891 - (% style="color:#037691" %)**891 +**Downlink Payload:** 892 892 ))) 893 893 894 894 ((( ... ... @@ -900,17 +900,17 @@ 900 900 ))) 901 901 902 902 ((( 903 -**Example:** 903 + **Example:** 904 904 ))) 905 905 906 906 ((( 907 - **0xAA 01 00 01**907 + 0xAA 01 00 01 ~-~-> Same as **AT+CMDDL1=1000 ms** 908 908 ))) 909 909 910 910 911 911 912 912 913 -==== (% style="color:blue" %) **Uplink payload mode**(%%)====913 +==== **(% style="color:blue" %)Uplink payload mode** ==== 914 914 915 915 ((( 916 916 Define to use one uplink or multiple uplinks for the sampling. ... ... @@ -918,21 +918,32 @@ 918 918 919 919 ((( 920 920 The use of this command please see: [[Compose Uplink payload>>||anchor="H3.3.4Composetheuplinkpayload"]] 921 - 922 - 923 923 ))) 924 924 925 925 * ((( 926 - (% style="color:#037691" %)**924 +**AT Command:** 927 927 ))) 928 928 927 +(% class="box infomessage" %) 928 +((( 929 +((( 929 929 **AT+DATAUP=0** 931 +))) 932 +))) 930 930 934 +(% class="box infomessage" %) 935 +((( 936 +((( 931 931 **AT+DATAUP=1** 938 +))) 939 +))) 932 932 941 +((( 942 + 943 +))) 933 933 934 934 * ((( 935 - (% style="color:#037691" %)**946 +**Downlink Payload:** 936 936 ))) 937 937 938 938 ((( ... ... @@ -946,7 +946,7 @@ 946 946 947 947 948 948 949 -==== (% style="color:blue" %) **Manually trigger an Uplink**(%%)====960 +==== **(% style="color:blue" %)Manually trigger an Uplink** ==== 950 950 951 951 ((( 952 952 Ask device to send an uplink immediately. ... ... @@ -953,7 +953,7 @@ 953 953 ))) 954 954 955 955 * ((( 956 - (% style="color:#037691" %)**967 +**AT Command:** 957 957 ))) 958 958 959 959 ((( ... ... @@ -965,7 +965,7 @@ 965 965 ))) 966 966 967 967 * ((( 968 - (% style="color:#037691" %)**979 +**Downlink Payload:** 969 969 ))) 970 970 971 971 ((( ... ... @@ -975,16 +975,14 @@ 975 975 976 976 977 977 978 -==== (% style="color:blue" %)**Clear RS485 Command**(%%)====989 +==== **Clear RS485 Command** ==== 979 979 980 980 ((( 981 981 The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them. 982 - 983 - 984 984 ))) 985 985 986 986 * ((( 987 - (% style="color:#037691" %)**996 +**AT Command:** 988 988 ))) 989 989 990 990 ((( ... ... @@ -1011,7 +1011,7 @@ 1011 1011 1012 1012 1013 1013 * ((( 1014 - (% style="color:#037691" %)**1023 +**Downlink Payload:** 1015 1015 ))) 1016 1016 1017 1017 ((( ... ... @@ -1021,7 +1021,7 @@ 1021 1021 1022 1022 1023 1023 1024 -==== (% style="color:blue" %)**Set Serial Communication Parameters**(%%)====1033 +==== **Set Serial Communication Parameters** ==== 1025 1025 1026 1026 ((( 1027 1027 Set the Rs485 serial communication parameters: ... ... @@ -1028,39 +1028,52 @@ 1028 1028 ))) 1029 1029 1030 1030 * ((( 1031 - (% style="color:#037691" %)**1040 +**AT Command:** 1032 1032 ))) 1033 1033 1034 1034 ((( 1035 - 1036 - 1037 -* Set Baud Rate 1044 +Set Baud Rate: 1038 1038 ))) 1039 1039 1047 +(% class="box infomessage" %) 1048 +((( 1049 +((( 1040 1040 **AT+BAUDR=9600** ~/~/ Options: (1200,2400,4800,14400,19200,115200) 1051 +))) 1052 +))) 1041 1041 1042 - 1043 1043 ((( 1044 - *Set UART Parity1055 +Set UART Parity 1045 1045 ))) 1046 1046 1058 +(% class="box infomessage" %) 1059 +((( 1060 +((( 1047 1047 **AT+PARITY=0** ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity 1062 +))) 1063 +))) 1048 1048 1049 - 1050 1050 ((( 1051 - *Set STOPBIT1066 +Set STOPBIT 1052 1052 ))) 1053 1053 1069 +(% class="box infomessage" %) 1070 +((( 1071 +((( 1054 1054 **AT+STOPBIT=0** ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits 1073 +))) 1074 +))) 1055 1055 1076 +((( 1077 + 1078 +))) 1056 1056 1057 - 1058 1058 * ((( 1059 - (% style="color:#037691" %)**1081 +**Downlink Payload:** 1060 1060 ))) 1061 1061 1062 1062 ((( 1063 -**A7 01 aa bb**: 1085 +**A7 01 aa bb**: Same AT+BAUDR=hex(aa bb)*100 1064 1064 ))) 1065 1065 1066 1066 ((( ... ... @@ -1075,11 +1075,11 @@ 1075 1075 ))) 1076 1076 1077 1077 ((( 1078 -A7 02 aa: 1100 +A7 02 aa: Same as AT+PARITY=aa (aa value: 00 , 01 or 02) 1079 1079 ))) 1080 1080 1081 1081 ((( 1082 -A7 03 aa: 1104 +A7 03 aa: Same as AT+STOPBIT=aa (aa value: 00 , 01 or 02) 1083 1083 ))) 1084 1084 1085 1085 ... ... @@ -1133,7 +1133,7 @@ 1133 1133 ))) 1134 1134 1135 1135 ((( 1136 - (% style="color:#037691" %)**1158 +**Downlink Command:** 1137 1137 ))) 1138 1138 1139 1139 ((( ... ... @@ -1407,10 +1407,6 @@ 1407 1407 * (% style="color:blue" %)**RU864**(%%): frequency bands RU864 1408 1408 * (% style="color:blue" %)**KZ865**(%%): frequency bands KZ865 1409 1409 1410 - 1411 - 1412 - 1413 - 1414 1414 = 9.Packing Info = 1415 1415 1416 1416 ... ... @@ -1427,10 +1427,6 @@ 1427 1427 * Package Size / pcs : 14.5 x 8 x 5 cm 1428 1428 * Weight / pcs : 170g 1429 1429 1430 - 1431 - 1432 - 1433 - 1434 1434 = 10. FCC Caution for RS485LN-US915 = 1435 1435 1436 1436 (((