Dragino CPL01 Manual

Dragino CPL01 Manual

Lorawan outdoor pulse/contact sensor

Advertisement

Quick Links

CPL01 LoRaWAN Outdoor Pulse/Contact Sensor
last modified by Xiaoling
on 2022/07/01 18:01

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Dragino CPL01

  • Page 1 CPL01 LoRaWAN Outdoor Pulse/Contact Sensor last modified by Xiaoling on 2022/07/01 18:01...
  • Page 2: Table Of Contents

    User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor Table of Contents 1. Introduction ..................................4 1.1 What is CPL01 LoRaWAN Pulse/Contact Sensor ....................4 1.2 Features ..................................4 1.3 Installation ..................................5 1.4 Storage & Operation Temperature ..........................5 1.5 Applications      ...
  • Page 3 User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor Table of Contents: • 1. Introduction • 1.1 What is CPL01 LoRaWAN Pulse/Contact Sensor • 1.2 Features • 1.3 Installation • 1.4 Storage & Operation Temperature • 1.5 Applications      ...
  • Page 4: Introduction

    User can also disable the uplink for each open/close event, instead, device can count each open event and uplink periodically. CPL01 has the open alarm feature, user can set this feature so device will send Alarm if the contact has been open for a certain time.
  • Page 5: Installation

    User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor 1.3 Installation Connect CPL01 to an Open Close sensor like below. So it can detect the open/close event. 1.4 Storage & Operation Temperature -40°C to +85°C Page 5 / 32 - last modified by Xiaoling on 2022/07/01 18:01...
  • Page 6: Applications

    User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor 1.5 Applications  • Open/Close Detection • Pulse meter application • Dry Contact Detection 1.6 Mechanical Page 6 / 32 - last modified by Xiaoling on 2022/07/01 18:01...
  • Page 7: Pin Definitions And Switch

    1.7 Pin Definitions and Switch 1.7.1 Pin Definition CPL01 is pre-configured to connect to two external wires. 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/ 1.7.2 Jumper JP2(Power ON/OFF)
  • Page 8: Operation Mode

    • In this use case, the CPL01 is connect to a dry contact sensor to detect the open/close event and send the status to the LoRaWAN server. The CPL01 will uplink different types of messages to the LoRaWAN server.
  • Page 9 User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor Users can enter these keys in the LoRaWAN Server portal. Below is the TTN V3 screenshot: Add APP EUI in the application. Page 9 / 32 - last modified by Xiaoling on 2022/07/01 18:01...
  • Page 10 User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor Page 10 / 32 - last modified by Xiaoling on 2022/07/01 18:01...
  • Page 11 2: Power on CPL01 Put the jumper to power on CPL01 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.
  • Page 12: Uplink Payload

    The application server should parse the correct value based on FPORT settings. 2.3.1 Device Status, FPORT=5 Include device configure status. Once CPL01 Joined the network, it will uplink this message to the server. After that, CPL01 will uplink Device Status every 12 hours.
  • Page 13: Sensor Configuration, Fport=4

    Ex1: 0x0B45 = 2885mV Ex2: 0x0B49 = 2889mV 2.3.2 Sensor Configuration, FPORT=4 CPL01 will only send this command after getting the downlink command (0x26 02) from the server. Page 13 / 32 - last modified by Xiaoling on 2022/07/01 18:01...
  • Page 14 • Disalarm: (default: 0) If Disalarm = 1, CPL01 will only send uplink at every TDC periodically. This is normally use for pulse meter application, in this application, there are many disconnect/connect event, and platform only care about the total number of pulse.
  • Page 15: Real-Time Open/Close Status, Uplink Fport=2

    User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor 2.3.3 Real-Time Open/Close Status, Uplink FPORT=2 CPL01 will send this uplink after Device Status once join the LoRaWAN network successfully. And CPL01 will: periodically send this uplink every 2 hours, this interval can be changed.
  • Page 16: Historical Door Open/Close Event, Fport=3

    DR2: total payload includes 11 entries of data d) DR3: total payload includes 22 entries of data. If CPL01 doesn’t have any data in the polling time. It will uplink 11 bytes of 0 Downlink: 0x31 61 E9 3A D4 61 E9 3D E0 05...
  • Page 17: Datalog Feature

    User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor   [TRUE, CLOSE, 9190, 3, 0, 2022-01-20 10:35:48], [TRUE, CLOSE, 9190, 3, 0, 2022-01-20 10:36:21], [FALSE, OPEN, 0, 3, 0, 2022-01-20 10:39:04], [TRUE, CLOSE, 2, 3, 0, 2022-01-20 10:39:16],...
  • Page 18: Set Device Time

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

    User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor Timestamp start Timestamp end Uplink Interval Timestamp start and Timestamp end-use Unix TimeStamp format as mentioned above. Devices will reply with all data logs during this period, using the uplink interval.
  • Page 20 User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor    Page 20 / 32 - last modified by Xiaoling on 2022/07/01 18:01...
  • Page 21 User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor Page 21 / 32 - last modified by Xiaoling on 2022/07/01 18:01...
  • Page 22 User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor Page 22 / 32 - last modified by Xiaoling on 2022/07/01 18:01...
  • Page 23 User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor Page 23 / 32 - last modified by Xiaoling on 2022/07/01 18:01...
  • Page 24: Configure Cpl01 Via At Command Or Lorawan Downlink

    User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor 3. Configure CPL01 via AT Command or LoRaWAN Downlink Use can configure CPL01 via AT Command or LoRaWAN Downlink. • AT Command Connection: See FAQ. Page 24 / 32 - last modified by Xiaoling on 2022/07/01 18:01...
  • Page 25: Set Transmit Interval Time

    • 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: End Device AT Commands and Downlink Command  ...
  • Page 26: Quit At Command

    0xA7 00 // Same As AT+DISALARM=0 3.5 Alarm Base on Timeout CPL01 can monitor the timeout for a status change, this feature can be used to monitor some events such as door opening too long etc. Related Parameters are: 1. Keep Status: Status to be monitor...
  • Page 27: Clear Flash Record

    AT Command: AT+CLRDTA Downlink Command: • Example: 0xA301 //Same as AT+CLRDTA 3.7 Set the sensor mode Feature: LDS03A and CPL01 use the same firmware. User is possible to switch between this two models. AT Command: AT+MOD Command Example Function Response AT+MOD =1 Set the sensor to LDS03A.
  • Page 28: Set Trigger Mode

    User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor 3.8 Set trigger mode Feature: Set the trigger interrupt mode. AT Command: AT+TTRMOD   Downlink Command: • Example: 0xA401 //Same as AT+ TTRMOD =1 3.9 Set the calculate flag Feature: Set the calculate flag...
  • Page 29: Battery & How To Replace

    User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor 4. Battery & how to replace 4.1 Battery Info CPL01 is equipped with a 8500mAH ER18505 Li-SOCI2 battery. The battery is an un-rechargeable battery with a low discharge rate targeting 8~10 years of use. This type of battery is commonly used in IoT targets for long-term running, such as water meters.
  • Page 30: Battery Life Analyze

    User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor 4.3 Battery Life Analyze Dragino battery powered products are all run in Low Power mode. User can check the guideline from this link to calculate the estimate battery life: https://www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/...
  • Page 31: How To Upgrade The Firmware

    User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor 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: Trouble Shooting

    User Manual for LoRaWAN End Nodes - CPL01 LoRaWAN Outdoor Pulse/Contact Sensor 6. Trouble Shooting 6.1  AT Commands input doesn't work In the case if user can see the console output but can't type input to the device. Please check if you already include...

Table of Contents