Last modified by Mengting Qiu on 2025/07/03 18:55

From version 100.1
edited by Edwin Chen
on 2023/08/12 22:37
Change comment: There is no comment for this version
To version 102.2
edited by Xiaoling
on 2023/09/07 16:14
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Xiaoling
Content
... ... @@ -4,6 +4,10 @@
4 4  {{toc/}}
5 5  
6 6  
7 +
8 +
9 +
10 +
7 7  = 1. The use of this guideline =
8 8  
9 9  
... ... @@ -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  
43 +
39 39  = 3. Configure to connect to different servers =
40 40  
41 41  == 3.1 General UDP Connection ==
... ... @@ -99,7 +99,7 @@
99 99  
100 100  [[image:image-20230802112413-4.png]]
101 101  
102 -[[image:image-20230802112413-5.png]]
107 +[[image:image-20230802112413-5.png||height="530" width="987"]]
103 103  
104 104  (% 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.**
105 105  
... ... @@ -111,7 +111,7 @@
111 111  
112 112  [[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.
113 113  
114 -[[image:image-20230802112413-6.png]]
119 +[[image:image-20230802112413-6.png||height="336" width="925"]]
115 115  
116 116  [[image:image-20230802112413-7.png]]
117 117  
... ... @@ -136,6 +136,7 @@
136 136  * (% style="color:#037691" %)**Password:**(%%) <Your ThingSpeak MQTT Password>
137 137  
138 138  
144 +
139 139  ==== 3.3.2.2 Publish Data to ThingSpeak Channel ====
140 140  
141 141  
... ... @@ -155,7 +155,7 @@
155 155  
156 156  (% style="color:blue" %)**Result: **
157 157  
158 -[[image:image-20230802112413-11.png]]
164 +[[image:image-20230802112413-11.png||height="539" width="901"]]
159 159  
160 160  
161 161  === 3.3.3 Configure NB-IoT Sensor for connection ===
... ... @@ -178,11 +178,11 @@
178 178  * (% style="color:blue" %)**AT+SUBTOPIC=<YOUR_CHANNEL_ID>**
179 179  
180 180  
187 +
181 181  ==== 3.3.3.2 Uplink Examples ====
182 182  
190 +[[image:image-20230816201942-1.png]]
183 183  
184 -For S31-NB
185 -
186 186  For SE01-NB
187 187  
188 188  For DDS20-NB
... ... @@ -212,9 +212,9 @@
212 212  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.
213 213  
214 214  
215 -[[image:image-20230802112413-12.png]]
221 +[[image:image-20230802112413-12.png||height="504" width="1011"]]
216 216  
217 -[[image:image-20230802112413-13.png]]
223 +[[image:image-20230802112413-13.png||height="331" width="978"]]
218 218  
219 219  
220 220  Below is the NB-IoT Product Table show the mapping.
... ... @@ -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  
249 +
243 243  == 3.4 [[Datacake>>https://datacake.co/]] ==
244 244  
245 245  
... ... @@ -248,29 +248,31 @@
248 248  
249 249  
250 250  (% class="wikigeneratedid" %)
251 -As example for S31B-NB. there are two versions: S31B-NB-1D and S31B-NB-GE.
258 +As example for S31B-NB. there are two versions: **S31B-NB-1D and S31B-NB-GE.**
252 252  
253 -* **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.
254 -* **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.
260 +* (% 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.
255 255  
262 +* (% 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.
256 256  
264 +
265 +
257 257  === 3.4.1 Create device ===
258 258  
259 259  
260 -**Add Device** in DataCake.
269 +(% style="color:blue" %)**Add Device**(%%) in DataCake.
261 261  
262 -[[image:image-20230808162301-1.png]]
271 +[[image:image-20230808162301-1.png||height="473" width="994"]]
263 263  
264 264  
265 265  [[image:image-20230808162342-2.png]]
266 266  
267 267  
268 -**Choose the correct model** from template.
277 +(% style="color:blue" %)**Choose the correct model**(%%) from template.
269 269  
270 270  [[image:image-20230808162421-3.png]]
271 271  
272 272  
273 -**Fill Device ID**. The device ID needs to be filled in with IMEI, and a prefix of** 'f' **needs to be added.
282 +(% style="color:blue" %)**Fill Device ID**(%%). The device ID needs to be filled in with IMEI, and a prefix of(% style="color:blue" %)** 'f' **(%%)needs to be added.
274 274  
275 275  [[image:image-20230808163612-7.png]]
276 276  
... ... @@ -354,6 +354,7 @@
354 354  * (% style="color:blue" %)**AT+SERVADDR=xx.xx.xx.xx,port   **(%%)** **~/~/  Set Server IP and  port
355 355  
356 356  
366 +
357 357  == 3.6 ThingsBoard.Cloud (via MQTT) ==
358 358  
359 359  === 3.6.1 Configure ThingsBoard ===
... ... @@ -499,6 +499,7 @@
499 499  * (% style="color:#037691" %)**AT+PWD=“Your device token”**
500 500  
501 501  
512 +
502 502  === 3.7.2 Simulate with MQTT.fx ===
503 503  
504 504  
image-20230816201942-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +99.8 KB
Content