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 ... ... @@ -130,8 +130,6 @@ 130 130 * Smart Cities 131 131 * Smart Factory 132 132 133 - 134 - 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 ((( ... ... @@ -593,13 +593,13 @@ 593 593 * ((( 594 594 (% 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 594 +**AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m** 595 + 596 + 598 598 ))) 599 -))) 600 600 601 601 ((( 602 - 600 +m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command 603 603 ))) 604 604 605 605 * ((( ... ... @@ -702,7 +702,7 @@ 702 702 703 703 704 704 705 -==== (% style="color:blue" %)**Set Payload version**(%%)====703 +==== **Set Payload version** ==== 706 706 707 707 ((( 708 708 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. ... ... @@ -709,28 +709,32 @@ 709 709 ))) 710 710 711 711 * ((( 712 -(% style="color:#037691" %)**AT Command:** 710 +**AT Command:** 711 +))) 713 713 714 -**AT+PAYVER: **Set PAYVER field = 1 715 - 716 - 713 +(% class="box infomessage" %) 714 +((( 715 +((( 716 +**AT+PAYVER: Set PAYVER field = 1** 717 717 ))) 718 +))) 719 + 718 718 * ((( 719 - (% style="color:#037691" %)**Downlink Payload:**721 +**Downlink Payload:** 720 720 ))) 721 721 722 722 ((( 723 -**0xAE 01** ~-~-> 725 +**0xAE 01** ~-~-> Set PAYVER field = 0x01 724 724 ))) 725 725 726 726 ((( 727 -**0xAE 0F** ~-~-> 729 +**0xAE 0F** ~-~-> Set PAYVER field = 0x0F 728 728 ))) 729 729 730 730 731 731 732 732 733 -==== (% style="color:blue" %)**Set RS485 Sampling Commands**(%%)====735 +==== **Set RS485 Sampling Commands** ==== 734 734 735 735 ((( 736 736 AT+COMMANDx or AT+DATACUTx ... ... @@ -745,16 +745,29 @@ 745 745 ))) 746 746 747 747 * ((( 748 - (% style="color:#037691" %)**AT Command:**750 +**AT Command:** 749 749 ))) 750 750 751 -**AT+COMMANDx: **Configure RS485 read command to sensor. 753 +(% class="box infomessage" %) 754 +((( 755 +((( 756 +**AT+COMMANDx: Configure RS485 read command to sensor.** 757 +))) 758 +))) 752 752 753 -**AT+DATACUTx: **Configure how to handle return from RS485 devices. 760 +(% class="box infomessage" %) 761 +((( 762 +((( 763 +**AT+DATACUTx: Configure how to handle return from RS485 devices.** 764 +))) 765 +))) 754 754 767 +((( 768 + 769 +))) 755 755 756 756 * ((( 757 - (% style="color:#037691" %)**Downlink Payload:**772 +**Downlink Payload:** 758 758 ))) 759 759 760 760 ((( ... ... @@ -808,7 +808,7 @@ 808 808 809 809 810 810 811 -==== (% style="color:blue" %)**Fast command to handle MODBUS device**(%%)====826 +==== **Fast command to handle MODBUS device** ==== 812 812 813 813 ((( 814 814 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]]. ... ... @@ -847,7 +847,7 @@ 847 847 848 848 849 849 850 -==== (% style="color:blue" %)**RS485 command timeout**(%%)====865 +==== **RS485 command timeout** ==== 851 851 852 852 ((( 853 853 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. ... ... @@ -858,7 +858,7 @@ 858 858 ))) 859 859 860 860 * ((( 861 - (% style="color:#037691" %)**876 +**AT Command:** 862 862 ))) 863 863 864 864 (% class="box infomessage" %) ... ... @@ -881,7 +881,7 @@ 881 881 ))) 882 882 883 883 * ((( 884 - (% style="color:#037691" %)**899 +**Downlink Payload:** 885 885 ))) 886 886 887 887 ((( ... ... @@ -903,7 +903,7 @@ 903 903 904 904 905 905 906 -==== (% style="color:blue" %)**Uplink payload mode**(%%)====921 +==== **Uplink payload mode** ==== 907 907 908 908 ((( 909 909 Define to use one uplink or multiple uplinks for the sampling. ... ... @@ -914,16 +914,29 @@ 914 914 ))) 915 915 916 916 * ((( 917 - (% style="color:#037691" %)**932 +**AT Command:** 918 918 ))) 919 919 935 +(% class="box infomessage" %) 936 +((( 937 +((( 920 920 **AT+DATAUP=0** 939 +))) 940 +))) 921 921 942 +(% class="box infomessage" %) 943 +((( 944 +((( 922 922 **AT+DATAUP=1** 946 +))) 947 +))) 923 923 949 +((( 950 + 951 +))) 924 924 925 925 * ((( 926 - (% style="color:#037691" %)**954 +**Downlink Payload:** 927 927 ))) 928 928 929 929 ((( ... ... @@ -937,7 +937,7 @@ 937 937 938 938 939 939 940 -==== (% style="color:blue" %)**Manually trigger an Uplink**(%%)====968 +==== **Manually trigger an Uplink** ==== 941 941 942 942 ((( 943 943 Ask device to send an uplink immediately. ... ... @@ -944,7 +944,7 @@ 944 944 ))) 945 945 946 946 * ((( 947 - (% style="color:#037691" %)**975 +**AT Command:** 948 948 ))) 949 949 950 950 ((( ... ... @@ -956,7 +956,7 @@ 956 956 ))) 957 957 958 958 * ((( 959 - (% style="color:#037691" %)**987 +**Downlink Payload:** 960 960 ))) 961 961 962 962 ((( ... ... @@ -966,7 +966,7 @@ 966 966 967 967 968 968 969 -==== (% style="color:blue" %)**Clear RS485 Command**(%%)====997 +==== **Clear RS485 Command** ==== 970 970 971 971 ((( 972 972 The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them. ... ... @@ -973,7 +973,7 @@ 973 973 ))) 974 974 975 975 * ((( 976 - (% style="color:#037691" %)**1004 +**AT Command:** 977 977 ))) 978 978 979 979 ((( ... ... @@ -1000,7 +1000,7 @@ 1000 1000 1001 1001 1002 1002 * ((( 1003 - (% style="color:#037691" %)**1031 +**Downlink Payload:** 1004 1004 ))) 1005 1005 1006 1006 ((( ... ... @@ -1010,7 +1010,7 @@ 1010 1010 1011 1011 1012 1012 1013 -==== (% style="color:blue" %)**Set Serial Communication Parameters**(%%)====1041 +==== **Set Serial Communication Parameters** ==== 1014 1014 1015 1015 ((( 1016 1016 Set the Rs485 serial communication parameters: ... ... @@ -1017,7 +1017,7 @@ 1017 1017 ))) 1018 1018 1019 1019 * ((( 1020 - (% style="color:#037691" %)**1048 +**AT Command:** 1021 1021 ))) 1022 1022 1023 1023 ((( ... ... @@ -1024,28 +1024,41 @@ 1024 1024 Set Baud Rate: 1025 1025 ))) 1026 1026 1027 - 1055 +(% class="box infomessage" %) 1056 +((( 1057 +((( 1028 1028 **AT+BAUDR=9600** ~/~/ Options: (1200,2400,4800,14400,19200,115200) 1059 +))) 1060 +))) 1029 1029 1030 - 1031 1031 ((( 1032 1032 Set UART Parity 1033 1033 ))) 1034 1034 1035 - 1066 +(% class="box infomessage" %) 1067 +((( 1068 +((( 1036 1036 **AT+PARITY=0** ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity 1070 +))) 1071 +))) 1037 1037 1038 - 1039 1039 ((( 1040 1040 Set STOPBIT 1041 1041 ))) 1042 1042 1043 - 1077 +(% class="box infomessage" %) 1078 +((( 1079 +((( 1044 1044 **AT+STOPBIT=0** ~/~/ Option: 0 for 1bit; 1 for 1.5 bit ; 2 for 2 bits 1081 +))) 1082 +))) 1045 1045 1084 +((( 1085 + 1086 +))) 1046 1046 1047 1047 * ((( 1048 - (% style="color:#037691" %)**1089 +**Downlink Payload:** 1049 1049 ))) 1050 1050 1051 1051 (((