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, 0 added, 8 removed)
Details
- Page properties
-
- Content
-
... ... @@ -211,15 +211,15 @@ 211 211 212 212 213 213 214 -=== 2.2. 4Connect USB – TTL to N95S31Bto configure it ===214 +=== 2.2.3 Connect USB – TTL to NDDS75 to configure it === 215 215 216 216 ((( 217 217 ((( 218 -User need to configure 95S31Bvia serial port to set the (% style="color:blue" %)**Server Address** / **Uplink Topic** (%%)to define where and how-to uplink packets. N95S31Bsupport AT Commands, user can use a USB to TTL adapter to connect to95S31Band use AT Commands to configure it, as below.218 +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. 219 219 ))) 220 220 ))) 221 221 222 -[[image: 1657351312545-300.png]]222 +[[image:image-20220709092052-2.png]] 223 223 224 224 **Connection:** 225 225 ... ... @@ -239,18 +239,18 @@ 239 239 * Flow Control: (% style="color:green" %)**None** 240 240 241 241 ((( 242 -Make sure the switch is in FLASH position, then power on device by connecting the jumper on N 95S31B.95S31Bwill 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 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. 243 243 ))) 244 244 245 245 [[image:1657329814315-101.png]] 246 246 247 247 ((( 248 -(% style="color:red" %)Note: the valid AT Commands can be found at: 95S31B/>>url:https://www.dragino.com/downloads/index.php?dir=NB-IoT/N95S31B/]]248 +(% 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/]] 249 249 ))) 250 250 251 251 252 252 253 -=== 2.2. 5Use CoAP protocol to uplink data ===253 +=== 2.2.4 Use CoAP protocol to uplink data === 254 254 255 255 (% 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/]] 256 256 ... ... @@ -270,12 +270,10 @@ 270 270 ))) 271 271 272 272 ((( 273 - 274 - 275 275 For parameter description, please refer to AT command set 276 276 ))) 277 277 278 -[[image:1657352 146020-183.png]]276 +[[image:1657330452568-615.png]] 279 279 280 280 281 281 ((( ... ... @@ -282,11 +282,11 @@ 282 282 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. 283 283 ))) 284 284 285 -[[image:16573 52185396-303.png]]283 +[[image:1657330472797-498.png]] 286 286 287 287 288 288 289 -=== 2.2. 6Use UDP protocol to uplink data(Default protocol) ===287 +=== 2.2.5 Use UDP protocol to uplink data(Default protocol) === 290 290 291 291 292 292 * (% style="color:blue" %)**AT+PRO=2 ** (%%) ~/~/ Set to use UDP protocol to uplink ... ... @@ -293,16 +293,15 @@ 293 293 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 294 294 * (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/ If the server does not respond, this command is unnecessary 295 295 296 -[[image:16573 52391268-297.png]]294 +[[image:1657330501006-241.png]] 297 297 298 298 299 -[[image:16573 52403317-397.png]]297 +[[image:1657330533775-472.png]] 300 300 301 301 302 302 303 -=== 2.2. 7Use MQTT protocol to uplink data ===301 +=== 2.2.6 Use MQTT protocol to uplink data === 304 304 305 -N95S31B supports only plain MQTT now it doesn't support TLS and other related encryption. 306 306 307 307 * (% style="color:blue" %)**AT+PRO=3 ** (%%) ~/~/Set to use MQTT protocol to uplink 308 308 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/Set MQTT server address and port ... ... @@ -309,40 +309,35 @@ 309 309 * (% style="color:blue" %)**AT+CLIENT=CLIENT ** (%%)~/~/Set up the CLIENT of MQTT 310 310 * (% style="color:blue" %)**AT+UNAME=UNAME **(%%)~/~/Set the username of MQTT 311 311 * (% style="color:blue" %)**AT+PWD=PWD **(%%)~/~/Set the password of MQTT 312 -* (% style="color:blue" %)**AT+PUBTOPIC= f9527313 -* (% style="color:blue" %)**AT+SUBTOPIC=N s9527309 +* (% style="color:blue" %)**AT+PUBTOPIC=NDDS75_PUB **(%%)~/~/Set the sending topic of MQTT 310 +* (% style="color:blue" %)**AT+SUBTOPIC=NDDS75_SUB **(%%) ~/~/Set the subscription topic of MQTT 314 314 315 -[[image:1657 352634421-276.png]]312 +[[image:1657249978444-674.png]] 316 316 317 317 318 -[[image:16573 52645687-385.png]]315 +[[image:1657330723006-866.png]] 319 319 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 -))) 323 323 324 - 325 325 ((( 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.319 +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. 327 327 ))) 328 328 329 329 330 330 331 -=== 2.2. 8Use TCP protocol to uplink data ===324 +=== 2.2.7 Use TCP protocol to uplink data === 332 332 333 -This feature is supported since firmware version v110 334 334 335 335 * (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 336 336 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600 **(%%) ~/~/ to set TCP server address and port 337 337 338 -[[image: 1657352898400-901.png]]330 +[[image:image-20220709093918-1.png]] 339 339 340 340 341 -[[image: 1657352914475-252.png]]333 +[[image:image-20220709093918-2.png]] 342 342 343 343 344 344 345 -=== 2.2. 9Change Update Interval ===337 +=== 2.2.8 Change Update Interval === 346 346 347 347 User can use below command to change the (% style="color:green" %)**uplink interval**. 348 348 ... ... @@ -349,11 +349,15 @@ 349 349 * (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ Set Update Interval to 600s 350 350 351 351 ((( 352 - 344 +(% style="color:red" %)**NOTE:** 353 353 ))) 354 354 347 +((( 348 +(% style="color:red" %)1. By default, the device will send an uplink message every 1 hour. 349 +))) 355 355 356 356 352 + 357 357 == 2.3 Uplink Payload == 358 358 359 359 In this mode, uplink payload includes in total 14 bytes
- 1657352146020-183.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -264.0 KB - Content
- 1657352185396-303.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -98.3 KB - Content
- 1657352391268-297.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -238.0 KB - Content
- 1657352403317-397.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -547.7 KB - Content
- 1657352634421-276.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -163.6 KB - Content
- 1657352645687-385.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -214.7 KB - Content
- 1657352898400-901.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -144.8 KB - Content
- 1657352914475-252.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -157.0 KB - Content