Last modified by Mengting Qiu on 2025/07/08 11:11
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -369,45 +369,57 @@ 369 369 370 370 Check the battery voltage for LDS25-LB/LS. 371 371 372 -Ex1: 0x0C72 = 3186mV 372 +* Example 1: 0x0C72 = 3186mV 373 373 374 - Ex2:0x0B49 = 2889mV374 +//More examples~:// 375 375 376 +* Example 2: 0x0B49 = 2889mV 376 376 378 + 377 377 (% class="wikigeneratedid" id="HDS18B20Temperaturesensor" %) 378 378 (% style="color:blue" %)**DS18B20 Temperature sensor:** 379 379 380 -This is optional ,usercan connect external DS18B20 sensor to the +3.3v, 1-wire and GND pinand this field will report temperature.382 +This is an optional 2 bytes field. You can connect an external DS18B20 sensor to the +3.3V, 1-Wire, and GND pins. This field will then report the temperature. 381 381 382 382 **Example**: 383 383 384 -If payload is :0105H:(0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree386 +* If the payload is 0105H: 385 385 386 -If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 388 + (0105H & FC00H == 0), therefore 389 + temp = 0105H / 10 = 26.1°C 387 387 391 +* If the payload is FF3FH: 388 388 393 + (FF3FH & FC00H != 0), therefore 394 + temp = (FF3FH - 65536) / 10 = -19.3°C 395 + 396 + 389 389 (% class="wikigeneratedid" id="HDistance" %) 390 390 (% style="color:blue" %)**Distance:** 391 391 392 -Represents the distance value of themeasurement output, thedefault unit is cm, and the value range parsed as a decimal number is 0-2500. In actual use,when the signal strength value Strength.400 +Represents the measured distance value. The default unit is centimeters (cm), and the value range (parsed as a decimal number) is 0 to 2500. In actual use, the measurement may be affected by the signal strength value (**Strength**). 393 393 394 394 **Example**: 395 395 396 -If the data you getfrom the register is 0x0B 0xEA, the distance between the sensor and the measured object is0E38(H) = 3640 (D)/10 = 364.0cm.404 +* If the data read from the register is 0x0B 0xEA, then the distance between the sensor and the measured object is: 397 397 406 +0x0BEA (hex) = 3050 (decimal) / 10 = 305.0 cm 398 398 408 + 399 399 (% class="wikigeneratedid" id="HDistancesignalstrength" %) 400 400 (% style="color:blue" %)**Distance signal strength**(%%): 401 401 402 - Refers to the signal strength,the default output valuewill bebetween0-65535. When thedistancemeasurement gear is fixed, the farther thedistance measurement is, the lower the signal strength;thelowerthetarget reflectivity,the lowerthesignal strength. When Strength is greater than 100 and not equal to 65535, the measured valueof Distisconsideredcredible.412 +This refers to the signal strength of the distance measurement. The default output value ranges from 0 to 65,535. When the measurement gear is fixed, the farther the target is, the lower the signal strength. Similarly, a target with lower reflectivity will also result in a lower signal strength. When the **Strength** value is greater than 100 and not equal to 65,535, the measured **Distance** value is considered reliable. 403 403 404 404 **Example**: 405 405 406 -If payload is :016C(H)=364(D), distance signal strength=364,364>100,364≠65535, the measured value of Distis considered credible.416 +* If the payload is 016C(H) = 364 (decimal), then the distance signal strength is 364. 407 407 408 - Customerscanjudgewhethertheyneed toadjust theenvironment basedon thesignalstrength.418 +Since 364 > 100 and 364 ≠ 65,535, the measured **Distance** value is considered reliable. 409 409 420 +Customers can use the signal strength value to determine whether the environment needs to be adjusted. 410 410 422 + 411 411 **1) When the sensor detects valid data:** 412 412 413 413 [[image:image-20241008145038-1.png||height="180" width="1372"]] ... ... @@ -426,32 +426,32 @@ 426 426 (% class="wikigeneratedid" id="HInterruptPin26A0InterruptLevel" %) 427 427 (% style="color:blue" %)**Interrupt Pin & Interrupt Level:** 428 428 429 -This data field s hows ifthispacketis generated by interruptor not. [[Click here>>||anchor="H3.3.2SetInterruptMode"]] for the hardware and software set441 +This data field indicates whether the packet was generated by an interrupt. [[Click here>>||anchor="H3.3.2SetInterruptMode"]] for details on the hardware and software setup. 430 430 431 -Note: The Inter net Pin is aseparate pinin the screw terminal. See [[pin mapping>>||anchor="H1.8PinDefinitions"]]ofGPIO_EXTI.443 +**Note**: The **Interrupt Pin** is a dedicated pin on the screw terminal. See the GPIO_EXTI [[pin mapping>>||anchor="H1.8PinDefinitions"]] for reference. 432 432 433 433 **Example:** 434 434 435 -If byte[0]&0x01=0x00 : Normal uplink packet. 447 +* If byte[0] & 0x01 = 0x00: Normal uplink packet 448 +* If byte[0] & 0x01 = 0x01: Interrupt-generated uplink packet 436 436 437 -If byte[0]&0x01=0x01 : Interrupt Uplink Packet. 438 438 439 - 440 440 (% class="wikigeneratedid" id="HLiDARtemp" %) 441 441 (% style="color:blue" %)**LiDAR temp:** 442 442 443 - Characterize the internal temperaturevalueof the sensor.454 +Represents the internal temperature of the sensor. 444 444 445 445 **Example: ** 446 -If payload is: 1C(H) <<24>>24=26(D),LiDAR temp=26℃. 447 -If payload is: F2(H) <<24>>24=-14(D),LiDAR temp=-14℃. 448 448 458 +* If the payload is 1C(H), then ((1C << 24) >> 24) = 26 (decimal), so **LiDAR temp = 26 °C** 459 +* If the payload is F2(H), then ((F2 << 24) >> 24) = -14 (decimal), so **LiDAR temp = -14 °C** 449 449 461 + 450 450 (% class="wikigeneratedid" id="HMessageType" %) 451 451 (% style="color:blue" %)**Message Type:** 452 452 453 453 ((( 454 -For a normal uplink payload, the message type is always 0x01. 466 +For a normal uplink payload, the message type is always set to 0x01. 455 455 ))) 456 456 457 457 ((( ... ... @@ -466,12 +466,12 @@ 466 466 [[image:image-20241008150027-2.png||height="284" width="1450"]] 467 467 468 468 469 -=== 2.3.3 Historical measuring distance, FP ORT~=3 ===481 +=== 2.3.3 Historical measuring distances, FPort~=3 === 470 470 471 471 472 -LDS25-LB/LS stores sensor values and u serscan retrieve these historyvalues viathe[[downlink command>>||anchor="H2.5.4Pollsensorvalue"]].484 +LDS25-LB/LS stores sensor values, and you can retrieve these historical values via a [[downlink command>>||anchor="H2.5.4Pollsensorvalue"]]. 473 473 474 -The historical payload includes one or multipl iesentries and everyentry has the samepayloadasReal-Time measuring distance.486 +The historical payload includes one or multiple entries, and each entry has the same format as the real-time distance measurement payload. 475 475 476 476 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 477 477 |=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( ... ... @@ -493,23 +493,20 @@ 493 493 Interrupt flag 494 494 ))) 495 495 496 - *(((497 -Each data entry is 11 bytes and has the same structure as,to save airtime and battery, LDS25-LB/LS will send max bytes accordingto the current DR andFrequency bands.508 +((( 509 +* Each data entry is 11 bytes and follows the same structure as the [[Uplink Payload>>||anchor="H2.3.2UplinkPayload2CFPORT3D2"]]. To save airtime and battery, the LDS25-LB/LS will send the maximum number of bytes allowed based on the current data rate (DR) and frequency band. 498 498 ))) 499 499 500 -For example, in the US915 band, the max payload for different DR is: 512 +For example, in the US915 band, the maximum payload size for different data rates (DR) is as follows: 501 501 502 -**a) DR0:** max is 11 bytes so one entry of data 514 +a) **DR0:** Maximum is 11 bytes, so one data entry is sent. 515 +b) **DR1:** Maximum is 53 bytes, so the device uploads 4 data entries (total 44 bytes). 516 +c) **DR2:** The total payload includes 11 data entries. 517 +d) **DR3:** The total payload includes 22 data entries. 503 503 504 - **b)DR1:** maxis53bytessodeviceswill upload4entries ofdata (total 44 bytes)519 +If the LDS25-LB/LS has no data available during the polling time, it will uplink 11 bytes of zero. 505 505 506 -**c) DR2:** total payload includes 11 entries of data 507 507 508 -**d) DR3:** total payload includes 22 entries of data. 509 - 510 -If LDS25-LB/LS doesn't have any data in the polling time. It will uplink 11 bytes of 0 511 - 512 - 513 513 **Downlink:** 514 514 515 515 0x31 67 05 E4 CC 67 05 EA A8 05