Page 1
LDS02 – LoRaWAN Door Sensor User Manual Document Version: 1.1 Image Version: v1.3 Version Description Date Release 2021-May-16 Add more Battery Description 2021-Jul-1 LoRaWAN Door Sensor User Manual 1 / 24...
Introduction ..........................4 What is LDS02 LoRaWAN Door Sensor ..................4 Features ............................5 Applications ..........................5 Dimension ........................... 5 Firmware Change log ......................... 5 Power ON LDS02 ........................6 How to install LDS02 ......................... 6 Operation Mode ........................7 How it works? ..........................
Page 3
Support ..........................24 LoRaWAN Door Sensor User Manual 3 / 24...
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.
1.2 Features ✓ LoRaWAN Class A v1.0.3 ✓ Frequency Bands: DTS:903-914.2MHz, Hybrid System:903.9~905.3 MHz ✓ SX1262 LoRa Core ✓ Door Open/Close detect ✓ Door open/close statistics ✓ 2 x AAA LR03 Batteries ✓ AT Commands to change parameters ✓...
2. Power ON LDS02 When receive the LDS02, please open the enclosure and add 2 x AAA batteries to power it. The 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.
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...
Page 8
User can enter this key in their LoRaWAN Server portal. Below is TTN V3 screen shot: Add APP EUI in the application. LoRaWAN Door Sensor User Manual 8 / 24...
Page 9
LDS02 and LDS01 use the same payload structure. So choose LDS01 as the model here. LoRaWAN Door Sensor User Manual 9 / 24...
Page 10
You can also choose to create the device manually. LoRaWAN Door Sensor User Manual 10 / 24...
Add APP KEY and DEV EUI 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.
Example: Example Payload Decoder in TTN V3: http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDS02/Payload/ 4.4 Downlink Payload Downlink Control Type Type Code Downlink payload size(bytes) TDC (Transmit Time Interval—Keep Alive Interval) 0x01 RESET 0x04 Set confirmed mode 0x05 Clear Counting 0xA6 Enable/Disable Alarm 0xA7 Control ADR/DR...
Page 13
Example Downlink payload setting in TTN V3: Type Code 0x01 If the payload=0100003C, means to control the LDS02’s Keep Alive interval to 0x00003C=60(S) Type Code 0x04 If payload = 0x04FF, it will reset the LDS02. Type Code 0x05 0x05 00: Set uplink to LoRaWAN unconfirmed mode...
Page 14
Type Code 0xA9 Alarm Base Timeout for detail. LoRaWAN Door Sensor User Manual 14 / 24...
4.5 Integrate with Datacake Datacake provides a human friendly interface to show the sensor data, once we have data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are...
Page 16
LoRaWAN Door Sensor User Manual 16 / 24...
Page 17
Step 3: Create an account or log in Datacake. Step 4: Search LDS02 and add DevEUI. LoRaWAN Door Sensor User Manual 17 / 24...
4.6 Alarm Base on Timeout LDS02 can monitor the timeout for a status change, this feature can be used to monitor some event such as open fridge too long etc. User configure this feature by using: AT Command to configure: →...
4.7 LEDs Action LED behavior Power On GREEN on 1s, on 1s, BLUE on 1s Joined successful GRENN LED on 5s Send an uplink message GREEN LED blinks once Got a downlink message BLUE LED blinks once LoRaWAN Door Sensor User Manual...
Example of AAA LR03 batter: 5.2 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 21
LoRaWAN Door Sensor User Manual 21 / 24...
6. Use AT Command 6.1 Access AT Command LDS02 supports AT Command set. User can use a USB to TTL adapter to configure LDS02 via use AT command, as below. USB to TTL <- -> LDS02 RX <- -> TX TX <- ->...
When entering the first command, the RED LED will on and user can now input AT Commands. After input all needed AT Commands, please input AT+CLPM=1 to set the device to work in Low Power mode and RED LED will be off.
9. Packing Info Package Includes: ✓ LDS02 x 1 Dimension and weight: ✓ Device Size: 69.2 x 29.2 x 14.8 mm 10. Support ➢ Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
Page 25
FCC Caution: Any Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.
Need help?
Do you have a question about the LoRaWAN LDS02 and is the answer not in the manual?
Questions and answers