Changes for page wiki_test
Last modified by Mengting Qiu on 2024/09/05 17:35
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -396,7 +396,7 @@ 396 396 397 397 These bytes include the hardware and software version. 398 398 399 -(% style="color:#037691" %)**Higher byte:**(%%) Specify Sensor Model: 0x00 for DDS20-NB399 +(% style="color:#037691" %)**Higher byte:**(%%) Specify Sensor Model: 0x00 for S31B-NB & S31-NB 400 400 401 401 (% style="color:#037691" %)**Lower byte:**(%%) Specify the software version: 0x64=100, means firmware version 100 402 402 ... ... @@ -423,6 +423,20 @@ 423 423 **99** Not known or not detectable 424 424 425 425 426 +(% style="color:blue" %)**Temperature: ** 427 + 428 +If payload is: 0105H: (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree 429 + 430 +If payload is: FF3FH : (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 431 + 432 +(FF3F & 8000: Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 433 + 434 + 435 +(% style="color:blue" %)**Humidity: ** 436 + 437 +Read:0295(H)=661(D) Value: 661 / 10=66.1, So 66.1% 438 + 439 + 426 426 (% style="color:blue" %)**TimeStamp: ** 427 427 428 428 Unit TimeStamp Example: 64d49439(H) = 1691653177(D) ... ... @@ -465,7 +465,7 @@ 465 465 == 2.4 Multi-Samplings and One uplink == 466 466 467 467 468 -To save battery life, DDS20-NB will sample temperature & humidity data every 15 minutes and send one uplink every 2 hours. So each uplink it will include 8 stored data + 1 real-time data. They are defined by:482 +To save battery life, S31-NB will sample temperature & humidity data every 15 minutes and send one uplink every 2 hours. So each uplink it will include 8 stored data + 1 real-time data. They are defined by: 469 469 470 470 * (% style="color:#037691" %)**AT+TR=900** (%%) ~/~/ The unit is seconds, and the default is to record data once every 900 seconds (15 minutes, the minimum can be set to 180 seconds) 471 471 ... ... @@ -476,11 +476,35 @@ 476 476 [[image:1692424376354-959.png]] 477 477 478 478 479 -== 2.5 Trggieranuplink byexternalinterrupt==493 +== 2.5 Humidity and Temperature alarm function == 480 480 481 481 482 - DDS20-NBhasan externaliggerinterruptfunction.Userscanuse thePB15 pin totriggertheuploadofdata packets.496 +On each sampling define by AT+TR ( default 900s or 15 minutes), when the value exceed the range, it will trigger an Alarm and immediately sends a uplink. 483 483 498 + 499 +(% style="color:blue" %)**AT Commands:** 500 + 501 +(% style="color:#037691" %)**AT+ SHHUM=min,max** 502 + 503 +Example: AT+ SHHUM=50,80 ~/~/ Alarm when humidity lower than 50 or higher than 80. 504 + 505 + 506 +(% style="color:#037691" %)**AT+ SHTEMP=min,max** 507 + 508 +Example: AT+ SHTEMP=20,30 ~/~/ Alarm when temperature lower than 20 or higher than 30 509 + 510 + 511 +(% style="color:red" %)**Notice:** 512 + 513 +* To disable Alarm, user can set min and max to same value , such as (% style="color:#037691" %)**AT+SHTEMP=0,0.** 514 + 515 +* If user only want to send only min or max, user can set the alarm to a value that device won’t reach. For example: (% style="color:#037691" %)**AT+SHTEMP=-80,0.** 516 + 517 +== 2.6 Trggier an uplink by external interrupt == 518 + 519 + 520 +S31-NB has an external trigger interrupt function. Users can use the PB15 pin to trigger the upload of data packets. 521 + 484 484 (% style="color:blue" %)**AT command:** 485 485 486 486 * (% style="color:#037691" %)**AT+INTMOD **(%%) ~/~/ Set the trigger interrupt mode ... ... @@ -493,12 +493,12 @@ 493 493 494 494 * (% style="color:#037691" %)**AT+INTMOD=3 **(%%) ~/~/ Trigger by rising edge 495 495 496 -= 3. Configure DDS20-NB =534 += 3. Configure S31x-NB = 497 497 498 498 == 3.1 Configure Methods == 499 499 500 500 501 - DDS20-NB supports below configure method:539 +S31x-NB supports below configure method: 502 502 503 503 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]. 504 504 ... ... @@ -587,7 +587,7 @@ 587 587 = 4. Battery & Power Consumption = 588 588 589 589 590 - DDS20-NB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.628 +S31x-NB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 591 591 592 592 [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 593 593 ... ... @@ -622,7 +622,7 @@ 622 622 = 7. Order Info = 623 623 624 624 625 -Part Number: (% style="color:blue" %)** DDS20-NB-XX**663 +Part Number: (% style="color:blue" %)**S31-NB-XX / S31B-NB-XX** 626 626 627 627 (% style="color:red" %)**XX**(%%): 628 628 ... ... @@ -638,7 +638,7 @@ 638 638 639 639 (% style="color:#037691" %)**Package Includes**: 640 640 641 -* DDS20-NB NB-IoTUltrasonic liquid level sensor x 1679 +* S31-NB or S31-NB NB-IoT Sensor Node x 1 642 642 643 643 * External antenna x 1 644 644