<
From version < 115.14 >
edited by Xiaoling
on 2022/07/09 17:55
To version < 113.1 >
edited by Xiaoling
on 2022/07/09 15:48
>
Change comment: Uploaded new attachment "1657352914475-252.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -9,7 +9,6 @@
9 9  
10 10  **Table of Contents:**
11 11  
12 -{{toc/}}
13 13  
14 14  
15 15  
... ... @@ -42,6 +42,7 @@
42 42  
43 43  == 1.2 ​ Features ==
44 44  
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
... ... @@ -55,7 +55,6 @@
55 55  
56 56  
57 57  
58 -
59 59  == 1.3  Specification ==
60 60  
61 61  
... ... @@ -84,7 +84,6 @@
84 84  
85 85  
86 86  
87 -
88 88  == ​1.4  Applications ==
89 89  
90 90  * Smart Buildings & Home Automation
... ... @@ -133,6 +133,8 @@
133 133  1. Send an uplink packet
134 134  
135 135  
134 +
135 +
136 136  = 2.  Use N95S31B to communicate with IoT Server =
137 137  
138 138  == 2.1  How it works ==
... ... @@ -176,6 +176,7 @@
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 +
179 179  Below figure shows our testing structure. Here we have NB-IoT network coverage by China Mobile, the band they use is B8.
180 180  
181 181  N95S31B supports different communication protocol such as :
... ... @@ -301,7 +301,7 @@
301 301  
302 302  === 2.2.7  Use MQTT protocol to uplink data ===
303 303  
304 -N95S31B supports only plain MQTT now it doesn't support TLS and other related encryption.
305 +N95S31B supports only plain MQTT now it doesnt support TLS and other related encryption.
305 305  
306 306  * (% style="color:blue" %)**AT+PRO=3   ** (%%) ~/~/Set to use MQTT protocol to uplink
307 307  * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883   ** (%%) ~/~/Set MQTT server address and port
... ... @@ -308,8 +308,8 @@
308 308  * (% style="color:blue" %)**AT+CLIENT=CLIENT       ** (%%)~/~/Set up the CLIENT of MQTT
309 309  * (% style="color:blue" %)**AT+UNAME=UNAME                                **(%%)~/~/Set the username of MQTT
310 310  * (% style="color:blue" %)**AT+PWD=PWD                                         **(%%)~/~/Set the password of MQTT
311 -* (% style="color:blue" %)**AT+PUBTOPIC=f9527                               **(%%)~/~/Set the sending topic of MQTT
312 -* (% style="color:blue" %)**AT+SUBTOPIC=Ns9527          **(%%) ~/~/Set the subscription topic of MQTT
312 +* (% style="color:blue" %)**AT+PUBTOPIC=f9527  **(%%)~/~/Set the sending topic of MQTT
313 +* (% style="color:blue" %)**AT+SUBTOPIC=Ns9527  **(%%) ~/~/Set the subscription topic of MQTT
313 313  
314 314  [[image:1657352634421-276.png]]
315 315  
... ... @@ -327,21 +327,20 @@
327 327  
328 328  
329 329  
330 -=== 2.2. Use TCP protocol to uplink data ===
331 +=== 2.2.7 Use TCP protocol to uplink data ===
331 331  
332 -This feature is supported since firmware version v110
333 333  
334 334  * (% style="color:blue" %)**AT+PRO=4   ** (%%) ~/~/ Set to use TCP protocol to uplink
335 335  * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600   **(%%) ~/~/ to set TCP server address and port
336 336  
337 -[[image:1657352898400-901.png]]
337 +[[image:image-20220709093918-1.png]]
338 338  
339 339  
340 -[[image:1657352914475-252.png]]
340 +[[image:image-20220709093918-2.png]]
341 341  
342 342  
343 343  
344 -=== 2.2. Change Update Interval ===
344 +=== 2.2.8 Change Update Interval ===
345 345  
346 346  User can use below command to change the (% style="color:green" %)**uplink interval**.
347 347  
... ... @@ -348,92 +348,69 @@
348 348  * (% style="color:blue" %)**AT+TDC=600      ** (%%)~/~/ Set Update Interval to 600s
349 349  
350 350  (((
351 -
351 +(% style="color:red" %)**NOTE:**
352 352  )))
353 353  
354 +(((
355 +(% style="color:red" %)1. By default, the device will send an uplink message every 1 hour.
356 +)))
354 354  
355 355  
359 +
356 356  == 2.3  Uplink Payload ==
357 357  
362 +In this mode, uplink payload includes in total 14 bytes
358 358  
359 -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.
360 360  
361 -
362 -For example:
363 -
364 - (% 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.
365 -
366 -
367 -The uplink payloads are composed in  ASCII String. For example:
368 -
369 -0a cd 00 ed 0a cc 00 00 ef 02 d2 1d (total 24 ASCII Chars) . Representative the actually payload:
370 -
371 -0x 0a cd 00 ed 0a cc 00 00 ef 02 d2 1d Total 12 bytes
372 -
373 -
374 -(% style="color:red" %)**NOTE:**
375 -
376 -(% style="color:red" %)
377 -1. All modes share the same Payload Explanation from [[HERE>>path:#Payload_Explain]].
378 -1. By default, the device will send an uplink message every 1 hour.
379 -
380 -
381 -
382 -=== 2.3.1  Payload Analyze ===
383 -
384 -N95S31B uplink payload includes in total 21 bytes
385 -
386 -
387 387  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:440px" %)
388 388  |=(% style="width: 60px;" %)(((
389 389  **Size(bytes)**
390 -)))|=(% style="width: 60px;" %)**6**|=(% style="width: 35px;" %)2|=(% style="width: 35px;" %)**2**|=(% style="width: 80px;" %)**1**|=(% style="width: 80px;" %) |=(% style="width: 99px;" %) |=(% style="width: 77px;" %)**2**|=(% style="width: 60px;" %)**1**
391 -|(% 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:123px" %)MOD 0X01|(% style="width:99px" %)(((
392 -Reserve/ Same as NBSN95 CFGMOD=1
368 +)))|=(% style="width: 60px;" %)**6**|=(% style="width: 35px;" %)2|=(% style="width: 35px;" %)**2**|=(% style="width: 80px;" %)**1**|=(% style="width: 100px;" %)**2**|=(% style="width: 60px;" %)**1**
369 +|(% 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"]]
393 393  
394 -No function here.
395 -)))|(% style="width:77px" %)(((
396 -[[Temperature >>||anchor="H2.4.5A0Distance"]]
371 +(((
372 +If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NDDS751 uplink data.
373 +)))
397 397  
398 -By SHT31
399 -)))|(% style="width:80px" %)(((
400 -[[Humidity>>||anchor="H2.4.6A0DigitalInterrupt"]]
401 401  
402 -By SHT31
376 +[[image:1657331036973-987.png]]
377 +
378 +(((
379 +The payload is ASCII string, representative same HEX:
403 403  )))
404 404  
405 405  (((
406 -(((
407 -If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data.
383 +0x72403155615900640c6c19029200 where:
408 408  )))
385 +
386 +* (((
387 +Device ID: 0x724031556159 = 724031556159
409 409  )))
389 +* (((
390 +Version: 0x0064=100=1.0.0
391 +)))
410 410  
393 +* (((
394 +BAT: 0x0c6c = 3180 mV = 3.180V
395 +)))
396 +* (((
397 +Signal: 0x19 = 25
398 +)))
399 +* (((
400 +Distance: 0x0292= 658 mm
401 +)))
402 +* (((
403 +Interrupt: 0x00 = 0
411 411  
412 -[[image:1657354294009-643.png]]
413 413  
414 414  
415 -The payload is ASCII string, representative same HEX: 0x724031607457006e0ccd1b0100dc000ccc00e10186 where:
416 -
417 -* Device ID: 0x724031607457 = 724031607457
418 -* Version: 0x006e=110=1.1.0
419 -
420 -* BAT: 0x0ccd = 3277 mV = 3.277V
421 -* Signal: 0x1b = 27
422 -* Model: 0x01 = 1
423 -* 0x00dc000ccc= reserve, ignore in N95S31B
424 -* Temperature by SHT31: 0x00e1 = 225 = 22.5 °C
425 -* Humidity by SHT31: 0x0186 = 390 = 39.0 %rh
426 -
427 -(((
428 428  
429 429  )))
430 430  
431 -(((
432 -
433 -)))
410 +== 2.4  Payload Explanation and Sensor Interface ==
434 434  
435 435  
436 -=== 2.3.2  Device ID ===
413 +=== 2.4.1  Device ID ===
437 437  
438 438  (((
439 439  By default, the Device ID equal to the last 6 bytes of IMEI.
... ... @@ -457,25 +457,20 @@
457 457  
458 458  
459 459  
460 -=== 2.3.3  Version Info ===
437 +=== 2.4.2  Version Info ===
461 461  
439 +(((
440 +Specify the software version: 0x64=100, means firmware version 1.00.
441 +)))
462 462  
463 -These bytes include the hardware and software version.
464 -
465 -Higher byte: Specify hardware version: always 0x00 for N95S31B
466 -
467 -Lower byte: Specify the software version: 0x6E=110, means firmware version 110
468 -
469 -
470 -For example: 0x00 6E: this device is N95S31B with firmware version 110.
471 -
472 472  (((
473 -
444 +For example: 0x00 64 : this device is NDDS75 with firmware version 1.0.0.
474 474  )))
475 475  
476 476  
477 -=== 2.3.4  Battery Info ===
478 478  
449 +=== 2.4.3  Battery Info ===
450 +
479 479  (((
480 480  Ex1: 0x0B45 = 2885mV
481 481  )))
... ... @@ -486,7 +486,7 @@
486 486  
487 487  
488 488  
489 -=== 2.3.5  Signal Strength ===
461 +=== 2.4.4  Signal Strength ===
490 490  
491 491  (((
492 492  NB-IoT Network signal Strength.
... ... @@ -518,26 +518,85 @@
518 518  
519 519  
520 520  
521 -=== 2.3.6  Temperature & Humidity ===
493 +=== 2.4.5  Distance ===
522 522  
523 -The device will be able to get the SHT31 temperature and humidity data now and upload to IoT Server.
495 +Get the distance. Flat object range 280mm - 7500mm.
524 524  
525 -[[image:image-20220709161741-3.png]]
497 +(((
498 +For example, if the data you get from the register is **__0x0B 0x05__**, the distance between the sensor and the measured object is
499 +)))
526 526  
501 +(((
502 +(((
503 +(% style="color:blue" %)** 0B05(H) = 2821(D) = 2821mm.**
504 +)))
505 +)))
527 527  
528 -Convert the read byte to decimal and divide it by ten.
507 +(((
508 +
509 +)))
529 529  
511 +(((
512 +
513 +)))
530 530  
531 -**Example:**
515 +=== 2.4.6  Digital Interrupt ===
532 532  
533 -Temperature:  Read:00ec (H) = 236(D)  Value:  236 /10=23.6℃
517 +(((
518 +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.
519 +)))
534 534  
535 -Humidity:    Read:0295(H)=661(D)    Value:  661 / 10=66.1, So 66.1%
521 +(((
522 +The command is:
523 +)))
536 536  
525 +(((
526 +(% 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]])**.**
527 +)))
537 537  
538 538  
539 -== 2.4  Downlink Payload ==
530 +(((
531 +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.
532 +)))
540 540  
534 +
535 +(((
536 +Example:
537 +)))
538 +
539 +(((
540 +0x(00): Normal uplink packet.
541 +)))
542 +
543 +(((
544 +0x(01): Interrupt Uplink Packet.
545 +)))
546 +
547 +
548 +
549 +=== 2.4.7  ​+5V Output ===
550 +
551 +(((
552 +NDDS75 will enable +5V output before all sampling and disable the +5v after all sampling. 
553 +)))
554 +
555 +
556 +(((
557 +The 5V output time can be controlled by AT Command.
558 +)))
559 +
560 +(((
561 +(% style="color:blue" %)**AT+5VT=1000**
562 +)))
563 +
564 +(((
565 +Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors.
566 +)))
567 +
568 +
569 +
570 +== 2.5  Downlink Payload ==
571 +
541 541  By default, NDDS75 prints the downlink payload to console port.
542 542  
543 543  [[image:image-20220709100028-1.png]]
... ... @@ -588,16 +588,51 @@
588 588  
589 589  
590 590  
591 -== 2.5  ​Battery Analysis ==
622 +== 2.6  ​LED Indicator ==
592 592  
593 -=== 2.5.1  ​Battery Type ===
594 594  
625 +The NDDS75 has an internal LED which is to show the status of different state.
595 595  
627 +
628 +* 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)
629 +* Then the LED will be on for 1 second means device is boot normally.
630 +* After NDDS75 join NB-IoT network. The LED will be ON for 3 seconds.
631 +* For each uplink probe, LED will be on for 500ms.
632 +
596 596  (((
597 -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.
634 +
598 598  )))
599 599  
637 +
638 +
639 +== 2.7  ​Firmware Change Log ==
640 +
641 +
600 600  (((
643 +Download URL & Firmware Change log
644 +)))
645 +
646 +(((
647 +[[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/]]
648 +)))
649 +
650 +
651 +(((
652 +Upgrade Instruction: [[Upgrade_Firmware>>||anchor="H5.1200BHowtoUpgradeFirmware"]]
653 +)))
654 +
655 +
656 +
657 +== 2.8  ​Battery Analysis ==
658 +
659 +=== 2.8.1  ​Battery Type ===
660 +
661 +
662 +(((
663 +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.
664 +)))
665 +
666 +(((
601 601  The battery is designed to last for several years depends on the actually use environment and update interval. 
602 602  )))
603 603  
... ... @@ -615,35 +615,56 @@
615 615  
616 616  
617 617  
618 -=== 2.5.2  Power consumption Analyze ===
684 +=== 2.8.2  Power consumption Analyze ===
619 619  
620 620  (((
621 -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.
687 +Dragino battery powered product are all runs in Low Power mode. We have an update battery calculator which base on the measurement of the real device. User can use this calculator to check the battery life and calculate the battery life if want to use different transmit interval.
622 622  )))
623 623  
690 +
624 624  (((
625 -
692 +Instruction to use as below:
626 626  )))
627 627  
695 +(((
696 +(% 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/]]
697 +)))
628 628  
629 -=== 2.5.3  ​Battery Note ===
630 630  
631 631  (((
632 -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.
701 +(% style="color:blue" %)**Step 2: **(%%) Open it and choose
633 633  )))
634 634  
704 +* (((
705 +Product Model
706 +)))
707 +* (((
708 +Uplink Interval
709 +)))
710 +* (((
711 +Working Mode
712 +)))
635 635  
714 +(((
715 +And the Life expectation in difference case will be shown on the right.
716 +)))
636 636  
637 -=== 2.5.4  Replace the battery ===
718 +[[image:image-20220709110451-3.png]]
638 638  
639 639  
721 +
722 +=== 2.8.3  ​Battery Note ===
723 +
640 640  (((
641 -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.
725 +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 transmit LoRa, then the battery life may be decreased.
642 642  )))
643 643  
644 644  
729 +
730 +=== 2.8.4  Replace the battery ===
731 +
645 645  (((
646 -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).
733 +The default battery pack of NDDS75 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).
647 647  )))
648 648  
649 649  
... ... @@ -666,7 +666,7 @@
666 666  
667 667  == 4.1  Access AT Commands ==
668 668  
669 -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/]]
756 +See this link for detail: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/NDDS75/>>url:http://www.dragino.com/downloads/index.php?dir=NB-IoT/NBSN50/]]
670 670  
671 671  
672 672  AT+<CMD>?  : Help on <CMD>
... ... @@ -754,9 +754,7 @@
754 754  )))
755 755  
756 756  (((
757 -
758 -
759 -(% style="color:red" %)Notice, N95S31B and LSN50v2 share the same mother board. They use the same connection and method to update.
844 +(% style="color:red" %)Notice, NDDS75 and LDDS75 share the same mother board. They use the same connection and method to update.
760 760  )))
761 761  
762 762  
... ... @@ -788,7 +788,7 @@
788 788  = 7. ​ Order Info =
789 789  
790 790  
791 -Part Number**:** (% style="color:#4f81bd" %)**N95S31B-YY**
876 +Part Number**:** (% style="color:#4f81bd" %)**NSDDS75**
792 792  
793 793  
794 794  (% class="wikigeneratedid" %)
... ... @@ -803,7 +803,7 @@
803 803  
804 804  (% style="color:#037691" %)**Package Includes**:
805 805  
806 -* N95S31B NB-IoT Temperature and Humidity Sensor
891 +* NSE01 NB-IoT Distance Detect Sensor Node x 1
807 807  * External antenna x 1
808 808  )))
809 809  
... ... @@ -812,10 +812,11 @@
812 812  
813 813  (% style="color:#037691" %)**Dimension and weight**:
814 814  
900 +
815 815  * Device Size: 13.0 x 5 x 4.5 cm
816 816  * Device Weight: 150g
817 -* Package Size / pcs : 14.0 x 8x 5 cm
818 -* Weight / pcs : 180g
903 +* Package Size / pcs : 15 x 12x 5.5 cm
904 +* Weight / pcs : 220g
819 819  )))
820 820  
821 821  (((
1657354294009-643.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -214.7 KB
Content
image-20220709161741-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -111.2 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0