Dragino LDDS04 User manual

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 1/ 38
LoRaWAN 4-Detect-Channels Distance Sensor User Manual
Document Version: 1.1
Image Version: v1.0
Version
Description
Date
1.0
Release
2021-Aug-19

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 2/ 38
1. Introduction 4
1.1 What is LoRaWAN 4-Channels Distance Sensor 4
1.2 Features 5
1.3 Applications 5
1.4 Pin mapping and power on 5
1.5 Probe Options 6
1.5.1 Probes Comparation 6
1.5.2 A01A-15 probe 7
1.5.3 A02-15 probe 9
1.5.4 A13-15 probe 10
1.5.5 A16-15 probe 12
2. Configure LDDS04 to connect to LoRaWAN network 14
2.1 How it works 14
2.2 Connect Probe 14
2.3 Quick guide to connect to LoRaWAN server (OTAA) 15
2.4 Uplink Payload 19
2.4.1 Battery Info 19
2.4.2 Interrupt Pin 19
2.4.3 Distance 19
2.4.4 Message Type 20
2.4.5 Decode payload in The Things Network 21
2.5 Uplink Interval 21
2.6 Show Data in DataCake IoT Server 22
2.7 Frequency Plans 28
2.7.1 EU863-870 (EU868) 28
2.7.2 US902-928(US915) 28
2.7.3 CN470-510 (CN470) 28
2.7.4 AU915-928(AU915) 29
2.7.5 AS920-923 & AS923-925 (AS923) 29
2.7.6 KR920-923 (KR920) 29
2.7.7 IN865-867 (IN865) 30
2.8 LED Indicator 30
2.9 Firmware Change Log 30
3. Configure LDDS04 via AT Command or LoRaWAN Downlink 31
3.1 Set Transmit Interval Time 31
3.2 Set Interrupt Mode 32
3.3 Get Firmware Version Info 32
4. Battery & how to replace 33
4.1 Battery Type 33
4.2 Replace Battery 34
4.3 Power Consumption Analyze 34
4.3.1 Battery Note 35
4.3.2 Replace the battery 35
5. Use AT Command 36
5.1 Access AT Commands 36
6. FAQ 37

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 4/ 38
1. Introduction
1.1What is LoRaWAN 4-Channels Distance Sensor
The Dragino LDDS04 is a LoRaWAN 4-Channels Distance Sensor for Internet of Things
solution. It is capable to add up to four Ultrasonic Sensors to measure four distances at the
same time.
The LDDS04 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 LDDS04 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.
LDDS04 is powered by 8500mAh Li-SOCI2 battery, it is designed for long term use up to 5
years.
Each LDDS04 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.

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 5/ 38
1.2Features
LoRaWAN 1.0.3 Class A
Ultra-low power consumption
Detect Range: Base on External Probe
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.3Applications
Horizontal distance measurement
Parking management system
Object proximity and presence detection
Intelligent trash can management system
Robot obstacle avoidance
Automatic control
Sewer
1.4Pin mapping and power on

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 6/ 38
1.5Probe Options
1.5.1 Probes Comparation
Model
Photo
Description
A01A-15
Detect Distance: 28 cm ~ 750 cm
Bling Spot Distance: 0 ~ 28cm
Accuracy: ±(1cm+S*0.3%) (S: Distance)
Measure Angle: ~ 40°
Cable Length: 1.5 meter
Temperature Compensation
Suitable for Flat Object Detect
IP67 Water Proof
A02-15
Detect Distance: 3cm ~ 450cm
Bling Spot Distance: 0 ~ 3cm
Accuracy: ±(1cm+S*0.3%) (S: Distance)
Measure Angle: ~ 60°
Cable Length: 1.5 meter
Temperature Compensation
Suitable for Flat Object Detect, Rubbish Bin
IP67 Water Proof
A13-15
Detect Distance: 25cm ~ 200cm
Bling Spot Distance: 0 ~ 25cm
Accuracy: ±(1cm+S*0.3%) (S: Distance)
Measure Angle: ~ 20°
Cable Length: 1.5 meter
Temperature Compensation
Suitable for Flat Object Detect, Rubbish Bin
IP67 Water Proof
A16-15
Detect Distance: 50cm ~ 1500cm
Bling Spot Distance: 0 ~ 50cm
Accuracy: ±(1cm+S*0.3%) (S: Distance)
Measure Angle: ~ 40°
Cable Length: 1.5 meter
Temperature Compensation
Suitable for Long Distance Detect
IP67 Water Proof

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 7/ 38
1.5.2 A01A-15 probe
A01A-15 is mainly used for plane distance measurement; it can carry out targeted
measurement on plane objects and can measure long distances and high accuracy.
Beam Chart:
(1) The tested object is a white cylindrical tube made of PVC, with a height of 100cm and a
diameter of 7.5cm.
(2) The object to be tested is a "corrugated cardboard box" perpendicular to the central axis
of 0 °, and the length * width is 60cm * 50cm.

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 8/ 38
Mechanical:
Application:
150 cm ±1cm

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 9/ 38
1.5.3 A02-15 probe
Beam Chart:
(1) The tested object is a white cylindrical tube made of PVC, with a height of 100cm and a
diameter of 7.5cm.
(2) The object to be tested is a "corrugated cardboard box" perpendicular to the central axis
of 0 °, and the length * width is 60cm * 50cm.
Mechanical:
Application:

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 10 / 38
1.5.4 A13-15 probe
Beam Chart:
(1) The tested object is a white cylindrical tube made of PVC, with a height of 100cm and a
diameter of 7.5cm.
(2) The object to be tested is a "corrugated cardboard box" perpendicular to the central axis
of 0 °, and the length * width is 60cm * 50cm.
Mechanical:
150 cm ±2cm

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 11 / 38
Installation Requirement:
Application:

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 12 / 38
1.5.5 A16-15 probe
Beam Chart:
(1) The tested object is a white cylindrical tube made of PVC, with a height of 100cm and a
diameter of 7.5cm.
(2) The object to be tested is a "corrugated cardboard box" perpendicular to the central axis
of 0 °, and the length * width is 60cm * 50cm.

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 13 / 38
Mechanical:
Application:
150 cm ±2cm

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 14 / 38
2. Configure LDDS04 to connect to LoRaWAN network
2.1How it works
The LDDS04 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 LDDS04. It will automatically join the
network via OTAA and start to send the sensor value. The default uplink interval is 20
minutes.
2.2Connect Probe
LDDS04 has a converter, User need to connect the Ultrasonic Probes to the convert
as below. Different probes are supported, please see this link for the probe options.
Probe mapping as below.

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 15 / 38
2.3Quick guide to connect to LoRaWAN server (OTAA)
Following is an example for how to join the TTN v3 LoRaWAN Network. Below is the network
structure; we use the DLOS8 as a LoRaWAN gateway in this example.
The LG308 is already set to connected to TTN network , so what we need to now is configure
the TTN server.
Step 1: Create a device in TTN with the OTAA keys from LDDS04.
Each LDDS04 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 screen shot:
Register the device

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 16 / 38
Add APP EUI and DEV EUI
Add APP EUI in the application

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 17 / 38
Add APP KEY

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 18 / 38
Step 2: Power on LDDS04
Put a Jumper on JP2 to power on the device. (The Switch must be in FLASH position).
Step 3: The LDDS04 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.

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 19 / 38
2.4Uplink Payload
LDDS04 will uplink payload via LoRaWAN with below payload format:
Uplink payload includes in total 11 bytes.
2.4.1 Battery Info
Check the battery voltage for LDDS04.
Ex1: 0x0D4A & 0x3FFF = 3402mV
Ex2: 0x8D41 & 0x3FFF = 3393mV
2.4.2 Interrupt Pin
This bit shows if uplink packet is generated by Interrupt Pin 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:
(0x0D4A & 0x8000) >>15 = 0: Normal uplink packet.
(0x8D41 & 0x8000) >>15 = 1: Interrupt Uplink Packet.
2.4.3 Distance
The measuring distance of the four distance measuring modules, the default unit is cm.
Example:
Uplink Payload: 0D 4A 03 16 03 18 03 1A 03 15 01
Data analysis:
Distance of UT sensor1 : 0316(H) = 790 (D)/10 = 79cm.
Distance of UT sensor2 : 0318(H) = 792 (D)/10 = 79.2cm.
Distance of UT sensor3 : 031A(H) = 794 (D)/10 = 79.4cm.
Distance of UT sensor4 : 0315(H) = 789 (D)/10 = 78.9cm.
Size
(bytes)
2
2
2
2
2
1
Value
BAT
&
Interrupt flag
Distance of
UT sensor1
Distance of
UT sensor2
Distance of
UT sensor3
Distance of
UT sensor4
Message
Type

www.dragino.com
LDDS04 LoRaWAN 4-Channels Distance Sensor User Manual 20 / 38
2.4.4 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
Table of contents
Other Dragino Accessories manuals

Dragino
Dragino LLDS40 User manual

Dragino
Dragino LHT52 User manual

Dragino
Dragino LHT65 User manual

Dragino
Dragino D20-LB User manual

Dragino
Dragino LWL01 User manual

Dragino
Dragino LDS03A User manual

Dragino
Dragino LDS01 User manual

Dragino
Dragino LoRaWAN LDS02 User manual

Dragino
Dragino LHT52 User manual

Dragino
Dragino CPL01 User manual