Changes for page DS20L -- LoRaWAN Smart Distance Detector User Manual 01
Last modified by Mengting Qiu on 2023/12/14 11:15
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Saxer1 +XWiki.Xiaoling - Content
-
... ... @@ -54,6 +54,8 @@ 54 54 * Downlink to change configure 55 55 * 8500mAh Battery for long term use 56 56 57 + 58 + 57 57 == 1.3 Specification == 58 58 59 59 ... ... @@ -99,6 +99,8 @@ 99 99 * Sleep Mode: 5uA @ 3.3v 100 100 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 101 101 104 + 105 + 102 102 == 1.4 Applications == 103 103 104 104 ... ... @@ -110,6 +110,8 @@ 110 110 * Automatic control 111 111 * Sewer 112 112 117 + 118 + 113 113 (% style="display:none" %) 114 114 115 115 == 1.5 Sleep mode and working mode == ... ... @@ -139,6 +139,8 @@ 139 139 ))) 140 140 |(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode. 141 141 148 + 149 + 142 142 == 1.7 BLE connection == 143 143 144 144 ... ... @@ -312,7 +312,7 @@ 312 312 ((( 313 313 LDS12-LB will send this uplink **after** Device Status once join the LoRaWAN network successfully. And LDS12-LB will: 314 314 315 -periodically send this uplink every 20 minutes, this interval [[can be changed>> http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS12-LB_LoRaWAN_LiDAR_ToF_Distance_Sensor_User_Manual/#H3.3.1SetTransmitIntervalTime]].323 +periodically send this uplink every 20 minutes, this interval [[can be changed>>||anchor="H3.3.1SetTransmitIntervalTime"]]. 316 316 317 317 Uplink Payload totals 11 bytes. 318 318 ))) ... ... @@ -399,13 +399,13 @@ 399 399 400 400 This data field shows if this packet is generated by interrupt or not. [[Click here>>||anchor="H3.3.2SetInterruptMode"]] for the hardware and software set up. 401 401 402 -Note: The Internet Pin is a separate pin in the screw terminal. See GPIO_EXTI of[[pin mapping>>||anchor="H1.8PinDefinitions"]].410 +Note: The Internet Pin is a separate pin in the screw terminal. See [[pin mapping>>||anchor="H1.8PinDefinitions"]] of GPIO_EXTI . 403 403 404 404 **Example:** 405 405 406 -If byte[0]&0x01=0x0 1: Normal uplink packet.414 +If byte[0]&0x01=0x00 : Normal uplink packet. 407 407 408 -If byte[0]&0x01=0x0 0: Interrupt Uplink Packet.416 +If byte[0]&0x01=0x01 : Interrupt Uplink Packet. 409 409 410 410 411 411 ==== (% style="color:blue" %)**LiDAR temp**(%%) ==== ... ... @@ -431,8 +431,8 @@ 431 431 432 432 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:499px" %) 433 433 |=(% style="width: 161px;background-color:#4F81BD;color:white" %)**Message Type Code**|=(% style="width: 164px;background-color:#4F81BD;color:white" %)**Description**|=(% style="width: 174px;background-color:#4F81BD;color:white" %)**Payload** 434 -|(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %) [[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]]435 -|(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %) [[Configure Info Payload>>||anchor="H3.ConfigureLDS12-LB"]]442 +|(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)Normal Uplink Payload 443 +|(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)Configure Info Payload 436 436 437 437 [[image:image-20230805150315-4.png||height="233" width="723"]] 438 438 ... ... @@ -439,14 +439,15 @@ 439 439 440 440 === 2.3.3 Historical measuring distance, FPORT~=3 === 441 441 442 -LDS12-LB stores sensor values and users can retrieve these history values via the [[downlink command>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS12-LB_LoRaWAN_LiDAR_ToF_Distance_Sensor_User_Manual/#H2.5.4Pollsensorvalue]]. 443 443 444 - Thehistoricalpayloadincludesoneor multipliesntries andeveryentryhastheamepayloadas Real-Timewater flow status.451 +LDS12-LB stores sensor values and users can retrieve these history values via the [[downlink command>>||anchor="H2.5.4Pollsensorvalue"]]. 445 445 453 +The historical payload includes one or multiplies entries and every entry has the same payload as Real-Time measuring distance. 454 + 446 446 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 447 447 |=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 448 448 **Size(bytes)** 449 -)))|=(% style="width: 30px;background-color:#4F81BD;color:white" %)1|=(% style="width: 80px;background-color:#4F81BD;color:white" %)**1**|=(% style="width: 50px;background-color:#4F81BD;color:white" %)**2**|=(% style="width: 70px;background-color:#4F81BD;color:white" %)**2**|=(% style="background-color:rgb(79, 129, 189); color: white; width: 88px;" %)**1**|=(% style="background-color:rgb(79, 129, 189); color: white; width: 85px;" %)4458 +)))|=(% style="width: 80px;background-color:#4F81BD;color:white" %)1|=(% style="width: 80px;background-color:#4F81BD;color:white" %)**1**|=(% style="width: 50px;background-color:#4F81BD;color:white" %)**2**|=(% style="width: 70px;background-color:#4F81BD;color:white" %)**2**|=(% style="background-color:#4F81BD; color: white; width: 85px;" %)**1**|=(% style="background-color: #4F81BD; color: white; width: 85px;" %)4 450 450 |(% style="width:62.5px" %)Value|(% style="width:62.5px" %)Interrupt flag & Interrupt_level|(% style="width:62.5px" %)((( 451 451 Reserve(0xFF) 452 452 )))|Distance|Distance signal strength|(% style="width:88px" %)((( ... ... @@ -455,16 +455,16 @@ 455 455 456 456 **Interrupt flag & Interrupt level:** 457 457 458 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width: 501px" %)467 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %) 459 459 |=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 460 460 **Size(bit)** 461 -)))|=(% style="width: 30px;background-color:#4F81BD;color:white" %)**bit7**|=(% style="width:80px;background-color:#4F81BD;color:white" %)**bit6**|=(% style="width:50px;background-color:#4F81BD;color:white" %)**[bit5:bit2]**|=(% style="width: 91px; background-color:rgb(79, 129, 189); color: white;" %)**bit1**|=(% style="background-color:rgb(79, 129, 189); color: white; width:88px;" %)**bit0**470 +)))|=(% style="width: 90px;background-color:#4F81BD;color:white" %)**bit7**|=(% style="width: 90px;background-color:#4F81BD;color:white" %)**bit6**|=(% style="width: 60px;background-color:#4F81BD;color:white" %)**[bit5:bit2]**|=(% style="width: 90px; background-color: #4F81BD; color: white;" %)**bit1**|=(% style="background-color: #4F81BD; color: white; width: 90px;" %)**bit0** 462 462 |(% style="width:62.5px" %)Value|(% style="width:62.5px" %)No ACK message|(% style="width:62.5px" %)Poll Message Flag|Reserve|(% style="width:91px" %)Interrupt level|(% style="width:88px" %)((( 463 463 Interrupt flag 464 464 ))) 465 465 466 466 * ((( 467 -Each data entry is 11 bytes and has the same structure as [[Uplink Payload>> http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS12-LB_LoRaWAN_LiDAR_ToF_Distance_Sensor_User_Manual/#H2.3.2UplinkPayload2CFPORT3D2]], to save airtime and battery, LDS12-LB will send max bytes according to the current DR and Frequency bands.476 +Each data entry is 11 bytes and has the same structure as [[Uplink Payload>>||anchor="H2.3.2UplinkPayload2CFPORT3D2"]], to save airtime and battery, LDS12-LB will send max bytes according to the current DR and Frequency bands. 468 468 ))) 469 469 470 470 For example, in the US915 band, the max payload for different DR is: ... ... @@ -513,7 +513,7 @@ 513 513 [362,173,30,Low,False,2023-08-04 02:58:53], 514 514 515 515 516 -History read from serial port: 525 +**History read from serial port:** 517 517 518 518 [[image:image-20230805145056-3.png]] 519 519 ... ... @@ -713,6 +713,8 @@ 713 713 * The LiDAR probe is cover by dirty things; the reading might be wrong. In this case, need to clean the probe. 714 714 * The sensor window is made by Acrylic. Don't touch it with alcohol material. This will destroy the sensor window. 715 715 725 + 726 + 716 716 === 2.7.4 Reflectivity of different objects === 717 717 718 718 ... ... @@ -739,6 +739,8 @@ 739 739 |(% style="width:53px" %)17|(% style="width:229px" %)stainless steel|(% style="width:93px" %)200% 740 740 |(% style="width:53px" %)18|(% style="width:229px" %)Reflector plate, reflective tape|(% style="width:93px" %)>300% 741 741 753 + 754 + 742 742 = 3. Configure LDS12-LB = 743 743 744 744 == 3.1 Configure Methods == ... ... @@ -752,6 +752,8 @@ 752 752 753 753 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 754 754 768 + 769 + 755 755 == 3.2 General Commands == 756 756 757 757 ... ... @@ -820,9 +820,9 @@ 820 820 === 3.3.2 Set Interrupt Mode === 821 821 822 822 823 -Feature, Set Interrupt mode for PA8ofpin.838 +Feature, Set Interrupt mode for pin of GPIO_EXTI. 824 824 825 -When AT+INTMOD=0 is set, P A8is used as a digital input port.840 +When AT+INTMOD=0 is set, GPIO_EXTI is used as a digital input port. 826 826 827 827 (% style="color:blue" %)**AT Command: AT+INTMOD** 828 828 ... ... @@ -833,7 +833,11 @@ 833 833 OK 834 834 the mode is 0 =Disable Interrupt 835 835 ))) 836 -|(% style="width:154px" %)AT+INTMOD=2|(% style="width:196px" %)((( 851 +|(% style="width:154px" %)((( 852 +AT+INTMOD=2 853 + 854 +(default) 855 +)))|(% style="width:196px" %)((( 837 837 Set Transmit Interval 838 838 0. (Disable Interrupt), 839 839 ~1. (Trigger by rising and falling edge) ... ... @@ -851,6 +851,8 @@ 851 851 852 852 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 853 853 873 + 874 + 854 854 === 3.3.3 Set Power Output Duration === 855 855 856 856 Control the output duration 3V3(pin of VBAT_OUT) . Before each sampling, device will ... ... @@ -880,6 +880,8 @@ 880 880 * Example 2: Downlink Payload: 07 01 01 F4 **~-~-->** AT+3V3T=500 881 881 * Example 3: Downlink Payload: 07 01 FF FF **~-~-->** AT+3V3T=65535 882 882 904 + 905 + 883 883 = 4. Battery & Power Consumption = 884 884 885 885 ... ... @@ -908,6 +908,8 @@ 908 908 909 909 * Update through UART TTL interface: **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**. 910 910 934 + 935 + 911 911 = 6. FAQ = 912 912 913 913 == 6.1 What is the frequency plan for LDS12-LB? == ... ... @@ -968,6 +968,8 @@ 968 968 969 969 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 970 970 996 + 997 + 971 971 = 9. Packing Info = 972 972 973 973 ... ... @@ -985,6 +985,8 @@ 985 985 986 986 * Weight / pcs : g 987 987 1015 + 1016 + 988 988 = 10. Support = 989 989 990 990