<
From version < 99.2 >
edited by Xiaoling
on 2023/08/11 11:43
To version < 100.2 >
edited by Xiaoling
on 2023/08/15 17:03
>
Change comment: There is no comment for this version

Summary

Details

Page properties
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  
... ... @@ -35,6 +35,8 @@
35 35  |(% style="width:117px" %)China Mobile|(% style="width:151px" %)No need configure|(% style="width:474px" %)China Mainland, HongKong|(% style="width:135px" %)
36 36  |(% style="width:117px" %)China Telecom|(% style="width:151px" %)ctnb|(% style="width:474px" %)China Mainland|(% style="width:135px" %)
37 37  
42 +
43 +
38 38  = 3. Configure to connect to different servers =
39 39  
40 40  == 3.1 General UDP Connection ==
... ... @@ -134,6 +134,8 @@
134 134  
135 135  * (% style="color:#037691" %)**Password:**(%%) <Your ThingSpeak MQTT Password>
136 136  
143 +
144 +
137 137  ==== 3.3.2.2 Publish Data to ThingSpeak Channel ====
138 138  
139 139  
... ... @@ -163,7 +163,7 @@
163 163  
164 164  In the NB-IoT, we can run below commands so to publish the channels like MQTT.fx
165 165  
166 -* (% style="color:blue" %)**AT+PRO=3,1** (%%) **~/~/ Set to use ThingSpeak Server and Related Payload**
174 +* (% style="color:blue" %)**AT+PRO=3,1** (%%) ~/~/ Set to use ThingSpeak Server and Related Payload
167 167  
168 168  * (% style="color:blue" %)**AT+CLIENT=<Your ThingSpeak MQTT ClientID>**
169 169  
... ... @@ -175,6 +175,8 @@
175 175  
176 176  * (% style="color:blue" %)**AT+SUBTOPIC=<YOUR_CHANNEL_ID>**
177 177  
186 +
187 +
178 178  ==== 3.3.3.2 Uplink Examples ====
179 179  
180 180  
... ... @@ -236,11 +236,29 @@
236 236  |(% colspan="1" style="background-color:#4f81bd; color:white; width:143px" %)SN50V3-NB mod5|(% colspan="1" style="width:103px" %)mod|(% colspan="1" style="width:102px" %)Battery|(% colspan="1" style="width:157px" %)RSSI|(% colspan="1" style="width:154px" %)DS18B20 Temp|(% colspan="1" style="width:153px" %)adc0|(% colspan="1" style="width:151px" %)exit_state/input PA4|(% colspan="1" style="width:160px" %)Weight|(% colspan="1" style="width:152px" %) |(% colspan="1" style="width:67px" %) |(% colspan="1" style="width:69px" %)
237 237  |(% 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" %)
238 238  
239 -== 3.4 Datacake ==
240 240  
250 +
251 +== 3.4 [[Datacake>>https://datacake.co/]] ==
252 +
253 +
254 +(% class="wikigeneratedid" %)
255 +Dragino NB-IoT sensors has its template in **[[Datacake>>https://datacake.co/]]** Platform. There are two version for NB Sensor,
256 +
257 +
258 +(% class="wikigeneratedid" %)
259 +As example for S31B-NB. there are two versions: S31B-NB-1D and S31B-NB-GE.
260 +
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 +
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 +
265 +
266 +
241 241  === 3.4.1 Create device ===
242 242  
243 243  
270 +**Add Device** in DataCake.
271 +
244 244  [[image:image-20230808162301-1.png]]
245 245  
246 246  
... ... @@ -247,10 +247,12 @@
247 247  [[image:image-20230808162342-2.png]]
248 248  
249 249  
278 +**Choose the correct model** from template.
279 +
250 250  [[image:image-20230808162421-3.png]]
251 251  
252 252  
253 -The device ID needs to be filled in with IMEI, and a prefix of** 'f' **needs to be added.
283 +**Fill Device ID**. The device ID needs to be filled in with IMEI, and a prefix of** 'f' **needs to be added.
254 254  
255 255  [[image:image-20230808163612-7.png]]
256 256  
... ... @@ -264,7 +264,7 @@
264 264  
265 265  Users can use their phones or computers to scan QR codes to obtain device data information.
266 266  
267 -[[image:image-20230808170051-8.png]]
297 +[[image:image-20230808170051-8.png||height="255" width="259"]]
268 268  
269 269  [[image:image-20230808170548-9.png]]
270 270  
... ... @@ -297,6 +297,7 @@
297 297  
298 298  [[image:image-20230809173127-4.png]]
299 299  
330 +
300 300  Please select the NB95S31B template.
301 301  
302 302  [[image:image-20230809173310-5.png]]
... ... @@ -305,6 +305,7 @@
305 305  
306 306  [[image:image-20230809173800-7.png]]
307 307  
339 +
308 308  Successfully imported template.
309 309  
310 310  [[image:image-20230809173835-8.png]]
... ... @@ -314,8 +314,10 @@
314 314  
315 315  [[image:image-20230809174053-9.png]]
316 316  
349 +
317 317  === 3.5.2 Simulate Connection ===
318 318  
352 +
319 319  We have completed the configuration of UDP. We can try sending packets to node red.
320 320  
321 321  [[image:image-20230810083934-1.png]]
... ... @@ -325,13 +325,10 @@
325 325  === 3.5.3 Configure NB-IoT Sensors ===
326 326  
327 327  
328 -* (% style="color:blue" %)**AT+PRO=2,0(hex format) or 2,1(json format) (%%)    ~/~/  Set to UDP Server and  Payload**
362 +* (% style="color:blue" %)**AT+PRO=2,0(hex format) or 2,1(json format)  **(%%)** **~/~/  Set to UDP Server and  Payload
329 329  
330 -* (% style="color:blue" %)**AT+SERVADDR=xx.xx.xx.xx,port   (%%) ~/~/  Set Server IP and  port**
364 +* (% style="color:blue" %)**AT+SERVADDR=xx.xx.xx.xx,port   **(%%)** **~/~/  Set Server IP and  port
331 331  
332 -
333 -
334 -
335 335  == 3.6 ThingsBoard.Cloud (via MQTT) ==
336 336  
337 337  === 3.6.1 Configure ThingsBoard ===
... ... @@ -478,11 +478,13 @@
478 478  
479 479  === 3.7.2 Simulate with MQTT.fx ===
480 480  
512 +
481 481  [[image:image-20230802112413-52.png]]
482 482  
483 483  
484 484  [[image:image-20230808105300-2.png]]
485 485  
518 +
486 486  Users can run the (% style="color:blue" %)**AT+PRO=3,5**(%%) command, and the payload will be converted to **JSON format**.
487 487  
488 488  [[image:image-20230808105217-1.png]]
... ... @@ -498,7 +498,6 @@
498 498  [[image:image-20230802112413-51.png||height="184" width="696"]]
499 499  
500 500  
501 -
502 502  == 3.8 TCP Connection ==
503 503  
504 504  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0