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)
Details
- Page properties
-
- Content
-
... ... @@ -17,11 +17,8 @@ 17 17 18 18 = 1. Introduction = 19 19 20 - 21 21 == 1.1 What is N95S31B NB-IoT Sensor Node == 22 22 23 -((( 24 - 25 25 26 26 ((( 27 27 The Dragino N95S31B is a (% style="color:blue" %)**NB-IoT Temperature and Humidity Sensor**(%%) for Internet of Things solution. It is used to measure the (% style="color:blue" %)**surrounding environment temperature and relative air humidity precisely**(%%), and then upload to IoT server via NB-IoT network*. ... ... @@ -40,20 +40,13 @@ 40 40 ))) 41 41 42 42 ((( 43 - 44 -))) 45 - 46 -((( 47 47 ~* make sure you have NB-IoT coverage locally. 48 48 ))) 49 49 50 - 51 -))) 52 52 53 53 [[image:1657348284168-431.png]] 54 54 55 55 56 - 57 57 == 1.2 Features == 58 58 59 59 ... ... @@ -69,6 +69,7 @@ 69 69 * 8500mAh Battery for long term use 70 70 71 71 62 + 72 72 == 1.3 Specification == 73 73 74 74 ... ... @@ -79,12 +79,12 @@ 79 79 80 80 (% style="color:#037691" %)**NB-IoT Spec:** 81 81 82 -* -B1 @H-FDD: 2100MHz83 -* -B3 @H-FDD: 1800MHz84 -* -B8 @H-FDD: 900MHz85 -* -B5 @H-FDD: 850MHz86 -* -B20 @H-FDD: 800MHz87 -* -B28 @H-FDD: 700MHz73 +* B1 @H-FDD: 2100MHz 74 +* B3 @H-FDD: 1800MHz 75 +* B8 @H-FDD: 900MHz 76 +* B5 @H-FDD: 850MHz 77 +* B20 @H-FDD: 800MHz 78 +* B28 @H-FDD: 700MHz 88 88 89 89 (% style="color:#037691" %)**Battery:** 90 90 ... ... @@ -95,6 +95,7 @@ 95 95 * Max boost current: 2A, 1 second 96 96 97 97 89 + 98 98 == 1.4 Applications == 99 99 100 100 ... ... @@ -109,7 +109,6 @@ 109 109 110 110 111 111 112 - 113 113 == 1.5 Pin Definitions & Switch == 114 114 115 115 ... ... @@ -119,7 +119,6 @@ 119 119 [[image:image-20220709144723-1.png]] 120 120 121 121 122 - 123 123 === 1.5.1 Jumper JP2 === 124 124 125 125 ... ... @@ -126,7 +126,6 @@ 126 126 Power on Device when put this jumper. 127 127 128 128 129 - 130 130 === 1.5.2 BOOT MODE / SW1 === 131 131 132 132 ... ... @@ -139,7 +139,6 @@ 139 139 ))) 140 140 141 141 142 - 143 143 === 1.5.3 Reset Button === 144 144 145 145 ... ... @@ -146,7 +146,6 @@ 146 146 Press to reboot the device. 147 147 148 148 149 - 150 150 === 1.5.4 LED === 151 151 152 152 ... ... @@ -157,10 +157,8 @@ 157 157 2. Send an uplink packet 158 158 159 159 160 - 161 161 = 2. Use N95S31B to communicate with IoT Server = 162 162 163 - 164 164 == 2.1 How it works == 165 165 166 166 ... ... @@ -183,10 +183,8 @@ 183 183 184 184 ))) 185 185 186 - 187 187 == 2.2 Configure the N95S31B == 188 188 189 - 190 190 === 2.2.1 Power On N95S31B === 191 191 192 192 ... ... @@ -193,10 +193,9 @@ 193 193 [[image:image-20220709150546-2.png]] 194 194 195 195 179 +=== 2.2.2 Test Requirement === 196 196 197 -=== 2.2.1 Test Requirement === 198 198 199 - 200 200 ((( 201 201 To use N95S31B in your city, make sure meet below requirements: 202 202 ))) ... ... @@ -243,7 +243,6 @@ 243 243 [[image:1657350625843-586.png]] 244 244 245 245 246 - 247 247 === 2.2.3 Insert SIM card === 248 248 249 249 ... ... @@ -259,7 +259,6 @@ 259 259 [[image:1657351240556-536.png]] 260 260 261 261 262 - 263 263 === 2.2.4 Connect USB – TTL to N95S31B to configure it === 264 264 265 265 ... ... @@ -274,7 +274,7 @@ 274 274 [[image:1657351312545-300.png]] 275 275 276 276 277 - **(% style="color:blue" %)Connection:**257 +(% style="color:blue" %)**Connection:** 278 278 279 279 (% style="background-color:yellow" %)**USB TTL GND <~-~-~-~-> GND** 280 280 ... ... @@ -303,7 +303,6 @@ 303 303 ))) 304 304 305 305 306 - 307 307 === 2.2.5 Use CoAP protocol to uplink data === 308 308 309 309 ... ... @@ -340,7 +340,6 @@ 340 340 [[image:1657352185396-303.png]] 341 341 342 342 343 - 344 344 === 2.2.6 Use UDP protocol to uplink data(Default protocol) === 345 345 346 346 ... ... @@ -354,7 +354,6 @@ 354 354 [[image:1657352403317-397.png]] 355 355 356 356 357 - 358 358 === 2.2.7 Use MQTT protocol to uplink data === 359 359 360 360 ... ... @@ -378,13 +378,11 @@ 378 378 To save battery life, N95S31B will establish a subscription before each uplink and close the subscription 3 seconds after uplink successful. Any downlink commands from server will only arrive during the subscription period. 379 379 ))) 380 380 381 - 382 382 ((( 383 383 MQTT protocol has a much high-power consumption compare vs UDP / CoAP protocol. Please check the power analyze document and adjust the uplink period to a suitable interval. 384 384 ))) 385 385 386 386 387 - 388 388 === 2.2.8 Use TCP protocol to uplink data === 389 389 390 390 ... ... @@ -399,7 +399,6 @@ 399 399 [[image:1657352914475-252.png]] 400 400 401 401 402 - 403 403 === 2.2.9 Change Update Interval === 404 404 405 405 ... ... @@ -420,7 +420,6 @@ 420 420 ))) 421 421 422 422 423 - 424 424 == 2.3 Uplink Payload == 425 425 426 426 ... ... @@ -434,7 +434,7 @@ 434 434 ))) 435 435 436 436 ((( 437 - (% style="color:blue" %)**AT+CFGMOD=2 ** (%%)~/~/will set the N95S31B to work in MOD=2 distance mode which target to measure distance via Ultrasonic Sensor. 410 + (% style="color:blue" %)**AT+CFGMOD=2 ** (%%)~/~/ will set the N95S31B to work in MOD=2 distance mode which target to measure distance via Ultrasonic Sensor. 438 438 ))) 439 439 440 440 ... ... @@ -463,23 +463,18 @@ 463 463 **By default, the device will send an uplink message every 1 hour.** 464 464 465 465 466 - 467 467 468 468 ))) 469 469 470 470 === 2.3.1 Payload Analyze === 471 471 472 - 473 473 ==== 2.3.1.1 Before Firmware v1.2 ==== 474 474 475 475 476 -N95S31B uplink payload includes in total 21 bytes 447 +N95S31B uplink payload includes in total 21 bytes. 477 477 478 - 479 -(% border="2" cellspacing="10" style="background-color:#ffffcc; color:green; width:520px" %) 480 -|=(% style="width: 50px;" %)((( 481 -**Size(bytes)** 482 -)))|=(% style="width: 40px;" %)**6**|=(% style="width: 20px;" %)2|=(% style="width: 20px;" %)**2**|=(% style="width: 60px;" %)**1**|=(% style="width: 50px;" %)1|=(% style="width: 100px;" %)5|=(% style="width: 102px;" %)**2**|=(% style="width: 81px;" %)**2** 449 +(% border="1" style="background-color:#f2f2f2; width:520px" %) 450 +|=(% style="width: 50px;background-color:#D9E2F3" %)**Size(bytes)**|=(% style="width: 45px;background-color:#D9E2F3" %)**6**|=(% style="width: 25px;background-color:#D9E2F3" %)2|=(% style="width: 25px;background-color:#D9E2F3" %)**2**|=(% style="width: 65px;background-color:#D9E2F3" %)**1**|=(% style="width: 50px;background-color:#D9E2F3" %)1|=(% style="width: 120px;background-color:#D9E2F3" %)5|=(% style="width: 70px;background-color:#D9E2F3" %)**2**|=(% style="width: 70px;background-color:#D9E2F3" %)**2** 483 483 |(% style="width:97px" %)**Value**|(% style="width:65px" %)[[Device ID>>||anchor="H2.3.2A0DeviceID"]]|(% style="width:50px" %)[[Ver>>||anchor="H2.3.3A0VersionInfo"]]|(% style="width:46px" %)[[BAT>>||anchor="H2.3.4A0BatteryInfo"]]|(% style="width:75px" %)[[Signal Strength>>||anchor="H2.3.5A0SignalStrength"]]|(% style="width:59px" %)MOD 0X01|(% style="width:162px" %)((( 484 484 ((( 485 485 Reserve/ Same as NBSN95 CFGMOD=1 ... ... @@ -541,7 +541,6 @@ 541 541 ((( 542 542 543 543 544 - 545 545 546 546 ))) 547 547 ... ... @@ -553,9 +553,9 @@ 553 553 Each time the device uploads a data package, 8 sets of recorded data will be attached. Up to 32 sets of recorded data can be uploaded. 554 554 555 555 556 -(% border=" 2" style="background-color:#ffffcc;color:green;width:520px" %)557 -|(% style="width:50px" %)**Size(bytes)**|(% style="width:40px" %)**8**|(% style="width:2 5px" %)**2**|(% style="width:25px" %)**2**|(% style="width:60px" %)**1**|(% style="width:25px" %)**1**|(% style="width:50px" %)**2**|(% style="width:50px" %)**1**|(% style="width:30px" %)**2**|(% style="width:50px" %)**2**|(% style="width:50px" %)**2**|(% style="width:50px" %)**4**|(% style="width:40px" %)**2**|(% style="width:40px" %)**2**|(% style="width:50px" %)**4**558 -|(% style="width:95px" %)**Value**|(% style="width:82px" %)Device ID|(% style="width:43px" %)Ver|(% style="width:47px" %)BAT|(% style="width:124px" %)Signal Strength|(% style="width:56px" %)MOD|(% style="width:109px" %)TemDS18B20|(% style="width:80px" %)Interrupt|(% style="width:51px" %)ADC|(% style="width:79px" %)SHTTEM|(% style="width:84px" %)SHTHUM|(% style="width:100px" %)Time stamp |(% style="width:76px" %)SHTTEM|(% style="width:81px" %)SHTHUM|(% style="width:121px" %)Time stamp ..... 523 +(% border="1" style="background-color:#f2f2f2; width:520px" %) 524 +|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**8**|(% style="background-color:#d9e2f3; color:#0070c0; width:20px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:20px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:30px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:20px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:55px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:35px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:20px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:30px" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:35px" %)**4** 525 +|=(% style="width: 95px;" %)**Value**|(% style="width:82px" %)Device ID|(% style="width:43px" %)Ver|(% style="width:47px" %)BAT|(% style="width:124px" %)Signal Strength|(% style="width:56px" %)MOD|(% style="width:109px" %)TemDS18B20|(% style="width:80px" %)Interrupt|(% style="width:51px" %)ADC|(% style="width:79px" %)SHTTEM|(% style="width:84px" %)SHTHUM|(% style="width:100px" %)Time stamp |(% style="width:76px" %)SHTTEM|(% style="width:81px" %)SHTHUM|(% style="width:121px" %)Time stamp ..... 559 559 560 560 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the N95S31B uplink data. 561 561 ... ... @@ -598,6 +598,7 @@ 598 598 * (% style="color:#037691" %)**8 sets of recorded data:**(%%)** **SHTTEM,SHTHUM,Time stamp : 0113023163199c5e, ....... 599 599 600 600 568 + 601 601 === 2.3.2 Device ID === 602 602 603 603 ... ... @@ -638,7 +638,6 @@ 638 638 AT+DEUI=868411056754138 639 639 640 640 641 - 642 642 === 2.3.3 Version Info === 643 643 644 644 ... ... @@ -647,11 +647,11 @@ 647 647 ))) 648 648 649 649 ((( 650 -Higher byte: Specify hardware version: always 0x00 for N95S31B 617 +**Higher byte:** Specify hardware version: always 0x00 for N95S31B 651 651 ))) 652 652 653 653 ((( 654 -Lower byte: Specify the software version: 0x6E=110, means firmware version 110 621 +**Lower byte:** Specify the software version: 0x6E=110, means firmware version 110 655 655 ))) 656 656 657 657 ((( ... ... @@ -666,7 +666,6 @@ 666 666 667 667 ))) 668 668 669 - 670 670 === 2.3.4 Battery Info === 671 671 672 672 ... ... @@ -679,7 +679,6 @@ 679 679 ))) 680 680 681 681 682 - 683 683 === 2.3.5 Signal Strength === 684 684 685 685 ... ... @@ -712,7 +712,6 @@ 712 712 ))) 713 713 714 714 715 - 716 716 === 2.3.6 Temperature & Humidity === 717 717 718 718 ... ... @@ -731,13 +731,16 @@ 731 731 Humidity: Read:0295(H)=661(D) Value: 661 / 10=66.1, So 66.1% 732 732 733 733 734 - 735 735 == 2.4 Downlink Payload == 736 736 737 737 738 738 By default, N95S31B prints the downlink payload to console port. 739 739 740 -[[image:image-20220709100028-1.png]] 703 +(% border="1" style="background-color:#f2f2f2; width:520px" %) 704 +|(% style="background-color:#d9e2f3; color:#0070c0; width:200px" %)**Downlink Control Type**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**FPort**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**Type Code**|(% style="background-color:#d9e2f3; color:#0070c0; width:170px" %)**Downlink payload size(bytes)** 705 +|(% style="width:204px" %)TDC(Transmit Time Interval)|(% style="width:80px" %)Any|(% style="width:94px" %)01|(% style="width:150px" %)4 706 +|(% style="width:204px" %)RESET|(% style="width:80px" %)Any|(% style="width:94px" %)04|(% style="width:150px" %)2 707 +|(% style="width:204px" %)INTMOD|(% style="width:80px" %)Any|(% style="width:94px" %)06|(% style="width:150px" %)4 741 741 742 742 743 743 ((( ... ... @@ -784,7 +784,6 @@ 784 784 ))) 785 785 786 786 787 - 788 788 == 2.5 Humidity and Temperature alarm function == 789 789 790 790 ... ... @@ -820,7 +820,6 @@ 820 820 AT+ SHTEMP=20,30 ~/~/ Alarm when temperature lower than 20. 821 821 822 822 823 - 824 824 == 2.6 Set the number of data to be uploaded and the recording time == 825 825 826 826 ... ... @@ -834,7 +834,6 @@ 834 834 [[image:image-20221009001045-1.png||height="726" width="1009"]] 835 835 836 836 837 - 838 838 == 2.7 Read or Clear cached data == 839 839 840 840 ... ... @@ -846,70 +846,14 @@ 846 846 [[image:image-20220908163102-2.png]] 847 847 848 848 813 +== 2.8 Battery & Power Consumption == 849 849 850 -== 2.8 Battery Analysis == 851 851 816 +N95S31B uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 852 852 853 - === 2.8.1 BatteryType===818 +[[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 854 854 855 855 856 -((( 857 -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. 858 -))) 859 - 860 -((( 861 -The battery is designed to last for several years depends on the actually use environment and update interval. 862 -))) 863 - 864 -((( 865 -The battery related documents as below: 866 -))) 867 - 868 -* [[Battery Dimension>>http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] 869 -* [[Lithium-Thionyl Chloride Battery datasheet>>http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] 870 -* [[Lithium-ion Battery-Capacitor datasheet>>http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] 871 - 872 -((( 873 -[[image:image-20220709101450-2.png]] 874 -))) 875 - 876 - 877 - 878 -=== 2.8.2 Power consumption Analyze === 879 - 880 - 881 -((( 882 -The file **DRAGINO_N95S31B-Power-Analyzer.pdf** from [[https:~~/~~/www.dropbox.com/sh/mlpd6l05bogvaf6/AABwAJLMttqG7i~~-~~-AyZcQkoua?dl=0>>https://www.dropbox.com/sh/mlpd6l05bogvaf6/AABwAJLMttqG7i--AyZcQkoua?dl=0]] describes a detail measurement to analyze the power consumption in different case. User can use it for design guideline for their project. 883 -))) 884 - 885 -((( 886 - 887 -))) 888 - 889 - 890 -=== 2.8.3 Battery Note === 891 - 892 - 893 -((( 894 -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. 895 -))) 896 - 897 - 898 - 899 -=== 2.8.4 Replace the battery === 900 - 901 - 902 -((( 903 -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. 904 -))) 905 - 906 - 907 -((( 908 -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). 909 -))) 910 - 911 - 912 - 913 913 = 3. Access NB-IoT Module = 914 914 915 915 ... ... @@ -926,10 +926,8 @@ 926 926 [[image:1657333200519-600.png]] 927 927 928 928 929 - 930 930 = 4. Using the AT Commands = 931 931 932 - 933 933 == 4.1 Access AT Commands == 934 934 935 935 ... ... @@ -1023,10 +1023,8 @@ 1023 1023 AT+PWORD : Serial Access Password 1024 1024 1025 1025 1026 - 1027 1027 = 5. FAQ = 1028 1028 1029 - 1030 1030 == 5.1 How to Upgrade Firmware == 1031 1031 1032 1032 ... ... @@ -1039,18 +1039,14 @@ 1039 1039 ))) 1040 1040 1041 1041 ((( 1042 - 946 +Firmware Download:[[https:~~/~~/www.dropbox.com/sh/fr8w23rb951512i/AACSJeGQg-7ZjKhAI_Sn57H6a?dl=0>>https://www.dropbox.com/sh/fr8w23rb951512i/AACSJeGQg-7ZjKhAI_Sn57H6a?dl=0]] 1043 1043 1044 -((( 1045 1045 (% style="color:red" %)**Notice, N95S31B and LSN50v2 share the same mother board. They use the same connection and method to update.** 1046 1046 ))) 1047 -))) 1048 1048 1049 1049 1050 - 1051 1051 = 6. Trouble Shooting = 1052 1052 1053 - 1054 1054 == 6.1 Connection problem when uploading firmware == 1055 1055 1056 1056 ... ... @@ -1058,12 +1058,7 @@ 1058 1058 **Please see: **[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H3.3Troubleshooting>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H3.3Troubleshooting]] 1059 1059 ))) 1060 1060 1061 -(% class="wikigeneratedid" %) 1062 -((( 1063 - 1064 -))) 1065 1065 1066 - 1067 1067 == 6.2 AT Command input doesn't work == 1068 1068 1069 1069 ... ... @@ -1073,7 +1073,12 @@ 1073 1073 1074 1074 ))) 1075 1075 971 +== 6.3 Not able to connect to NB-IoT network and keep showing "Signal Strength:99". == 1076 1076 973 + 974 +This means sensor is trying to join the NB-IoT network but fail. Please see this link for **//[[trouble shooting for signal strenght:99>>doc:Main.CSQ\:99,99.WebHome]]//**. 975 + 976 + 1077 1077 = 7. Order Info = 1078 1078 1079 1079 ... ... @@ -1080,11 +1080,6 @@ 1080 1080 Part Number**:** (% style="color:#4f81bd" %)**N95S31B-YY** 1081 1081 1082 1082 1083 -(% class="wikigeneratedid" %) 1084 -((( 1085 - 1086 -))) 1087 - 1088 1088 = 8. Packing Info = 1089 1089 1090 1090 ((( ... ... @@ -1107,15 +1107,13 @@ 1107 1107 * Weight / pcs : 180g 1108 1108 ))) 1109 1109 1110 -((( 1111 - 1112 1112 1113 1113 1114 - 1115 -))) 1116 - 1117 1117 = 9. Support = 1118 1118 1119 1119 1120 1120 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 1011 + 1121 1121 * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]] 1013 + 1014 +