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)
-
Attachments (0 modified, 11 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -192,17 +192,12 @@ 192 192 193 193 ))) 194 194 195 -((( 196 -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 197 -))) 195 +[[image:1657350625843-586.png]] 198 198 199 199 200 -[[image:1657328756309-230.png]] 201 201 199 +=== 2.2.3 Insert SIM card === 202 202 203 - 204 -=== 2.2.2 Insert SIM card === 205 - 206 206 ((( 207 207 Insert the NB-IoT Card get from your provider. 208 208 ))) ... ... @@ -212,19 +212,19 @@ 212 212 ))) 213 213 214 214 215 -[[image:165732 8884227-504.png]]210 +[[image:1657351240556-536.png]] 216 216 217 217 218 218 219 -=== 2.2. 3DDS75 to configure it ===214 +=== 2.2.4 Connect USB – TTL to N95S31B to configure it === 220 220 221 221 ((( 222 222 ((( 223 -User need to configure DDS75 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 toDDS75 and use AT Commands to configure it, as below.218 +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. 224 224 ))) 225 225 ))) 226 226 227 -[[image: image-20220709092052-2.png]]222 +[[image:1657351312545-300.png]] 228 228 229 229 **Connection:** 230 230 ... ... @@ -244,18 +244,18 @@ 244 244 * Flow Control: (% style="color:green" %)**None** 245 245 246 246 ((( 247 -Make sure the switch is in FLASH position, then power on device by connecting the jumper on N DDS75.DDS75 will output system info once power on as below, we can enter the (% style="color:green" %)**password: 12345678**(%%) to access AT Command input.242 +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. 248 248 ))) 249 249 250 250 [[image:1657329814315-101.png]] 251 251 252 252 ((( 253 -(% style="color:red" %)Note: the valid AT Commands can be found at: (%%)[[https:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/N DDS75/>>url:https://www.dragino.com/downloads/index.php?dir=NB-IoT/NDDS75/]]248 +(% style="color:red" %)Note: the valid AT Commands can be found at: (%%)[[https:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/N95S31B/>>url:https://www.dragino.com/downloads/index.php?dir=NB-IoT/N95S31B/]] 254 254 ))) 255 255 256 256 257 257 258 -=== 2.2. 4253 +=== 2.2.5 Use CoAP protocol to uplink data === 259 259 260 260 (% 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/]] 261 261 ... ... @@ -275,10 +275,12 @@ 275 275 ))) 276 276 277 277 ((( 273 + 274 + 278 278 For parameter description, please refer to AT command set 279 279 ))) 280 280 281 -[[image:16573 30452568-615.png]]278 +[[image:1657352146020-183.png]] 282 282 283 283 284 284 ((( ... ... @@ -285,11 +285,11 @@ 285 285 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. 286 286 ))) 287 287 288 -[[image:16573 30472797-498.png]]285 +[[image:1657352185396-303.png]] 289 289 290 290 291 291 292 -=== 2.2. 5289 +=== 2.2.6 Use UDP protocol to uplink data(Default protocol) === 293 293 294 294 295 295 * (% style="color:blue" %)**AT+PRO=2 ** (%%) ~/~/ Set to use UDP protocol to uplink ... ... @@ -296,15 +296,16 @@ 296 296 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 297 297 * (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/ If the server does not respond, this command is unnecessary 298 298 299 -[[image:16573 30501006-241.png]]296 +[[image:1657352391268-297.png]] 300 300 301 301 302 -[[image:16573 30533775-472.png]]299 +[[image:1657352403317-397.png]] 303 303 304 304 305 305 306 -=== 2.2. 6303 +=== 2.2.7 Use MQTT protocol to uplink data === 307 307 305 +N95S31B supports only plain MQTT now it doesn't support TLS and other related encryption. 308 308 309 309 * (% style="color:blue" %)**AT+PRO=3 ** (%%) ~/~/Set to use MQTT protocol to uplink 310 310 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/Set MQTT server address and port ... ... @@ -311,35 +311,40 @@ 311 311 * (% style="color:blue" %)**AT+CLIENT=CLIENT ** (%%)~/~/Set up the CLIENT of MQTT 312 312 * (% style="color:blue" %)**AT+UNAME=UNAME **(%%)~/~/Set the username of MQTT 313 313 * (% style="color:blue" %)**AT+PWD=PWD **(%%)~/~/Set the password of MQTT 314 -* (% style="color:blue" %)**AT+PUBTOPIC= NDDS75_PUB315 -* (% style="color:blue" %)**AT+SUBTOPIC=N DDS75_SUB312 +* (% 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 316 316 317 -[[image:165724 9978444-674.png]]315 +[[image:1657352634421-276.png]] 318 318 319 319 320 -[[image:16573 30723006-866.png]]318 +[[image:1657352645687-385.png]] 321 321 320 +((( 321 +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. 322 +))) 322 322 324 + 323 323 ((( 324 -MQTT protocol has a much high erpower consumption compare vs UDP / CoAP protocol. Please check the power analyze document and adjust the uplink period to a suitable interval.326 +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. 325 325 ))) 326 326 327 327 328 328 329 -=== 2.2. 7331 +=== 2.2.8 Use TCP protocol to uplink data === 330 330 333 +This feature is supported since firmware version v110 331 331 332 332 * (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 333 333 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600 **(%%) ~/~/ to set TCP server address and port 334 334 335 -[[image: image-20220709093918-1.png]]338 +[[image:1657352898400-901.png]] 336 336 337 337 338 -[[image: image-20220709093918-2.png]]341 +[[image:1657352914475-252.png]] 339 339 340 340 341 341 342 -=== 2.2. 8345 +=== 2.2.9 Change Update Interval === 343 343 344 344 User can use below command to change the (% style="color:green" %)**uplink interval**. 345 345 ... ... @@ -346,15 +346,11 @@ 346 346 * (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ Set Update Interval to 600s 347 347 348 348 ((( 349 - (%style="color:red" %)**NOTE:**352 + 350 350 ))) 351 351 352 -((( 353 -(% style="color:red" %)1. By default, the device will send an uplink message every 1 hour. 354 -))) 355 355 356 356 357 - 358 358 == 2.3 Uplink Payload == 359 359 360 360 In this mode, uplink payload includes in total 14 bytes
- 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