Wiki source code of SW3L LoRaWAN Outdoor Flow Sensor
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% style="text-align:center" %) | ||
2 | [[image:image-20220519085532-1.png||height="429" width="366"]] | ||
3 | |||
4 | |||
5 | **SW3L LoRaWAN Outdoor Flow Sensor Manual** | ||
6 | |||
7 | |||
8 | **Table of Contents:** | ||
9 | |||
10 | |||
11 | |||
12 | |||
13 | = 1. Introduction = | ||
14 | |||
15 | == 1.1 What is CPL01 LoRaWAN Pulse/Contact Sensor == | ||
16 | |||
17 | The Dragino SW3L is a LoRaWAN Flow Sensor. It detects water flow volume and uplink to IoT server via LoRaWAN network. User can use this to monitor the water usage for buildings. | ||
18 | |||
19 | SW3L is powered by 8500mAh Li-SOCI2 battery, It is designed for long term use up to 10 years. (Actually Battery life depends on the use environment, update period.) | ||
20 | |||
21 | The SW3L will send water flow volume every 20 minutes. It can also detect the water flow status and send Alarm, to avoid the waste for water usage such as broken toilet case. | ||
22 | |||
23 | 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. | ||
24 | |||
25 | 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 | ||
26 | |||
27 | *Battery life depends on how often to send data, please see [[battery analyzer>>path:#Battery]]. | ||
28 | |||
29 | == 1.2 Features == | ||
30 | |||
31 | * LoRaWAN v1.0.3 Class A protocol. | ||
32 | * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865/RU864 | ||
33 | * Upload water flow volume | ||
34 | * Monitor water waste | ||
35 | * 8500mAh industrial battery(none-rechargeable) | ||
36 | * AT Commands to change parameters | ||
37 | * Uplink on periodically and open/close event | ||
38 | * Datalog feature | ||
39 | * Remote configure parameters via LoRa Downlink | ||
40 | * Firmware upgradable via program port | ||
41 | * Wall Mountable | ||
42 | * Outdoor Use | ||
43 | |||
44 | == 1.3 Installation == | ||
45 | |||
46 | Each SW3L package is shipped with a flow sensor. Install the flow sensor into water pipe with correct flow direction to start monitoring. | ||
47 | |||
48 | == 1.4 Storage & Operation Temperature == | ||
49 | |||
50 | -40°C to +85°C | ||
51 | |||
52 | == 1.5 Applications == | ||
53 | |||
54 | * Flow Sensor application | ||
55 | * Water Control | ||
56 | * Toilet Flow Sensor | ||
57 | * Monitor Waste water | ||
58 | |||
59 | == 1.6 Flow Sensor Spec == | ||
60 | |||
61 | SW3L-004: DW-004 Flow Sensor: diameter: G1/2” / DN15. 450 pulse = 1 L | ||
62 | |||
63 | SW3L-006: DW-006 Flow Sensor: diameter: G3/4” / DN20. 360 pulse = 1 L | ||
64 | |||
65 | SW3L-010: DW-010 Flow Sensor: diameter: G 1” / DN25. 60 pulse = 1 L | ||
66 | |||
67 | == 1.7 Mechanical == | ||
68 | |||
69 | [[image:1652922789057-479.png]] | ||
70 | |||
71 | [[image:1652922797548-885.png]] | ||
72 | |||
73 | **DW-004 Flow Sensor: diameter: G1/2” / DN15. 450 pulse = 1 L** | ||
74 | |||
75 | [[image:image-20220519091350-1.png||height="385" width="722"]] | ||
76 | |||
77 | **006: DW-006 Flow Sensor: diameter: G3/4” / DN20. 360 pulse = 1 L** | ||
78 | |||
79 | [[image:image-20220519091423-2.png||height="258" width="723"]] | ||
80 | |||
81 | * | ||
82 | ** 010: DW-010 Flow Sensor: diameter: G 1” / DN25. 60 pulse = 1 L | ||
83 | |||
84 | [[image:image-20220519091423-3.png||height="448" width="724"]] | ||
85 | |||
86 | == 1.8 Pin Definitions and Switch == | ||
87 | |||
88 | [[image:1652923899427-927.png||height="372" width="723"]] | ||
89 | |||
90 | === 1.8.1 Pin Definition === | ||
91 | |||
92 | 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/ | ||
93 | |||
94 | === 1.8.2 Jumper JP2(Power ON/OFF) === | ||
95 | |||
96 | Power on Device when putting this jumper. | ||
97 | |||
98 | === 1.8.3 BOOT MODE / SW1 === | ||
99 | |||
100 | ((( | ||
101 | 1) ISP: upgrade mode, device won't have any signal in this mode. but ready for upgrade firmware. LED won't work. Firmware won’t run. | ||
102 | 2) Flash: work mode, the device starts to work and send out console output for further debug | ||
103 | ))) | ||
104 | |||
105 | === 1.8.4 Reset Button === | ||
106 | |||
107 | Press to reboot the device. | ||
108 | |||
109 | === 1.8.5 LED === | ||
110 | |||
111 | It will flash: | ||
112 | 1) Boot the device in flash mode | ||
113 | 2) Send an uplink packe |