Last modified by Mengting Qiu on 2025/03/08 11:33
Change comment:
Uploaded new attachment "image-20230809174053-9.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -36,6 +36,7 @@ 36 36 |(% style="width:117px" %)China Telecom|(% style="width:151px" %)ctnb|(% style="width:474px" %)China Mainland|(% style="width:135px" %) 37 37 38 38 39 + 39 39 = 3. Configure to connect to different servers = 40 40 41 41 == 3.1 General UDP Connection == ... ... @@ -136,6 +136,7 @@ 136 136 * (% style="color:#037691" %)**Password:**(%%) <Your ThingSpeak MQTT Password> 137 137 138 138 140 + 139 139 ==== 3.3.2.2 Publish Data to ThingSpeak Channel ==== 140 140 141 141 ... ... @@ -178,6 +178,7 @@ 178 178 * (% style="color:blue" %)**AT+SUBTOPIC=<YOUR_CHANNEL_ID>** 179 179 180 180 183 + 181 181 ==== 3.3.3.2 Uplink Examples ==== 182 182 183 183 ... ... @@ -240,6 +240,7 @@ 240 240 |(% colspan="1" style="background-color:#4f81bd; color:white; width:143px" %)SN50V3-NB mod6|(% colspan="1" style="width:103px" %)mod|(% colspan="1" style="width:102px" %)Battery|(% colspan="1" style="width:157px" %)RSSI|(% colspan="1" style="width:154px" %)count|(% colspan="1" style="width:153px" %) |(% colspan="1" style="width:151px" %) |(% colspan="1" style="width:160px" %) |(% colspan="1" style="width:152px" %) |(% colspan="1" style="width:67px" %) |(% colspan="1" style="width:69px" %) 241 241 242 242 246 + 243 243 == 3.4 Datacake == 244 244 245 245 === 3.4.1 Create device === ... ... @@ -286,52 +286,35 @@ 286 286 === 3.5.1 Configure [[Node-Red>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/]] === 287 287 288 288 289 - TakeS31-NB UDPprotocol as anexample.293 +[[image:image-20230802112413-29.png]] 290 290 291 -Dragino provides input flow examples for the sensors. 292 292 293 - User can download the required JSON file through Dragino Node-REDinput flow template.296 +[[image:image-20230802112413-30.png]] 294 294 295 -Download sample JSON file link: [[https:~~/~~/www.dropbox.com/sh/mduw85jcuwsua22/AAAvwPhg9z6dLjJhmZjqBf_ma?dl=0>>url:https://www.dropbox.com/sh/mduw85jcuwsua22/AAAvwPhg9z6dLjJhmZjqBf_ma?dl=0]] 296 296 297 - Wecandirectlyimportthe template.299 +=== 3.5.2 Simulate Connection === 298 298 299 -The templates for S31-NB and NB95S31B are the same. 300 300 302 +[[image:image-20230802112413-31.png]] 301 301 302 -[[image:image-20230809173127-4.png]] 303 303 304 - Pleaseselect theNB95S31B template.305 +=== 3.5.3 Configure NB-IoT Sensors === 305 305 306 -[[image:image-20230809173310-5.png]] 307 307 308 - [[image:image-20230809173438-6.png]]308 +* (% style="color:blue" %)**AT+PRO=3,0(hex format) or 3,5(json format)**(%%) **~/~/ Set to mqtt Server and Payload** 309 309 310 - [[image:image-20230809173800-7.png]]310 +* (% style="color:blue" %)**AT+CLIENT=any value** 311 311 312 - Successfully importedtemplate.312 +* (% style="color:blue" %)**AT+UNAME=any value** 313 313 314 - [[image:image-20230809173835-8.png]]314 +* (% style="color:blue" %)**AT+PWD=any value** 315 315 316 +* (% style="color:blue" %)**AT+PUBTOPIC=any value** 316 316 317 - Userscanset UDPport.318 +* (% style="color:blue" %)**AT+SUBTOPIC=any value** 318 318 319 -[[image:image-20230809174053-9.png]] 320 320 321 -=== 3.5.2 Simulate Connection === 322 322 323 -We have completed the configuration of UDP. We can try sending packets to node red. 324 - 325 - 326 - 327 -=== 3.5.3 Configure NB-IoT Sensors === 328 - 329 - 330 -* (% style="color:blue" %)**AT+PRO=2,0(hex format) or 2,1(json format)**(%%) **~/~/ Set to UDP Server and Payload** 331 - 332 -* **AT+SERVADDR=xx.xx.xx.xx,port ** **~/~/ Set Server IP and port** 333 - 334 - 335 335 == 3.6 ThingsBoard.Cloud (via MQTT) == 336 336 337 337 === 3.6.1 Configure ThingsBoard === ... ... @@ -415,6 +415,7 @@ 415 415 * (% style="color:#037691" %)**AT+PWD=<device name> or User Defined** 416 416 417 417 405 + 418 418 Test Uplink by click the button for 1 second 419 419 420 420 [[image:image-20230802112413-41.png]] ... ... @@ -454,6 +454,7 @@ 454 454 * (% style="color:#037691" %)**Client ID: “Any value”** 455 455 456 456 445 + 457 457 (% style="color:blue" %)**On the section User credentials, set the following information:** 458 458 459 459 * (% style="color:#037691" %)**User Name: “Any value”** (%%) **~/~/ Tago validates your user by the token only** ... ... @@ -465,6 +465,7 @@ 465 465 * (% style="color:#037691" %)**SUBTOPIC: “Any value”** 466 466 467 467 457 + 468 468 (% style="color:blue" %)**AT command:** 469 469 470 470 * (% style="color:#037691" %)**AT+PRO=3,0 or 3,5 ** (%%) **~/~/ hex format or json format** ... ... @@ -480,6 +480,7 @@ 480 480 * (% style="color:#037691" %)**AT+PWD=“Your device token”** 481 481 482 482 473 + 483 483 === 3.7.2 Simulate with MQTT.fx === 484 484 485 485 [[image:image-20230802112413-52.png]] ... ... @@ -515,6 +515,7 @@ 515 515 * (% style="color:#037691" %)**AT+SERVADDR=120.24.4.116,5600 ** (%%) ~/~/ to set TCP server address and port 516 516 517 517 509 + 518 518 (% style="color:blue" %)**Sensor Console Output when Uplink:** 519 519 520 520 [[image:image-20230807233631-1.png]]