Changes for page NDDS75 -- NB-IoT Distance Detect Sensor User Manual
Last modified by Bei Jinggeng on 2024/05/31 09:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -164,24 +164,24 @@ 164 164 165 165 Connection: 166 166 167 -USB TTL GND <~-~-~-~-> GND 167 + (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND 168 168 169 -USB TTL TXD <~-~-~-~-> UART_RXD 169 + (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD 170 170 171 -USB TTL RXD <~-~-~-~-> UART_TXD 171 + (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD 172 172 173 173 174 174 175 175 In the PC, use below serial tool settings: 176 176 177 -* Baud: **9600** 178 -* Data bits:** 8** 179 -* Stop bits: **1** 180 -* Parity: **None** 181 -* Flow Control: **None** 177 +* Baud: ** (% style="background-color:green" %)9600**(%%) 178 +* Data bits:** (% style="background-color:green" %)8**(%%) 179 +* Stop bits: **(% style="background-color:green" %)1**(%%) 180 +* Parity: **(% style="background-color:green" %)None**(%%) 181 +* Flow Control: **(% style="background-color:green" %)None** 182 182 183 183 184 -Make sure the switch is in FLASH position, then power on device by connecting the jumper on NSE01. NSE01 will output system info once power on as below, we can enter the **password: 12345678** to access AT Command input. 184 +Make sure the switch is in FLASH position, then power on device by connecting the jumper on NSE01. NSE01 will output system info once power on as below, we can enter the **(% style="background-color:green" %)password: 12345678**(%%) to access AT Command input. 185 185 186 186 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.jpg]] 187 187 ... ... @@ -190,21 +190,20 @@ 190 190 [[http:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/NSE01/>>url:http://www.dragino.com/downloads/index.php?dir=NB-IoT/NBSN50/]] 191 191 192 192 193 -1. 194 -11. 195 -111. Use CoAP protocol to uplink data 196 196 194 +=== 2.2.4 Use CoAP protocol to uplink data === 197 197 198 -Note: if you don’t have CoAP server, you can refer this link to set up one: 199 199 197 +(% style="background-color:red" %)Note: if you don’t have CoAP server, you can refer this link to set up one: 198 + 200 200 [[http:~~/~~/wiki.dragino.com/index.php?title=Set_up_CoAP_Server>>url:http://wiki.dragino.com/index.php?title=Set_up_CoAP_Server]] 201 201 202 202 203 203 Use below commands: 204 204 205 -* **AT+PRO=1** ~/~/ Set to use CoAP protocol to uplink 206 -* **AT+SERVADDR=120.24.4.116,5683 **~/~/ to set CoAP server address and port 207 -* **AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" **~/~/Set COAP resource path204 +* **(% style="color:blue" %)AT+PRO=1** (%%) ~/~/ Set to use CoAP protocol to uplink 205 +* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,5683 ** (%%)~/~/ to set CoAP server address and port 206 +* **(% style="color:blue" %)AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** (%%) ~/~/Set COAP resource path 208 208 209 209 210 210 For parameter description, please refer to AT command set ... ... @@ -212,21 +212,20 @@ 212 212 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.jpg]] 213 213 214 214 215 -After configure the server address and **reset the device** (via AT+ATZ ), NSE01 will start to uplink sensor values to CoAP server. 214 +After configure the server address and **(% style="color:green" %)reset the device**(%%) (via AT+ATZ ), NSE01 will start to uplink sensor values to CoAP server. 216 216 217 217 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.jpg]] 218 218 219 -1. 220 -11. 221 -111. Use UDP protocol to uplink data(Default protocol) 222 222 219 +=== 2.2.5 Use UDP protocol to uplink data(Default protocol) === 223 223 221 + 224 224 This feature is supported since firmware version v1.0.1 225 225 226 226 227 -* **AT+PRO=2 ** ~/~/ Set to use UDP protocol to uplink 228 -* **AT+SERVADDR=120.24.4.116,5601 **~/~/ to set UDP server address and port 229 -* **AT+CFM=1 **~/~/If the server does not respond, this command is unnecessary 225 +* **(% style="color:blue" %)AT+PRO=2 ** (%%) ~/~/ Set to use UDP protocol to uplink 226 +* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 227 +* **(% style="color:blue" %)AT+CFM=1 ** (%%) ~/~/If the server does not respond, this command is unnecessary 230 230 231 231 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.jpg]] 232 232 ... ... @@ -237,21 +237,19 @@ 237 237 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.jpg]] 238 238 239 239 240 -1. 241 -11. 242 -111. Use MQTT protocol to uplink data 238 +=== 2.2.6 Use MQTT protocol to uplink data === 243 243 244 244 245 245 This feature is supported since firmware version v110 246 246 247 247 248 -* **AT+PRO=3 ** ~/~/Set to use MQTT protocol to uplink 249 -* **AT+SERVADDR=120.24.4.116,1883 **~/~/Set MQTT server address and port 250 -* **AT+CLIENT=CLIENT 251 -* **AT+UNAME=UNAME 252 -* **AT+PWD=PWD 253 -* **AT+PUBTOPIC=NSE01_PUB 254 -* **AT+SUBTOPIC=NSE01_SUB 244 +* **(% style="color:blue" %)AT+PRO=3 ** (%%) ~/~/Set to use MQTT protocol to uplink 245 +* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/Set MQTT server address and port 246 +* **(% style="color:blue" %)AT+CLIENT=CLIENT ** (%%)~/~/Set up the CLIENT of MQTT 247 +* **(% style="color:blue" %)AT+UNAME=UNAME **(%%)~/~/Set the username of MQTT 248 +* **(% style="color:blue" %)AT+PWD=PWD **(%%)~/~/Set the password of MQTT 249 +* **(% style="color:blue" %)AT+PUBTOPIC=NSE01_PUB **(%%)~/~/Set the sending topic of MQTT 250 +* **(% style="color:blue" %)AT+SUBTOPIC=NSE01_SUB **(%%) ~/~/Set the subscription topic of MQTT 255 255 256 256 257 257 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.gif]] ... ... @@ -262,16 +262,14 @@ 262 262 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. 263 263 264 264 265 -1. 266 -11. 267 -111. Use TCP protocol to uplink data 261 +=== 2.2.7 Use TCP protocol to uplink data === 268 268 269 269 270 270 This feature is supported since firmware version v110 271 271 272 272 273 -* **AT+PRO=4 ** ~/~/ Set to use TCP protocol to uplink 274 -* **AT+SERVADDR=120.24.4.116,5600 **~/~/ to set TCP server address and port 267 +* **(% style="color:blue" %)AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 268 +* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,5600 **(%%) ~/~/ to set TCP server address and port 275 275 276 276 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.jpg]] 277 277 ... ... @@ -280,18 +280,16 @@ 280 280 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.jpg]] 281 281 282 282 283 -1. 284 -11. 285 -111. Change Update Interval 277 +=== 2.2.8 Change Update Interval === 286 286 287 -User can use below command to change the **uplink interval**. 279 +User can use below command to change the **(% style="color:green" %)uplink interval**. 288 288 289 -**~ AT+TDC=600 **~/~/ Set Update Interval to 600s 281 +**~ (% style="color:blue" %)AT+TDC=600 ** (%%)~/~/ Set Update Interval to 600s 290 290 291 291 292 -**NOTE:** 284 +**(% style="color:red" %)NOTE:** 293 293 294 -1. By default, the device will send an uplink message every 1 hour. 286 +(% style="color:red" %)1. By default, the device will send an uplink message every 1 hour. 295 295 296 296 297 297