Last modified by Mengting Qiu on 2023/12/14 11:15

From version 165.1
edited by Mengting Qiu
on 2023/12/11 15:12
Change comment: There is no comment for this version
To version 163.1
edited by Mengting Qiu
on 2023/12/11 11:54
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -311,19 +311,7 @@
311 311  
312 312   Actual sampling distance values.
313 313  
314 -**Example:**
315 315  
316 -**AT+DOL=1,500,244,**(% style="color:red" %)0(%%)**,120  **
317 -
318 -The distance is detected every 120ms.
319 -
320 -When the actual detection value is within the range of [244mm,500mm], the data is uploaded in the normal TDC time.
321 -
322 -When the actual detection value is outside the range of [244mm,500mm], the uplink data will be immediately alerted.
323 -
324 -If payload is: 0708H: distance = 0708H = 1800 mm
325 -
326 -
327 327  (% style="color:blue" %)**Upper limit:**
328 328  
329 329  The upper limit of the threshold cannot exceed 2000mm.
... ... @@ -340,65 +340,13 @@
340 340  
341 341  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:600px" %)
342 342  |(% style="background-color:#4f81bd; color:white; width:70px" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:40px" %)**2**|(% style="background-color:#4f81bd; color:white; width:130px" %)**1**|(% style="background-color:#4f81bd; color:white; width:130px" %)**4**|(% style="background-color:#4f81bd; color:white; width:70px" %)**2**|(% style="background-color:#4f81bd; color:white; width:70px" %)**2**
343 -|(% style="width:91px" %)Value|(% style="width:41px" %)BAT|(% style="width:176px" %)MOD+Alarm+Do+Limit flag|(% style="width:176px" %)Distance limit alarm count|(% style="width:100px" %)Upper limit|(% style="width:119px" %)Lower limit
331 +|(% style="width:91px" %)Value|(% style="width:41px" %)BAT|(% style="width:176px" %)MOD+Alarm+Do+Limit flag|(% style="width:176px" %)Distance Limit Alarm count|(% style="width:100px" %)Upper limit|(% style="width:119px" %)Lower limit
344 344  
345 345  [[image:image-20231209173457-5.png||height="277" width="1098"]]
346 346  
347 -(% style="color:blue" %)**MOD & Alarm & Do & Limit flag:**
348 348  
349 -(% style="color:red" %)**MOD:**
350 350  
351 -**Example: ** (0x60>>6) & 0x3f =1
352 352  
353 -**0x01:**  Regularly detect distance and report.
354 -**0x02: ** Uninterrupted measurement (external power supply).
355 -
356 -(% style="color:red" %)**Alarm:**
357 -
358 -When the detection distance exceeds the limit, the alarm flag is set to 1.
359 -
360 -(% style="color:red" %)**Do:**
361 -
362 -When the distance exceeds the set threshold, pull the Do pin high.
363 -
364 -(% style="color:red" %)**Limit flag:**
365 -
366 -Mode for setting threshold: **0~~3**
367 -
368 -**0:** does not use upper and lower limits
369 -
370 -**1:** Use upper and lower limits
371 -
372 -**2:** Less than the upper limit
373 -
374 -**3: **Greater than the lower limit
375 -
376 -
377 -(% style="color:blue" %)**Distance limit alarm count:**
378 -
379 -People or objects are collected and counted within a limited distance.
380 -
381 -The detection of a stationary person or object at each sampling time will be repeated three times, and the fourth sampling count will be added by 1.
382 -
383 -**Example:**
384 -
385 -**AT+DOL=1,500,244,**(% style="color:red" %)1(%%)**,120   **
386 -
387 -People or objects passing within the distance range of [244mm,500mm] are detected and counted every 120ms.
388 -
389 -If payload is: 0x56H, interrupt count =0x56H =86
390 -
391 -
392 -(% style="color:blue" %)**Upper limit:**
393 -
394 -The upper limit of the threshold cannot exceed 2000mm.
395 -
396 -
397 -(% style="color:blue" %)**Lower limit:**
398 -
399 -The lower limit of the threshold cannot be less than 3mm.
400 -
401 -
402 402  == 2.4 Decode payload in The Things Network ==
403 403  
404 404  
... ... @@ -630,7 +630,7 @@
630 630  
631 631  
632 632  
633 -**AT+DOL=1,1800,3,0,400**
569 +**AT+DOL=5,1800,0,0,400**
634 634  )))|(% rowspan="4" style="width:240px" %)(((
635 635  
636 636  
... ... @@ -667,15 +667,14 @@
667 667  
668 668  * Example 3: Downlink Payload: 070300000064000190  **~-~-->**  AT+MOD=3,0,100,0,400
669 669  
670 -(% style="color:Red" %)**Note: The over-limit alarm is applied to MOD1 and MOD2.**
671 671  
672 -**For example:**
607 +(% style="color:Red" %)**Note: The over-limit alarm the over-limit alarm.** (%%)For example:
673 673  
674 674  * **AT+MOD=1**
675 675  
676 - **AT+DOL=1,500,244,**(% style="color:blue" %)0(%%)**,300**
611 + **AT+DOL=1,500,244,**(% style="color:blue" %)0(%%)**,300**
677 677  
678 -Send data according to the normal TDC time. If the mode limit is exceeded, the alarm flag is set to 1:
613 +Send data according to the normal TDC time. If the mode limit is exceeded, the alarm flag is 1:
679 679  
680 680  [[image:image-20231211113204-2.png||height="292" width="1093"]]
681 681  
... ... @@ -683,7 +683,7 @@
683 683  
684 684   **AT+DOL=1,500,244,**(% style="color:blue" %)0(%%)**,300**
685 685  
686 -If the mode limit is exceeded, the data is immediately uplink and the alarm flag is set to 1:
621 +If the mode limit is exceeded, the data is immediately uplink and the alarm flag is 1:
687 687  
688 688  [[image:image-20231211114932-3.png||height="277" width="1248"]]
689 689