Last modified by Mengting Qiu on 2025/03/08 11:33
Change comment:
Uploaded new attachment "image-20230816201942-1.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -40,6 +40,7 @@ 40 40 |(% style="width:117px" %)China Telecom|(% style="width:151px" %)ctnb|(% style="width:474px" %)China Mainland|(% style="width:135px" %) 41 41 42 42 43 + 43 43 = 3. Configure to connect to different servers = 44 44 45 45 == 3.1 General UDP Connection == ... ... @@ -103,7 +103,7 @@ 103 103 104 104 [[image:image-20230802112413-4.png]] 105 105 106 -[[image:image-20230802112413-5.png ||height="530" width="987"]]107 +[[image:image-20230802112413-5.png]] 107 107 108 108 (% 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.** 109 109 ... ... @@ -115,7 +115,7 @@ 115 115 116 116 [[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. 117 117 118 -[[image:image-20230802112413-6.png ||height="336" width="925"]]119 +[[image:image-20230802112413-6.png]] 119 119 120 120 [[image:image-20230802112413-7.png]] 121 121 ... ... @@ -140,6 +140,7 @@ 140 140 * (% style="color:#037691" %)**Password:**(%%) <Your ThingSpeak MQTT Password> 141 141 142 142 144 + 143 143 ==== 3.3.2.2 Publish Data to ThingSpeak Channel ==== 144 144 145 145 ... ... @@ -159,7 +159,7 @@ 159 159 160 160 (% style="color:blue" %)**Result: ** 161 161 162 -[[image:image-20230802112413-11.png ||height="539" width="901"]]164 +[[image:image-20230802112413-11.png]] 163 163 164 164 165 165 === 3.3.3 Configure NB-IoT Sensor for connection === ... ... @@ -182,10 +182,12 @@ 182 182 * (% style="color:blue" %)**AT+SUBTOPIC=<YOUR_CHANNEL_ID>** 183 183 184 184 187 + 185 185 ==== 3.3.3.2 Uplink Examples ==== 186 186 187 -[[image:image-20230816201942-1.png]] 188 188 191 +For S31-NB 192 + 189 189 For SE01-NB 190 190 191 191 For DDS20-NB ... ... @@ -215,9 +215,9 @@ 215 215 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. 216 216 217 217 218 -[[image:image-20230802112413-12.png ||height="504" width="1011"]]222 +[[image:image-20230802112413-12.png]] 219 219 220 -[[image:image-20230802112413-13.png ||height="331" width="978"]]224 +[[image:image-20230802112413-13.png]] 221 221 222 222 223 223 Below is the NB-IoT Product Table show the mapping. ... ... @@ -243,6 +243,7 @@ 243 243 |(% 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" %) 244 244 245 245 250 + 246 246 == 3.4 [[Datacake>>https://datacake.co/]] == 247 247 248 248 ... ... @@ -258,12 +258,13 @@ 258 258 * (% 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. 259 259 260 260 266 + 261 261 === 3.4.1 Create device === 262 262 263 263 264 264 (% style="color:blue" %)**Add Device**(%%) in DataCake. 265 265 266 -[[image:image-20230808162301-1.png ||height="473" width="994"]]272 +[[image:image-20230808162301-1.png]] 267 267 268 268 269 269 [[image:image-20230808162342-2.png]] ... ... @@ -358,6 +358,7 @@ 358 358 * (% style="color:blue" %)**AT+SERVADDR=xx.xx.xx.xx,port **(%%)** **~/~/ Set Server IP and port 359 359 360 360 367 + 361 361 == 3.6 ThingsBoard.Cloud (via MQTT) == 362 362 363 363 === 3.6.1 Configure ThingsBoard === ... ... @@ -503,6 +503,7 @@ 503 503 * (% style="color:#037691" %)**AT+PWD=“Your device token”** 504 504 505 505 513 + 506 506 === 3.7.2 Simulate with MQTT.fx === 507 507 508 508