Dragino LLDS40 User manual

(
/xwiki/bin/view/Main/
)
/
Home
(
/xwiki/bin/view/Main/
)
/
User Manual for LoRaWAN End Nodes
(
/xwiki/bin/view
/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/
)
/
LLDS40-LoRaWAN LiDAR ToF Distance Sensor User Manual
(
/xwiki/bin/view
/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LLDS40-
LoRaWAN%20LiDAR%20ToF%20Distance%20Sensor%20User%20Manual/
)
LLDS40-LoRaWAN LiDAR ToF Distance
Sensor User Manual
Last modified by
Xiaoling
(
/xwiki/bin/view/XWiki/Xiaoling
)
on 2022/11/03 08:53

Table of Contents:
•
1.!Introduction
◦
1.1 What is LoRaWAN LiDAR ToF Distance Sensor
◦
1.2!Features
◦
1.3!Probe Specification
◦
1.4!Probe Dimension
◦
1.5 Applications
◦
1.6!Pin mapping and power on
•
2.!Configure LLDS40 to connect to LoRaWAN network
◦
2.1!How it works
◦
2.2!Quick guide to connect to LoRaWAN server (OTAA)
◦
2.3!Uplink Payload
▪
2.3.1!Battery Info
▪
2.3.2!DS18B20 Temperature sensor
▪
2.3.3!Distance
▪
2.3.4!Distance signal strength
▪
2.3.5!Interrupt Pin
▪
2.3.6!LiDAR temp
▪
2.3.7!Message Type
▪
2.3.8!Decode payload in The Things Network
◦
2.4!Uplink Interval
◦
2.5!Show Data in DataCake IoT Server
◦
2.6!Frequency Plans
▪
2.6.1!EU863-870 (EU868)
▪
2.6.2!US902-928(US915)
▪
2.6.3!CN470-510 (CN470)
▪
2.6.4!AU915-928(AU915)
▪
2.6.5!AS920-923 & AS923-925 (AS923)
▪
2.6.6!KR920-923 (KR920)
▪
2.6.7!IN865-867 (IN865)
◦
2.7!LED Indicator
◦
2.8!Firmware Change Log
•
3.!LiDAR ToF Measurement
◦
3.1 !Principle of Distance Measurement
◦
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
•
5.!Battery & How to replace
◦
5.1!Battery Type
◦
5.2!Replace Battery

◦
5.3!Power Consumption Analyze
▪
5.3.1!Battery Note
▪
5.3.2!Replace the battery
•
6.!Use AT Command
◦
6.1!Access AT Commands
•
7.!FAQ
◦
7.1!How to change the LoRa Frequency Bands/Region
•
8.!Trouble Shooting
◦
8.1!AT Commands input doesn't work
◦
8.2!Significant error between the output distance value of LiDAR and the actual distance
•
9.!Order Info
•
10. Packing Info
•
11.!Support
1.!Introduction
1.1 What is LoRaWAN LiDAR ToF Distance Sensor
The Dragino LLDS40 is a!
LoRaWAN LiDAR ToF (Time of Flight) Distance Sensor
!for Internet of Things
solution. It is capable of measuring the distance to objects as close as 0m to 40m. The LiDAR probe uses
laser induction technology for distance measurement.
The LLDS40 can be applied to scenarios such as horizontal distance measurement, parking management
system, object proximity and presence detection, intelligent trash can management system, robot obstacle
avoidance, automatic control, sewer, etc.
It detects the distance between the measured object and the sensor, and uploads the value via wireless to
LoRaWAN IoT Server.
The LoRa wireless technology used in LLDS40 allows device to send data and reach extremely long
ranges at low data-rates. It provides ultra-long range spread spectrum communication and high
interference immunity whilst minimizing current consumption.
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
LoRaWAN server and it will auto connect after power on.

1.2!Features
•
LoRaWAN 1.0.3 Class A
•
Ultra-low power consumption
•
Laser technology for distance detection
•
Measure Distance: 0.1m ~ 40m!@ 90% Reflectivity
•
Monitor Battery Level
•
Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865
•
AT Commands to change parameters
•
Uplink on periodically
•
Downlink to change configure
•
8500mAh Battery for long-term use
1.3!Probe Specification
•
Storage temperature
:
-30℃~80℃
•
Operating temperature:!-20℃~60℃
•
Measure Distance:
◦
0.1m ~ 40m @ 90% Reflectivity
◦
0.1m ~ 13.5m @ 10% Reflectivity
•
Distance resolution:!1cm
•
Ambient light immunity: 100klux
•
Enclosure rating : IP65
•
Light source : VCSEL
•
Central wavelength : 850nm
•
FOV : 3°

