DirekTronik LDS02 Manuel utilisateur

LDS02 - LoRaWAN Door Sensor User Manual
last modified by Xiaoling
on 2023/01/03 15:57

User Manual for LoRaWAN End Nodes - LDS02 - LoRaWAN Door Sensor User Manual
Table of Contents
1. Introduction .......................................................................................................................................................................... 4
1.1 What is LDS02 LoRaWAN Door Sensor .................................................................................................................... 4
1.2 Features .......................................................................................................................................................................... 4
1.3 Applications .................................................................................................................................................................... 5
1.4 Dimension ....................................................................................................................................................................... 5
1.5 Firmware Change log ................................................................................................................................................... 5
2. Power ON LDS02 .............................................................................................................................................................. 5
3. How to install LDS02 ......................................................................................................................................................... 5
4. Operation Mode .................................................................................................................................................................. 6
4.1 How it works? ................................................................................................................................................................ 6
4.2 Example to join LoRaWAN network ........................................................................................................................... 6
4.3 Uplink Payload ............................................................................................................................................................. 10
4.4 Downlink Payload ........................................................................................................................................................ 10
Type Code 0x01 .............................................................................................................................................................. 11
Type Code 0x04 .............................................................................................................................................................. 11
Type Code 0x05 .............................................................................................................................................................. 11
Type Code 0xA6 ............................................................................................................................................................. 11
Type Code 0xA7 ............................................................................................................................................................. 11
Type Code 0xA8 ............................................................................................................................................................. 12
Type Code 0xA9 ............................................................................................................................................................. 12
4.5 Integrate with Datacake ............................................................................................................................................. 12
4.6 Alarm Base on Timeout .............................................................................................................................................. 15
4.7 LEDs ............................................................................................................................................................................. 15
5. Battery & How to replace ................................................................................................................................................ 16
5.1 Battery Type and replace ........................................................................................................................................... 16
5.2 Power Consumption Analyze ..................................................................................................................................... 16
6. Use AT Command ........................................................................................................................................................... 16
6.1 Access AT Command ................................................................................................................................................ 16
7. FAQ .................................................................................................................................................................................... 18
7.1 How to upgrade the image? ...................................................................................................................................... 18
7.2 How to change the LoRa Frequency Bands/Region? ............................................................................................ 18
7.3 Can I disable uplink for each event to save battery life? ....................................................................................... 18
7.4 How to change Sub-Band for LDS02? ..................................................................................................................... 19
7.5 My sensor works for Helium AU915 before but not it doesn't work, Why? .......................................................... 20
8. Order Info .......................................................................................................................................................................... 20
9. Packing Info ...................................................................................................................................................................... 21
10. Support ............................................................................................................................................................................ 21
Page 2 / 21 - last modified by Xiaoling on 2023/01/03 15:57

User Manual for LoRaWAN End Nodes - LDS02 - LoRaWAN Door Sensor User Manual
Table of Contents:
•1. Introduction
•1.1 What is LDS02 LoRaWAN Door Sensor
•1.2 Features
•1.3 Applications
•1.4 Dimension
•1.5 Firmware Change log
•2. Power ON LDS02
•3. How to install LDS02
•4. Operation Mode
•4.1 How it works?
•4.2 Example to join LoRaWAN network
•4.3 Uplink Payload
•4.4 Downlink Payload
•Type Code 0x01
•Type Code 0x04
•Type Code 0x05
•Type Code 0xA6
•Type Code 0xA7
•Type Code 0xA8
•Type Code 0xA9
•4.5 Integrate with Datacake
•4.6 Alarm Base on Timeout
•4.7 LEDs
•5. Battery & How to replace
•5.1 Battery Type and replace
•5.2 Power Consumption Analyze
•6. Use AT Command
•6.1 Access AT Command
•7. FAQ
•7.1 How to upgrade the image?
•7.2 How to change the LoRa Frequency Bands/Region?
•7.3 Can I disable uplink for each event to save battery life?
•7.4 How to change Sub-Band for LDS02?
•7.5 My sensor works for Helium AU915 before but not it doesn't work, Why?
•8. Order Info
•9. Packing Info
•10. Support
Page 3 / 21 - last modified by Xiaoling on 2023/01/03 15:57

