Changes for page wiki_test

Last modified by Mengting Qiu on 2024/09/05 17:35

From version 84.9
edited by Xiaoling
on 2023/09/11 15:13
Change comment: There is no comment for this version
To version 84.6
edited by Xiaoling
on 2023/09/11 14:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -308,10 +308,10 @@
308 308  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DDS20-NB_NB-IoT_Ultrasonic_Liquid_Level_Sensor_User_Manual/WebHome/image-20230911140426-2.png?width=951&height=320&rev=1.1||alt="image-20230911140426-2.png"]]
309 309  
310 310  
311 -There are two version: (% style="color:blue" %)**-GE**(%%) and (% style="color:blue" %)**-1D**(%%) version of DDS20-NB.
311 +There are two version: (% style="color:blue" %)**-GE**(%%) and (% style="color:blue" %)**-1D**(%%) version of S31-NB.
312 312  
313 313  
314 -(% style="color:blue" %)**GE Version**(%%): This version doesn't include SIM card or point to any IoT server. User needs to use AT Commands to configure below two steps to set DDS20-NB send data to IoT server.
314 +(% style="color:blue" %)**GE Version**(%%): This version doesn't include SIM card or point to any IoT server. User needs to use AT Commands to configure below two steps to set S31-NB send data to IoT server.
315 315  
316 316  * Install NB-IoT SIM card and configure APN. See instruction of [[Attach Network>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H2.AttachNetwork]].
317 317  
... ... @@ -341,13 +341,13 @@
341 341  [[image:image-20230819113244-11.png||height="141" width="367"]]
342 342  )))|(% style="width:170px" %)
343 343  
344 -(% style="color:blue" %)**1D Version**(%%): This version has 1NCE SIM card pre-installed and configure to send value to DataCake. User Just need to select the sensor type in DataCake and Activate DDS20-NB and user will be able to see data in DataCake. See here for [[DataCake Config Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.4Datacake]].
344 +(% style="color:blue" %)**1D Version**(%%): This version has 1NCE SIM card pre-installed and configure to send value to DataCake. User Just need to select the sensor type in DataCake and Activate S31-NB and user will be able to see data in DataCake. See here for [[DataCake Config Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.4Datacake]].
345 345  
346 346  
347 347  == 2.2 ​Payload Types ==
348 348  
349 349  
350 -To meet different server requirement, DDS20-NB supports different payload type.
350 +To meet different server requirement, S31-NB supports different payload type.
351 351  
352 352  **Includes:**
353 353  
... ... @@ -373,7 +373,7 @@
373 373  
374 374  This is the General Json Format. As below:
375 375  
376 -(% style="color:#4472c4" %)**{"IMEI":866207053462762,"temperature":29.2,"humidity":54.2,"battery":3.27,"signal":24,"Model":DDS20-NB, "1":{28.2,48.3,2023/08/10 08:00:37},"2":{28.1,49.1,2023/08/10 07:57:37},"3":{28.1,48.5,2023/08/10 07:54:37},"4":{28.2,48.6,2023/08/10 07:51:37},"5":{28.1,48.9,2023/08/10 07:48:37},"6":{28.2,48.8,2023/08/10 07:45:37},"7":{28.2,48.8,2023/08/10 07:42:37},"8":{28.0,48.8,2023/08/10 07:39:37}}**
376 +(% style="color:#4472c4" %)**{"IMEI":866207053462762,"temperature":29.2,"humidity":54.2,"battery":3.27,"signal":24,"Model":S31x-NB, "1":{28.2,48.3,2023/08/10 08:00:37},"2":{28.1,49.1,2023/08/10 07:57:37},"3":{28.1,48.5,2023/08/10 07:54:37},"4":{28.2,48.6,2023/08/10 07:51:37},"5":{28.1,48.9,2023/08/10 07:48:37},"6":{28.2,48.8,2023/08/10 07:45:37},"7":{28.2,48.8,2023/08/10 07:42:37},"8":{28.0,48.8,2023/08/10 07:39:37}}**
377 377  
378 378  
379 379  (% style="color:red" %)**Notice, from above payload:**
... ... @@ -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-NB
399 +(% 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 Trggier an uplink by external interrupt ==
493 +== 2.5 Humidity and Temperature alarm function ==
480 480  
481 481  
482 -DDS20-NB has an external trigger interrupt function. Users can use the PB15 pin to trigger the upload of data 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-IoT Sensor Node x 1
679 +* S31-NB or S31-NB NB-IoT Sensor Node x 1
642 642  
643 643  * External antenna x 1
644 644