Changes for page DMT01
Last modified by Mengting Qiu on 2025/08/11 18:25
From version 48.10
edited by Mengting Qiu
on 2025/08/04 18:12
on 2025/08/04 18:12
Change comment:
There is no comment for this version
To version 51.2
edited by Mengting Qiu
on 2025/08/04 18:58
on 2025/08/04 18:58
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -350,8 +350,7 @@ 350 350 351 351 352 352 353 -(% class="wikigeneratedid" id="HUnittimestamp" %) 354 -(% style="color:#4472c4" %)**Unit timestamp** 353 +==== (% style="color:#4472c4" %)**Unit timestamp**(%%) ==== 355 355 356 356 Unit TimeStamp Example: 689085D7(H) = 1754301911(D) 357 357 ... ... @@ -358,81 +358,76 @@ 358 358 Put the decimal value into this link([[https:~~/~~/www.epochconverter.com)>>https://www.epochconverter.com]])to get the time. 359 359 360 360 361 -(% class="wikigeneratedid" id="HDevMode" %) 362 -(% style="color:#4472c4" %)**DevMode** 360 +==== (% style="color:#4472c4" %)**DevMode**(%%) ==== 363 363 364 -Example: 362 +**Example**: 365 365 366 - if payload is 0x01: BLE_LoRa364 +If payload is 0x01: BLE_LoRa 367 367 368 - if payload is 0x02: LoRa366 +If payload is 0x02: LoRa 369 369 370 - if payload is 0x03: BLE368 +If payload is 0x03: BLE 371 371 372 372 373 -(% class="wikigeneratedid" id="HMACaddr" %) 374 -(% style="color:#4472c4" %)**MACaddr** 371 +==== (% style="color:#4472c4" %)**MACaddr**(%%) ==== 375 375 376 - ex373 +**Example**: 377 377 375 +If the payload is C12309250F1A, the MACaddr is C12309250F1A 378 378 379 -(% class="wikigeneratedid" id="HProbeBat" %) 380 -(% style="color:#4472c4" %)**ProbeBat** 381 381 378 +==== (% style="color:#4472c4" %)**ProbeBat**(%%) ==== 379 + 382 382 **Example:** 383 383 384 -If payload &0x01= 0x01 **~-~->** This is an Alarm Message.It means that the temperature and humidity exceed the alarm value or trigger an interrupt.382 +If payload is 0x64 = 100% 385 385 386 -If payload & 0x01 = 0x00 **~-~->** This is a normal uplink message, no alarm. 387 387 388 - Ifpayload & 0x80>>7= 0x01**~-~->**ThePA8 is low level.385 +==== (% style="color:#4472c4" %)**BoxBat**(%%) ==== 389 389 390 - If payload & 0x80>>7 =0x00**~-~->** The PA8 is highlevel.387 +**Example:** 391 391 392 -If payload >>2 =0x00**~-~->** means MOD=1,This is a sampling uplink message.389 +If payload is 0x46 = 70% 393 393 394 -If payload >> 2 = 0x31 **~-~->** means MOD=31, this message is a reply message for polling, this message contains the alarm settings. see [[this link>>path:#HPolltheAlarmsettings:]] for detail. 395 395 392 +==== (% style="color:#4472c4" %)**Food temperature**(%%) ==== 396 396 397 -(% class="wikigeneratedid" id="HBoxBat" %) 398 -(% style="color:#4472c4" %)**BoxBat** 394 +Because the food temperature data is a little-endian sequence, the order of the front and back bytes needs to be swapped during decoding. 399 399 400 - Sensor Battery Level.396 +**Example**: 401 401 402 - Ex1: 0x0B45=2885mV398 +If payload is: D300H = 00D3H, temp = 00D3H /10 = 21.1 degree 403 403 404 - Ex2: 0x0B49=2889mV400 +If payload is: 3FFFH = FF3F , temp = (FF3FH - 65536)/10 = -19.3 degrees. 405 405 406 406 407 -(% style="color:#4472c4" %)** Foodtemperature**403 +==== (% style="color:#4472c4" %)**Ambient temperature**(%%) ==== 408 408 405 +Because the food temperature data is a little-endian sequence, the order of the front and back bytes needs to be swapped during decoding. 406 + 409 409 **Example**: 410 410 411 -If payload is: 0 105H:(0105 & 8000==0), temp = 0105H /10 = 26.1 degree409 +If payload is: D200H = 00D2H, temp = 00D2H /10 = 21.0 degree 412 412 413 -If payload is: FF 3FH:(FF3F& 8000 == 1), temp = (FF3FH - 65536)/10 = -19.3 degrees.411 +If payload is: 3FFFH = FF3F , temp = (FF3FH - 65536)/10 = -19.3 degrees. 414 414 415 -(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 416 416 417 417 418 - (% style="color:#4472c4"%)**Ambientmperature**415 +== 2.4 Bluetoothe Broadcast Payload == 419 419 420 - **Example**:417 +=== 2.4.1 Scanning Tools === 421 421 422 - Ifpayload is:0105H:(0105&8000==0),temp=0105H/10=26.1degree419 +Scan and obtain DMT01 device broadcast data through a third-party mobile phone app (such as nRF Connect) 423 423 424 - If payload is: FF3FH : (FF3F & 8000 == 1) , temp= (FF3FH - 65536)/10 = -19.3 degrees.421 +Example: 425 425 426 - (FF3F & 8000:Judge whetherthehighestbit is1, when the highestbitis1, it isnegative)423 +Note: The following data is obtained through the **nRF Connect tool**. 427 427 428 428 429 429 430 -== 2.4 Bluetoothe Broadcast Payload == 431 431 432 432 433 433 434 - 435 - 436 436 = 3. Configure DMT01 ~-~- 需要修改 = 437 437 438 438 == 3.1 Configure Methods ==
- 1754305091443-355.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +408.8 KB - Content