<
From version < 115.3 >
edited by Xiaoling
on 2022/07/09 16:59
To version < 114.2 >
edited by Xiaoling
on 2022/07/09 16:12
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -41,6 +41,7 @@
41 41  
42 42  == 1.2 ​ Features ==
43 43  
44 +
44 44  * NB-IoT Bands: B1/B3/B8/B5/B20/B28 @H-FDD
45 45  * Monitor Temperature & Humidity via SHT31
46 46  * AT Commands to change parameters
... ... @@ -53,8 +53,6 @@
53 53  * 8500mAh Battery for long term use
54 54  
55 55  
56 -
57 -
58 58  == 1.3  Specification ==
59 59  
60 60  
... ... @@ -82,8 +82,6 @@
82 82  * Max boost current: 2A, 1 second
83 83  
84 84  
85 -
86 -
87 87  == ​1.4  Applications ==
88 88  
89 89  * Smart Buildings & Home Automation
... ... @@ -132,6 +132,7 @@
132 132  1. Send an uplink packet
133 133  
134 134  
132 +
135 135  = 2.  Use N95S31B to communicate with IoT Server =
136 136  
137 137  == 2.1  How it works ==
... ... @@ -378,6 +378,7 @@
378 378  
379 379  
380 380  
379 +
381 381  === 2.3.1  Payload Analyze ===
382 382  
383 383  N95S31B uplink payload includes in total 21 bytes
... ... @@ -410,30 +410,43 @@
410 410  
411 411  [[image:1657354294009-643.png]]
412 412  
412 +(((
413 +The payload is ASCII string, representative same HEX:
414 +)))
413 413  
414 -The payload is ASCII string, representative same HEX: 0x724031607457006e0ccd1b0100dc000ccc00e10186 where:
416 +(((
417 +0x72403155615900640c6c19029200 where:
418 +)))
415 415  
416 -* Device ID: 0x724031607457 = 724031607457
417 -* Version: 0x006e=110=1.1.0
420 +* (((
421 +Device ID: 0x724031556159 = 724031556159
422 +)))
423 +* (((
424 +Version: 0x0064=100=1.0.0
425 +)))
418 418  
419 -* BAT: 0x0ccd = 3277 mV = 3.277V
420 -* Signal: 0x1b = 27
421 -* Model: 0x01 = 1
422 -* 0x00dc000ccc= reserve, ignore in N95S31B
423 -* Temperature by SHT31: 0x00e1 = 225 = 22.5 °C
424 -* Humidity by SHT31: 0x0186 = 390 = 39.0 %rh
425 -
426 -(((
427 -
427 +* (((
428 +BAT: 0x0c6c = 3180 mV = 3.180V
428 428  )))
430 +* (((
431 +Signal: 0x19 = 25
432 +)))
433 +* (((
434 +Distance: 0x0292= 658 mm
435 +)))
436 +* (((
437 +Interrupt: 0x00 = 0
429 429  
430 -(((
439 +
440 +
431 431  
432 432  )))
433 433  
444 +== 2.4  Payload Explanation and Sensor Interface ==
434 434  
435 -=== 2.3.2  Device ID ===
436 436  
447 +=== 2.4.1  Device ID ===
448 +
437 437  (((
438 438  By default, the Device ID equal to the last 6 bytes of IMEI.
439 439  )))
... ... @@ -456,25 +456,20 @@
456 456  
457 457  
458 458  
459 -=== 2.3.3  Version Info ===
471 +=== 2.4.2  Version Info ===
460 460  
473 +(((
474 +Specify the software version: 0x64=100, means firmware version 1.00.
475 +)))
461 461  
462 -These bytes include the hardware and software version.
463 -
464 -Higher byte: Specify hardware version: always 0x00 for N95S31B
465 -
466 -Lower byte: Specify the software version: 0x6E=110, means firmware version 110
467 -
468 -
469 -For example: 0x00 6E: this device is N95S31B with firmware version 110.
470 -
471 471  (((
472 -
478 +For example: 0x00 64 : this device is NDDS75 with firmware version 1.0.0.
473 473  )))
474 474  
475 475  
476 -=== 2.3.4  Battery Info ===
477 477  
483 +=== 2.4.3  Battery Info ===
484 +
478 478  (((
479 479  Ex1: 0x0B45 = 2885mV
480 480  )))
... ... @@ -485,7 +485,7 @@
485 485  
486 486  
487 487  
488 -=== 2.3.5  Signal Strength ===
495 +=== 2.4.4  Signal Strength ===
489 489  
490 490  (((
491 491  NB-IoT Network signal Strength.
... ... @@ -517,24 +517,83 @@
517 517  
518 518  
519 519  
520 -=== 2.3.6  Temperature & Humidity ===
527 +=== 2.4.5  Distance ===
521 521  
522 -The device will be able to get the SHT31 temperature and humidity data now and upload to IoT Server.
529 +Get the distance. Flat object range 280mm - 7500mm.
523 523  
524 -[[image:image-20220709161741-3.png]]
531 +(((
532 +For example, if the data you get from the register is **__0x0B 0x05__**, the distance between the sensor and the measured object is
533 +)))
525 525  
535 +(((
536 +(((
537 +(% style="color:blue" %)** 0B05(H) = 2821(D) = 2821mm.**
538 +)))
539 +)))
526 526  
527 -Convert the read byte to decimal and divide it by ten.
541 +(((
542 +
543 +)))
528 528  
545 +(((
546 +
547 +)))
529 529  
530 -**Example:**
549 +=== 2.4.6  Digital Interrupt ===
531 531  
532 -Temperature:  Read:00ec (H) = 236(D)  Value:  236 /10=23.6℃
551 +(((
552 +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.
553 +)))
533 533  
534 -Humidity:    Read:0295(H)=661(D)    Value:  661 / 10=66.1, So 66.1%
555 +(((
556 +The command is:
557 +)))
535 535  
559 +(((
560 +(% 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]])**.**
561 +)))
536 536  
537 537  
564 +(((
565 +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.
566 +)))
567 +
568 +
569 +(((
570 +Example:
571 +)))
572 +
573 +(((
574 +0x(00): Normal uplink packet.
575 +)))
576 +
577 +(((
578 +0x(01): Interrupt Uplink Packet.
579 +)))
580 +
581 +
582 +
583 +=== 2.4.7  ​+5V Output ===
584 +
585 +(((
586 +NDDS75 will enable +5V output before all sampling and disable the +5v after all sampling. 
587 +)))
588 +
589 +
590 +(((
591 +The 5V output time can be controlled by AT Command.
592 +)))
593 +
594 +(((
595 +(% style="color:blue" %)**AT+5VT=1000**
596 +)))
597 +
598 +(((
599 +Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors.
600 +)))
601 +
602 +
603 +
538 538  == 2.5  Downlink Payload ==
539 539  
540 540  By default, NDDS75 prints the downlink payload to console port.
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