Dragino SW3L User Manual

Dragino SW3L User Manual

Lorawan outdoor flow sensor

Advertisement

Quick Links

SW3L LoRaWAN Outdoor Flow Sensor
last modified by Xiaoling
on 2022/06/29 17:10

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Dragino SW3L

  • Page 1 SW3L LoRaWAN Outdoor Flow Sensor last modified by Xiaoling on 2022/06/29 17:10...
  • Page 2: Table Of Contents

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

    Alarm, to avoid the waste for water usage such as broken toilet case. SW3L is designed for both indoor and outdoor use. It has a weatherproof enclosure and industrial level battery to work in low to high temperatures. Each SW3L 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 5: Features

    • Firmware upgradable via program port • Wall Mountable • Outdoor Use 1.3 Installation Each SW3L package is shipped with a flow sensor. Install the flow sensor into water pipe with correct flow direction to start monitoring. 1.4 Storage & Operation Temperature -40°C to +85°C 1.5 Applications...
  • Page 6 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor DW-004 Flow Sensor: diameter: G1/2” / DN15.  450 pulse = 1 L 006: DW-006 Flow Sensor: diameter: G3/4” / DN20.  360 pulse = 1 L Page 6 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 7 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor 010: DW-010 Flow Sensor: diameter: G 1” / DN25.   60 pulse = 1 L Page 7 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 8: Pin Definitions And Switch

    1.8 Pin Definitions and Switch 1.8.1 Pin Definition SW3L 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/...
  • Page 9: Operation Mode

    • In this use case, the SW3L is connected into water line to measure water flow and send the status to the LoRaWAN server. The SW3L will uplink different types of messages to the LoRaWAN server. See...
  • Page 10 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Users can enter these keys in the LoRaWAN Server portal. Below is the TTN V3 screenshot: Add APP EUI in the application. Page 10 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 11 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 11 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 12 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 12 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 13 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Add APP KEY and DEV EUI Step 2: Power on SW3L Page 13 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 14: Uplink Payload

    User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Put the jumper to power on SW3L 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 15: Device Status, Fport=5

      2.3.1 Device Status, FPORT=5 Include device configure status. Once SW3L Joined the network, it will uplink this message to the server. After that, SW3L will uplink Device Status every 12 hours. Users can also use the downlink command(0x26 01) to ask SW3L to resend this uplink. This uplink payload also includes the DeviceTimeReq to get time.
  • Page 16: Sensor Configuration, Fport=4

    Shows the configure value of Alarm for continuously water flow 2.3.3 Water Flow Value, Uplink FPORT=2 SW3L will send this uplink after Device Status once join the LoRaWAN network successfully. And SW3L will: periodically send this uplink every 20 minutes, this interval can be changed.
  • Page 17 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Size (bit) Value Calculate Flag Alarm: 0: No Alarm; 1: Alarm • Calculate Flag The calculate flag is a user define field, IoT server can use this filed to handle different meter with different pulse factor.
  • Page 18: Historical Water Flow Status, Fport=3

    DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) c) DR2: total payload includes 11 entries of data d) DR3: total payload includes 22 entries of data. If SW3L doesn’t have any data in the polling time. It will uplink 11 bytes of 0   Downlink: 0x31 62 46 B1 F0 62 46 B3 94 07 Page 18 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 19: Datalog Feature

    User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Uplink: 00 00 01 00 00 00 00 62 46 B2 26 00 00 01 00 00 00 00 62 46 B2 5D 00 00 01 00 00 00 00 62 46 B2 99 00 00 01 00 00 00 00 62 46 B2 D5 00 00 01 00 00 01 15 62 46 B3 11 00 00 01 00 00 01 1F 62 46 B3 7E  ...
  • Page 20: Unix Timestamp

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

    User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor 2.4.3 Poll sensor value Users can poll sensor values based on timestamps. Below is the downlink command. Downlink Command to poll Open/Close status (0x31) 1byte 4bytes 4bytes 1byte...
  • Page 22 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Step 1: Link TTNv3 to Datacake https://docs.datacake.de/lorawan/lns/thethingsindustries#create-integration-on-tti Step 2: Configure SW3L in Datacake      Page 22 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 23 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 23 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 24 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 24 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 25 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 25 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 26 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 26 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 27 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 27 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 28: Configure Sw3L 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: End Device AT Commands and Downlink Command •...
  • Page 29: Set Password

    User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Downlink Command: 0x01 Format: Command Code (0x01) followed by 3 bytes time value. If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01.
  • Page 30: Clear Flash Record

    •   Example: 3 minutes, if SW3L detect a start of water flow event and didn’t detect a stop event within Alarm timer, SW3L will send an Alarm to indicate a water flow abnormal alarm.  So for example, If we set stop duration=15s and Alarm Timer=3minutes. If the toilet water flow continuously for more than 3 minutes, Sensor will send an alarm (in Confirmed MODE) to platform. ...
  • Page 31: Set Count Number

    User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Command Example Function Response AT+CALCFLAG =1 Set the calculate flag to 1. AT+CALCFLAG =2 Set the calculate flag to 2. Downlink Command: • Example: 0XA501 //Same as AT+CALCFLAG =1 3.7 Set count number...
  • Page 32: Battery Note

    User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. Minimum Working Voltage for the SW3L: SW3L:  2.45v ~ 3.6v 4.1.1 Battery Note...
  • Page 33: Battery Life Analyze

    User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow 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/...
  • Page 34: How To Upgrade The Firmware

    User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor   5.2 How to upgrade the firmware? A new firmware might be available for: • Support new features • For bug fix • Change LoRaWAN bands. Instruction for how to upgrade: Firmware Upgrade...
  • Page 35: Can I Connect 3Rd Party Flow Sensor Other Than The Default One

    2. Make sure the pulse output voltage of 3rd party flow sensor is less than 5v. 3. It is not recommended to use SW3L to power the external flow meter, unless you are sure the external flow sensor is low power ( several uA). Otherwise the battery of SW3L will be running out soon.
  • Page 36: Packing Info

    User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor 7. Packing Info Package Includes: • SW3L Water Flow Sensor x 1 8. Support • Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support.
  • Page 37 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 37 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 38 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 38 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 39 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 39 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 40 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 40 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 41 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 41 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 42 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 42 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 43 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 43 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 44 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 44 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 45 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 45 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 46 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 46 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 47 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 47 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 48 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 48 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 49 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 49 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 50 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 50 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 51 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 51 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 52 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 52 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 53 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 53 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 54 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 54 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 55 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 55 / 56 - last modified by Xiaoling on 2022/06/29 17:10...
  • Page 56 User Manual for LoRaWAN End Nodes - SW3L LoRaWAN Outdoor Flow Sensor Page 56 / 56 - last modified by Xiaoling on 2022/06/29 17:10...

This manual is also suitable for:

Sw3l-004Sw3l-006Sw3l-010

Table of Contents