<
From version < 22.3 >
edited by Xiaoling
on 2022/06/08 16:02
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 ==
... ... @@ -348,9 +348,9 @@
348 348  
349 349  
350 350  
351 -1.
352 -11. Power Consumption Analyze
353 353  
384 +== 5.2 Power Consumption Analyze ==
385 +
354 354  Dragino battery powered products are all run in Low Power mode. User can check the guideline from this link to calculate the estimate battery life:
355 355  
356 356  [[https:~~/~~/www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf>>url:https://www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf]]
... ... @@ -357,22 +357,26 @@
357 357  
358 358  
359 359  
360 -1. Use AT Command
361 -11. Access AT Command
392 += 6. Use AT Command =
362 362  
394 +== 6.1 Access AT Command ==
395 +
363 363  LWL02 supports AT Command set. User can use a USB to TTL adapter to configure LWL02 via use AT command, as below.
364 364  
365 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png]]
398 +[[image:image-20220608160336-1.png]]
366 366  
367 -USB to TTL <- -> LWL02
400 +*
401 +** (% style="background-color:yellow" %)USB to TTL <- -> LWL02
368 368  
369 -RX <- -> TX
403 +*
404 +** (% style="background-color:yellow" %)RX <- -> TX
370 370  
371 -TX <- -> RX
406 +*
407 +** (% style="background-color:yellow" %)TX <- -> RX
372 372  
373 -GND <- -> GND
409 +*
410 +** (% style="background-color:yellow" %)GND <- -> GND
374 374  
375 -
376 376  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:
377 377  
378 378  The AT Access password is **123456**.
image-20220608160336-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +328.4 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0