Last modified by Mengting Qiu on 2025/07/08 11:11
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -185,12 +185,12 @@ 185 185 186 186 187 187 188 -= 2. Configure LDS12-LB to connect to LoRaWAN network = 188 += 2. Configure LDS12-LB/LS to connect to LoRaWAN network = 189 189 190 190 == 2.1 How it works == 191 191 192 192 193 -The LDS12-LB is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and press the button to activate the LDS12-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes. 193 +The LDS12-LB/LS is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and press the button to activate the LDS12-LB/LS. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes. 194 194 195 195 (% style="display:none" %) (%%) 196 196 ... ... @@ -204,9 +204,9 @@ 204 204 [[image:image-20230615153004-2.png||height="459" width="800"]](% style="display:none" %) 205 205 206 206 207 -(% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from LDS12-LB. 207 +(% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from LDS12-LB/LS. 208 208 209 -Each LDS12-LB is shipped with a sticker with the default device EUI as below: 209 +Each LDS12-LB/LS is shipped with a sticker with the default device EUI as below: 210 210 211 211 [[image:image-20230426084152-1.png||alt="图片-20230426084152-1.png" height="233" width="502"]] 212 212 ... ... @@ -235,10 +235,10 @@ 235 235 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/image-20220611161308-6.png?width=744&height=485&rev=1.1||alt="图片-20220611161308-6.png"]] 236 236 237 237 238 -(% style="color:blue" %)**Step 2:**(%%) Activate on LDS12-LB 238 +(% style="color:blue" %)**Step 2:**(%%) Activate on LDS12-LB/LS 239 239 240 240 241 -Press the button for 5 seconds to activate the LDS12-LB. 241 +Press the button for 5 seconds to activate the LDS12-LB/LS. 242 242 243 243 (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:blue" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network. (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 244 244 ... ... @@ -250,7 +250,7 @@ 250 250 === 2.3.1 Device Status, FPORT~=5 === 251 251 252 252 253 -Users can use the downlink command(**0x26 01**) to ask LDS12-LB to send device configure detail, include device configure status. LDS12-LB will uplink a payload via FPort=5 to server. 253 +Users can use the downlink command(**0x26 01**) to ask LDS12-LB/LS to send device configure detail, include device configure status. LDS12-LB/LS will uplink a payload via FPort=5 to server. 254 254 255 255 The Payload format is as below. 256 256 ... ... @@ -264,7 +264,7 @@ 264 264 265 265 [[image:image-20230805103904-1.png||height="131" width="711"]] 266 266 267 -(% style="color:blue" %)**Sensor Model**(%%): For LDS12-LB, this value is 0x24 267 +(% style="color:blue" %)**Sensor Model**(%%): For LDS12-LB/LS, this value is 0x24 268 268 269 269 (% style="color:blue" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version 270 270 ... ... @@ -319,7 +319,7 @@ 319 319 320 320 321 321 ((( 322 -LDS12-LB will send this uplink **after** Device Status once join the LoRaWAN network successfully. And LDS12-LB will: 322 +LDS12-LB/LS will send this uplink **after** Device Status once join the LoRaWAN network successfully. And LDS12-LB/LS will: 323 323 324 324 periodically send this uplink every 20 minutes, this interval [[can be changed>>||anchor="H3.3.1SetTransmitIntervalTime"]]. 325 325 ... ... @@ -341,10 +341,10 @@ 341 341 [[image:image-20230805104104-2.png||height="136" width="754"]] 342 342 343 343 344 -==== (% style="color:blue" %)**Battery Info** (%%)====344 +==== (% style="color:blue" %)**Battery Info** ==== 345 345 346 346 347 -Check the battery voltage for LDS12-LB. 347 +Check the battery voltage for LDS12-LB/LS. 348 348 349 349 Ex1: 0x0B45 = 2885mV 350 350 ... ... @@ -449,7 +449,7 @@ 449 449 === 2.3.3 Historical measuring distance, FPORT~=3 === 450 450 451 451 452 -LDS12-LB stores sensor values and users can retrieve these history values via the [[downlink command>>||anchor="H2.5.4Pollsensorvalue"]]. 452 +LDS12-LB/LS stores sensor values and users can retrieve these history values via the [[downlink command>>||anchor="H2.5.4Pollsensorvalue"]]. 453 453 454 454 The historical payload includes one or multiplies entries and every entry has the same payload as Real-Time measuring distance. 455 455 ... ... @@ -474,7 +474,7 @@ 474 474 ))) 475 475 476 476 * ((( 477 -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. 477 +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/LS will send max bytes according to the current DR and Frequency bands. 478 478 ))) 479 479 480 480 For example, in the US915 band, the max payload for different DR is: ... ... @@ -487,7 +487,7 @@ 487 487 488 488 **d) DR3:** total payload includes 22 entries of data. 489 489 490 -If LDS12-LB doesn't have any data in the polling time. It will uplink 11 bytes of 0 490 +If LDS12-LB/LS doesn't have any data in the polling time. It will uplink 11 bytes of 0 491 491 492 492 493 493 **Downlink:** ... ... @@ -541,7 +541,7 @@ 541 541 ))) 542 542 543 543 ((( 544 -LDS12-LB TTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]] 544 +LDS12-LB/LS TTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]] 545 545 ))) 546 546 547 547 ... ... @@ -570,7 +570,7 @@ 570 570 571 571 (% style="color:blue" %)**Step 3**(%%)**: Create an account or log in Datacake.** 572 572 573 -(% style="color:blue" %)**Step 4**(%%)**: Search the LDS12-LB and add DevEUI.** 573 +(% style="color:blue" %)**Step 4**(%%)**: Search the LDS12-LB/LS and add DevEUI.** 574 574 575 575 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDDS75%20-%20LoRaWAN%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/1654851029373-510.png?rev=1.1||alt="1654851029373-510.png"]] 576 576 ... ... @@ -583,30 +583,26 @@ 583 583 == 2.5 Datalog Feature == 584 584 585 585 586 -Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, LDS12-LB will store the reading for future retrieving purposes. 586 +Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, LDS12-LB/LS will store the reading for future retrieving purposes. 587 587 588 588 589 589 === 2.5.1 Ways to get datalog via LoRaWAN === 590 590 591 591 592 -Set PNACKMD=1, LDS12-LB will wait for ACK for every uplink, when there is no LoRaWAN network,LDS12-LB will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery. 592 +Set PNACKMD=1, LDS12-LB/LS will wait for ACK for every uplink, when there is no LoRaWAN network, LDS12-LB/LS will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery. 593 593 594 594 * ((( 595 -a) LDS12-LB will do an ACK check for data records sending to make sure every data arrive server. 595 +a) LDS12-LB/LS will do an ACK check for data records sending to make sure every data arrive server. 596 596 ))) 597 597 * ((( 598 -b) LDS12-LB will send data in **CONFIRMED Mode** when PNACKMD=1, but LDS12-LB won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if LDS12-LB gets a ACK, LDS12-LB will consider there is a network connection and resend all NONE-ACK messages. 598 +b) LDS12-LB/LS will send data in **CONFIRMED Mode** when PNACKMD=1, but LDS12-LB/LS won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if LDS12-LB/LS gets a ACK, LDS12-LB/LS will consider there is a network connection and resend all NONE-ACK messages. 599 599 ))) 600 600 601 -Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 602 602 603 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220703111700-2.png?width=1119&height=381&rev=1.1||alt="图片-20220703111700-2.png" height="381" width="1119"]] 604 - 605 - 606 606 === 2.5.2 Unix TimeStamp === 607 607 608 608 609 -LDS12-LB uses Unix TimeStamp format based on 605 +LDS12-LB/LS uses Unix TimeStamp format based on 610 610 611 611 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523001219-11.png?width=627&height=97&rev=1.1||alt="图片-20220523001219-11.png" height="97" width="627"]] 612 612 ... ... @@ -625,7 +625,7 @@ 625 625 626 626 User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command. 627 627 628 -Once LDS12-LB Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to LDS12-LB. If LDS12-LB fails to get the time from the server, LDS12-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days). 624 +Once LDS12-LB/LS Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to LDS12-LB/LS. If LDS12-LB/LS fails to get the time from the server, LDS12-LB/LS will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days). 629 629 630 630 (% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.** 631 631 ... ... @@ -653,7 +653,7 @@ 653 653 ))) 654 654 655 655 ((( 656 -Uplink Internal =5s,means LDS12-LB will send one packet every 5s. range 5~~255s. 652 +Uplink Internal =5s,means LDS12-LB/LS will send one packet every 5s. range 5~~255s. 657 657 ))) 658 658 659 659 ... ... @@ -660,7 +660,7 @@ 660 660 == 2.6 Frequency Plans == 661 661 662 662 663 -The LDS12-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 659 +The LDS12-LB/LS uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 664 664 665 665 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 666 666 ... ... @@ -749,12 +749,12 @@ 749 749 |(% style="width:53px" %)17|(% style="width:229px" %)stainless steel|(% style="width:93px" %)200% 750 750 |(% style="width:53px" %)18|(% style="width:229px" %)Reflector plate, reflective tape|(% style="width:93px" %)>300% 751 751 752 -= 3. Configure LDS12-LB = 748 += 3. Configure LDS12-LB/LS = 753 753 754 754 == 3.1 Configure Methods == 755 755 756 756 757 -LDS12-LB supports below configure method: 753 +LDS12-LB/LS supports below configure method: 758 758 759 759 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]. 760 760 ... ... @@ -776,10 +776,10 @@ 776 776 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 777 777 778 778 779 -== 3.3 Commands special design for LDS12-LB == 775 +== 3.3 Commands special design for LDS12-LB/LS == 780 780 781 781 782 -These commands only valid for LDS12-LB, as below: 778 +These commands only valid for LDS12-LB/LS, as below: 783 783 784 784 785 785 === 3.3.1 Set Transmit Interval Time === ... ... @@ -906,7 +906,7 @@ 906 906 907 907 908 908 (% class="wikigeneratedid" %) 909 -User can change firmware LDS12-LB to: 905 +User can change firmware LDS12-LB/LS to: 910 910 911 911 * Change Frequency band/ region. 912 912 ... ... @@ -924,10 +924,10 @@ 924 924 925 925 = 6. FAQ = 926 926 927 -== 6.1 What is the frequency plan for LDS12-LB? == 923 +== 6.1 What is the frequency plan for LDS12-LB/LS? == 928 928 929 929 930 -LDS12-LB use the same frequency as other Dragino products. User can see the detail from this link: [[Introduction>>doc:Main.End Device Frequency Band.WebHome||anchor="H1.Introduction"]] 926 +LDS12-LB/LS use the same frequency as other Dragino products. User can see the detail from this link: [[Introduction>>doc:Main.End Device Frequency Band.WebHome||anchor="H1.Introduction"]] 931 931 932 932 933 933 = 7. Trouble Shooting = ... ... @@ -962,9 +962,9 @@ 962 962 = 8. Order Info = 963 963 964 964 965 -Part Number: (% style="color:blue" %) **LDS12-LB-XXX**961 +**Part Number: (% style="color:blue" %)LDS12-LB-XX or (% style="color:blue" %)LDS12-LS-XX** 966 966 967 -(% style="color:red" %)**XX X**(%%): **The default frequency band**963 +(% style="color:red" %)**XX**(%%): **The default frequency band** 968 968 969 969 * (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 970 970 ... ... @@ -987,7 +987,7 @@ 987 987 988 988 (% style="color:#037691" %)**Package Includes**: 989 989 990 -* LDS12-LB LoRaWAN LiDAR ToF Distance Sensor x 1 986 +* LDS12-LB or LDS12-LS LoRaWAN LiDAR ToF Distance Sensor x 1 991 991 992 992 (% style="color:#037691" %)**Dimension and weight**: 993 993