<
From version < 97.16 >
edited by Xiaoling
on 2022/07/09 11:52
To version < 119.3 >
edited by Xiaoling
on 2022/08/22 15:05
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -NDDS75 NB-IoT Distance Detect Sensor User Manual
1 +N95S31B NB-IoT Temperature & Humidity Sensor User Manual
Content
... ... @@ -1,10 +1,12 @@
1 1  (% style="text-align:center" %)
2 -[[image:image-20220709085040-1.png||height="542" width="524"]]
2 +[[image:1657348034241-728.png||height="470" width="470"]]
3 3  
4 4  
5 5  
6 6  
7 7  
8 +
9 +
8 8  **Table of Contents:**
9 9  
10 10  {{toc/}}
... ... @@ -13,49 +13,42 @@
13 13  
14 14  
15 15  
16 -
17 17  = 1.  Introduction =
18 18  
19 -== 1.1 ​ What is NDDS75 Distance Detection Sensor ==
20 20  
21 +== 1.1 ​ What is N95S31B NB-IoT Sensor Node ==
22 +
21 21  (((
22 22  
23 23  
24 24  (((
25 -(((
26 -The Dragino NDDS75 is a (% style="color:blue" %)**NB-IoT Distance Detection Sensor**(%%) for Internet of Things solution. It is designed to measure the distance between the sensor and a flat object. The distance detection sensor is a module that uses ultrasonic sensing technology for distance measurement, and temperature compensation is performed internally to improve the reliability of data.
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*.
27 27  )))
28 28  
29 29  (((
30 -
31 -The NDDS75 can be applied to scenarios such as horizontal distance measurement, liquid level measurement, parking management system, object proximity and presence detection, intelligent trash can management system, robot obstacle avoidance, automatic control, sewer, bottom water level monitoring, etc. It detects the distance between the measured object and the sensor, and uploads the value via wireless to IoT Server via NB-IoT Network.
31 +The temperature & humidity sensor used in N95S31B is SHT31, which is fully calibrated, linearized, and temperature compensated digital output from Sensirion, it provides a strong reliability and long-term stability. The SHT31 is fixed in a (% style="color:blue" %)**waterproof anti-condensation casing **(%%)for long term use.
32 32  )))
33 33  
34 34  (((
35 -
36 -NarrowBand-Internet of Things (NB-IoT) is a standards-based low power wide area (LPWA) technology developed to enable a wide range of new IoT devices and services. NB-IoT significantly improves the power consumption of user devices, system capacity and spectrum efficiency, especially in deep coverage.
35 +N95S31B supports different uplink methods include (% style="color:blue" %)**TCP, MQTT, UDP and CoAP**(%%) for different application requirement.
37 37  )))
38 38  
39 39  (((
40 -
41 -NDDS75 supports different uplink methods include (% style="color:blue" %)**TCP, MQTT, UDP and CoAP** (%%)for different application requirement.
39 +N95S31B is powered by(% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), It is designed for long term use up to several years. (Real-world battery life depends on the use environment, update period. Please check related Power Analyze report).
42 42  )))
43 43  
44 44  (((
45 -
46 -NDDS75 is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), It is designed for long term use up to 5 years. (Actually Battery life depends on the use environment, update period & uplink method)
43 +
47 47  )))
48 48  
49 49  (((
50 -
51 -To use NDDS75, user needs to check if there is NB-IoT coverage in local area and with the bands NDDS75 supports. If the local operate support it, user needs to get a NB-IoT SIM card from local operator and install NDDS75 to get NB-IoT network connection.
47 +~* make sure you have NB-IoT coverage locally.
52 52  )))
53 -)))
54 54  
55 55  
56 56  )))
57 57  
58 -[[image:1657327959271-447.png]]
53 +[[image:1657348284168-431.png]]
59 59  
60 60  
61 61  
... ... @@ -63,19 +63,19 @@
63 63  
64 64  
65 65  * NB-IoT Bands: B1/B3/B8/B5/B20/B28 @H-FDD
66 -* Ultra low power consumption
67 -* Distance Detection by Ultrasonic technology
68 -* Flat object range 280mm - 7500mm
69 -* Accuracy: ±(1cm+S*0.3%) (S: Distance)
70 -* Cable Length: 25cm
61 +* Monitor Temperature & Humidity via SHT31
71 71  * AT Commands to change parameters
72 72  * Uplink on periodically
73 73  * Downlink to change configure
74 74  * IP66 Waterproof Enclosure
66 +* Ultra-Low Power consumption
67 +* AT Commands to change parameters
75 75  * Micro SIM card slot for NB-IoT SIM
76 76  * 8500mAh Battery for long term use
77 77  
78 78  
72 +
73 +
79 79  == 1.3  Specification ==
80 80  
81 81  
... ... @@ -84,6 +84,8 @@
84 84  * Supply Voltage: 2.1v ~~ 3.6v
85 85  * Operating Temperature: -40 ~~ 85°C
86 86  
82 +
83 +
87 87  (% style="color:#037691" %)**NB-IoT Spec:**
88 88  
89 89  * - B1 @H-FDD: 2100MHz
... ... @@ -93,6 +93,8 @@
93 93  * - B20 @H-FDD: 800MHz
94 94  * - B28 @H-FDD: 700MHz
95 95  
93 +
94 +
96 96  (% style="color:#037691" %)**Battery:**
97 97  
98 98  * Li/SOCI2 un-chargeable battery
... ... @@ -101,14 +101,12 @@
101 101  * Max continuously current: 130mA
102 102  * Max boost current: 2A, 1 second
103 103  
104 -(% style="color:#037691" %)**Power Consumption**
105 105  
106 -* STOP Mode: 10uA @ 3.3v
107 -* Max transmit power: 350mA@3.3v
108 108  
109 109  
110 110  == ​1.4  Applications ==
111 111  
108 +
112 112  * Smart Buildings & Home Automation
113 113  * Logistics and Supply Chain Management
114 114  * Smart Metering
... ... @@ -120,24 +120,68 @@
120 120  ​
121 121  
122 122  
123 -== 1.5  Pin Definitions ==
124 124  
121 +== 1.5  Pin Definitions & Switch ==
125 125  
126 -[[image:1657328609906-564.png]]
127 127  
124 +N95S31B use the mother board from NBSN95 which as below.
128 128  
129 129  
130 -= 2.  Use NDDS75 to communicate with IoT Server =
127 +[[image:image-20220709144723-1.png]]
131 131  
129 +
130 +
131 +=== 1.5.1 Jumper JP2 ===
132 +
133 +
134 +Power on Device when put this jumper.
135 +
136 +
137 +
138 +=== 1.5.2 BOOT MODE / SW1 ===
139 +
140 +
141 +(((
142 +1) ISP: upgrade mode, device won't have any signal in this mode. but ready for upgrade firmware. LED won't work. Firmware won't run.
143 +)))
144 +
145 +(((
146 +2) Flash: work mode, device starts to work and send out console output for further debug
147 +)))
148 +
149 +
150 +
151 +=== 1.5.3 Reset Button ===
152 +
153 +
154 +Press to reboot the device.
155 +
156 +
157 +
158 +=== 1.5.4 LED ===
159 +
160 +
161 +It will flash:
162 +
163 +1. When boot the device in flash mode
164 +1. Send an uplink packet
165 +
166 +
167 +
168 +
169 += 2.  Use N95S31B to communicate with IoT Server =
170 +
171 +
132 132  == 2.1  How it works ==
133 133  
174 +
134 134  (((
135 -The NDDS75 is equipped with a NB-IoT module, the pre-loaded firmware in NDDS75 will get environment data from sensors and send the value to local NB-IoT network via the NB-IoT module.  The NB-IoT network will forward this value to IoT server via the protocol defined by NDDS75.
176 +The N95S31B is equipped with a NB-IoT module, the pre-loaded firmware in N95S31B will get environment data from sensors and send the value to local NB-IoT network via the NB-IoT module.  The NB-IoT network will forward this value to IoT server via the protocol defined by N95S31B.
136 136  )))
137 137  
138 138  
139 139  (((
140 -The diagram below shows the working flow in default firmware of NDDS75:
181 +The diagram below shows the working flow in default firmware of N95S31B:
141 141  )))
142 142  
143 143  (((
... ... @@ -144,7 +144,7 @@
144 144  
145 145  )))
146 146  
147 -[[image:1657328659945-416.png]]
188 +[[image:1657520100595-569.png]]
148 148  
149 149  (((
150 150  
... ... @@ -151,30 +151,69 @@
151 151  )))
152 152  
153 153  
154 -== 2.2 ​ Configure the NDDS75 ==
195 +== 2.2 ​ Configure the N95S31B ==
155 155  
156 156  
198 +=== 2.2.1  Power On N95S31B ===
199 +
200 +
201 +[[image:image-20220709150546-2.png]]
202 +
203 +
204 +
157 157  === 2.2.1 Test Requirement ===
158 158  
207 +
159 159  (((
160 -To use NDDS75 in your city, make sure meet below requirements:
209 +To use N95S31B in your city, make sure meet below requirements:
161 161  )))
162 162  
163 -* Your local operator has already distributed a NB-IoT Network there.
164 -* The local NB-IoT network used the band that NSE01 supports.
165 -* Your operator is able to distribute the data received in their NB-IoT network to your IoT server.
212 +* (((
213 +Your local operator has already distributed a NB-IoT Network there.
214 +)))
215 +* (((
216 +The local NB-IoT network used the band that N95S31B supports.
217 +)))
218 +* (((
219 +Your operator is able to distribute the data received in their NB-IoT network to your IoT server.
220 +)))
166 166  
167 167  (((
168 -Below figure shows our testing structure. Here we have NB-IoT network coverage by China Mobile, the band they use is B8.  The NDDS75 will use CoAP((% style="color:red" %)120.24.4.116:5683)(%%) or raw UDP((% style="color:red" %)120.24.4.116:5601)(%%) or MQTT((% style="color:red" %)120.24.4.116:1883)(%%)or TCP((% style="color:red" %)120.24.4.116:5600)(%%)protocol to send data to the test server
223 +Below figure shows our testing structure. Here we have NB-IoT network coverage by China Mobile, the band they use is B8.
169 169  )))
170 170  
226 +(((
227 +N95S31B supports different communication protocol such as :
228 +)))
171 171  
172 -[[image:1657328756309-230.png]]
230 +(((
231 +* (((
232 +CoAP  ((% style="color:red" %)120.24.4.116:5683(%%))
233 +)))
234 +* (((
235 +raw UDP  ((% style="color:red" %)120.24.4.116:5601(%%))
236 +)))
237 +* (((
238 +MQTT  ((% style="color:red" %)120.24.4.116:1883(%%))
239 +)))
240 +* (((
241 +TCP  ((% style="color:red" %)120.24.4.116:5600(%%))
242 +)))
173 173  
244 +(((
245 +We will show how to use with each protocol. The IP addresses above are our test server. User need to change to point their corresponding server.
246 +)))
174 174  
248 +
249 +)))
175 175  
176 -=== 2.2.2 Insert SIM card ===
251 +[[image:1657350625843-586.png]]
177 177  
253 +
254 +
255 +=== 2.2.3  Insert SIM card ===
256 +
257 +
178 178  (((
179 179  Insert the NB-IoT Card get from your provider.
180 180  )))
... ... @@ -184,20 +184,24 @@
184 184  )))
185 185  
186 186  
187 -[[image:1657328884227-504.png]]
267 +[[image:1657351240556-536.png]]
188 188  
189 189  
190 190  
191 -=== 2.2.3 Connect USB – TTL to NDDS75 to configure it ===
271 +=== 2.2. Connect USB – TTL to N95S31B to configure it ===
192 192  
273 +
193 193  (((
194 194  (((
195 -User need to configure NDDS75 via serial port to set the (% style="color:blue" %)**Server Address** / **Uplink Topic** (%%)to define where and how-to uplink packets. NDDS75 support AT Commands, user can use a USB to TTL adapter to connect to NDDS75 and use AT Commands to configure it, as below.
276 +User need to configure N95S31B via serial port to set the (% style="color:blue" %)**Server Address** / **Uplink Topic** (%%)to define where and how-to uplink packets. N95S31B support AT Commands, user can use a USB to TTL adapter to connect to N95S31B and use AT Commands to configure it, as below.
277 +
278 +
196 196  )))
197 197  )))
198 198  
199 -[[image:image-20220709092052-2.png]]
282 +[[image:1657351312545-300.png]]
200 200  
284 +
201 201  **Connection:**
202 202  
203 203   (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND
... ... @@ -216,22 +216,24 @@
216 216  * Flow Control: (% style="color:green" %)**None**
217 217  
218 218  (((
219 -Make sure the switch is in FLASH position, then power on device by connecting the jumper on NDDS75. NDDS75 will output system info once power on as below, we can enter the (% style="color:green" %)**password: 12345678**(%%) to access AT Command input.
303 +Make sure the switch is in FLASH position, then power on device by connecting the jumper on N95S31B. N95S31B will output system info once power on as below, we can enter the (% style="color:green" %)**password: 12345678**(%%) to access AT Command input.
220 220  )))
221 221  
222 222  [[image:1657329814315-101.png]]
223 223  
308 +
224 224  (((
225 -(% style="color:red" %)Note: the valid AT Commands can be found at: (%%)[[https:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/NDDS75/>>url:https://www.dragino.com/downloads/index.php?dir=NB-IoT/NDDS75/]]
310 +(% style="color:red" %)**Note: the valid AT Commands can be found at:  **(%%)**[[https:~~/~~/www.dropbox.com/sh/mlpd6l05bogvaf6/AABwAJLMttqG7i~~-~~-AyZcQkoua?dl=0>>https://www.dropbox.com/sh/mlpd6l05bogvaf6/AABwAJLMttqG7i--AyZcQkoua?dl=0]]**
226 226  )))
227 227  
228 228  
229 229  
230 -=== 2.2.4 Use CoAP protocol to uplink data ===
315 +=== 2.2. Use CoAP protocol to uplink data ===
231 231  
232 -(% style="color:red" %)Note: if you don't have CoAP server, you can refer this link to set up one: (%%)[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Set%20up%20CoAP%20Server/>>http://wiki.dragino.com/xwiki/bin/view/Main/Set%20up%20CoAP%20Server/]]
233 233  
318 +(% style="color:red" %)**Note: if you don't have CoAP server, you can refer this link to set up one: **(%%)**[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Set%20up%20CoAP%20Server/>>http://wiki.dragino.com/xwiki/bin/view/Main/Set%20up%20CoAP%20Server/]]**
234 234  
320 +
235 235  (((
236 236  **Use below commands:**
237 237  )))
... ... @@ -247,10 +247,12 @@
247 247  )))
248 248  
249 249  (((
336 +
337 +
250 250  For parameter description, please refer to AT command set
251 251  )))
252 252  
253 -[[image:1657330452568-615.png]]
341 +[[image:1657352146020-183.png]]
254 254  
255 255  
256 256  (((
... ... @@ -257,11 +257,11 @@
257 257  After configure the server address and (% style="color:green" %)**reset the device**(%%) (via AT+ATZ ), NDDS75 will start to uplink sensor values to CoAP server.
258 258  )))
259 259  
260 -[[image:1657330472797-498.png]]
348 +[[image:1657352185396-303.png]]
261 261  
262 262  
263 263  
264 -=== 2.2.5 Use UDP protocol to uplink data(Default protocol) ===
352 +=== 2.2. Use UDP protocol to uplink data(Default protocol) ===
265 265  
266 266  
267 267  * (% style="color:blue" %)**AT+PRO=2   ** (%%) ~/~/ Set to use UDP protocol to uplink
... ... @@ -268,109 +268,117 @@
268 268  * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601   ** (%%) ~/~/ to set UDP server address and port
269 269  * (% style="color:blue" %)**AT+CFM=1       ** (%%) ~/~/ If the server does not respond, this command is unnecessary
270 270  
271 -[[image:1657330501006-241.png]]
272 272  
273 273  
274 -[[image:1657330533775-472.png]]
361 +[[image:1657352391268-297.png]]
275 275  
276 276  
364 +[[image:1657352403317-397.png]]
277 277  
278 -=== 2.2.6 Use MQTT protocol to uplink data ===
279 279  
280 280  
368 +=== 2.2.7  Use MQTT protocol to uplink data ===
369 +
370 +
371 +N95S31B supports only plain MQTT now it doesn't support TLS and other related encryption.
372 +
281 281  * (% style="color:blue" %)**AT+PRO=3   ** (%%) ~/~/Set to use MQTT protocol to uplink
282 282  * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883   ** (%%) ~/~/Set MQTT server address and port
283 283  * (% style="color:blue" %)**AT+CLIENT=CLIENT       ** (%%)~/~/Set up the CLIENT of MQTT
284 284  * (% style="color:blue" %)**AT+UNAME=UNAME                                **(%%)~/~/Set the username of MQTT
285 285  * (% style="color:blue" %)**AT+PWD=PWD                                         **(%%)~/~/Set the password of MQTT
286 -* (% style="color:blue" %)**AT+PUBTOPIC=NDDS75_PUB                 **(%%)~/~/Set the sending topic of MQTT
287 -* (% style="color:blue" %)**AT+SUBTOPIC=NDDS75_SUB          **(%%) ~/~/Set the subscription topic of MQTT
378 +* (% style="color:blue" %)**AT+PUBTOPIC=f9527                               **(%%)~/~/Set the sending topic of MQTT
379 +* (% style="color:blue" %)**AT+SUBTOPIC=Ns9527          **(%%) ~/~/Set the subscription topic of MQTT
288 288  
289 -[[image:1657249978444-674.png]]
290 290  
291 291  
292 -[[image:1657330723006-866.png]]
383 +[[image:1657352634421-276.png]]
293 293  
294 294  
386 +[[image:1657352645687-385.png]]
387 +
388 +
295 295  (((
296 -MQTT protocol has a much higher power consumption compare vs UDP / CoAP protocol. Please check the power analyze document and adjust the uplink period to a suitable interval.
390 +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.
297 297  )))
298 298  
299 299  
394 +(((
395 +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.
396 +)))
300 300  
301 -=== 2.2.7 Use TCP protocol to uplink data ===
302 302  
303 303  
400 +=== 2.2.8  Use TCP protocol to uplink data ===
401 +
402 +
403 +This feature is supported since firmware version v110
404 +
304 304  * (% style="color:blue" %)**AT+PRO=4   ** (%%) ~/~/ Set to use TCP protocol to uplink
305 305  * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600   **(%%) ~/~/ to set TCP server address and port
306 306  
307 -[[image:image-20220709093918-1.png]]
308 308  
309 309  
310 -[[image:image-20220709093918-2.png]]
410 +[[image:1657352898400-901.png]]
311 311  
312 312  
413 +[[image:1657352914475-252.png]]
313 313  
314 -=== 2.2.8 Change Update Interval ===
315 315  
416 +
417 +=== 2.2.9  Change Update Interval ===
418 +
419 +
316 316  User can use below command to change the (% style="color:green" %)**uplink interval**.
317 317  
318 318  * (% style="color:blue" %)**AT+TDC=600      ** (%%)~/~/ Set Update Interval to 600s
319 319  
320 320  (((
321 -(% style="color:red" %)**NOTE:**
425 +
322 322  )))
323 323  
324 -(((
325 -(% style="color:red" %)1. By default, the device will send an uplink message every 1 hour.
326 -)))
327 327  
328 328  
329 -
330 330  == 2.3  Uplink Payload ==
331 331  
332 -In this mode, uplink payload includes in total 14 bytes
333 333  
433 +(((
434 +N95S31B 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.
435 +)))
334 334  
335 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:440px" %)
336 -|=(% style="width: 60px;" %)(((
337 -**Size(bytes)**
338 -)))|=(% style="width: 60px;" %)**6**|=(% style="width: 35px;" %)2|=(% style="width: 35px;" %)**2**|=(% style="width: 80px;" %)**1**|=(% style="width: 100px;" %)**2**|=(% style="width: 60px;" %)**1**
339 -|(% 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"]]
340 340  
341 341  (((
342 -If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NDDS751 uplink data.
439 +For example:
343 343  )))
344 344  
442 +(((
443 + (% 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.
444 +)))
345 345  
346 -[[image:1657331036973-987.png]]
347 347  
348 348  (((
349 -The payload is ASCII string, representative same HEX:
448 +The uplink payloads are composed in  ASCII String. For example:
350 350  )))
351 351  
352 352  (((
353 -0x72403155615900640c6c19029200 where:
452 +0a cd 00 ed 0a cc 00 00 ef 02 d2 1d (total 24 ASCII Chars) . Representative the actually payload:
354 354  )))
355 355  
356 -* (((
357 -Device ID: 0x724031556159 = 724031556159
455 +(((
456 +0x 0a cd 00 ed 0a cc 00 00 ef 02 d2 1d Total 12 bytes
358 358  )))
359 -* (((
360 -Version: 0x0064=100=1.0.0
458 +
459 +
460 +(((
461 +(% style="color:red" %)**NOTE:**
361 361  )))
362 362  
363 -* (((
364 -BAT: 0x0c6c = 3180 mV = 3.180V
464 +(% style="color:red" %)
465 +1. (((
466 +**All modes share the same Payload Explanation from [[HERE>>||anchor="H2.3A0UplinkPayload"]].**
365 365  )))
366 -* (((
367 -Signal: 0x19 = 25
368 -)))
369 -* (((
370 -Distance: 0x0292= 658 mm
371 -)))
372 -* (((
373 -Interrupt: 0x00 = 0
468 +1. (((
469 +**By default, the device will send an uplink message every 1 hour.**
374 374  
375 375  
376 376  
... ... @@ -377,168 +377,198 @@
377 377  
378 378  )))
379 379  
380 -== 2.4  Payload Explanation and Sensor Interface ==
476 +=== 2.3.1  Payload Analyze ===
381 381  
382 382  
383 -=== 2.4.1  Device ID ===
479 +N95S31B uplink payload includes in total 21 bytes
384 384  
481 +
482 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:520px" %)
483 +|=(% style="width: 60px;" %)(((
484 +**Size(bytes)**
485 +)))|=(% style="width: 50px;" %)**6**|=(% style="width: 25px;" %)2|=(% style="width: 25px;" %)**2**|=(% style="width: 70px;" %)**1**|=(% style="width: 55px;" %)1|=(% style="width: 115px;" %)5|=(% style="width: 60px;" %)**2**|=(% style="width: 60px;" %)**2**
486 +|(% 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" %)(((
385 385  (((
386 -By default, the Device ID equal to the last 6 bytes of IMEI.
488 +Reserve/ Same as NBSN95 CFGMOD=1
387 387  )))
388 388  
389 389  (((
390 -User can use (% style="color:blue" %)**AT+DEUI**(%%) to set Device ID
492 +No function here.
391 391  )))
494 +)))|(% style="width:77px" %)(((
495 +(((
496 +[[Temperature >>||anchor="H2.3.6A0Temperature26Humidity"]]
497 +)))
392 392  
393 393  (((
394 -**Example:**
500 +By SHT31
395 395  )))
502 +)))|(% style="width:80px" %)(((
503 +(((
504 +[[Humidity>>||anchor="H2.3.6A0Temperature26Humidity"]]
505 +)))
396 396  
397 397  (((
398 -AT+DEUI=A84041F15612
508 +By SHT31
399 399  )))
510 +)))
400 400  
401 401  (((
402 -The Device ID is stored in a none-erase area, Upgrade the firmware or run **AT+FDR** won't erase Device ID.
513 +
514 +
515 +(((
516 +If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data.
403 403  )))
518 +)))
404 404  
405 405  
521 +[[image:1657354294009-643.png]]
406 406  
407 -=== 2.4.2  Version Info ===
408 408  
524 +The payload is ASCII string, representative same HEX: 0x724031607457006e0ccd1b0100dc000ccc00e10186 where:
525 +
526 +* Device ID: 0x724031607457 = 724031607457
527 +* Version: 0x006e=110=1.1.0
528 +
529 +* BAT: 0x0ccd = 3277 mV = 3.277V
530 +* Signal: 0x1b = 27
531 +* Model: 0x01 = 1
532 +* 0x00dc000ccc= reserve, ignore in N95S31B
533 +* Temperature by SHT31: 0x00e1 = 225 = 22.5 °C
534 +* Humidity by SHT31: 0x0186 = 390 = 39.0 %rh
535 +
409 409  (((
410 -Specify the software version: 0x64=100, means firmware version 1.00.
537 +
411 411  )))
412 412  
413 413  (((
414 -For example: 0x00 64 : this device is NDDS75 with firmware version 1.0.0.
541 +
415 415  )))
416 416  
417 417  
545 +=== 2.3.2  Device ID ===
418 418  
419 -=== 2.4.3  Battery Info ===
420 420  
421 421  (((
422 -Ex1: 0x0B45 = 2885mV
549 +By default, the Device ID equal to the last 6 bytes of IMEI.
423 423  )))
424 424  
425 425  (((
426 -Ex2: 0x0B49 = 2889mV
553 +User can use (% style="color:blue" %)**AT+DEUI**(%%) to set Device ID
427 427  )))
428 428  
556 +(((
557 +**Example:**
558 +)))
429 429  
560 +(((
561 +AT+DEUI=A84041F15612
562 +)))
430 430  
431 -=== 2.4.4  Signal Strength ===
432 -
433 433  (((
434 -NB-IoT Network signal Strength.
565 +The Device ID is stored in a none-erase area, Upgrade the firmware or run **AT+FDR** won't erase Device ID.
435 435  )))
436 436  
568 +
569 +
570 +=== 2.3.3  Version Info ===
571 +
572 +
437 437  (((
438 -**Ex1: 0x1d = 29**
574 +These bytes include the hardware and software version.
439 439  )))
440 440  
441 441  (((
442 -(% style="color:blue" %)**0**(%%)  -113dBm or less
578 +Higher byte: Specify hardware version: always 0x00 for N95S31B
443 443  )))
444 444  
445 445  (((
446 -(% style="color:blue" %)**1**(%%)  -111dBm
582 +Lower byte: Specify the software version: 0x6E=110, means firmware version 110
447 447  )))
448 448  
449 449  (((
450 -(% style="color:blue" %)**2...30**(%%) -109dBm... -53dBm
586 +
451 451  )))
452 452  
453 453  (((
454 -(% style="color:blue" %)**31**  (%%) -51dBm or greater
590 +For example: 0x00 6E: this device is N95S31B with firmware version 110.
455 455  )))
456 456  
457 457  (((
458 -(% style="color:blue" %)**99**   (%%) Not known or not detectable
594 +
459 459  )))
460 460  
461 461  
598 +=== 2.3.4  Battery Info ===
462 462  
463 -=== 2.4.5  Distance ===
464 464  
465 -Get the distance. Flat object range 280mm - 7500mm.
466 -
467 -For example, if the data you get from the register is **__0x0B 0x05__**, the distance between the sensor and the measured object is
468 -
469 469  (((
470 -(((
471 -(% style="color:blue" %)** 0B05(H) = 2821(D) = 2821mm.**
602 +Ex1: 0x0B45 = 2885mV
472 472  )))
473 -)))
474 474  
475 475  (((
476 -
606 +Ex2: 0x0B49 = 2889mV
477 477  )))
478 478  
479 -(((
480 -
481 -)))
482 482  
483 -=== 2.4.6  Digital Interrupt ===
484 484  
611 +=== 2.3.5  Signal Strength ===
612 +
613 +
485 485  (((
486 -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.
615 +NB-IoT Network signal Strength.
487 487  )))
488 488  
489 489  (((
490 -The command is:
619 +**Ex1: 0x1d = 29**
491 491  )))
492 492  
493 493  (((
494 -(% 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]])**.**
623 +(% style="color:blue" %)**0**(%%)  -113dBm or less
495 495  )))
496 496  
497 -
498 498  (((
499 -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.
627 +(% style="color:blue" %)**1**(%%)  -111dBm
500 500  )))
501 501  
502 -
503 503  (((
504 -Example:
631 +(% style="color:blue" %)**2...30**(%%) -109dBm... -53dBm
505 505  )))
506 506  
507 507  (((
508 -0x(00): Normal uplink packet.
635 +(% style="color:blue" %)**31**  (%%) -51dBm or greater
509 509  )))
510 510  
511 511  (((
512 -0x(01): Interrupt Uplink Packet.
639 +(% style="color:blue" %)**99**   (%%) Not known or not detectable
513 513  )))
514 514  
515 515  
516 516  
517 -=== 2.4.7  ​+5V Output ===
644 +=== 2.3.6  Temperature & Humidity ===
518 518  
519 -(((
520 -NDDS75 will enable +5V output before all sampling and disable the +5v after all sampling. 
521 -)))
522 522  
647 +The device will be able to get the SHT31 temperature and humidity data now and upload to IoT Server.
523 523  
524 -(((
525 -The 5V output time can be controlled by AT Command.
526 -)))
649 +[[image:image-20220709161741-3.png]]
527 527  
528 -(((
529 -(% style="color:blue" %)**AT+5VT=1000**
530 -)))
531 531  
532 -(((
533 -Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors.
534 -)))
652 +Convert the read byte to decimal and divide it by ten.
535 535  
536 536  
655 +**Example:**
537 537  
538 -== 2.5  Downlink Payload ==
657 +Temperature:  Read:00ec (H) = 236(D)  Value:  236 /10=23.6℃
539 539  
540 -By default, NDDS75 prints the downlink payload to console port.
659 +Humidity:    Read:0295(H)=661(D)    Value:  661 / 10=66.1, So 66.1%
541 541  
661 +
662 +
663 +== 2.4  Downlink Payload ==
664 +
665 +
666 +By default, N95S31B prints the downlink payload to console port.
667 +
542 542  [[image:image-20220709100028-1.png]]
543 543  
544 544  
... ... @@ -575,7 +575,7 @@
575 575  )))
576 576  
577 577  (((
578 -If payload = 0x04FF, it will reset the NDDS75
704 +If payload = 0x04FF, it will reset the N95S31B
579 579  )))
580 580  
581 581  
... ... @@ -587,47 +587,17 @@
587 587  
588 588  
589 589  
590 -== 2.6  ​LED Indicator ==
716 +== 2.5  ​Battery Analysis ==
591 591  
592 592  
593 -The NDDS75 has an internal LED which is to show the status of different state.
719 +=== 2.5.1  ​Battery Type ===
594 594  
595 595  
596 -* 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)
597 -* Then the LED will be on for 1 second means device is boot normally.
598 -* After NDDS75 join NB-IoT network. The LED will be ON for 3 seconds.
599 -* For each uplink probe, LED will be on for 500ms.
600 -
601 601  (((
602 -
723 +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.
603 603  )))
604 604  
605 -
606 -
607 -== 2.7  ​Firmware Change Log ==
608 -
609 -
610 -Download URL & Firmware Change log
611 -
612 612  (((
613 -[[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/]]
614 -)))
615 -
616 -
617 -Upgrade Instruction: [[Upgrade_Firmware>>||anchor="H5.1200BHowtoUpgradeFirmware"]]
618 -
619 -
620 -
621 -== 2.8  ​Battery Analysis ==
622 -
623 -=== 2.8.1  ​Battery Type ===
624 -
625 -
626 -(((
627 -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.
628 -)))
629 -
630 -(((
631 631  The battery is designed to last for several years depends on the actually use environment and update interval. 
632 632  )))
633 633  
... ... @@ -645,56 +645,37 @@
645 645  
646 646  
647 647  
648 -=== 2.8.2  Power consumption Analyze ===
744 +=== 2.5.2  Power consumption Analyze ===
649 649  
650 -(((
651 -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.
652 -)))
653 653  
654 -
655 655  (((
656 -Instruction to use as below:
748 +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.
657 657  )))
658 658  
659 659  (((
660 -(% 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/]]
752 +
661 661  )))
662 662  
663 663  
664 -(((
665 -(% style="color:blue" %)**Step 2: **(%%) Open it and choose
666 -)))
756 +=== 2.5.3  ​Battery Note ===
667 667  
668 -* (((
669 -Product Model
670 -)))
671 -* (((
672 -Uplink Interval
673 -)))
674 -* (((
675 -Working Mode
676 -)))
677 677  
678 678  (((
679 -And the Life expectation in difference case will be shown on the right.
760 +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.
680 680  )))
681 681  
682 -[[image:image-20220709110451-3.png]]
683 683  
684 684  
765 +=== 2.5.4  Replace the battery ===
685 685  
686 -=== 2.8.3  ​Battery Note ===
687 687  
688 688  (((
689 -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.
769 +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.
690 690  )))
691 691  
692 692  
693 -
694 -=== 2.8.4  Replace the battery ===
695 -
696 696  (((
697 -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).
774 +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).
698 698  )))
699 699  
700 700  
... ... @@ -701,6 +701,7 @@
701 701  
702 702  = 3. ​ Access NB-IoT Module =
703 703  
781 +
704 704  (((
705 705  Users can directly access the AT command set of the NB-IoT module.
706 706  )))
... ... @@ -707,6 +707,8 @@
707 707  
708 708  (((
709 709  The AT Command set can refer the BC35-G NB-IoT Module AT Command: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=datasheet/other_vendors/BC35-G/>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/other_vendors/BC35-G/]] 
788 +
789 +
710 710  )))
711 711  
712 712  [[image:1657333200519-600.png]]
... ... @@ -715,11 +715,13 @@
715 715  
716 716  = 4.  Using the AT Commands =
717 717  
798 +
718 718  == 4.1  Access AT Commands ==
719 719  
720 -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/]]
721 721  
802 +See NBSN95 AT Command in this link for detail:  [[https:~~/~~/www.dropbox.com/sh/jao1xt9kw5r3yq4/AAAMpJkZzExF2JLbRWxGoQ9Na?dl=0>>https://www.dropbox.com/sh/jao1xt9kw5r3yq4/AAAMpJkZzExF2JLbRWxGoQ9Na?dl=0]]
722 722  
804 +
723 723  AT+<CMD>?  : Help on <CMD>
724 724  
725 725  AT+<CMD>         : Run <CMD>
... ... @@ -793,6 +793,7 @@
793 793  
794 794  = ​5.  FAQ =
795 795  
878 +
796 796  == 5.1 ​ How to Upgrade Firmware ==
797 797  
798 798  
... ... @@ -805,13 +805,18 @@
805 805  )))
806 806  
807 807  (((
808 -(% style="color:red" %)Notice, NDDS75 and LDDS75 share the same mother board. They use the same connection and method to update.
891 +
892 +
893 +(((
894 +(% style="color:red" %)**Notice, N95S31B and LSN50v2 share the same mother board. They use the same connection and method to update.**
809 809  )))
896 +)))
810 810  
811 811  
812 812  
813 813  = 6.  Trouble Shooting =
814 814  
902 +
815 815  == 6.1  ​Connection problem when uploading firmware ==
816 816  
817 817  
... ... @@ -827,6 +827,7 @@
827 827  
828 828  == 6.2  AT Command input doesn't work ==
829 829  
918 +
830 830  (((
831 831  In the case if user can see the console output but can't type input to the device. Please check if you already include the (% style="color:green" %)**ENTER**(%%) while sending out the command. Some serial tool doesn't send (% style="color:green" %)**ENTER**(%%) while press the send key, user need to add ENTER in their string.
832 832  
... ... @@ -837,7 +837,7 @@
837 837  = 7. ​ Order Info =
838 838  
839 839  
840 -Part Number**:** (% style="color:#4f81bd" %)**NSDDS75**
929 +Part Number**:** (% style="color:#4f81bd" %)**N95S31B-YY**
841 841  
842 842  
843 843  (% class="wikigeneratedid" %)
... ... @@ -852,7 +852,7 @@
852 852  
853 853  (% style="color:#037691" %)**Package Includes**:
854 854  
855 -* NSE01 NB-IoT Distance Detect Sensor Node x 1
944 +* N95S31B NB-IoT Temperature and Humidity Sensor
856 856  * External antenna x 1
857 857  )))
858 858  
... ... @@ -861,11 +861,10 @@
861 861  
862 862  (% style="color:#037691" %)**Dimension and weight**:
863 863  
864 -
865 865  * Device Size: 13.0 x 5 x 4.5 cm
866 866  * Device Weight: 150g
867 -* Package Size / pcs : 15 x 12x 5.5 cm
868 -* Weight / pcs : 220g
955 +* Package Size / pcs : 14.0 x 8x 5 cm
956 +* Weight / pcs : 180g
869 869  )))
870 870  
871 871  (((
... ... @@ -877,5 +877,9 @@
877 877  
878 878  = 9.  Support =
879 879  
968 +
880 880  * 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.
881 881  * 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]]
971 +
972 +
973 +
1657348034241-728.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +127.8 KB
Content
1657348284168-431.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +93.5 KB
Content
1657350248151-650.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +126.1 KB
Content
1657350625843-586.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +93.3 KB
Content
1657351240556-536.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +483.6 KB
Content
1657351312545-300.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +675.8 KB
Content
1657352146020-183.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +264.0 KB
Content
1657352185396-303.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +98.3 KB
Content
1657352391268-297.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +238.0 KB
Content
1657352403317-397.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +547.7 KB
Content
1657352634421-276.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +163.6 KB
Content
1657352645687-385.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +214.7 KB
Content
1657352898400-901.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +144.8 KB
Content
1657352914475-252.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +157.0 KB
Content
1657354294009-643.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +214.7 KB
Content
1657520100595-569.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +126.1 KB
Content
image-20220709144723-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +413.1 KB
Content
image-20220709150546-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +333.5 KB
Content
image-20220709161741-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +111.2 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0