<
From version < 25.1 >
edited by Herong Lu
on 2023/10/10 14:56
To version < 16.1 >
edited by Edwin Chen
on 2023/10/07 09:38
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Lu
1 +XWiki.Edwin
Content
... ... @@ -1,4 +1,4 @@
1 -= **Table of Contents:** =
1 +**Table of Contents:**
2 2  
3 3  {{toc/}}
4 4  
... ... @@ -6,90 +6,64 @@
6 6  
7 7  = 1. What is Dragino RS485 Configure Tool? =
8 8  
9 -
10 10  Dragino RS485 tool is designed to provide a friendly way to user to configure Dragino RS485 Wireless Sensor such as : **RS485-LN**, **RS485-LB**, **RS485-BL**, **RS485-NB**.
11 11  
12 12  The RS485 tool provide below features:
13 13  
14 14  * A Console window which use can do debug via AT Commands.
15 -
16 16  * Test the poll command to RS485 sensors.
17 -
18 18  * See return from RS485 sensors and preview process command for returns.
19 -
20 20  * Generate the AT Commands after debuging.
21 -
22 22  * Write the AT Commands to end node in batch.
23 -
24 24  * Import / Export commands
25 25  
26 26  = 2. Hardware Connection =
27 27  
28 -
29 29  To use Dragino RS485 Configure Tool. User need to run the tool in PC and use the TTL connection to Dragino End Node, and RS485 end node should connect to the RS485 Sensors for debug or configure.
30 30  
31 31  **[[Download RS485 Configure Tool>>https://www.dropbox.com/sh/us9qecn39fwt8n1/AABREdqUCzEmJMRrfuWuXasoa?dl=0]]**.
32 32  
33 -[[image:image-20230928230446-1.png||_mstalt="431288" height="275" width="471"]]
26 +[[image:image-20230928230446-1.png||height="275" width="471"]]
34 34  
35 35  = 3. Use the tool =
36 36  
37 37  == Overview ==
38 38  
39 -
40 40  Below is the block diagram of the RS485 Tool:
41 41  
42 -[[image:image-20230928235259-4.png||_mstalt="434590" height="681" width="915"]]
34 +[[image:image-20230928235259-4.png||height="681" width="915"]]
43 43  
44 -Below is the block diagram of the RS485 Tool V1.2:
45 45  
46 -[[image:image-20231010145454-2.png||height="689" width="921"]]
47 -
48 -
49 49  == 3.1 General Configure: ==
50 50  
39 +* **Port**: COM port in PC to connect to RS485 End Node.
40 +* **Node Baud Rate**: The Baud Rate for RS485 End Node.
41 +* **5VT**: 5v Power_On_Duration for external RS485 Sensors. Unit: ms.
42 +* **Connect End Node**: Connect to RS485 End Node.
43 +* **Disconnect End Node**: Disconnect RS485 End Node.
51 51  
52 -* (% style="color:blue" %)**Port **(%%): COM port in PC to connect to RS485 End Node.
45 +* **Sensor Baud Rate**: Baud Rate of RS485 Sensors.
46 +* **Sensor Data Bit**: Data Bit of RS485 Sensors
47 +* **Sensor Check Bit**: Check Bit of RS485 Sensors.
48 +* **Sensor Stop Bit**: Stop Bit of RS485 Sensors
49 +* **Configure Devices**: Send General Configure Command to End Node.
53 53  
54 -* (% style="color:blue" %)**Node Baud Rate **(%%): The Baud Rate for RS485 End Node.
55 -
56 -* (% style="color:blue" %)**5VT **(%%): 5v Power_On_Duration for external RS485 Sensors. Unit: ms.
57 -
58 -* (% style="color:blue" %)**Connect End Node **(%%): Connect to RS485 End Node.
59 -
60 -* (% style="color:blue" %)**Disconnect End Node **(%%): Disconnect RS485 End Node.
61 -
62 -* (% style="color:blue" %)**Sensor Baud Rate **(%%): Baud Rate of RS485 Sensors.
63 -
64 -* (% style="color:blue" %)**Sensor Data Bit **(%%): Data Bit of RS485 Sensors
65 -
66 -* (% style="color:blue" %)**Sensor Check Bit **(%%): Check Bit of RS485 Sensors.
67 -
68 -* (% style="color:blue" %)**Sensor Stop Bit **(%%): Stop Bit of RS485 Sensors
69 -
70 -* (% style="color:blue" %)**Configure Devices **(%%): Send General Configure Command to End Node.
71 -
72 72  == 3.2 Console Window: ==
73 73  
74 -
75 75  After **Connect End Node**. The Console Window will shows all the output from RS485 End Node.
76 76  
77 77  User can also Send AT Commands to RS485 End Node in this window.
78 78  
79 -[[image:image-20230928233408-3.png||_mstalt="432289"]]
57 +[[image:image-20230928233408-3.png]]
80 80  
81 81  
82 82  == 3.3 RS485 Commands to Sensor ==
83 83  
84 -
85 85  This area is used to configure what RS485 Commands the End Node should send to the RS485 sensors to get the sensor value.
86 86  
87 87  * There are totally 15 commands max.
88 -
89 89  * Each command should be set according to the sensor manual.
90 -
91 91  * It is HEX format and no need 0x. Each byte should have a space in between (will be fix in next version so no need space).
92 -
93 93  * User should calculate the CRC if needed
94 94  
95 95  **Example**:
... ... @@ -101,7 +101,6 @@
101 101  
102 102  == 3.4 Process Sensor Returns ==
103 103  
104 -
105 105  RS485 sensors will return a string, to make it more efficient to process via LoRaWAN packets, we can fetch the valid chars from the returns in the **process sensor returns area**.
106 106  
107 107  **Example:**
... ... @@ -109,9 +109,7 @@
109 109  User configure below commands :
110 110  
111 111  * Poll Command 1: 04 03 00 00 00 02 C4 52
112 -
113 113  * Poll Command 3: 08 03 00 00 00 02 C4 92
114 -
115 115  * Poll Command 5: 11 03 00 00 00 02 C6 9B
116 116  
117 117  Then Click "Test RS485 Commands". End Node will then send these three commands to RS485 sensors one by one and waiting for returns.
... ... @@ -118,61 +118,44 @@
118 118  
119 119  Their returnes will be shown in "RS485 Return Data" Area, such as below:
120 120  
121 -[[image:image-20230930193108-1.png||_mstalt="430235"]]
92 +[[image:image-20230930193108-1.png]]
122 122  
123 123  Use can choose to get "Discrete Data Bytes" or "Bytes Blocks":
124 124  
125 -[[image:image-20230930193257-2.png||_mstalt="432198"]] Select the 1st ~~ 3rd bytes from the return.
96 +[[image:image-20230930193257-2.png]] Select the 1st ~~ 3rd bytes from the return.
126 126  
127 -[[image:image-20230930193357-3.png||_mstalt="432874"]] Select the 3rd, 6th, 9th bytes from the return.
98 +[[image:image-20230930193357-3.png]] Select the 3rd, 6th, 9th bytes from the return.
128 128  
129 -[[image:image-20230930193456-4.png||_mstalt="433212"]] After select the byte fetch method. User can see preview the result. This photo shows to fetch the Block 1~~3 from the first return.
100 +[[image:image-20230930193456-4.png]] After select the byte fetch method. User can see preview the result. This photo shows to fetch the Block 1~~3 from the first return.
130 130  
131 131  
132 132  Below is the full screen shot:
133 133  
134 -[[image:image-20230930193658-5.png||_mstalt="434876" height="735" width="1146"]]
105 +[[image:image-20230930193658-5.png||height="735" width="1146"]]
135 135  
136 136  
137 -(% style="color:blue" %)**AT+CMDDL**(%%): This specify the delay for RS485 End Node to wait for the RS485 sensors return. If RS485 sensors doesn't reply in this time. End Node will consider there is no reply.
108 +**AT+CMDDL**: This specify the delay for RS485 End Node to wait for the RS485 sensors return. If RS485 sensors doesn't reply in this time. End Node will consider there is no reply.
138 138  
139 -(% style="color:blue" %)**Generate AT Instructions**(%%): After All testing goes fine with Poll Command & Return Process. User can press this button to generate the AT Commands which is for the Ene Node.
110 +**Generate AT Instructions**: After All testing goes fine with Poll Command & Return Process. User can press this button to generate the AT Commands which is for the Ene Node.
140 140  
141 141  
142 142  == 3.5 Commands Previwe Window ==
143 143  
144 -
145 145  This window show the commands to be flash into the RS485 end node.
146 146  
147 -* (% style="color:blue" %)**Import Commands **(%%): Import commands from txt.
117 +* **Import Commands**: Import commands from txt.
118 +* **Save Commands**: Save commands to a txt.
119 +* **Write**: Write Commands to End Node
120 +* **Erase All**: Clear All Configured Commands in the RS485. It won't erase the commands shows in the preview window.
148 148  
149 -* (% style="color:blue" %)**Save Commands **(%%): Save commands to a txt.
122 += TODO: =
150 150  
151 -* (% style="color:blue" %)**Write **(%%): Write Commands to End Node
124 +~1. Add Payload Structure Window
152 152  
153 -* (% style="color:blue" %)**Erase All **(%%): Clear All Configured Commands in the RS485. It won't erase the commands shows in the preview window.
126 +2. Modify Chars to looks nicer
154 154  
155 -== Change Log: ==
128 +3. Each COmmand can have seperate return process command.
156 156  
157 -=== v1.1: ===
130 +4.
158 158  
159 -1.No spaces are required between each byte of the inquiry frame
160 -
161 -2.Improve the prompt box
162 -
163 -3.AT instruction coverage function
164 -
165 -4.Button function prompt
166 -
167 -=== V1.2: ===
168 -
169 -1.Fixed overwrite failure when AT instruction has multiple parameters
170 -
171 -2.Add Payload Structure Window
172 -
173 -= TODO: =
174 -
175 -~1. Add Payload Structure Window(Done at v1.2)
176 -
177 -2. Modify Chars to looks nicer  ( Done at v1.1)
178 -
132 +
image-20231010145353-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lu
Size
... ... @@ -1,1 +1,0 @@
1 -145.4 KB
Content
image-20231010145454-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Lu
Size
... ... @@ -1,1 +1,0 @@
1 -118.4 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0