◦ 3.2 Distance Measurement Characteristics ◦ 3.3 Notice of usage: ◦ 3.4 Reflectivity of different objects: • 4. Configure LLDS40 via AT Command or LoRaWAN Downlink ◦ 4.1 Set Transmit Interval Time ◦ 4.2 Set Interrupt Mode ◦ 4.3 Get Firmware Version Info •...
LLDS40 is powered by 8500mAh Li-SOCI2 battery, it is designed for long term use up to 5 years. Each LLDS40 is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local...
2.1 How it works The LLDS40 is configured as 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 power on the LLDS40.
Page 7
Step 1: Create a device in TTN with the OTAA keys from LLDS40. Each LLDS40 is shipped with a sticker with the default device EUI as below: You can enter this key in the LoRaWAN Server portal. Below is TTN screenshot:...
Page 11
Put a Jumper on JP2 to power on the device. ( The Switch must be in FLASH position). Step 3: The LLDS40 will auto join to the TTN network. After join success, it will start to upload messages to TTN and you can see the messages in the panel.
2.3 Uplink Payload LLDS40 will uplink payload via LoRaWAN with below payload format: Uplink payload includes in total 11 bytes. Size(bytes) Value Temperature Distance Distance Interrupt LiDAR Message DS18B20 signal flag temp Type strength 2.3.1 Battery Info Check the battery voltage for LLDS40.
If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 2.3.3 Distance Indicates the distance value measured by the LLDS40. The default unit is cm and the range is 0-4000. Example: If the data you get from the register is 0x0B 0xEA, the distance between the sensor and the measured object is 0BEA(H) = 3050 (D)/10 = 305cm.
2) When the sensor detects invalid data: 3) When the sensor is not connected: 2.3.5 Interrupt Pin This data field shows if this packet is generated by interrupt or not. Click here for the hardware and software set up. Note: The Internet Pin is a separate pin in the screw terminal. See pin mapping. Example: 0x00: Normal uplink packet.
Reply configures info Configure Info Payload 2.3.8 Decode payload in The Things Network While using TTN network, you can add the payload format to decode the payload. The payload decoder function for TTN is here: LLDS40 TTN Payload Decoder: https://github.com/dragino/dragino-end-node-decoder/tree/main /LLDS40 (https://github.com/dragino/dragino-end-node-decoder/tree/main/LLDS40)
2.4 Uplink Interval The LLDS40 by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: Change Uplink Interval (/xwiki/bin/view /Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command /#H4.1ChangeUplinkInterval) 2.5 Show Data in DataCake IoT Server DATACAKE (https://datacake.co/)
Page 17
Step 3: Create an account or log in Datacake. Step 4: Create LLDS40 product.
After added, the sensor data arrive TTN, it will also arrive and show in Datacake. 2.6 Frequency Plans The LLDS40 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.
The LLDS40 has an internal LED which is to show the status of different state. • The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. • Blink once when device transmits a packet.
The detection angle of the LLDS40 is 3 degrees, and the size of the light spot at different distances is the side length of the detection range. The size of the light spot at different distances is the side length of the detection range.
• General system settings like: uplink interval. • LoRaWAN protocol & radio related command. They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: End Device AT Commands and Downlink Command (/xwiki/bin/view /Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/) ...
• Commands special design for LLDS40 These commands only valid for LLDS40, as below: 4.1 Set Transmit Interval Time Feature: Change LoRaWAN End Node Transmit Interval. AT Command: AT+TDC Downlink Command: 0x01 Format: Command Code (0x01) followed by 3 bytes time value.
Downlink Command: 0x06 Format: Command Code (0x06) followed by 3 bytes. This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. • Example 1: Downlink Payload: 06000000 // Turn off interrupt mode •...
5.1 Battery Type LLDS40 is equipped with a 8500mAH ER26500 Li-SOCI2 battery (https://www.dragino.com/downloads /index.php?dir=datasheet/Battery/ER26500/) . The battery is un-rechargeable battery with low discharge rate targeting for 8~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter.
Page 33
5.3 Power Consumption Analyze Dragino Battery powered product are all runs in Low Power mode. We have an update battery calculator which base on the measurement of the real device. User can use this calculator to check the battery life and calculate the battery life if want to use different transmit interval.
Page 34
5.3.2 Replace the battery You can change the battery in the LLDS40.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so...
Page 35
USB TTL TXD <----> UART_RXD USB TTL RXD <----> UART_TXD In the PC, you need to set the serial baud rate to 9600 to access the serial console for LLDS40. LLDS40 will output system info once power on as below:...
Page 36
Valid AT Command please check Configure Device. 7. FAQ 7.1 How to change the LoRa Frequency Bands/Region You can follow the instructions for how to upgrade image. When downloading the images, choose the required image file for download. 8. Trouble Shooting 8.1 ...
Page 37
• IN865: LoRaWAN IN865 band • CN470: LoRaWAN CN470 band 10. Packing Info Package Includes: • LLDS40 LoRaWAN LiDAR Distance Sensor x 1 Dimension and weight: • Device Size: cm • Device Weight: g • Package Size / pcs : cm...
Page 38
However, your questions will be answered as soon as possible in the before-mentioned schedule. • Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to support@dragino.com (http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF %B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97 %5Csupport@dragino.com) .
Need help?
Do you have a question about the LLDS40 and is the answer not in the manual?
Questions and answers