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: ... ... @@ -108,6 +108,7 @@ 108 108 109 109 110 110 113 + 111 111 == 1.3 Features == 112 112 113 113 * LoRaWAN Class A & Class C protocol (default Class C) ... ... @@ -121,6 +121,7 @@ 121 121 122 122 123 123 127 + 124 124 == 1.4 Applications == 125 125 126 126 * Smart Buildings & Home Automation ... ... @@ -132,6 +132,7 @@ 132 132 133 133 134 134 139 + 135 135 == 1.5 Firmware Change log == 136 136 137 137 [[RS485-LN Image files – Download link and Change log>>url:http://www.dragino.com/downloads/index.php?dir=RS485-LN/]] ... ... @@ -334,8 +334,6 @@ 334 334 ))) 335 335 336 336 337 - 338 - 339 339 === 3.3.2 Configure sensors === 340 340 341 341 ((( ... ... @@ -361,8 +361,6 @@ 361 361 )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m 362 362 363 363 364 - 365 - 366 366 === 3.3.3 Configure read commands for each sampling === 367 367 368 368 ((( ... ... @@ -584,7 +584,7 @@ 584 584 585 585 586 586 587 -==== (% style="color:#037691" %) **RS485 Debug Command**(%%) ====588 +==== **(% style="color:#037691" %)RS485 Debug Command**(%%) ==== 588 588 589 589 ((( 590 590 This command is used to configure the RS485 devices; they won’t be used during sampling. ... ... @@ -591,15 +591,15 @@ 591 591 ))) 592 592 593 593 * ((( 594 -(% style="color:#037691" %) **AT Command**595 +**(% style="color:#037691" %)AT Command** 595 595 596 -((( 597 -**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 + 598 598 ))) 599 -))) 600 600 601 601 ((( 602 - 603 +m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command 603 603 ))) 604 604 605 605 * ((( ... ... @@ -640,9 +640,7 @@ 640 640 ))) 641 641 642 642 ((( 643 - 644 - 645 -**Example 1** ~-~-> Configure without ask for uplink (YY=0) 644 +**Example 1** ~-~-> Configure without ask for uplink (YY=0) 646 646 ))) 647 647 648 648 ((( ... ... @@ -704,7 +704,7 @@ 704 704 705 705 706 706 707 -==== (% style="color:blue" %) **Set Payload version**(%%)====706 +==== **(% style="color:blue" %)Set Payload version** ==== 708 708 709 709 ((( 710 710 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. ... ... @@ -711,28 +711,32 @@ 711 711 ))) 712 712 713 713 * ((( 714 -(% style="color:#037691" %)**AT Command:** 713 +**(% style="color:#037691" %)AT Command:** 714 +))) 715 715 716 -**AT+PAYVER: **Set PAYVER field = 1 717 - 718 - 716 +(% class="box infomessage" %) 717 +((( 718 +((( 719 +**AT+PAYVER: Set PAYVER field = 1** 719 719 ))) 721 +))) 722 + 720 720 * ((( 721 -(% style="color:#037691" %) **Downlink Payload:**724 +**(% style="color:#037691" %)Downlink Payload:** 722 722 ))) 723 723 724 724 ((( 725 -**0xAE 01** ~-~-> 728 +**0xAE 01** ~-~-> Set PAYVER field = 0x01 726 726 ))) 727 727 728 728 ((( 729 -**0xAE 0F** ~-~-> 732 +**0xAE 0F** ~-~-> Set PAYVER field = 0x0F 730 730 ))) 731 731 732 732 733 733 734 734 735 -==== (% style="color:blue" %) **Set RS485 Sampling Commands**(%%)====738 +==== **(% style="color:blue" %)Set RS485 Sampling Commands** ==== 736 736 737 737 ((( 738 738 AT+COMMANDx or AT+DATACUTx ... ... @@ -747,16 +747,18 @@ 747 747 ))) 748 748 749 749 * ((( 750 -(% style="color:#037691" %) **AT Command:**753 +**(% style="color:#037691" %)AT Command:** 751 751 ))) 752 752 753 -**AT+COMMANDx: **Configure RS485 read command to sensor. 754 754 755 -**AT+ DATACUTx:**Configurehowtohandlereturn fromRS485 devices.757 +**AT+COMMANDx: Configure RS485 read command to sensor.** 756 756 757 757 760 +**AT+DATACUTx: Configure how to handle return from RS485 devices.** 761 + 762 + 758 758 * ((( 759 -(% style="color:#037691" %) **Downlink Payload:**764 +**(% style="color:#037691" %)Downlink Payload:** 760 760 ))) 761 761 762 762 ((( ... ... @@ -810,7 +810,7 @@ 810 810 811 811 812 812 813 -==== (% style="color:blue" %) **Fast command to handle MODBUS device**(%%)====818 +==== **(% style="color:blue" %)Fast command to handle MODBUS device** ==== 814 814 815 815 ((( 816 816 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]]. ... ... @@ -849,7 +849,7 @@ 849 849 850 850 851 851 852 -==== (% style="color:blue" %) **RS485 command timeout**(%%)====857 +==== **(% style="color:blue" %)RS485 command timeout** ==== 853 853 854 854 ((( 855 855 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. ... ... @@ -860,7 +860,7 @@ 860 860 ))) 861 861 862 862 * ((( 863 - (% style="color:#037691" %)**868 +**AT Command:** 864 864 ))) 865 865 866 866 (% class="box infomessage" %) ... ... @@ -883,7 +883,7 @@ 883 883 ))) 884 884 885 885 * ((( 886 - (% style="color:#037691" %)**891 +**Downlink Payload:** 887 887 ))) 888 888 889 889 ((( ... ... @@ -905,7 +905,7 @@ 905 905 906 906 907 907 908 -==== (% style="color:blue" %) **Uplink payload mode**(%%)====913 +==== **(% style="color:blue" %)Uplink payload mode** ==== 909 909 910 910 ((( 911 911 Define to use one uplink or multiple uplinks for the sampling. ... ... @@ -916,16 +916,29 @@ 916 916 ))) 917 917 918 918 * ((( 919 - (% style="color:#037691" %)**924 +**AT Command:** 920 920 ))) 921 921 927 +(% class="box infomessage" %) 928 +((( 929 +((( 922 922 **AT+DATAUP=0** 931 +))) 932 +))) 923 923 934 +(% class="box infomessage" %) 935 +((( 936 +((( 924 924 **AT+DATAUP=1** 938 +))) 939 +))) 925 925 941 +((( 942 + 943 +))) 926 926 927 927 * ((( 928 - (% style="color:#037691" %)**946 +**Downlink Payload:** 929 929 ))) 930 930 931 931 ((( ... ... @@ -939,7 +939,7 @@ 939 939 940 940 941 941 942 -==== (% style="color:blue" %) **Manually trigger an Uplink**(%%)====960 +==== **(% style="color:blue" %)Manually trigger an Uplink** ==== 943 943 944 944 ((( 945 945 Ask device to send an uplink immediately. ... ... @@ -946,7 +946,7 @@ 946 946 ))) 947 947 948 948 * ((( 949 - (% style="color:#037691" %)**967 +**AT Command:** 950 950 ))) 951 951 952 952 ((( ... ... @@ -958,7 +958,7 @@ 958 958 ))) 959 959 960 960 * ((( 961 - (% style="color:#037691" %)**979 +**Downlink Payload:** 962 962 ))) 963 963 964 964 ((( ... ... @@ -968,7 +968,7 @@ 968 968 969 969 970 970 971 -==== (% style="color:blue" %)**Clear RS485 Command**(%%)====989 +==== **Clear RS485 Command** ==== 972 972 973 973 ((( 974 974 The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them. ... ... @@ -975,7 +975,7 @@ 975 975 ))) 976 976 977 977 * ((( 978 - (% style="color:#037691" %)**996 +**AT Command:** 979 979 ))) 980 980 981 981 ((( ... ... @@ -1002,7 +1002,7 @@ 1002 1002 1003 1003 1004 1004 * ((( 1005 - (% style="color:#037691" %)**1023 +**Downlink Payload:** 1006 1006 ))) 1007 1007 1008 1008 ((( ... ... @@ -1012,7 +1012,7 @@ 1012 1012 1013 1013 1014 1014 1015 -==== (% style="color:blue" %)**Set Serial Communication Parameters**(%%)====1033 +==== **Set Serial Communication Parameters** ==== 1016 1016 1017 1017 ((( 1018 1018 Set the Rs485 serial communication parameters: ... ... @@ -1019,7 +1019,7 @@ 1019 1019 ))) 1020 1020 1021 1021 * ((( 1022 - (% style="color:#037691" %)**1040 +**AT Command:** 1023 1023 ))) 1024 1024 1025 1025 ((( ... ... @@ -1026,28 +1026,41 @@ 1026 1026 Set Baud Rate: 1027 1027 ))) 1028 1028 1029 - 1047 +(% class="box infomessage" %) 1048 +((( 1049 +((( 1030 1030 **AT+BAUDR=9600** ~/~/ Options: (1200,2400,4800,14400,19200,115200) 1051 +))) 1052 +))) 1031 1031 1032 - 1033 1033 ((( 1034 1034 Set UART Parity 1035 1035 ))) 1036 1036 1037 - 1058 +(% class="box infomessage" %) 1059 +((( 1060 +((( 1038 1038 **AT+PARITY=0** ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity 1062 +))) 1063 +))) 1039 1039 1040 - 1041 1041 ((( 1042 1042 Set STOPBIT 1043 1043 ))) 1044 1044 1045 - 1069 +(% class="box infomessage" %) 1070 +((( 1071 +((( 1046 1046 **AT+STOPBIT=0** ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits 1073 +))) 1074 +))) 1047 1047 1076 +((( 1077 + 1078 +))) 1048 1048 1049 1049 * ((( 1050 - (% style="color:#037691" %)**1081 +**Downlink Payload:** 1051 1051 ))) 1052 1052 1053 1053 (((