Changes for page wiki_test
Last modified by Mengting Qiu on 2024/09/05 17:35
From version 93.3
edited by Mengting Qiu
on 2023/09/21 11:31
on 2023/09/21 11:31
Change comment:
There is no comment for this version
To version 93.2
edited by Mengting Qiu
on 2023/09/21 11:27
on 2023/09/21 11:27
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -411,20 +411,18 @@ 411 411 ))) 412 412 413 413 ((( 414 -Uplink payload includes in total 21bytes.414 +Uplink payload includes in total 8 bytes. 415 415 ))) 416 416 417 417 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 418 -|=(% style="width: 95px; background-color:#4F81BD;color:white" %)Size(bytes)|=(% style="width: 61px; background-color:#4F81BD;color:white" %)8|=(% style="width: 61px; background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)1|=(% style="background-color: rgb(79, 129, 189); color: white; width: 49px;" %)1|=(% style="background-color: rgb(79, 129, 189); color: white; width: 79px;" %)1|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)4 419 -|(% style="width:95px" %)Value|(% style="width:61px" %)f+IMEI|(% style="width:61px" %)Ver|(% style="width:61px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|(% style="width:61px" %)((( 420 -Singal 418 +|=(% style="width: 95px; background-color:#4F81BD;color:white" %)Size(bytes)|=(% style="width: 61px; background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)1|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)1 419 +|(% style="width:95px" %)Value|(% style="width:61px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|((( 420 +[[Distance>>||anchor="H2.3.2A0Distance"]] 421 +(unit: mm) 422 +)))|[[Digital Interrupt (Optional)>>||anchor="H2.3.3A0InterruptPin"]]|((( 423 +[[Temperature (Optional)>>||anchor="H2.3.4A0DS18B20Temperaturesensor"]] 424 +)))|[[Sensor Flag>>||anchor="H2.3.5A0SensorFlag"]] 421 421 422 -Strength 423 -)))|(% style="width:49px" %)Mod|(% style="width:79px" %)[[Digital Interrupt >>||anchor="H2.3.2A0Interrupt"]]|(% style="width:61px" %)[[Distance>>||anchor="H2.3.3A0Distance"]](unit: mm)|(% style="width:61px" %)Timestamp 424 - 425 -(% class="wikigeneratedid" %) 426 -=== === 427 - 428 428 === 2.3.1 Battery Info === 429 429 430 430 ... ... @@ -435,9 +435,26 @@ 435 435 Ex2: 0x0B49 = 2889mV 436 436 437 437 438 -=== 2.3.2 Interrupt===436 +=== 2.3.2 Distance === 439 439 440 440 439 +((( 440 +Get the distance. Flat object range 30mm - 4500mm. 441 +))) 442 + 443 +((( 444 +For example, if the data you get from the register is **0x0B 0x05**, the distance between the sensor and the measured object is(% style="color:#4472c4" %)** ** 445 + 446 +(% style="color:blue" %)**0B05(H) = 2821 (D) = 2821 mm.** 447 +))) 448 + 449 +* If the sensor value is 0x0000, it means system doesn't detect ultrasonic sensor. 450 + 451 +* If the sensor value lower than 0x001E (30mm), the sensor value will be 0x00. 452 + 453 +=== 2.3.3 Interrupt Pin === 454 + 455 + 441 441 This data field shows if this packet is generated by interrupt or not. 442 442 443 443 **Example:** ... ... @@ -447,24 +447,28 @@ 447 447 0x01: Interrupt Uplink Packet. 448 448 449 449 450 -=== 2.3. 3Distance ===465 +=== 2.3.4 DS18B20 Temperature sensor === 451 451 452 452 453 -((( 454 -Get the distance. Flat object range 30mm - 4500mm. 455 -))) 468 +This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature. 456 456 457 -((( 458 -For example, if the data you get from the register is **0x0B 0x05**, the distance between the sensor and the measured object is(% style="color:#4472c4" %)** ** 470 +**Example**: 459 459 460 -(% style="color:blue" %)**0B05(H) = 2821 (D) = 2821 mm.** 461 -))) 472 +If payload is: 0105H: (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree 462 462 463 - *Ifthe sensor valueis 0x0000,itmeanssystemdoesn'tdetect ultrasonic sensor.474 +If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 464 464 465 -* If the sensor value lower than 0x001E (30mm), the sensor value will be 0x00. 466 466 477 +=== 2.3.5 Sensor Flag === 478 + 479 + 467 467 ((( 481 +0x01: Detect Ultrasonic Sensor 482 +))) 483 + 484 +((( 485 +0x00: No Ultrasonic Sensor 486 + 468 468 469 469 ))) 470 470