Last modified by Xiaoling on 2025/07/16 11:58
From version 151.1
edited by Mengting Qiu
on 2025/01/18 14:35
on 2025/01/18 14:35
Change comment:
Uploaded new attachment "image-20250118143554-8.png", version {1}
To version 151.2
edited by Mengting Qiu
on 2025/01/18 14:38
on 2025/01/18 14:38
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -300,6 +300,8 @@ 300 300 === 2.2.1 General Json Format(Type~=5) === 301 301 302 302 303 +==== 2.2.1.1 AT+CFGMOD~=0(Default Mode) ==== 304 + 303 303 This is the General Json Format. As below: 304 304 305 305 (% style="color:#4472c4" %)**{"IMEI":"863663062765285","IMSI":"460086859301435","Model":"SE0X-NB","interrupt":0,"interrupt_level":0,"battery":3.27,"signal":2,"sensor_flag":"1111","water_soil1":38.11,"temp_soil1":17.68,"conduct_soil1":8234,"water_soil2":32.01,"temp_soil2":17.69,"conduct_soil2":4323,"water_soil3":30.72,"temp_soil3":17.91,"conduct_soil3":5058,"water_soil4":32.07,"temp_soil4":17.80,"conduct_soil4":5116,"time":"2025/01/18 02:38:06"}** ... ... @@ -309,18 +309,37 @@ 309 309 310 310 (% style="color:red" %)**Notice, from above payload:** 311 311 312 -* Temperature,Humidity,Soil conductivity,TemperatureHumidity2,Soilconductivity2,Interrupt,Interrupt_level,Battery, Signal& timearethevalueatuplinktime.314 +* interrupt, interrupt_level, battery, signal, sensor_flag, water_soil1, temp_soil1, conduct_soil1, water_soil2, emp_soil2, conduct_soil2, water_soil3, temp_soil3, onduct_soil3, water_soil4, temp_soil4, 313 313 314 - *Jsonentry1~~8arethelast1~~ 8 sampling data as specify by (% style="color:#037691" %)**AT+CLOCKLOG=1,65535,15,8** (%%)Command. Each entry includes(fromlefttoright): Soil Temperature,Soil Moisture,Soil Conductivity(EC), Soil Temperature 2, SoilMoisture2, Soil Conductivity2(EC) & Samplingtime.316 + conduct_soil4 & time are the value at uplink time. 315 315 318 + 319 +==== 2.2.1.2 AT+CFGMOD~=1(Original value) ==== 320 + 321 +This is the General Json Format. As below: 322 + 323 +(% style="color:#4472c4" %)**{"IMEI":"863663062765285","IMSI":"460086859301435","Model":"SE0X-NB","interrupt":0,"interrupt_level":0,"battery":3.27,"signal":22,"sensor_flag":"1111","Soil_dielectric_constant1":26.1,"raw_water_soil1":4896,"raw_conduct_soil1":23564,"Soil_dielectric_constant2":20.8,"raw_water_soil2":4864,"raw_conduct_soil2":16536,"Soil_dielectric_constant3":6.9,"raw_water_soil3":3676,"raw_conduct_soil3":9028,"Soil_dielectric_constant4":18.8,"raw_water_soil4":4710,"raw_conduct_soil4":18000,"time":"2025/01/18 05:48:36"}** 324 + 325 +[[image:image-20250118135106-3.png]] 326 + 327 +(% style="color:red" %)**Notice, from above payload:** 328 + 329 +* interrupt, interrupt_level, battery, signal, sensor_flag, Soil_dielectric_constant1, raw_water_soil1, raw_conduct_soil1, Soil_dielectric_constant2, raw_water_soil2, raw_conduct_soil2, 330 + 331 + Soil_dielectric_constant3, raw_water_soil3, raw_conduct_soil3, Soil_dielectric_constant4, raw_water_soil4, raw_conduct_soil4 & time are the value at uplink time. 332 + 333 + 316 316 === 2.2.2 HEX format Payload(Type~=0) === 317 317 318 318 337 +==== 2.2.2.1 AT+CFGMOD~=0(Default Mode) ==== 338 + 319 319 This is the HEX Format. As below: 320 320 321 321 (% style="color:#4472c4" %)**f863663062765285f46008685930143536640cd1170000000f0fa006e817a30cac06f512410c9407031baa0cdf06ff14d7678b1740** 322 322 323 323 344 +[[image:image-20250118143517-7.png]] 324 324 325 325 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data. 326 326 ... ... @@ -410,62 +410,58 @@ 410 410 Put the decimal value into this link([[https:~~/~~/www.epochconverter.com)>>https://www.epochconverter.com]]) to get the time. 411 411 412 412 413 -=== 2.2. 3ThingsBoardPayload(Type~=3) ===434 +==== 2.2.2.2 AT+CFGMOD~=1(Original value) ==== 414 414 436 +This is the HEX Format. As below: 415 415 416 - Type3payload specialdesign forThingsBoard, it will alsoconfigure otherdefault server to ThingsBoard.438 +(% style="color:#4472c4" %)**f863663062765285f46008685930143536640ccd160100000f017b13c055b300d6132b41f100450e3b237a00c31271480c678b4410** 417 417 418 -(% style="color:#4472c4" %)** { 419 - "topic": "2276492", 420 - "payload": { 421 - "IMEI": "863663062798930", 422 - "Model": "SE02-NB", 423 - "tem": 26.0, 424 - "hum": 47.6, 425 - "ec": 8806, 426 - "tem2": 26.0, 427 - "hum2": 55.0, 428 - "ec2": 8973, 429 - "interrupt": 0, 430 - "interrupt_level": 0, 431 - "battery": 3.29, 432 - "signal": 22, 433 - "1": [26.0, 47.6, 8915, 26.0, 55.0, 8918, "2024/06/04 07:08:13"], 434 - "2": [26.0, 47.6, 8933, 26.0, 55.0, 9028, "2024/06/04 07:06:13"], 435 - "3": [26.0, 47.6, 8907, 26.0, 55.1, 8907, "2024/06/04 07:04:13"], 436 - "4": [26.0, 47.6, 8845, 26.0, 55.0, 9044, "2024/06/04 07:02:13"], 437 - "5": [26.0, 47.6, 8917, 26.0, 55.1, 8985, "2024/06/04 07:00:13"], 438 - "6": [26.0, 47.5, 8883, 26.0, 55.0, 9041, "2024/06/04 06:58:13"], 439 - "7": [26.0, 47.6, 8965, 26.0, 55.0, 8952, "2024/06/04 06:56:13"], 440 - "8": [26.0, 47.6, 8844, 26.0, 55.0, 8994, "2024/06/04 06:54:13"] 441 - } 442 -}** 440 +[[image:image-20250118143554-8.png]] 443 443 444 - [[image:image-20240604151141-3.png||height="607"width="1279"]]442 +If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data. 445 445 444 +[[image:image-20250118140729-4.png]] 446 446 446 + 447 + 448 + 449 + 450 + 451 +=== 2.2.3 ThingsBoard Payload(Type~=3) === 452 + 453 + 454 + 455 + 447 447 === 2.2.4 ThingSpeak Payload(Type~=1) === 448 448 449 449 450 -This payload meets ThingSpeak platform requirement. It includes six fields. Form 1~~8 are:459 +This payload meets ThingSpeak platform requirement. 451 451 452 -T emperature,Humidity, Conduct soil,Temperature2,Humidity 2, Conductsoil2, Battery& Signal.Thispayloadtypeonlyvalidfor ThingsSpeak Platform.461 +ThingSpeak only supports a maximum of 8 field charts per channel, so the sample screenshot contains only 8 fields charts. 453 453 454 -As below: 455 455 464 +==== 2.2.4.1 AT+CFGMOD~=0(Default Mode) ==== 465 + 456 456 (% style="color:#4472c4" %)**field1=Temperature value&field2=Humidity value&field3=Conduct soil value&field4=Temperature 2 value&field5=Humidity 2 value&field6=Conduct soil 2 value&field7=Battery value&field8=Signal value** 457 457 458 -[[image:image-20240604155822-4.png||height="577" width="870"]] 459 459 460 -[[image:image-20240604155827-5.png||height="563" width="870"]] 461 461 462 462 463 -= 3. ConfigureS31x-CB=471 +==== 2.2.4.2 AT+CFGMOD~=1(Original value) ==== 464 464 473 +(% style="color:#4472c4" %)**field1=Temperature value&field2=Humidity value&field3=Conduct soil value&field4=Temperature 2 value&field5=Humidity 2 value&field6=Conduct soil 2 value&field7=Battery value&field8=Signal value** 474 + 475 +[[image:image-20250118143400-5.png||height="578" width="893"]] 476 + 477 +[[image:image-20250118143410-6.png||height="581" width="885"]] 478 + 479 + 480 += 3. Configure SE0X-CB/CS = 481 + 465 465 == 3.1 Configure Methods == 466 466 467 467 468 -S 31x-CB supports below configure method:485 +SE0X-CB/CS supports below configure method: 469 469 470 470 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]. 471 471 ... ... @@ -691,7 +691,7 @@ 691 691 == 3.8 Trigger an uplink by external interrupt == 692 692 693 693 694 -S 31x-CB has an external trigger interrupt function. Users can use the PB15 pin to trigger the upload of data packets.711 +SE0X-CB/CS has an external trigger interrupt function. Users can use the PB15 pin to trigger the upload of data packets. 695 695 696 696 (% style="color:blue" %)**AT command:** 697 697