Changes for page N95S31B -- NB-IoT Temperature & Humidity Sensor User Manual
Last modified by Mengting Qiu on 2024/04/02 16:44
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -9,6 +9,7 @@ 9 9 10 10 **Table of Contents:** 11 11 12 +{{toc/}} 12 12 13 13 14 14 ... ... @@ -41,7 +41,6 @@ 41 41 42 42 == 1.2 Features == 43 43 44 - 45 45 * NB-IoT Bands: B1/B3/B8/B5/B20/B28 @H-FDD 46 46 * Monitor Temperature & Humidity via SHT31 47 47 * AT Commands to change parameters ... ... @@ -130,9 +130,6 @@ 130 130 1. When boot the device in flash mode 131 131 1. Send an uplink packet 132 132 133 - 134 - 135 - 136 136 = 2. Use N95S31B to communicate with IoT Server = 137 137 138 138 == 2.1 How it works == ... ... @@ -176,7 +176,6 @@ 176 176 * The local NB-IoT network used the band that N95S31B supports. 177 177 * Your operator is able to distribute the data received in their NB-IoT network to your IoT server. 178 178 179 - 180 180 Below figure shows our testing structure. Here we have NB-IoT network coverage by China Mobile, the band they use is B8. 181 181 182 182 N95S31B supports different communication protocol such as : ... ... @@ -309,8 +309,8 @@ 309 309 * (% style="color:blue" %)**AT+CLIENT=CLIENT ** (%%)~/~/Set up the CLIENT of MQTT 310 310 * (% style="color:blue" %)**AT+UNAME=UNAME **(%%)~/~/Set the username of MQTT 311 311 * (% style="color:blue" %)**AT+PWD=PWD **(%%)~/~/Set the password of MQTT 312 -* (% style="color:blue" %)**AT+PUBTOPIC=f9527 313 -* (% style="color:blue" %)**AT+SUBTOPIC=Ns9527 308 +* (% style="color:blue" %)**AT+PUBTOPIC=f9527 **(%%)~/~/Set the sending topic of MQTT 309 +* (% style="color:blue" %)**AT+SUBTOPIC=Ns9527 **(%%) ~/~/Set the subscription topic of MQTT 314 314 315 315 [[image:1657352634421-276.png]] 316 316 ... ... @@ -356,58 +356,84 @@ 356 356 357 357 == 2.3 Uplink Payload == 358 358 359 -In this mode, uplink payload includes in total 14 bytes 360 360 356 +NBSN95 has different working mode for the connections of different type of sensors. This section describes these modes. User can use the AT Command (% style="color:blue" %)**AT+MOD**(%%) to set NBSN95 to different working modes. 361 361 362 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:440px" %) 358 + 359 +For example: 360 + 361 + (% style="color:blue" %)**AT+CFGMOD=2 ** (%%)~/~/will set the NBSN95 to work in MOD=2 distance mode which target to measure distance via Ultrasonic Sensor. 362 + 363 + 364 +The uplink payloads are composed in ASCII String. For example: 365 + 366 +0a cd 00 ed 0a cc 00 00 ef 02 d2 1d (total 24 ASCII Chars) . Representative the actually payload: 367 + 368 +0x 0a cd 00 ed 0a cc 00 00 ef 02 d2 1d Total 12 bytes 369 + 370 + 371 +(% style="color:red" %)**NOTE:** 372 + 373 +(% style="color:red" %) 374 +1. All modes share the same Payload Explanation from [[HERE>>||anchor="H2.3A0UplinkPayload"]]. 375 +1. By default, the device will send an uplink message every 1 hour. 376 + 377 + 378 +=== 2.3.1 Payload Analyze === 379 + 380 +N95S31B uplink payload includes in total 21 bytes 381 + 382 + 383 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:520px" %) 363 363 |=(% style="width: 60px;" %)((( 364 364 **Size(bytes)** 365 -)))|=(% style="width: 60px;" %)**6**|=(% style="width: 35px;" %)2|=(% style="width: 35px;" %)**2**|=(% style="width: 80px;" %)**1**|=(% style="width: 100px;" %)**2**|=(% style="width: 60px;" %)**1** 366 -|(% style="width:97px" %)**Value**|(% style="width:83px" %)[[Device ID>>||anchor="H2.4.1A0A0DeviceID"]]|(% style="width:41px" %)[[Ver>>||anchor="H2.4.2A0VersionInfo"]]|(% style="width:46px" %)[[BAT>>||anchor="H2.4.3A0BatteryInfo"]]|(% style="width:123px" %)[[Signal Strength>>||anchor="H2.4.4A0SignalStrength"]]|(% style="width:120px" %)[[Distance (unit: mm)>>||anchor="H2.4.5A0Distance"]]|(% style="width:80px" %)[[Interrupt>>||anchor="H2.4.6A0DigitalInterrupt"]] 386 +)))|=(% style="width: 60px;" %)**6**|=(% style="width: 35px;" %)2|=(% style="width: 35px;" %)**2**|=(% style="width: 80px;" %)**1**|=(% style="width: 80px;" %)1|=(% style="width: 99px;" %)5|=(% style="width: 77px;" %)**2**|=(% style="width: 60px;" %)**2** 387 +|(% style="width:97px" %)**Value**|(% style="width:83px" %)[[Device ID>>||anchor="H2.3.2A0DeviceID"]]|(% style="width:41px" %)[[Ver>>||anchor="H2.3.3A0VersionInfo"]]|(% style="width:46px" %)[[BAT>>||anchor="H2.3.4A0BatteryInfo"]]|(% style="width:123px" %)[[Signal Strength>>||anchor="H2.3.5A0SignalStrength"]]|(% style="width:123px" %)MOD 0X01|(% style="width:99px" %)((( 388 +Reserve/ Same as NBSN95 CFGMOD=1 367 367 368 - (((369 - Ifwe usethe MQTT client to subscribe to this MQTT topic,we can see the following information when the NDDS751 uplinkdata.370 - )))390 +No function here. 391 +)))|(% style="width:77px" %)((( 392 +[[Temperature >>||anchor="H2.3.6A0Temperature26Humidity"]] 371 371 394 +By SHT31 395 +)))|(% style="width:80px" %)((( 396 +[[Humidity>>||anchor="H2.3.6A0Temperature26Humidity"]] 372 372 373 -[[image:1657331036973-987.png]] 374 - 375 -((( 376 -The payload is ASCII string, representative same HEX: 398 +By SHT31 377 377 ))) 378 378 379 379 ((( 380 -0x72403155615900640c6c19029200 where: 402 +((( 403 +If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data. 381 381 ))) 382 - 383 -* ((( 384 -Device ID: 0x724031556159 = 724031556159 385 385 ))) 386 -* ((( 387 -Version: 0x0064=100=1.0.0 388 -))) 389 389 390 -* ((( 391 -BAT: 0x0c6c = 3180 mV = 3.180V 392 -))) 393 -* ((( 394 -Signal: 0x19 = 25 395 -))) 396 -* ((( 397 -Distance: 0x0292= 658 mm 398 -))) 399 -* ((( 400 -Interrupt: 0x00 = 0 401 401 408 +[[image:1657354294009-643.png]] 402 402 403 403 411 +The payload is ASCII string, representative same HEX: 0x724031607457006e0ccd1b0100dc000ccc00e10186 where: 412 + 413 +* Device ID: 0x724031607457 = 724031607457 414 +* Version: 0x006e=110=1.1.0 415 + 416 +* BAT: 0x0ccd = 3277 mV = 3.277V 417 +* Signal: 0x1b = 27 418 +* Model: 0x01 = 1 419 +* 0x00dc000ccc= reserve, ignore in N95S31B 420 +* Temperature by SHT31: 0x00e1 = 225 = 22.5 °C 421 +* Humidity by SHT31: 0x0186 = 390 = 39.0 %rh 422 + 423 +((( 404 404 405 405 ))) 406 406 407 -== 2.4 Payload Explanation and Sensor Interface == 427 +((( 428 + 429 +))) 408 408 409 409 410 -=== 2. 4.1432 +=== 2.3.2 Device ID === 411 411 412 412 ((( 413 413 By default, the Device ID equal to the last 6 bytes of IMEI. ... ... @@ -431,20 +431,25 @@ 431 431 432 432 433 433 434 -=== 2. 4.2Version Info ===456 +=== 2.3.3 Version Info === 435 435 436 -((( 437 -Specify the software version: 0x64=100, means firmware version 1.00. 438 -))) 439 439 459 +These bytes include the hardware and software version. 460 + 461 +Higher byte: Specify hardware version: always 0x00 for N95S31B 462 + 463 +Lower byte: Specify the software version: 0x6E=110, means firmware version 110 464 + 465 + 466 +For example: 0x00 6E: this device is N95S31B with firmware version 110. 467 + 440 440 ((( 441 - Forexample: 0x00 64 : this device is NDDS75 with firmware version 1.0.0.469 + 442 442 ))) 443 443 444 444 473 +=== 2.3.4 Battery Info === 445 445 446 -=== 2.4.3 Battery Info === 447 - 448 448 ((( 449 449 Ex1: 0x0B45 = 2885mV 450 450 ))) ... ... @@ -455,7 +455,7 @@ 455 455 456 456 457 457 458 -=== 2. 4.4Signal Strength ===485 +=== 2.3.5 Signal Strength === 459 459 460 460 ((( 461 461 NB-IoT Network signal Strength. ... ... @@ -487,85 +487,26 @@ 487 487 488 488 489 489 490 -=== 2. 4.5Distance ===517 +=== 2.3.6 Temperature & Humidity === 491 491 492 - Get the distance.Flatobject range280mm-7500mm.519 +The device will be able to get the SHT31 temperature and humidity data now and upload to IoT Server. 493 493 494 -((( 495 -For example, if the data you get from the register is **__0x0B 0x05__**, the distance between the sensor and the measured object is 496 -))) 521 +[[image:image-20220709161741-3.png]] 497 497 498 -((( 499 -((( 500 -(% style="color:blue" %)** 0B05(H) = 2821(D) = 2821mm.** 501 -))) 502 -))) 503 503 504 -((( 505 - 506 -))) 524 +Convert the read byte to decimal and divide it by ten. 507 507 508 -((( 509 - 510 -))) 511 511 512 - === 2.4.6 DigitalInterrupt ===527 +**Example:** 513 513 514 -((( 515 -Digital Interrupt refers to pin (% style="color:blue" %)**GPIO_EXTI**(%%), and there are different trigger methods. When there is a trigger, the NDDS75 will send a packet to the server. 516 -))) 529 +Temperature: Read:00ec (H) = 236(D) Value: 236 /10=23.6℃ 517 517 518 -((( 519 -The command is: 520 -))) 531 +Humidity: Read:0295(H)=661(D) Value: 661 / 10=66.1, So 66.1% 521 521 522 -((( 523 -(% style="color:blue" %)**AT+INTMOD=3 **(%%) ~/~/(more info about INMOD please refer [[**AT Command Manual**>>url:https://www.dragino.com/downloads/downloads/NB-IoT/NBSN95/DRAGINO_NBSN95-NB_AT%20Commands_v1.1.0.pdf]])**.** 524 -))) 525 525 526 526 527 -((( 528 -The lower four bits of this data field shows if this packet is generated by interrupt or not. Click here for the hardware and software set up. 529 -))) 535 +== 2.4 Downlink Payload == 530 530 531 - 532 -((( 533 -Example: 534 -))) 535 - 536 -((( 537 -0x(00): Normal uplink packet. 538 -))) 539 - 540 -((( 541 -0x(01): Interrupt Uplink Packet. 542 -))) 543 - 544 - 545 - 546 -=== 2.4.7 +5V Output === 547 - 548 -((( 549 -NDDS75 will enable +5V output before all sampling and disable the +5v after all sampling. 550 -))) 551 - 552 - 553 -((( 554 -The 5V output time can be controlled by AT Command. 555 -))) 556 - 557 -((( 558 -(% style="color:blue" %)**AT+5VT=1000** 559 -))) 560 - 561 -((( 562 -Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors. 563 -))) 564 - 565 - 566 - 567 -== 2.5 Downlink Payload == 568 - 569 569 By default, NDDS75 prints the downlink payload to console port. 570 570 571 571 [[image:image-20220709100028-1.png]] ... ... @@ -616,51 +616,16 @@ 616 616 617 617 618 618 619 -== 2. 6LED Indicator ==587 +== 2.5 Battery Analysis == 620 620 589 +=== 2.5.1 Battery Type === 621 621 622 -The NDDS75 has an internal LED which is to show the status of different state. 623 623 624 - 625 -* When power on, NDDS75 will detect if sensor probe is connected, if probe detected, LED will blink four times. (no blinks in this step is no probe) 626 -* Then the LED will be on for 1 second means device is boot normally. 627 -* After NDDS75 join NB-IoT network. The LED will be ON for 3 seconds. 628 -* For each uplink probe, LED will be on for 500ms. 629 - 630 630 ((( 631 - 593 +The N95S31B battery is a combination of an 8500mAh Li/SOCI2 Battery and a Super Capacitor. The battery is none-rechargeable battery type with a low discharge rate (<2% per year). This type of battery is commonly used in IoT devices such as water meter. 632 632 ))) 633 633 634 - 635 - 636 -== 2.7 Firmware Change Log == 637 - 638 - 639 639 ((( 640 -Download URL & Firmware Change log 641 -))) 642 - 643 -((( 644 -[[https:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/NDDS75/Firmware/>>url:https://www.dragino.com/downloads/index.php?dir=NB-IoT/NDDS75/Firmware/]] 645 -))) 646 - 647 - 648 -((( 649 -Upgrade Instruction: [[Upgrade_Firmware>>||anchor="H5.1200BHowtoUpgradeFirmware"]] 650 -))) 651 - 652 - 653 - 654 -== 2.8 Battery Analysis == 655 - 656 -=== 2.8.1 Battery Type === 657 - 658 - 659 -((( 660 -The NDDS75 battery is a combination of an 8500mAh Li/SOCI2 Battery and a Super Capacitor. The battery is none-rechargeable battery type with a low discharge rate (<2% per year). This type of battery is commonly used in IoT devices such as water meter. 661 -))) 662 - 663 -((( 664 664 The battery is designed to last for several years depends on the actually use environment and update interval. 665 665 ))) 666 666 ... ... @@ -678,56 +678,35 @@ 678 678 679 679 680 680 681 -=== 2. 8.2 Power consumption Analyze ===614 +=== 2.5.2 Power consumption Analyze === 682 682 683 683 ((( 684 - Draginobatterypoweredproductareall runsinLow Powermode.Wehave an update battery calculatorwhichbaseonthe measurement oftherealdevice. User can usethis calculatortocheck the batterylifeandcalculatethe batterylifeifwant tousedifferenttransmit interval.617 +The file **DRAGINO_N95S31B-Power-Analyzer.pdf** from [[https:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/N95S31B/>>url:https://www.dragino.com/downloads/index.php?dir=NB-IoT/N95S31B/]] describes a detail measurement to analyze the power consumption in different case. User can use it for design guideline for their project. 685 685 ))) 686 686 687 - 688 688 ((( 689 - Instructionto use as below:621 + 690 690 ))) 691 691 692 -((( 693 -(% style="color:blue" %)**Step 1: **(%%)Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/]] 694 -))) 695 695 625 +=== 2.5.3 Battery Note === 696 696 697 697 ((( 698 - (%style="color:blue"%)**Step2:**(%%)Open it andchoose628 +The Li-SICO battery is designed for small current / long period application. It is not good to use a high current, short period transmit method. The recommended minimum period for use of this battery is 5 minutes. If you use a shorter period time to uplink data, then the battery life may be decreased. 699 699 ))) 700 700 701 -* ((( 702 -Product Model 703 -))) 704 -* ((( 705 -Uplink Interval 706 -))) 707 -* ((( 708 -Working Mode 709 -))) 710 710 711 -((( 712 -And the Life expectation in difference case will be shown on the right. 713 -))) 714 714 715 - [[image:image-20220709110451-3.png]]633 +=== 2.5.4 Replace the battery === 716 716 717 717 718 - 719 -=== 2.8.3 Battery Note === 720 - 721 721 ((( 722 - TheLi-SICObattery isdesignedfor smallcurrent/long period application.It isnotgoodtouseahigh current,shortperiodtransmitmethod.Thecommendedminimumperiodforuseofthisbatteryis5minutes. If you use ashorter period time totransmitLoRa,then the batterylifemaybe decreased.637 +You can change the battery in the N95S31B.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so there won't be voltage drop between battery and main board. 723 723 ))) 724 724 725 725 726 - 727 -=== 2.8.4 Replace the battery === 728 - 729 729 ((( 730 -The default battery pack of N DDS75 includes a ER26500 plus super capacitor. If user can't find this pack locally, they can find ER26500 or equivalence without the SPC1520 capacitor, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes).642 +The default battery pack of N95S31B includes a ER26500 plus super capacitor. If user can't find this pack locally, they can find ER26500 or equivalence without the SPC1520 capacitor, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes). 731 731 ))) 732 732 733 733 ... ... @@ -750,7 +750,7 @@ 750 750 751 751 == 4.1 Access AT Commands == 752 752 753 -See this link for detail: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/N DDS75/>>url:http://www.dragino.com/downloads/index.php?dir=NB-IoT/NBSN50/]]665 +See NBSN95 AT Command in this link for detail: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/NBSN95/>>url:https://www.dragino.com/downloads/index.php?dir=NB-IoT/NBSN95/]] 754 754 755 755 756 756 AT+<CMD>? : Help on <CMD> ... ... @@ -838,7 +838,9 @@ 838 838 ))) 839 839 840 840 ((( 841 -(% style="color:red" %)Notice, NDDS75 and LDDS75 share the same mother board. They use the same connection and method to update. 753 + 754 + 755 +(% style="color:red" %)Notice, N95S31B and LSN50v2 share the same mother board. They use the same connection and method to update. 842 842 ))) 843 843 844 844 ... ... @@ -870,7 +870,7 @@ 870 870 = 7. Order Info = 871 871 872 872 873 -Part Number**:** (% style="color:#4f81bd" %)**N SDDS75**787 +Part Number**:** (% style="color:#4f81bd" %)**N95S31B-YY** 874 874 875 875 876 876 (% class="wikigeneratedid" %) ... ... @@ -885,7 +885,7 @@ 885 885 886 886 (% style="color:#037691" %)**Package Includes**: 887 887 888 -* NS E01DistanceDetectSensorNode x 1802 +* N95S31B NB-IoT Temperature and Humidity Sensor 889 889 * External antenna x 1 890 890 ))) 891 891 ... ... @@ -894,11 +894,10 @@ 894 894 895 895 (% style="color:#037691" %)**Dimension and weight**: 896 896 897 - 898 898 * Device Size: 13.0 x 5 x 4.5 cm 899 899 * Device Weight: 150g 900 -* Package Size / pcs : 1 5x12x 5.5cm901 -* Weight / pcs : 220g813 +* Package Size / pcs : 14.0 x 8x 5 cm 814 +* Weight / pcs : 180g 902 902 ))) 903 903 904 904 (((
- image-20220709161741-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +111.2 KB - Content