Last modified by Mengting Qiu on 2025/03/08 11:33
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Edwin - Content
-
... ... @@ -40,7 +40,6 @@ 40 40 |(% style="width:117px" %)China Telecom|(% style="width:151px" %)ctnb|(% style="width:474px" %)China Mainland|(% style="width:135px" %) 41 41 42 42 43 - 44 44 = 3. Configure to connect to different servers = 45 45 46 46 == 3.1 General UDP Connection == ... ... @@ -104,7 +104,7 @@ 104 104 105 105 [[image:image-20230802112413-4.png]] 106 106 107 -[[image:image-20230802112413-5.png]] 106 +[[image:image-20230802112413-5.png||height="530" width="987"]] 108 108 109 109 (% style="color:red" %)**Notice: MQTT protocol has a much higher power consumption compare with UDP/CoAP protocol. Please check the power analyze document and adjust the uplink period to a suitable interval.** 110 110 ... ... @@ -116,7 +116,7 @@ 116 116 117 117 [[ThingSpeak>>url:https://thingspeak.com/]] connection uses MQTT Connection. So we need to get MQTT Credentials first. You need to point MQTT Devices to ThingSpeak Channel as well. 118 118 119 -[[image:image-20230802112413-6.png]] 118 +[[image:image-20230802112413-6.png||height="336" width="925"]] 120 120 121 121 [[image:image-20230802112413-7.png]] 122 122 ... ... @@ -141,7 +141,6 @@ 141 141 * (% style="color:#037691" %)**Password:**(%%) <Your ThingSpeak MQTT Password> 142 142 143 143 144 - 145 145 ==== 3.3.2.2 Publish Data to ThingSpeak Channel ==== 146 146 147 147 ... ... @@ -161,7 +161,7 @@ 161 161 162 162 (% style="color:blue" %)**Result: ** 163 163 164 -[[image:image-20230802112413-11.png]] 162 +[[image:image-20230802112413-11.png||height="539" width="901"]] 165 165 166 166 167 167 === 3.3.3 Configure NB-IoT Sensor for connection === ... ... @@ -184,12 +184,10 @@ 184 184 * (% style="color:blue" %)**AT+SUBTOPIC=<YOUR_CHANNEL_ID>** 185 185 186 186 187 - 188 188 ==== 3.3.3.2 Uplink Examples ==== 189 189 187 +[[image:image-20230816201942-1.png]] 190 190 191 -For S31-NB 192 - 193 193 For SE01-NB 194 194 195 195 For DDS20-NB ... ... @@ -219,9 +219,9 @@ 219 219 When NB-IoT sensor upload to ThingSpeak. The payload already specify which fileds related to which sensor value. Use need to create fileds in Channels Settings. with name so to see the value correctly. 220 220 221 221 222 -[[image:image-20230802112413-12.png]] 218 +[[image:image-20230802112413-12.png||height="504" width="1011"]] 223 223 224 -[[image:image-20230802112413-13.png]] 220 +[[image:image-20230802112413-13.png||height="331" width="978"]] 225 225 226 226 227 227 Below is the NB-IoT Product Table show the mapping. ... ... @@ -247,7 +247,6 @@ 247 247 |(% 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" %) 248 248 249 249 250 - 251 251 == 3.4 [[Datacake>>https://datacake.co/]] == 252 252 253 253 ... ... @@ -256,7 +256,7 @@ 256 256 257 257 258 258 (% class="wikigeneratedid" %) 259 -As example for S31B-NB. there are two versions: S31B-NB-1D and S31B-NB-GE. 254 +As example for S31B-NB. there are two versions: **S31B-NB-1D and S31B-NB-GE.** 260 260 261 261 * (% style="color:blue" %)**S31B-NB-1D**(%%): This version have pre-configure DataCake connection. User just need to Power on this device, it will auto connect send data to DataCake Server. 262 262 ... ... @@ -263,13 +263,12 @@ 263 263 * (% style="color:blue" %)**S31B-NB-GE**(%%): This verson doesn't have pre-configure Datacake connection. User need to enter the AT Commands to connect to Datacake. See below for instruction. 264 264 265 265 266 - 267 267 === 3.4.1 Create device === 268 268 269 269 270 270 (% style="color:blue" %)**Add Device**(%%) in DataCake. 271 271 272 -[[image:image-20230808162301-1.png]] 266 +[[image:image-20230808162301-1.png||height="473" width="994"]] 273 273 274 274 275 275 [[image:image-20230808162342-2.png]] ... ... @@ -363,6 +363,7 @@ 363 363 364 364 * (% style="color:blue" %)**AT+SERVADDR=xx.xx.xx.xx,port **(%%)** **~/~/ Set Server IP and port 365 365 360 + 366 366 == 3.6 ThingsBoard.Cloud (via MQTT) == 367 367 368 368 === 3.6.1 Configure ThingsBoard === ... ... @@ -507,6 +507,7 @@ 507 507 508 508 * (% style="color:#037691" %)**AT+PWD=“Your device token”** 509 509 505 + 510 510 === 3.7.2 Simulate with MQTT.fx === 511 511 512 512
- image-20230816201942-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +99.8 KB - Content