www.dragino.com LDS01 – LoRaWAN Door Sensor User Manual Document Version: 1.0.1 Image Version: v1.0 Version Description Date 1.
www.dragino.com 1. Introduction .............................................................................................................................. 3 1.1 What is LDS01 LoRaWAN Door Sensor ....................................................................................... 3 1.2 Features ...................................................................................................................................... 4 1.3 Applications .................................................
www.dragino.com 1. Introduction 1.1 What is LDS01 LoRaWAN Door Sensor The Dragino LDS01 is a LoRaWAN Door Sensor. It detects door open/close status and uplink to LoRaWAN network. The LDS01 is small sensor; the dimension is as small as 64 x 30 x 14 mm. LDS01 is powered by a CR2032 coin battery, in a good LoRaWAN Network Coverage case, it can transmit as many as 12,000 uplink packets (base on SF7, 14dB). in poor LoRaWAN network coverage, it can transmit ~ 1,300 uplink packets (base on SF10, 18dB).
www.dragino.com 1.2 Features LoRaWAN Class A v1.0.3 Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865/RU864 SX1262 LoRa Core Door Open/Close detect Door open/close statistics CR2032 battery powered AT Commands to change parameters Uplink on periodically and open/close action Remote configure parameters via LoRa Downlink Firmware upgradable via program port 1.
www.dragino.com 2. Power ON LDS01 When receive the LDS01, please open the enclosure and remove the isolated paper and PRESS RESET so the coin battery can power on the device and device runs on low power mode. The LED will blink when devices is powered.
www.dragino.com 3.
www.dragino.com 4. Operation Mode 4.1 How it works? The LDS01 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 LDS01. 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.
www.dragino.com User can enter this key in their LoRaWAN Server portal. Below is TTN screen shot: Add APP EUI in the application. Add APP KEY and DEV EUI Step 2: Power on LDS01 and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
www.dragino.com 4.3 Uplink Payload Uplink Payload total 9 bytes. Size(bytes) 2 1 3 3 value Status&BAT MOD Total open Last door open Always:0x01 door events duration (unit: min) Example: Example Payload Decoder in TTN: http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDS01/Payload/ 4.
www.dragino.com If the payload=0100003C, means to control the LDS01’s Keep Alive interval to 0x00003C=60(S) Type Code 0x04 If payload = 0x04FF, it will reset the LDS01. Type Code 0xA6 Example: 0xA601: Clear Counting For LDS01: reset both count number and time. 4.5 Integrate with Mydevice Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices.
www.dragino.com Step 3: Create an account or log in Mydevices. Step 4: Search LDS01 and add DevEUI.
www.dragino.com 4.6 LEDs Action LED behavior Power On GREEN on 1s, RED 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 4.7 Battery LDS01 is powered by a CR2032 coin battery, when running in deep sleep mode, the device power consumption is ~5uA. The main power consumption is transmitting an uplink message. Depends on LoRaWAN network signal strength, the device can send different number of uplink messages.
www.dragino.com 5. Use AT Command 5.1 Access AT Command LDS01 supports AT Command set. User can use a USB to TTL adapter to configure LDS01 via use AT command, as below. USB to TTL <- -> LDS01 RX <- -> TX TX <- -> RX GND <- -> GND In PC, User needs to set serial tool(such as putty, SecureCRT) baud rate to 115200 to access to access serial console of LWL01. Below is the output for reference: The AT Access password is 123456. Each AT Command need to add an ENTER at the end before send.
www.dragino.com 6. FAQ 6.1 How to upgrade the image? User can upgrade the firmware of LWL01 for bug fix, new features, or change working region. The upgrade instruction are here: http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Instruction 6.2 How to change the LoRa Frequency Bands/Region? User can follow the introduction for how to upgrade image. When download the images, choose the required image file for download.
www.dragino.com 7. Order Info Part Number: LDS01-XXX XXX: EU433: frequency bands EU433 EU868: frequency bands EU868 KR920: frequency bands KR920 CN470: frequency bands CN470 AS923: frequency bands AS923 AU915: frequency bands AU915 US915: frequency bands US915 IN865: frequency bands IN865 CN779: frequency bands CN779 8. Packing Info Package Includes: LDS01 x 1 Dimension and weight: Device Size: 64 x 30 x 14 mm 9.