•
Material of enclosure : ABS+PC
•
Wire length : 75cm
1.4!Probe Dimension
1.5 Applications
•
Horizontal distance measurement
•
Oil Tank
•
Object proximity and presence detection
•
Intelligent trash can management system
•
Robot obstacle avoidance
•
Automatic control
•
Sewer
1.6!Pin mapping and power on

2.!Configure LLDS40 to connect to LoRaWAN
network
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. It will automatically join the network via OTAA and start
to send the sensor value. The default uplink interval is 20 minutes.
In case you can't set the OTAA keys in the LoRaWAN OTAA server, and you have to use the keys from the
server, you can
use AT Commands!
to set the keys in the LLDS40.
2.2!Quick guide to connect to LoRaWAN server (OTAA)
Following is an example for how to join the
TTN v3 LoRaWAN Network
(
https://console.cloud.thethings.network/
)
. Below is the network structure; we use the
LG308
(
http://www.dragino.com/products/lora/item/140-lg308.html
)
!as a LoRaWAN gateway in this example.!

The LG308 is already set to connect to
TTN network!
(
https://console.cloud.thethings.network/
)
, so what
we need to now is configure the TTN server.
!
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:
Register the device

Add APP EUI and DEV EUI

Add APP EUI in the application

Add APP KEY

Step 2
: Power on LLDS40
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)
2
2
2
2
1
1
1
Value
BAT
Temperature
DS18B20
Distance
Distance
signal
strength
Interrupt
!flag
LiDAR
temp
Message
Type
2.3.1!Battery Info
Check the battery voltage for LLDS40.
Ex1: 0x0B45 = 2885mV
Ex2: 0x0B49 = 2889mV

2.3.2!DS18B20 Temperature sensor
This is optional, user can connect external DS18B20 sensor to the
+3.3v, 1-wire and GND
pin . and this
field will report the temperature.
Example
:
If payload is: 0105H:!(0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree
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.3.4!Distance signal strength
Refers to the signal strength, the default output value will be between 0-65535. When the ranging gear is
fixed, the farther the ranging, the lower the signal strength.
In actual use, when the signal strength value Strength≤60, the measured value of Dist is considered
unreliable, and the default output is 4500. When the signal strength is greater than 60 and the actual
distance is and the actual distance is 45~60m, the output value of Dist is 4500. When the signal strength is
greater than 60 and the actual distance is more than 60m, there will be over-period data appearing as 0 or
other abnormal values.
Example
:
If payload is: 01D7(H)=471(D), distance signal strength=471, 471>100,471≠65535, the measured value of
Dist is considered credible.
Customers can judge whether they need to adjust the environment based on the signal strength.
1) When the sensor detects valid data:

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.
0x01: Interrupt Uplink Packet.
2.3.6!LiDAR temp
Characterize the internal temperature value of the sensor.

Example:!
If payload is: 1C(H) <<24>>24=28(D),LiDAR temp=28℃.
If payload is: F2(H) <<24>>24=-14(D),LiDAR temp=-14℃.
2.3.7!Message Type
For a normal uplink payload, the message type is always 0x01.
Valid Message Type:
Message Type Code
Description
Payload
0x01
Normal Uplink
Normal Uplink Payload
0x02
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/
)
provides a human friendly interface to show the sensor data, once we
have data in TTN, we can use
DATACAKE
(
https://datacake.co/
)
to connect to TTN and see the data in
DATACAKE. Below are the steps:
!
Step 1
: Be sure that your device is programmed and properly connected to the network at this
time.
Step 2
: To configure the Application to forward data to DATACAKE you will need to add integration.
To add the DATACAKE integration, perform the following steps:

Step 3
: Create an account or log in Datacake.
Step 4
: Create LLDS40 product.



Step 5
: add payload decode
!
Table of contents
Other Dragino Accessories manuals

Dragino
Dragino LHT52 User manual

Dragino
Dragino LSE01 User manual

Dragino
Dragino LoRaWAN LiDAR ToF User manual

Dragino
Dragino LHT52 User manual

Dragino
Dragino LSN50 LoRa User manual

Dragino
Dragino LWL01 User manual

Dragino
Dragino LDS03A User manual

Dragino
Dragino LWL02 User manual

Dragino
Dragino D20-LB User manual

Dragino
Dragino LHT65 User manual