<
From version < 16.3 >
edited by Xiaoling
on 2023/10/07 14:45
To version < 41.1
edited by Xiaoling
on 2025/01/04 15:52
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,5 @@
1 -**Table of Contents:**
1 +(% class="wikigeneratedid" id="HTableofContentsFF1A" %)
2 +**Table of Contents:**
2 2  
3 3  {{toc/}}
4 4  
... ... @@ -23,8 +23,6 @@
23 23  
24 24  * Import / Export commands
25 25  
26 -
27 -
28 28  = 2. Hardware Connection =
29 29  
30 30  
... ... @@ -32,21 +32,27 @@
32 32  
33 33  **[[Download RS485 Configure Tool>>https://www.dropbox.com/sh/us9qecn39fwt8n1/AABREdqUCzEmJMRrfuWuXasoa?dl=0]]**.
34 34  
35 -[[image:image-20230928230446-1.png||height="275" width="471"]]
34 +[[image:image-20230928230446-1.png||_mstalt="431288" height="275" width="471"]]
36 36  
37 37  = 3. Use the tool =
38 38  
39 -== Overview ==
38 +== 3.1 Overview ==
40 40  
41 41  
41 +(% style="color:red" %)**warning: Please do not input multiple instructions at once for a site, as this may result in incorrect data**
42 +
42 42  Below is the block diagram of the RS485 Tool:
43 43  
44 -[[image:image-20230928235259-4.png||height="681" width="915"]]
45 +[[image:image-20230928235259-4.png||_mstalt="434590" height="681" width="915"]]
45 45  
47 +Below is the block diagram of the RS485 Tool V1.2:
46 46  
47 -== 3.1 General Configure: ==
49 +[[image:image-20231010145454-2.png||_mstalt="428597" height="689" width="921"]]
48 48  
49 49  
52 +== 3.2 General Configure: ==
53 +
54 +
50 50  * (% style="color:blue" %)**Port **(%%): COM port in PC to connect to RS485 End Node.
51 51  
52 52  * (% style="color:blue" %)**Node Baud Rate **(%%): The Baud Rate for RS485 End Node.
... ... @@ -68,18 +68,17 @@
68 68  * (% style="color:blue" %)**Configure Devices **(%%): Send General Configure Command to End Node.
69 69  
70 70  
76 +== 3.3 Console Window: ==
71 71  
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]]
83 +[[image:image-20230928233408-3.png||_mstalt="432289"]]
80 80  
81 81  
82 -== 3.3 RS485 Commands to Sensor ==
86 +== 3.4 RS485 Commands to Sensor ==
83 83  
84 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.
... ... @@ -99,7 +99,7 @@
99 99  **Test RS485 Commands**: After configure poll commands. Click this button then the tool will generate related AT+COMMANDS and send to the End node to test and get return.
100 100  
101 101  
102 -== 3.4 Process Sensor Returns ==
106 +== 3.5 Process Sensor Returns ==
103 103  
104 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**.
... ... @@ -118,20 +118,21 @@
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]]
125 +[[image:image-20230930193108-1.png||_mstalt="430235"]]
122 122  
123 123  Use can choose to get "Discrete Data Bytes" or "Bytes Blocks":
124 124  
125 -[[image:image-20230930193257-2.png]] Select the 1st ~~ 3rd bytes from the return.
129 +[[image:image-20230930193257-2.png||_mstalt="432198"]] Select the 1st - 3rd bytes from the return.
126 126  
127 -[[image:image-20230930193357-3.png]] Select the 3rd, 6th, 9th bytes from the return.
131 +[[image:image-20230930193357-3.png||_mstalt="432874"]] Select the 3rd, 6th, 9th bytes from the return.
128 128  
129 -[[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.
133 +[[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.
130 130  
135 +[[image:image-20231010150227-4.png||_mstalt="427531"]] Based on the AT command in the preview window, the node will upload data in the format of the left image
131 131  
132 132  Below is the full screen shot:
133 133  
134 -[[image:image-20230930193658-5.png||height="735" width="1146"]]
139 +[[image:image-20231010150054-3.png||_mstalt="426504"]]
135 135  
136 136  
137 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.
... ... @@ -139,7 +139,7 @@
139 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.
140 140  
141 141  
142 -== 3.5 Commands Previwe Window ==
147 +== 3.6 Commands Previwe Window ==
143 143  
144 144  
145 145  This window show the commands to be flash into the RS485 end node.
... ... @@ -152,17 +152,56 @@
152 152  
153 153  * (% style="color:blue" %)**Erase All **(%%): Clear All Configured Commands in the RS485. It won't erase the commands shows in the preview window.
154 154  
160 +== 3.7 Reference video ==
155 155  
156 156  
157 -= TODO: =
163 +link: [[https:~~/~~/youtu.be/l9fLE3ekY4I>>https://youtu.be/l9fLE3ekY4I]]
158 158  
159 159  
160 -~1. Add Payload Structure Window
166 +== 3.8 Change Log: ==
161 161  
162 -2. Modify Chars to looks nicer
168 +=== v1.1: ===
163 163  
164 -3. Each COmmand can have seperate return process command.
170 +~1. No spaces are required between each byte of the inquiry frame
165 165  
166 -4.
172 +2. Improve the prompt box
167 167  
168 -
174 +3. AT instruction coverage function
175 +
176 +4. Button function prompt
177 +
178 +=== V1.2: ===
179 +
180 +~1. Fixed overwrite failure when AT instruction has multiple parameters
181 +
182 +2. Add Payload Structure Window
183 +
184 +=== V1.3: ===
185 +
186 +Fixed bug in V1.2
187 +
188 +1.When the input cut value exceeds the number of bytes returned, an incorrect AT instruction will be generated
189 +
190 +New:
191 +
192 +~1. Control the inquiry time input box between inquiry frames
193 +
194 +2. The inquiry frame does not require CRC verification input
195 +
196 +[[image:image-20240311144211-2.png||height="948" width="1268"]]
197 +
198 +=== V1.3.1: ===
199 +
200 +Added a password input box.
201 +When using NB modules or nodes with access passwords other than 123456.
202 +Enter the password before connecting to the serial port
203 +
204 +[[image:image-20240620083959-1.png||height="680" width="1265"]]
205 +
206 +
207 += 4. TODO: =
208 +
209 +
210 +~1. Add Payload Structure Window(Done at v1.2)
211 +
212 +2. Modify Chars to looks nicer  ( Done at v1.1)
image-20231010145353-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Lu
Size
... ... @@ -1,0 +1,1 @@
1 +145.4 KB
Content
image-20231010145454-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Lu
Size
... ... @@ -1,0 +1,1 @@
1 +118.4 KB
Content
image-20231010150054-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Lu
Size
... ... @@ -1,0 +1,1 @@
1 +124.4 KB
Content
image-20231010150227-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Lu
Size
... ... @@ -1,0 +1,1 @@
1 +4.7 KB
Content
image-20240311143856-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Lu
Size
... ... @@ -1,0 +1,1 @@
1 +174.5 KB
Content
image-20240311144211-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Lu
Size
... ... @@ -1,0 +1,1 @@
1 +180.9 KB
Content
image-20240620083959-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Lu
Size
... ... @@ -1,0 +1,1 @@
1 +122.9 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0