Dragino LDS03A Manual

Dragino LDS03A Manual

Outdoor open/close door sensor

Advertisement

LDS03A Outdoor Open/Close Door Sensor Manual
Document Version: 1.0.0
Image Version: v1.0
Version
Description
1.0
Release
LDS03A Outdoor Open/Close Door Sensor
www.dragino.com
Date
2021-Nov-19
1 / 33

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LDS03A and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Dragino LDS03A

  • Page 1 LDS03A Outdoor Open/Close Door Sensor Manual Document Version: 1.0.0 Image Version: v1.0 Version Description Date Release 2021-Nov-19 LDS03A Outdoor Open/Close Door Sensor 1 / 33...
  • Page 2: Table Of Contents

    Poll sensor value ......................18 2.4.4 Decoder in TTN V3 ......................18 Show data on Datacake ......................19 Configure LDS03A via AT Command or LoRaWAN Downlink ............ 23 Set Transmit Interval Time......................23 Set Password ..........................24 Quit AT Command ........................24 Enable / Disable Alarm ......................
  • Page 3 Battery Note ........................29 4.3.2 Replace the battery......................30 FAQ ............................31 How to use AT Command to configure LDS03A ................ 31 How to upgrade the firmware? ....................32 How to change the LoRa Frequency Bands/Region? ..............32 Trouble Shooting ........................32 Order Info ..........................
  • Page 4: Introduction

    LDS03A has a Datalog feature, it will record the open/close event and the user can retrieve the history from LoRaWAN. LDS03A has the open alarm feature, user can set this feature so the device will send an alarm if the door has been open for a certain time.
  • Page 5 Each LDS03A 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. *Battery life depends on how often to send data, please see battery analyzer.
  • Page 6: Features

    Uplink on periodically and open/close event ✓ Datalog feature ✓ Remote configure parameters via LoRa Downlink ✓ Firmware upgradable via program port ✓ Wall Mountable ✓ Outdoor Use Storage & Operation Temperature -40°C to +85°C Applications LDS03A Outdoor Open/Close Door Sensor 6 / 33...
  • Page 7: Mechanical

    Mechanical LDS03A Outdoor Open/Close Door Sensor 7 / 33...
  • Page 8: Pin Definitions And Switch

    Pin Definitions and Switch LDS03A is based on LSN50v2 1.6.1 Pin Definition The device is pre-configured to connect to a door sensor. The other pins are not used. If user wants to know more about other pins, please refer to the user manual of LSN50v2 at: http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/...
  • Page 9: Operation Mode

    This section shows an example of how to join the TTN V3 LoRaWAN IoT server. Usages with other LoRaWAN IoT servers are similar. ✓ In this user case, the LDS03A is installed on the door edge to detect the open/close event and send the status to the LoRaWAN server. The LDS03A will uplink different types of messages to the LoRaWAN server.
  • Page 10 Users can enter these keys in the LoRaWAN Server portal. Below is the TTN V3 screenshot: Add APP EUI in the application. LDS03A Outdoor Open/Close Door Sensor 10 / 33...
  • Page 11 LDS03A Outdoor Open/Close Door Sensor 11 / 33...
  • Page 12 Add APP KEY and DEV EUI Step 2: Power on LDS03A LDS03A Outdoor Open/Close Door Sensor 12 / 33...
  • Page 13: Uplink Payload

    Put the jumper to power on LDS03A and it will auto-join to the TTN V3 network. After join success, it will start to upload sensor data to TTN V3 and the user can see it in the panel. Uplink Payload Uplink payloads have two types: ➢...
  • Page 14: Sensor Configuration, Fport=4

    Battery Info: Check the battery voltage. Ex1: 0x0B45 = 2885mV Ex2: 0x0B49 = 2889mV 2.3.2 Sensor Configuration, FPORT=4 LDS03A will only send this command after getting the downlink command (0x26 02) from the server. Sensor Configuration FPORT=4 Size (bytes) Value...
  • Page 15: Real-Time Open/Close Status, Uplink Fport=2

    2.3.3 Real-Time Open/Close Status, Uplink FPORT=2 LDS03A will send this uplink after Device Status once join the LoRaWAN network successfully. And LDS03A will: a) periodically send this uplink every 2 hours, this interval can be changed. b) There is an Open/Close event.
  • Page 16 DR2: total payload includes 11 entries of data d) DR3: total payload includes 22 entries of data. If LDS03A doesn’t have any data in the polling time. It will uplink 11 bytes of 0 Downlink: 0x31 61 8E 57 40 61 8E 81 70 05...
  • Page 17: Datalog Feature

    Once LDS03A Joined the LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to LDS03A. If LDS03A fails to get the time from the server, LDS03A will use the internal time and wait for the next time request [via Device Status (FPORT=5)].
  • Page 18: Poll Sensor Value

    For example, downlink command 31 618E5740 618E8170 05 Is to check 2021/11/12 12:00:00 to 2021/11/12 15:00:00’s data Uplink Internal =5s,means LDS03A will send one packet every 5s. range 5~255s. 2.4.4 Decoder in TTN V3 Please check the decoder from this link: https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDS03A/paylo...
  • Page 19: Show Data On Datacake

    TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps: Step 1: Link TTNv3 to Datacake https://docs.datacake.de/lorawan/lns/thethingsindustries#create-integration-on-tti Step 2: Configure LDS03A in Datacake LDS03A Outdoor Open/Close Door Sensor 19 / 33...
  • Page 20 LDS03A Outdoor Open/Close Door Sensor 20 / 33...
  • Page 21 LDS03A Outdoor Open/Close Door Sensor 21 / 33...
  • Page 22 LDS03A Outdoor Open/Close Door Sensor 22 / 33...
  • Page 23: Configure Lds03A Via At Command Or Lorawan Downlink

    ✓ General system settings like uplink interval. ✓ LoRaWAN protocol & radio related command. They are the same for all Dragino Devices which support DLWS-005 LoRaWAN Stack(Note**). These commands can be found on the wiki: http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command ➢ Commands special design for LDS03A...
  • Page 24: Set Password

    End node will only send packets in TDC time. End node will send packets in TDC time or status AT+DISALARM=0 change for door sensor Downlink Command: 0xA7 01 //Same As AT+DISALARM=1 0xA7 00 // Same As AT+DISALARM=0 LDS03A Outdoor Open/Close Door Sensor 24 / 33...
  • Page 25: Clear Count

    LoRaWAN server must support v1.0.3 protocol to reply to this command. SYNCMOD is set to 1 by default. If user wants to set a different time from the LoRaWAN server, the user needs to set this to 0. LDS03A Outdoor Open/Close Door Sensor 25 / 33...
  • Page 26: Alarm Base On Timeout

    0x28 00 // Same As AT+SYNCMOD=0 Alarm Base on Timeout LDS03A can monitor the timeout for a status change, this feature can be used to monitor some events such as door opening too long etc. User configures this feature by using:...
  • Page 27: Clear Flash Record

    Feature: Clear flash storage for data log feature. AT Command: AT+CLRDTA Command Example Function Response Clear flash storage for data Clear all stored sensor data… AT+CLRDTA log feature. Downlink Command: ➢ Example: 0xA301 //Same as AT+CLRDTA LDS03A Outdoor Open/Close Door Sensor 27 / 33...
  • Page 28: Battery & How To Replace

    And make sure the positive and negative pins match. Power Consumption Analyze Dragino Battery-powered products are all running in Low Power mode. We have an updated battery calculator which base on the measurement of the real device. Users can use this calculator to check the battery life and calculate the battery life if want to use different transmit intervals.
  • Page 29: Battery Note

    The recommended minimum period for use of this battery is 5 minutes. If you use a shorter period to transmit LoRa, then the battery life may be decreased. LDS03A Outdoor Open/Close Door Sensor 29 / 33...
  • Page 30: Replace The Battery

    4.3.2 Replace the battery You can change the battery in the LDS03A.The type of battery is not limited as long as the output is between 3v to 3.6v. The default battery pack of LDS03A includes an ER18505 plus super capacitor. If user can’t find this pack locally, they can find ER18505 or equivalence, which will also work in most cases.
  • Page 31: Faq

    5. FAQ How to use AT Command to configure LDS03A LDS03A UART connection photo In the PC, you need to set the serial baud rate to 9600 to access the serial console for LSN50. LSN50 will output system info once power on as below:...
  • Page 32: How To Upgrade The Firmware

    How to change the LoRa Frequency Bands/Region? Users can follow the introduction for how to upgrade image. When downloading the images, choose the required image file for download. 6. Trouble Shooting LDS03A Outdoor Open/Close Door Sensor 32 / 33...
  • Page 33: Order Info

    ✓ CN470: LoRaWAN CN470 band 8. Packing Info Package Includes: ✓ LDS03A Open/Close Sensor x 1 9. 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.

Table of Contents