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)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -143,7 +143,9 @@ 143 143 144 144 145 145 146 -=== 2.2.2 Insert SIM card === 146 +1. 147 +11. 148 +111. Insert SIM card 147 147 148 148 Insert the NB-IoT Card get from your provider. 149 149 ... ... @@ -154,10 +154,12 @@ 154 154 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image004.gif]] 155 155 156 156 157 -=== 2.2.3 Connect USB – TTL to NSE01 to configure it === 159 +1. 160 +11. 161 +111. Connect USB – TTL to NSE01 to configure it 158 158 159 159 160 -User need to configure NSE01 via serial port to set the ** (% style="color:blue" %)Server Address** / **Uplink Topic**(%%)to define where and how-to uplink packets. NSE01 support AT Commands, user can use a USB to TTL adapter to connect to NSE01 and use AT Commands to configure it, as below.164 +User need to configure NSE01 via serial port to set the **Server Address** / **Uplink Topic** to define where and how-to uplink packets. NSE01 support AT Commands, user can use a USB to TTL adapter to connect to NSE01 and use AT Commands to configure it, as below. 161 161 162 162 163 163 ... ... @@ -164,24 +164,24 @@ 164 164 165 165 Connection: 166 166 167 - (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND171 +USB TTL GND <~-~-~-~-> GND 168 168 169 - (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD173 +USB TTL TXD <~-~-~-~-> UART_RXD 170 170 171 - (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD175 +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: ** (% 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**181 +* Baud: **9600** 182 +* Data bits:** 8** 183 +* Stop bits: **1** 184 +* Parity: **None** 185 +* Flow Control: **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 ** (% style="background-color:green" %)password: 12345678**(%%)to access AT Command input.188 +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. 185 185 186 186 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.jpg]] 187 187 ... ... @@ -190,20 +190,21 @@ 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 197 +1. 198 +11. 199 +111. Use CoAP protocol to uplink data 193 193 194 -=== 2.2.4 Use CoAP protocol to uplink data === 195 195 202 +Note: if you don’t have CoAP server, you can refer this link to set up one: 196 196 197 -(% style="background-color:red" %)Note: if you don’t have CoAP server, you can refer this link to set up one: 198 - 199 199 [[http:~~/~~/wiki.dragino.com/index.php?title=Set_up_CoAP_Server>>url:http://wiki.dragino.com/index.php?title=Set_up_CoAP_Server]] 200 200 201 201 202 202 Use below commands: 203 203 204 -* ** (% style="color:blue" %)AT+PRO=1**(%%)~/~/ Set to use CoAP protocol to uplink205 -* ** (% style="color:blue" %)AT+SERVADDR=120.24.4.116,5683 **(%%)~/~/ to set CoAP server address and port206 -* ** (% style="color:blue" %)AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0"** (%%)~/~/Set COAP resource path209 +* **AT+PRO=1** ~/~/ Set to use CoAP protocol to uplink 210 +* **AT+SERVADDR=120.24.4.116,5683 **~/~/ to set CoAP server address and port 211 +* **AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" **~/~/Set COAP resource path 207 207 208 208 209 209 For parameter description, please refer to AT command set ... ... @@ -211,20 +211,21 @@ 211 211 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.jpg]] 212 212 213 213 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.219 +After configure the server address and **reset the device** (via AT+ATZ ), NSE01 will start to uplink sensor values to CoAP server. 215 215 216 216 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.jpg]] 217 217 223 +1. 224 +11. 225 +111. Use UDP protocol to uplink data(Default protocol) 218 218 219 -=== 2.2.5 Use UDP protocol to uplink data(Default protocol) === 220 220 221 - 222 222 This feature is supported since firmware version v1.0.1 223 223 224 224 225 -* ** (% style="color:blue" %)AT+PRO=2 **(%%)~/~/ Set to use UDP protocol to uplink226 -* ** (% style="color:blue" %)AT+SERVADDR=120.24.4.116,5601 **(%%)~/~/ to set UDP server address and port227 -* ** (% style="color:blue" %)AT+CFM=1 **(%%)~/~/If the server does not respond, this command is unnecessary231 +* **AT+PRO=2 ** ~/~/ Set to use UDP protocol to uplink 232 +* **AT+SERVADDR=120.24.4.116,5601 **~/~/ to set UDP server address and port 233 +* **AT+CFM=1 **~/~/If the server does not respond, this command is unnecessary 228 228 229 229 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.jpg]] 230 230 ... ... @@ -235,19 +235,21 @@ 235 235 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.jpg]] 236 236 237 237 238 -=== 2.2.6 Use MQTT protocol to uplink data === 244 +1. 245 +11. 246 +111. Use MQTT protocol to uplink data 239 239 240 240 241 241 This feature is supported since firmware version v110 242 242 243 243 244 -* ** (% style="color:blue" %)AT+PRO=3 **(%%)~/~/Set to use MQTT protocol to uplink245 -* ** (% style="color:blue" %)AT+SERVADDR=120.24.4.116,1883 **(%%)~/~/Set MQTT server address and port246 -* ** (% style="color:blue" %)AT+CLIENT=CLIENT**(%%)~/~/Set up the CLIENT of MQTT247 -* ** (% style="color:blue" %)AT+UNAME=UNAME **(%%)~/~/Set the username of MQTT248 -* ** (% style="color:blue" %)AT+PWD=PWD **(%%)~/~/Set the password of MQTT249 -* ** (% style="color:blue" %)AT+PUBTOPIC=NSE01_PUB **(%%)~/~/Set the sending topic of MQTT250 -* ** (% style="color:blue" %)AT+SUBTOPIC=NSE01_SUB **(%%)~/~/Set the subscription topic of MQTT252 +* **AT+PRO=3 ** ~/~/Set to use MQTT protocol to uplink 253 +* **AT+SERVADDR=120.24.4.116,1883 **~/~/Set MQTT server address and port 254 +* **AT+CLIENT=CLIENT **~/~/Set up the CLIENT of MQTT 255 +* **AT+UNAME=UNAME **~/~/Set the username of MQTT 256 +* **AT+PWD=PWD **~/~/Set the password of MQTT 257 +* **AT+PUBTOPIC=NSE01_PUB **~/~/Set the sending topic of MQTT 258 +* **AT+SUBTOPIC=NSE01_SUB **~/~/Set the subscription topic of MQTT 251 251 252 252 253 253 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.gif]] ... ... @@ -258,14 +258,16 @@ 258 258 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. 259 259 260 260 261 -=== 2.2.7 Use TCP protocol to uplink data === 269 +1. 270 +11. 271 +111. Use TCP protocol to uplink data 262 262 263 263 264 264 This feature is supported since firmware version v110 265 265 266 266 267 -* ** (% style="color:blue" %)AT+PRO=4 **(%%)~/~/ Set to use TCP protocol to uplink268 -* ** (% style="color:blue" %)AT+SERVADDR=120.24.4.116,5600 **(%%)~/~/ to set TCP server address and port277 +* **AT+PRO=4 ** ~/~/ Set to use TCP protocol to uplink 278 +* **AT+SERVADDR=120.24.4.116,5600 **~/~/ to set TCP server address and port 269 269 270 270 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.jpg]] 271 271 ... ... @@ -274,16 +274,18 @@ 274 274 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.jpg]] 275 275 276 276 277 -=== 2.2.8 Change Update Interval === 287 +1. 288 +11. 289 +111. Change Update Interval 278 278 279 -User can use below command to change the ** (% style="color:green" %)uplink interval**.291 +User can use below command to change the **uplink interval**. 280 280 281 -**~ (% style="color:blue" %)AT+TDC=600 **(%%)~/~/ Set Update Interval to 600s293 +**~ AT+TDC=600 **~/~/ Set Update Interval to 600s 282 282 283 283 284 -** (% style="color:red" %)NOTE:**296 +**NOTE:** 285 285 286 - (% style="color:red" %)1. By default, the device will send an uplink message every 1 hour.298 +1. By default, the device will send an uplink message every 1 hour. 287 287 288 288 289 289
- 1657249419225-449.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -81.0 KB - Content