Changes for page DS20L -- LoRaWAN Smart Distance Detector User Manual 01
Last modified by Mengting Qiu on 2023/12/14 11:15
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -310,25 +310,19 @@ 310 310 311 311 Sensor Data is uplink via FPORT=2 312 312 313 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width: 700px" %)313 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 314 314 |=(% style="width: 90px;background-color:#D9E2F3" %)((( 315 315 **Size(bytes)** 316 -)))|=(% style="width: 80px;background-color:#D9E2F3" %)2|=(% style="width: 90px;background-color:#D9E2F3" %)4|=(% style="width: 194px;rgb(217, 226, 243);" %)1|=(% style="width:106px;rgb(217, 226, 243);" %)**2**|=(% style="width:97px;rgb(217, 226, 243);" %)2316 +)))|=(% 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 317 317 |(% style="width:99px" %)**Value**|(% style="width:69px" %)((( 318 318 [[Battery>>||anchor="HBattery"]] 319 319 )))|(% style="width:130px" %)((( 320 320 [[Unix TimeStamp>>||anchor="H2.5.2UnixTimeStamp"]] 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" %)((( 321 +)))|(% style="width:91px" %)((( 322 +[[Alarm Flag>>||anchor="HAlarmFlag26MOD"]] 323 +)))|(% style="width:103px" %)((( 330 330 [[Temperature>>||anchor="HTemperature"]] 331 -)))|(% style="width: 97px" %)(((325 +)))|(% style="width:80px" %)((( 332 332 [[Humidity>>||anchor="HHumidity"]] 333 333 ))) 334 334 ... ... @@ -359,21 +359,17 @@ 359 359 Read:0x(0197)=412 Value: 412 / 10=41.2, So 41.2% 360 360 361 361 362 -==== (% style="color:#4472c4" %)**2.3.2.4 Alarm Flag & Digital Interrupt**(%%) ====356 +==== (% style="color:#4472c4" %)**2.3.2.4 Alarm Flag& MOD**(%%) ==== 363 363 364 364 365 365 **Example:** 366 366 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.361 +If payload & 0x01 = 0x01 **~-~->** This is an Alarm Message 368 368 369 -If payload & 0x01 = 0x00 **~-~->** This is a normal uplink message, no alarm .363 +If payload & 0x01 = 0x00 **~-~->** This is a normal uplink message, no alarm 370 370 371 -If payload & 0x80>>7= 0x01**~-~->**ThePA8is lowlevel.365 +If payload >> 2 = 0x00 **~-~->** means MOD=1, This is a sampling uplink message 372 372 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 - 377 377 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. 378 378 379 379 ... ... @@ -444,24 +444,16 @@ 444 444 445 445 **Retrieval data payload:** 446 446 447 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width: 680px" %)437 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 448 448 |=(% style="width: 80px;background-color:#D9E2F3" %)((( 449 449 **Size(bytes)** 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 & 440 +)))|=(% 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** 441 +|(% style="width:103px" %)**Value**|(% style="width:54px" %)((( 442 +Temp_Black 443 +)))|(% 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"]] 457 457 458 - AlarmFlag&445 +**Poll message flag & Ext:** 459 459 460 -Digital Interrupt 461 -)))|(% style="width:137px" %)Unix Time Stamp 462 - 463 -**Poll message flag & Alarm Flag & Digital Interrupt:** 464 - 465 465 [[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"]] 466 466 467 467 **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) ... ... @@ -701,8 +701,6 @@ 701 701 702 702 Feature, Set Interrupt mode for PA8 of pin. 703 703 704 -When AT+INTMOD=0 is set, PA8 is used as a digital input port. 705 - 706 706 (% style="color:blue" %)**AT Command: AT+INTMOD** 707 707 708 708 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)