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

From version 44.1
edited by Saxer Lin
on 2023/05/23 17:52
Change comment: There is no comment for this version
To version 46.1
edited by Saxer Lin
on 2023/05/24 10:50
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -136,9 +136,8 @@
136 136  
137 137  [[image:image-20230523174230-1.png]]
138 138  
139 -== ==
140 140  
141 -== 1.8  Hardware Variant ==
140 +== 1.8 Hardware Variant ==
142 142  
143 143  
144 144  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %)
... ... @@ -311,19 +311,25 @@
311 311  
312 312  Sensor Data is uplink via FPORT=2
313 313  
314 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %)
313 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:700px" %)
315 315  |=(% style="width: 90px;background-color:#D9E2F3" %)(((
316 316  **Size(bytes)**
317 -)))|=(% style="width: 80px;background-color:#D9E2F3" %)2|=(% style="width: 90px;background-color:#D9E2F3" %)4|=(% style="width:80px;background-color:#D9E2F3" %)1|=(% style="width: 80px;background-color:#D9E2F3" %)**2**|=(% style="width: 80px;background-color:#D9E2F3" %)2
316 +)))|=(% style="width: 80px;background-color:#D9E2F3" %)2|=(% style="width: 90px;background-color:#D9E2F3" %)4|=(% style="width: 194px; background-color: rgb(217, 226, 243);" %)1|=(% style="width: 106px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 97px; background-color: rgb(217, 226, 243);" %)2
318 318  |(% style="width:99px" %)**Value**|(% style="width:69px" %)(((
319 319  [[Battery>>||anchor="HBattery"]]
320 320  )))|(% style="width:130px" %)(((
321 321  [[Unix TimeStamp>>||anchor="H2.5.2UnixTimeStamp"]]
322 -)))|(% style="width:91px" %)(((
323 -[[Alarm Flag>>||anchor="HAlarmFlag26MOD"]]
324 -)))|(% style="width:103px" %)(((
321 +)))|(% style="width:194px" %)(((
322 +[[Alarm Flag>>||anchor="HAlarmFlag26MOD"]][[&>>Alarm Flag& MOD& Digital Interrupt(PA8)]]
323 +
324 +[[MOD&>>Alarm Flag& MOD& Digital Interrupt(PA8)]]
325 +
326 +[[Digital Interrupt(PA8)>>Alarm Flag& MOD& Digital Interrupt(PA8)]]
327 +
328 +
329 +)))|(% style="width:106px" %)(((
325 325  [[Temperature>>||anchor="HTemperature"]]
326 -)))|(% style="width:80px" %)(((
331 +)))|(% style="width:97px" %)(((
327 327  [[Humidity>>||anchor="HHumidity"]]
328 328  )))
329 329  
... ... @@ -354,17 +354,21 @@
354 354  Read:0x(0197)=412    Value:  412 / 10=41.2, So 41.2%
355 355  
356 356  
357 -==== (% style="color:#4472c4" %)**2.3.2.4 Alarm Flag& MOD**(%%) ====
362 +==== (% style="color:#4472c4" %)**2.3.2.4 Alarm Flag & MOD & Digital Interrupt**(%%) ====
358 358  
359 359  
360 360  **Example:**
361 361  
362 -If payload & 0x01 = 0x01  **~-~->** This is an Alarm Message
367 +If payload & 0x01 = 0x01  **~-~->** This is an Alarm Message.It means that the temperature and humidity exceed the alarm value or trigger an interrupt.
363 363  
364 -If payload & 0x01 = 0x00  **~-~->** This is a normal uplink message, no alarm
369 +If payload & 0x01 = 0x00  **~-~->** This is a normal uplink message, no alarm.
365 365  
366 -If payload >> 2 = 0x00  **~-~->**  means MOD=1, This is a sampling uplink message
371 +If payload & 0x80>>7 = 0x01  **~-~->** The PA8 is low level.
367 367  
373 +If payload & 0x80>>7 =0x00  **~-~->** The PA8 is high level.
374 +
375 +If payload >> 2 = 0x00  **~-~->**  means MOD=1, This is a sampling uplink message.
376 +
368 368  If payload >> 2 = 0x31  **~-~->**  means MOD=31, this message is a reply message for polling, this message contains the alarm settings. see [[this link>>path:#HPolltheAlarmsettings:]] for detail. 
369 369  
370 370  
... ... @@ -435,16 +435,24 @@
435 435  
436 436  **Retrieval data payload:**
437 437  
438 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %)
447 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:680px" %)
439 439  |=(% style="width: 80px;background-color:#D9E2F3" %)(((
440 440  **Size(bytes)**
441 -)))|=(% style="width: 60px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 60px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 120px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 103px; background-color: rgb(217, 226, 243);" %)**1**|=(% style="width: 85px; background-color: rgb(217, 226, 243);" %)**4**
442 -|(% style="width:103px" %)**Value**|(% style="width:54px" %)(((
443 -Temp_Black
444 -)))|(% style="width:51px" %)Temp_White|(% style="width:89px" %)Temp_ Red or Temp _White|(% style="width:103px" %)Poll message flag & Ext|(% style="width:54px" %)[[Unix Time Stamp>>||anchor="H2.5.2UnixTimeStamp"]]
450 +)))|=(% style="width: 68px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 104px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 87px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 178px; background-color: rgb(217, 226, 243);" %)**1**|=(% style="width: 137px; background-color: rgb(217, 226, 243);" %)**4**
451 +|(% style="width:103px" %)**Value**|(% style="width:68px" %)(((
452 +ignore
453 +)))|(% style="width:104px" %)(((
454 +Temperature
455 +)))|(% style="width:87px" %)Humidity|(% style="width:178px" %)(((
456 +Poll message flag &
445 445  
446 -**Poll message flag & Ext:**
458 +Alarm Flag&
447 447  
460 +Digital Interrupt
461 +)))|(% style="width:137px" %)Unix Time Stamp
462 +
463 +**Poll message flag & Alarm Flag & Digital Interrupt:**
464 +
448 448  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20221006192726-1.png?width=754&height=112&rev=1.1||alt="图片-20221006192726-1.png" height="112" width="754"]]
449 449  
450 450  **No ACK Message**:  1: This message means this payload is fromn Uplink Message which doesn't get ACK from the server before ( for **PNACKMD=1** feature)
... ... @@ -684,6 +684,8 @@
684 684  
685 685  Feature, Set Interrupt mode for PA8 of pin.
686 686  
704 +When AT+INTMOD=0 is set, PA8 is used as a digital input port.
705 +
687 687  (% style="color:blue" %)**AT Command: AT+INTMOD**
688 688  
689 689  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
... ... @@ -710,11 +710,9 @@
710 710  * Example 1: Downlink Payload: 06000000  ~/~/  Turn off interrupt mode
711 711  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
712 712  
713 -=== ===
732 +=== 3.3.8 Set Power Output Duration ===
714 714  
715 -=== 3.3.7 Set Power Output Duration ===
716 716  
717 -
718 718  Control the output duration 5V . Before each sampling, device will
719 719  
720 720  ~1. first enable the power output to external sensor,
... ... @@ -740,8 +740,6 @@
740 740  * Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
741 741  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
742 742  
743 -= =
744 -
745 745  = 4. Battery & Power Consumption =
746 746  
747 747