www.dragino.com
LDS03A Outdoor Open/Close Door Sensor 2 / 33
1. Introduction..............................................................................................................................4
1.1 What is LDS03A Open/Close Door Sensor ..................................................................................4
1.2 Features......................................................................................................................................6
1.3 Storage & Operation Temperature.............................................................................................6
1.4 Applications................................................................................................................................6
1.5 Mechanical.................................................................................................................................7
1.6 Pin Definitions and Switch..........................................................................................................8
1.6.1 Pin Definition ....................................................................................................................8
1.6.2 Jumper JP2(Power ON/OFF) .............................................................................................8
1.6.3 BOOT MODE / SW1...........................................................................................................8
1.6.4 Reset Button .....................................................................................................................8
1.6.5 LED....................................................................................................................................8
2. Operation Mode .......................................................................................................................9
2.1 How it works?.............................................................................................................................9
2.2 Example to use for LoRaWAN network.......................................................................................9
2.3 Uplink Payload..........................................................................................................................13
2.3.1 Device Status, FPORT=5..................................................................................................13
2.3.2 Sensor Configuration, FPORT=4......................................................................................14
2.3.3 Real-Time Open/Close Status, Uplink FPORT=2..............................................................15
2.3.4 Historical Door Open/Close Event, FPORT=3..................................................................15
2.4 Datalog Feature........................................................................................................................17
2.4.1 Unix TimeStamp..............................................................................................................17
2.4.2 Set Device Time ..............................................................................................................17
2.4.3 Poll sensor value.............................................................................................................18
2.4.4 Decoder in TTN V3..........................................................................................................18
2.5 Show data on Datacake............................................................................................................19
3. Configure LDS03A via AT Command or LoRaWAN Downlink....................................................23
3.1 Set Transmit Interval Time........................................................................................................23
3.2 Set Password ............................................................................................................................24
3.3 Quit AT Command ....................................................................................................................24
3.4 Enable / Disable Alarm.............................................................................................................24
3.5 Clear count ...............................................................................................................................25
3.6 Set system time ........................................................................................................................25