User Manual for LoRaWAN End Nodes - LDS02 - LoRaWAN Door Sensor User Manual
1. Introduction
1.1 What is LDS02 LoRaWAN Door Sensor
The Dragino LDS02 is a LoRaWAN Door Sensor. It detects door open/close status and uplink to IoT server via
LoRaWAN network. user can see the door status, open time, open counts in the IoT Server.
LDS02 is powered by 2 x AAA batteries and target for long time use, these two batteries can provide about 16,000
~ 70,000 uplink packets. After battery running out, user can easily open the enclosure and replace with 2 common
AAA batteries.
The LDS02 will send periodically data every day as well as for each door open/close action. It also counts the door
open times and calculate last door open duration. User can also disable the uplink for each open/close event,
instead, device can count each open event and uplink periodically.
LDS02 has the open alarm feature, user can set this feature so device will send Alarm if the door has been open
for a certain time.
Each LDS02 is pre-load with a set of unique keys for LoRaWAN registration, register these keys to LoRaWAN
server and it will auto connect after power on.
1.2 Features
• LoRaWAN Class A v1.0.3
• Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865/RU864
• SX1262 LoRa Core
• Water Leak detect
• 2 x AAA LR03 Batteries
• AT Commands to change parameters
• Uplink on periodically and open/close action
• Remote configure parameters via LoRa Downlink
• Firmware upgradable via program port
Page 4 / 21 - last modified by Xiaoling on 2023/01/03 15:57

User Manual for LoRaWAN End Nodes - LDS02 - LoRaWAN Door Sensor User Manual
1.3 Applications
• Smart Buildings & Home Automation
• Logistics and Supply Chain Management
• Smart Metering
• Smart Agriculture
• Smart Cities
• Smart Factory
1.4 Dimension
Unit: mm
1.5 Firmware Change log
LDS02 use the same firmware as LDS01:LDS02 Image files – Download link
2. Power ON LDS02
When receive the LDS02, please open the enclosure and add 2 x AAA batteries to power it. The LED will blink
when device is powered.
3. How to install LDS02
When install the LDS02 on wall. Please make sure install as below so the marks will close to each other when close
the door.
Open/Close threshold range: ~ 10mm
Page 5 / 21 - last modified by Xiaoling on 2023/01/03 15:57

User Manual for LoRaWAN End Nodes - LDS02 - LoRaWAN Door Sensor User Manual
4. Operation Mode
4.1 How it works?
The LDS02 is configured as LoRaWAN OTAA Class A mode by default. It has OTAA keys to join network. To
connect a local LoRaWAN network, user just need to input the OTAA keys in the network server and power on the
LDS02. It will auto join the network via OTAA.
In case user can't set the OTAA keys in the network server and has to use the existing keys from server. User can
use AT Command to set the keys in the devices.
4.2 Example to join LoRaWAN network
Here shows an example for how to join the TTN V3 Network. Below is the network structure, we use LG308 as
LoRaWAN gateway here.
Page 6 / 21 - last modified by Xiaoling on 2023/01/03 15:57

User Manual for LoRaWAN End Nodes - LDS02 - LoRaWAN Door Sensor User Manual
The LDS02 in installed on the door edge to detect the open / close event. And send the status to LoRaWAN server.
The LDS02 will uplink two type of messages to the server.
• A keep-alive message which send once per day.
• A door event message when there is a door open/close.(Alarm event can be disabled)
The LG308 is already set to connect to TTN V3 network. What we need to now is only configure the TTN V3:
Step 1: Create a device in TTN V3 with the OTAA keys from LDS02.
Each LDS02 is shipped with a sticker with unique device EUI:
User can enter this key in their LoRaWAN Server portal. Below is TTN V3 screen shot:
Add APP EUI in the application
Page 7 / 21 - last modified by Xiaoling on 2023/01/03 15:57

User Manual for LoRaWAN End Nodes - LDS02 - LoRaWAN Door Sensor User Manual
Page 8 / 21 - last modified by Xiaoling on 2023/01/03 15:57

User Manual for LoRaWAN End Nodes - LDS02 - LoRaWAN Door Sensor User Manual
Add APP KEY and DEV EUI
Page 9 / 21 - last modified by Xiaoling on 2023/01/03 15:57

User Manual for LoRaWAN End Nodes - LDS02 - LoRaWAN Door Sensor User Manual
Step 2:Power on LDS02 and it will auto join to the TTN V3 network. After join success, it will start to upload
message to TTN V3 and user can see in the panel.
4.3 Uplink Payload
Uplink Payload total 10 bytes.
Size(bytes) 2 1 3 3 1
value Status&BAT MOD
Always:0x01
Total open door
events
Last door open
duration (unit: min)
Alarm
Example:
Example Payload Decoder in TTN V3:https://github.com/dragino/dragino-end-node-decoder
4.4 Downlink Payload
Downlink Control Type Type Code Downlink payload size(bytes)
TDC (Transmit Time Interval—Keep Alive
Interval)
0x01 4
Page 10 / 21 - last modified by Xiaoling on 2023/01/03 15:57
Table des matières
Autres manuels DirekTronik Accessoires



















