<
From version < 22.7 >
edited by Xiaoling
on 2022/05/23 09:20
To version < 22.5 >
edited by Xiaoling
on 2022/05/23 09:15
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -206,8 +206,18 @@
206 206  
207 207  === 3.3.1 onfigure UART settings for RS485 or TTL communication ===
208 208  
209 -To use RS485-LN to read data from RS485 sensors, connect the RS485-LN A/B traces to the sensors. And user need to make sure RS485-LN use the match UART setting to access the sensors. The related commands for UART settings are:
209 +RS485-BL can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect.
210 210  
211 +**~1. RS485-MODBUS mode:**
212 +
213 +AT+MOD=1 ~/~/ Support RS485-MODBUS type sensors. User can connect multiply RS485 , Modbus sensors to the A / B pins.
214 +
215 +**2. TTL mode:**
216 +
217 +AT+MOD=2 ~/~/ Support TTL Level sensors, User can connect one TTL Sensor to the TXD/RXD/GND pins.
218 +
219 +RS485-BL default UART settings is **9600, no parity, stop bit 1**. If the sensor has a different settings, user can change the RS485-BL setting to match.
220 +
211 211  (% border="1" style="background-color:#ffffcc; color:green; width:795px" %)
212 212  |(((
213 213  **AT Commands**
... ... @@ -232,7 +232,13 @@
232 232  |(((
233 233  AT+PARITY
234 234  )))|(% style="width:285px" %)(((
245 +(((
235 235  Set UART parity (for RS485 connection)
247 +)))
248 +
249 +(((
250 +Default Value is: no parity.
251 +)))
236 236  )))|(% style="width:347px" %)(((
237 237  (((
238 238  AT+PARITY=0
... ... @@ -250,7 +250,7 @@
250 250  )))
251 251  
252 252  (((
253 -
269 +Default Value is: 1bit.
254 254  )))
255 255  )))|(% style="width:347px" %)(((
256 256  (((
... ... @@ -269,10 +269,12 @@
269 269  === 3.3.2 Configure sensors ===
270 270  
271 271  (((
288 +Some sensors might need to configure before normal operation. User can configure such sensor via PC or through RS485-BL AT Commands (% style="color:#4f81bd" %)**AT+CFGDEV**.
289 +)))
290 +
272 272  (((
273 -Some sensors might need to configure before normal operation. User can configure such sensor via PC and RS485 adapter or through RS485-LN AT Commands (% style="color:#4f81bd" %)**AT+CFGDEV**(%%). Each (% style="color:#4f81bd" %)**AT+CFGDEV **(%%)equals to send a RS485 command to sensors. This command will only run when user input it and won’t run during each sampling.
292 +When user issue an (% style="color:#4f81bd" %)**AT+CFGDEV**(%%) command, Each (% style="color:#4f81bd" %)**AT+CFGDEV**(%%) equals to send a command to the RS485 or TTL sensors. This command will only run when user input it and won’t run during each sampling.
274 274  )))
275 -)))
276 276  
277 277  (% border="1" style="background-color:#ffffcc; color:green; width:806px" %)
278 278  |**AT Commands**|(% style="width:418px" %)**Description**|(% style="width:256px" %)**Example**
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0