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 ... ... @@ -68,8 +68,6 @@ 68 68 * Micro SIM card slot for NB-IoT SIM 69 69 * 8500mAh Battery for long term use 70 70 71 - 72 - 73 73 == 1.3 Specification == 74 74 75 75 ... ... @@ -80,12 +80,12 @@ 80 80 81 81 (% style="color:#037691" %)**NB-IoT Spec:** 82 82 83 -* -B1 @H-FDD: 2100MHz84 -* -B3 @H-FDD: 1800MHz85 -* -B8 @H-FDD: 900MHz86 -* -B5 @H-FDD: 850MHz87 -* -B20 @H-FDD: 800MHz88 -* -B28 @H-FDD: 700MHz71 +* B1 @H-FDD: 2100MHz 72 +* B3 @H-FDD: 1800MHz 73 +* B8 @H-FDD: 900MHz 74 +* B5 @H-FDD: 850MHz 75 +* B20 @H-FDD: 800MHz 76 +* B28 @H-FDD: 700MHz 89 89 90 90 (% style="color:#037691" %)**Battery:** 91 91 ... ... @@ -95,8 +95,6 @@ 95 95 * Max continuously current: 130mA 96 96 * Max boost current: 2A, 1 second 97 97 98 - 99 - 100 100 == 1.4 Applications == 101 101 102 102 ... ... @@ -111,7 +111,6 @@ 111 111 112 112 113 113 114 - 115 115 == 1.5 Pin Definitions & Switch == 116 116 117 117 ... ... @@ -121,7 +121,6 @@ 121 121 [[image:image-20220709144723-1.png]] 122 122 123 123 124 - 125 125 === 1.5.1 Jumper JP2 === 126 126 127 127 ... ... @@ -128,7 +128,6 @@ 128 128 Power on Device when put this jumper. 129 129 130 130 131 - 132 132 === 1.5.2 BOOT MODE / SW1 === 133 133 134 134 ... ... @@ -141,7 +141,6 @@ 141 141 ))) 142 142 143 143 144 - 145 145 === 1.5.3 Reset Button === 146 146 147 147 ... ... @@ -148,7 +148,6 @@ 148 148 Press to reboot the device. 149 149 150 150 151 - 152 152 === 1.5.4 LED === 153 153 154 154 ... ... @@ -159,10 +159,8 @@ 159 159 2. Send an uplink packet 160 160 161 161 162 - 163 163 = 2. Use N95S31B to communicate with IoT Server = 164 164 165 - 166 166 == 2.1 How it works == 167 167 168 168 ... ... @@ -185,10 +185,8 @@ 185 185 186 186 ))) 187 187 188 - 189 189 == 2.2 Configure the N95S31B == 190 190 191 - 192 192 === 2.2.1 Power On N95S31B === 193 193 194 194 ... ... @@ -195,10 +195,9 @@ 195 195 [[image:image-20220709150546-2.png]] 196 196 197 197 175 +=== 2.2.2 Test Requirement === 198 198 199 -=== 2.2.1 Test Requirement === 200 200 201 - 202 202 ((( 203 203 To use N95S31B in your city, make sure meet below requirements: 204 204 ))) ... ... @@ -245,7 +245,6 @@ 245 245 [[image:1657350625843-586.png]] 246 246 247 247 248 - 249 249 === 2.2.3 Insert SIM card === 250 250 251 251 ... ... @@ -261,7 +261,6 @@ 261 261 [[image:1657351240556-536.png]] 262 262 263 263 264 - 265 265 === 2.2.4 Connect USB – TTL to N95S31B to configure it === 266 266 267 267 ... ... @@ -276,13 +276,13 @@ 276 276 [[image:1657351312545-300.png]] 277 277 278 278 279 -**Connection:** 253 +(% style="color:blue" %)**Connection:** 280 280 281 - (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND 255 + (% style="background-color:yellow" %)**USB TTL GND <~-~-~-~-> GND** 282 282 283 - (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD 257 +**~ (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD(%%)** 284 284 285 - (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD 259 +**~ (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD(%%)** 286 286 287 287 288 288 In the PC, use below serial tool settings: ... ... @@ -305,7 +305,6 @@ 305 305 ))) 306 306 307 307 308 - 309 309 === 2.2.5 Use CoAP protocol to uplink data === 310 310 311 311 ... ... @@ -342,7 +342,6 @@ 342 342 [[image:1657352185396-303.png]] 343 343 344 344 345 - 346 346 === 2.2.6 Use UDP protocol to uplink data(Default protocol) === 347 347 348 348 ... ... @@ -356,7 +356,6 @@ 356 356 [[image:1657352403317-397.png]] 357 357 358 358 359 - 360 360 === 2.2.7 Use MQTT protocol to uplink data === 361 361 362 362 ... ... @@ -380,13 +380,11 @@ 380 380 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. 381 381 ))) 382 382 383 - 384 384 ((( 385 385 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. 386 386 ))) 387 387 388 388 389 - 390 390 === 2.2.8 Use TCP protocol to uplink data === 391 391 392 392 ... ... @@ -401,7 +401,6 @@ 401 401 [[image:1657352914475-252.png]] 402 402 403 403 404 - 405 405 === 2.2.9 Change Update Interval === 406 406 407 407 ... ... @@ -422,7 +422,6 @@ 422 422 ))) 423 423 424 424 425 - 426 426 == 2.3 Uplink Payload == 427 427 428 428 ... ... @@ -436,7 +436,7 @@ 436 436 ))) 437 437 438 438 ((( 439 - (% 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. 406 + (% 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. 440 440 ))) 441 441 442 442 ... ... @@ -465,13 +465,11 @@ 465 465 **By default, the device will send an uplink message every 1 hour.** 466 466 467 467 468 - 469 469 470 470 ))) 471 471 472 472 === 2.3.1 Payload Analyze === 473 473 474 - 475 475 ==== 2.3.1.1 Before Firmware v1.2 ==== 476 476 477 477 ... ... @@ -478,10 +478,8 @@ 478 478 N95S31B uplink payload includes in total 21 bytes 479 479 480 480 481 -(% border="2" cellspacing="10" style="background-color:#ffffcc; color:green; width:745px" %) 482 -|=(% style="width: 60px;" %)((( 483 -**Size(bytes)** 484 -)))|=(% style="width: 65px;" %)**6**|=(% style="width: 50px;" %)2|=(% style="width: 25px;" %)**2**|=(% style="width: 75px;" %)**1**|=(% style="width: 59px;" %)1|=(% style="width: 162px;" %)5|=(% style="width: 102px;" %)**2**|=(% style="width: 81px;" %)**2** 446 +(% border="1" style="background-color:#f2f2f2; width:520px" %) 447 +|=(% 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** 485 485 |(% 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" %)((( 486 486 ((( 487 487 Reserve/ Same as NBSN95 CFGMOD=1 ... ... @@ -543,7 +543,6 @@ 543 543 ((( 544 544 545 545 546 - 547 547 548 548 ))) 549 549 ... ... @@ -555,9 +555,9 @@ 555 555 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. 556 556 557 557 558 -(% border=" 2" style="background-color:#ffffcc;color:green;width:1234px" %)559 -|(% style="width: 95px" %)**Size(bytes)**|(% style="width:82px" %)**8**|(% style="width:43px" %)**2**|(% style="width:47px" %)**2**|(% style="width:124px" %)**1**|(% style="width:56px" %)**1**|(% style="width:109px" %)**2**|(% style="width:80px" %)**1**|(% style="width:51px" %)**2**|(% style="width:79px" %)**2**|(% style="width:84px" %)**2**|(% style="width:100px" %)**4**|(% style="width:76px" %)**2**|(% style="width:81px" %)**2**|(% style="width:121px" %)**4**560 -|(% 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 ..... 520 +(% border="1" style="background-color:#f2f2f2; width:520px" %) 521 +|=(% 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** 522 +|=(% 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 ..... 561 561 562 562 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the N95S31B uplink data. 563 563 ... ... @@ -599,8 +599,6 @@ 599 599 600 600 * (% style="color:#037691" %)**8 sets of recorded data:**(%%)** **SHTTEM,SHTHUM,Time stamp : 0113023163199c5e, ....... 601 601 602 - 603 - 604 604 === 2.3.2 Device ID === 605 605 606 606 ... ... @@ -641,7 +641,6 @@ 641 641 AT+DEUI=868411056754138 642 642 643 643 644 - 645 645 === 2.3.3 Version Info === 646 646 647 647 ... ... @@ -650,11 +650,11 @@ 650 650 ))) 651 651 652 652 ((( 653 -Higher byte: Specify hardware version: always 0x00 for N95S31B 612 +**Higher byte:** Specify hardware version: always 0x00 for N95S31B 654 654 ))) 655 655 656 656 ((( 657 -Lower byte: Specify the software version: 0x6E=110, means firmware version 110 616 +**Lower byte:** Specify the software version: 0x6E=110, means firmware version 110 658 658 ))) 659 659 660 660 ((( ... ... @@ -669,7 +669,6 @@ 669 669 670 670 ))) 671 671 672 - 673 673 === 2.3.4 Battery Info === 674 674 675 675 ... ... @@ -682,7 +682,6 @@ 682 682 ))) 683 683 684 684 685 - 686 686 === 2.3.5 Signal Strength === 687 687 688 688 ... ... @@ -715,7 +715,6 @@ 715 715 ))) 716 716 717 717 718 - 719 719 === 2.3.6 Temperature & Humidity === 720 720 721 721 ... ... @@ -734,12 +734,17 @@ 734 734 Humidity: Read:0295(H)=661(D) Value: 661 / 10=66.1, So 66.1% 735 735 736 736 737 - 738 738 == 2.4 Downlink Payload == 739 739 740 740 741 741 By default, N95S31B prints the downlink payload to console port. 742 742 698 +(% border="1" style="background-color:#f2f2f2; width:531.818px" %) 699 +|(% style="background-color:#d9e2f3; color:#0070c0; width:204px" %)**Downlink Control Type**|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**FPort**|(% style="background-color:#d9e2f3; color:#0070c0; width:94px" %)**Type Code**|(% style="background-color:#d9e2f3; color:#0070c0; width:150px" %)**Downlink payload size(bytes)** 700 +|(% style="width:204px" %)TDC(Transmit Time Interval)|(% style="width:80px" %)Any|(% style="width:94px" %)01|(% style="width:150px" %)4 701 +|(% style="width:204px" %)RESET|(% style="width:80px" %)Any|(% style="width:94px" %)04|(% style="width:150px" %)2 702 +|(% style="width:204px" %)INTMOD|(% style="width:80px" %)Any|(% style="width:94px" %)06|(% style="width:150px" %)4 703 + 743 743 [[image:image-20220709100028-1.png]] 744 744 745 745 ... ... @@ -787,7 +787,6 @@ 787 787 ))) 788 788 789 789 790 - 791 791 == 2.5 Humidity and Temperature alarm function == 792 792 793 793 ... ... @@ -823,7 +823,6 @@ 823 823 AT+ SHTEMP=20,30 ~/~/ Alarm when temperature lower than 20. 824 824 825 825 826 - 827 827 == 2.6 Set the number of data to be uploaded and the recording time == 828 828 829 829 ... ... @@ -837,7 +837,6 @@ 837 837 [[image:image-20221009001045-1.png||height="726" width="1009"]] 838 838 839 839 840 - 841 841 == 2.7 Read or Clear cached data == 842 842 843 843 ... ... @@ -849,70 +849,14 @@ 849 849 [[image:image-20220908163102-2.png]] 850 850 851 851 810 +== 2.8 Battery & Power Consumption == 852 852 853 -== 2.8 Battery Analysis == 854 854 813 +N95S31B uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 855 855 856 - === 2.8.1 BatteryType===815 +[[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 857 857 858 858 859 -((( 860 -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. 861 -))) 862 - 863 -((( 864 -The battery is designed to last for several years depends on the actually use environment and update interval. 865 -))) 866 - 867 -((( 868 -The battery related documents as below: 869 -))) 870 - 871 -* [[Battery Dimension>>http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] 872 -* [[Lithium-Thionyl Chloride Battery datasheet>>http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] 873 -* [[Lithium-ion Battery-Capacitor datasheet>>http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]] 874 - 875 -((( 876 -[[image:image-20220709101450-2.png]] 877 -))) 878 - 879 - 880 - 881 -=== 2.8.2 Power consumption Analyze === 882 - 883 - 884 -((( 885 -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. 886 -))) 887 - 888 -((( 889 - 890 -))) 891 - 892 - 893 -=== 2.8.3 Battery Note === 894 - 895 - 896 -((( 897 -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. 898 -))) 899 - 900 - 901 - 902 -=== 2.8.4 Replace the battery === 903 - 904 - 905 -((( 906 -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. 907 -))) 908 - 909 - 910 -((( 911 -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). 912 -))) 913 - 914 - 915 - 916 916 = 3. Access NB-IoT Module = 917 917 918 918 ... ... @@ -929,10 +929,8 @@ 929 929 [[image:1657333200519-600.png]] 930 930 931 931 932 - 933 933 = 4. Using the AT Commands = 934 934 935 - 936 936 == 4.1 Access AT Commands == 937 937 938 938 ... ... @@ -1026,10 +1026,8 @@ 1026 1026 AT+PWORD : Serial Access Password 1027 1027 1028 1028 1029 - 1030 1030 = 5. FAQ = 1031 1031 1032 - 1033 1033 == 5.1 How to Upgrade Firmware == 1034 1034 1035 1035 ... ... @@ -1042,18 +1042,14 @@ 1042 1042 ))) 1043 1043 1044 1044 ((( 1045 - 943 +Firmware Download:[[https:~~/~~/www.dropbox.com/sh/fr8w23rb951512i/AACSJeGQg-7ZjKhAI_Sn57H6a?dl=0>>https://www.dropbox.com/sh/fr8w23rb951512i/AACSJeGQg-7ZjKhAI_Sn57H6a?dl=0]] 1046 1046 1047 -((( 1048 1048 (% style="color:red" %)**Notice, N95S31B and LSN50v2 share the same mother board. They use the same connection and method to update.** 1049 1049 ))) 1050 -))) 1051 1051 1052 1052 1053 - 1054 1054 = 6. Trouble Shooting = 1055 1055 1056 - 1057 1057 == 6.1 Connection problem when uploading firmware == 1058 1058 1059 1059 ... ... @@ -1061,12 +1061,7 @@ 1061 1061 **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]] 1062 1062 ))) 1063 1063 1064 -(% class="wikigeneratedid" %) 1065 -((( 1066 - 1067 -))) 1068 1068 1069 - 1070 1070 == 6.2 AT Command input doesn't work == 1071 1071 1072 1072 ... ... @@ -1076,7 +1076,12 @@ 1076 1076 1077 1077 ))) 1078 1078 968 +== 6.3 Not able to connect to NB-IoT network and keep showing "Signal Strength:99". == 1079 1079 970 + 971 +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]]//**. 972 + 973 + 1080 1080 = 7. Order Info = 1081 1081 1082 1082 ... ... @@ -1083,11 +1083,6 @@ 1083 1083 Part Number**:** (% style="color:#4f81bd" %)**N95S31B-YY** 1084 1084 1085 1085 1086 -(% class="wikigeneratedid" %) 1087 -((( 1088 - 1089 -))) 1090 - 1091 1091 = 8. Packing Info = 1092 1092 1093 1093 ((( ... ... @@ -1110,15 +1110,13 @@ 1110 1110 * Weight / pcs : 180g 1111 1111 ))) 1112 1112 1113 -((( 1114 - 1115 1115 1116 1116 1117 - 1118 -))) 1119 - 1120 1120 = 9. Support = 1121 1121 1122 1122 1123 1123 * 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. 1008 + 1124 1124 * 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]] 1010 + 1011 +