<
From version < 23.1 >
edited by Xiaoling
on 2022/06/08 16:03
To version < 23.4 >
edited by Xiaoling
on 2022/06/08 16:04
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -273,36 +273,69 @@
273 273  
274 274  == 4.6 Alarm Base on Timeout ==
275 275  
276 +(((
276 276  LWL02 can monitor the timeout for a status change, this feature can be used to monitor some event such as open fridge too long etc.
278 +)))
277 277  
278 -
280 +(((
279 279  User configure this feature by using:
282 +)))
280 280  
284 +(((
285 +
286 +)))
281 281  
288 +(((
282 282  (% style="color:blue" %)**AT Command**(%%) to configure:
290 +)))
283 283  
284 -* **AT+TTRIG=1,30 ** **~-~->** When status change from close to open, and device keep in open
292 +* (((
293 +**AT+TTRIG=1,30 ** **~-~->** When status change from close to open, and device keep in open
294 +)))
285 285  
296 +(((
286 286  status for more than 30 seconds. LWL02 will send an uplink packet, the Alarm bit (the lowest bit of 10^^th^^ byte of payload) on this uplink packet is set to 1.
298 +)))
287 287  
288 -* **AT+TTIG=0,0**  **~-~->**  Default Value, disable timeout Alarm.
300 +* (((
301 +**AT+TTIG=0,0**  **~-~->**  Default Value, disable timeout Alarm.
302 +)))
289 289  
304 +(((
290 290  (% style="color:blue" %)**Downlink Command**(%%) to configure:
306 +)))
291 291  
308 +(((
292 292  **Command: 0xA9 aa bb cc**
310 +)))
293 293  
312 +(((
294 294  A9: Command Type Code
314 +)))
295 295  
316 +(((
296 296  aa: status to be monitor
318 +)))
297 297  
320 +(((
298 298  bb cc: timeout.
322 +)))
299 299  
324 +(((
325 +
326 +)))
300 300  
328 +(((
301 301  If user send 0xA9 01 00 1E: equal to AT+TTRIG=1,30
330 +)))
302 302  
332 +(((
303 303  Or
334 +)))
304 304  
336 +(((
305 305  0xA9 00 00 00: Equal to AT+TTRIG=0,0. Disable timeout Alarm.
338 +)))
306 306  
307 307  
308 308  
... ... @@ -315,7 +315,6 @@
315 315  |(% style="width:184px" %)Send an uplink message|(% style="width:275px" %)(% style="color:green" %)**GREEN LED**(%%) blinks once
316 316  |(% style="width:184px" %)Got a downlink message|(% style="width:275px" %)(% style="color:blue" %)**BLUE LED**(%%) blinks once
317 317  
318 -
319 319  = 5. Battery & How to replace =
320 320  
321 321  == 5.1 Battery Type and replace ==
... ... @@ -363,17 +363,20 @@
363 363  
364 364  LWL02 supports AT Command set. User can use a USB to TTL adapter to configure LWL02 via use AT command, as below.
365 365  
366 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png]]
398 +[[image:image-20220608160336-1.png]]
367 367  
368 -USB to TTL <- -> LWL02
400 +*
401 +** (% style="background-color:yellow" %)USB to TTL <- -> LWL02
369 369  
370 -RX <- -> TX
403 +*
404 +** (% style="background-color:yellow" %)RX <- -> TX
371 371  
372 -TX <- -> RX
406 +*
407 +** (% style="background-color:yellow" %)TX <- -> RX
373 373  
374 -GND <- -> GND
409 +*
410 +** (% style="background-color:yellow" %)GND <- -> GND
375 375  
376 -
377 377  In PC, User needs to set **serial tool**(such as [[putty>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to **115200** to access to access serial console of LWL02. Below is the output for reference:
378 378  
379 379  The AT Access password is **123456**.
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0