Hide last authors
Xiaoling 99.2 1 (% style="display:none" %)
Edwin Chen 1.1 2
Xiaoling 99.2 3 (% style="text-align:center" %)
4 [[image:image-20240108093525-3.png]]
Edwin Chen 1.1 5
Xiaoling 67.2 6
7
8
Xiaoling 80.2 9
Xiaoling 99.3 10 **Table of Contents :**
Ellie Zhang 30.1 11
Edwin Chen 1.1 12 {{toc/}}
13
14
15
16
17
18
kai 31.1 19 = 1. Introduction =
Edwin Chen 1.1 20
Xiaoling 99.10 21 == 1.1 What is SW3L-LB/LS LoRaWAN Flow Sensor ==
Edwin Chen 1.1 22
Xiaoling 39.6 23
Xiaoling 99.10 24 The Dragino SW3L-LB/LS is a (% style="color:blue" %)**LoRaWAN Flow Sensor**(%%). It detects water flow volume and uplink to IoT server via LoRaWAN network. User can use this to(% style="color:blue" %)** monitor the water usage for buildings.**
Edwin Chen 1.1 25
Xiaoling 99.10 26 The SW3L-LB/LS will send water flow volume every 20 minutes. It can also (% style="color:blue" %)**detect the water flow status**(%%) and (% style="color:blue" %)**send Alarm**(%%), to avoid the waste for water usage such as broken toilet case.
Edwin Chen 1.1 27
Xiaoling 99.10 28 SW3L-LB/LS is designed for both indoor and outdoor use. It has a weatherproof enclosure and industrial level battery to work in low to high temperatures.
Edwin Chen 1.1 29
Xiaoling 99.10 30 The LoRa wireless technology used in SW3L-LB/LS allows device to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption.
Edwin Chen 1.1 31
Xiaoling 99.10 32 SW3L-LB/LS (% style="color:blue" %)**supports BLE configure**(%%) and (% style="color:blue" %)**wireless OTA update**(%%) which make user easy to use.
Xiaoling 62.4 33
Xiaoling 99.10 34 SW3L-LB/LS is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery **(%%)or (% style="color:blue" %)**solar powered + li-on battery**(%%), it is designed for long term use up to 5 years.
Edwin Chen 1.1 35
Xiaoling 99.10 36 Each SW3L-LB/LS is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on.
Edwin Chen 1.1 37
Xiaoling 66.2 38 [[image:image-20230530135919-1.png||height="404" width="806"]]
Xiaoling 64.2 39
40
Edwin Chen 1.1 41 == 1.2 ​Features ==
42
Xiaoling 39.6 43
Edwin Chen 1.1 44 * LoRaWAN 1.0.3 Class A
Xiaoling 62.4 45 * Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865
Edwin Chen 1.1 46 * Ultra-low power consumption
Xiaoling 67.4 47 * Upload water flow volume
48 * Monitor water waste
49 * AT Commands to change parameters
Xiaoling 62.4 50 * supports Datalog feature
Edwin Chen 1.1 51 * Support Bluetooth v5.1 and LoRaWAN remote configure
52 * Support wireless OTA update firmware
Xiaoling 62.4 53 * Uplink on periodically and open/close event
Edwin Chen 1.1 54 * Downlink to change configure
Xiaoling 99.7 55 * 8500mAh Li/SOCl2 Battery (SW3L-LB)
56 * Solar panel + 3000mAh Li-on battery (SW3L-LS)
Edwin Chen 1.1 57
58 == 1.3 Specification ==
59
60
61 (% style="color:#037691" %)**Common DC Characteristics:**
62
Xiaoling 99.7 63 * Supply Voltage: Built-in Battery , 2.5v ~~ 3.6v
Edwin Chen 1.1 64 * Operating Temperature: -40 ~~ 85°C
65
66 (% style="color:#037691" %)**LoRa Spec:**
67
68 * Frequency Range,  Band 1 (HF): 862 ~~ 1020 Mhz
69 * Max +22 dBm constant RF output vs.
70 * RX sensitivity: down to -139 dBm.
71 * Excellent blocking immunity
72
73 (% style="color:#037691" %)**Battery:**
74
75 * Li/SOCI2 un-chargeable battery
76 * Capacity: 8500mAh
77 * Self-Discharge: <1% / Year @ 25°C
78 * Max continuously current: 130mA
79 * Max boost current: 2A, 1 second
80
81 (% style="color:#037691" %)**Power Consumption**
82
83 * Sleep Mode: 5uA @ 3.3v
84 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
85
Xiaoling 62.4 86 == 1.4 Applications ==
Edwin Chen 1.1 87
Xiaoling 62.4 88
Xiaoling 67.4 89 * Flow Sensor application
90 * Water Control
91 * Toilet Flow Sensor
92 * Monitor Waste water
Xiaoling 62.4 93
94 == 1.5 Sleep mode and working mode ==
95
96
Edwin Chen 1.1 97 (% style="color:blue" %)**Deep Sleep Mode: **(%%)Sensor doesn't have any LoRaWAN activate. This mode is used for storage and shipping to save battery life.
98
99 (% style="color:blue" %)**Working Mode:** (%%)In this mode, Sensor will work as LoRaWAN Sensor to Join LoRaWAN network and send out sensor data to server. Between each sampling/tx/rx periodically, sensor will be in IDLE mode), in IDLE mode, sensor has the same power consumption as Deep Sleep mode.
100
101
Xiaoling 62.9 102 == 1.6 Button & LEDs ==
Edwin Chen 1.1 103
104
Xiaoling 99.7 105 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/RS485-LB_Waterproof_RS485UART_to_LoRaWAN_Converter/WebHome/image-20240103160425-4.png?rev=1.1||alt="image-20240103160425-4.png"]]
Edwin Chen 1.1 106
Xiaoling 14.13 107 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
Xiaoling 99.14 108 |=(% style="width: 167px;background-color:#4F81BD;color:white" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 226px;background-color:#4F81BD;color:white" %)**Action**
Edwin Chen 1.1 109 |(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)(((
110 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once.
111 Meanwhile, BLE module will be active and user can connect via BLE to configure device.
112 )))
113 |(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:117px" %)Active Device|(% style="width:225px" %)(((
114 (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:#037691" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network.
115 (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
116 Once sensor is active, BLE module will be active and user can connect via BLE to configure device, no matter if device join or not join LoRaWAN network.
117 )))
Edwin Chen 6.1 118 |(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode.
Edwin Chen 1.1 119
Xiaoling 62.9 120 == 1.7 BLE connection ==
Edwin Chen 1.1 121
122
Xiaoling 99.11 123 SW3L-LB/LS support BLE remote configure.
Edwin Chen 1.1 124
125
126 BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case:
127
128 * Press button to send an uplink
129 * Press button to active device.
130 * Device Power on or reset.
131
132 If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode.
133
134
Xiaoling 62.9 135 == 1.8 Pin Definitions ==
Edwin Chen 1.1 136
Xiaoling 89.2 137
Saxer Lin 75.1 138 [[image:image-20230614172344-1.png]]
Edwin Chen 1.1 139
Saxer Lin 43.1 140
Xiaoling 67.4 141 == 1.9 Flow Sensor Spec ==
Saxer Lin 43.1 142
143
Xiaoling 67.4 144 (((
Edwin Chen 106.1 145 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:778px" %)
146 |=(% style="width: 103px; background-color:#4F81BD; color: white;" %)**Model**|=(% style="width: 133px; background-color: rgb(79, 129, 189); color: white;" %)SW3L-002-FE|=(% style="width: 135px; background-color: rgb(79, 129, 189); color: white;" %)**SW3L-004**|=(% style="width: 150px; background-color: rgb(79, 129, 189); color: white;" %)SW3L-006|=(% style="width: 120px; background-color: rgb(79, 129, 189); color: white;" %)SW3L-010|=(% style="width: 151px; background-color: rgb(79, 129, 189); color: white;" %)SW3L-020
147 |(% style="width:152px" %)**Probe #**|(% style="width:133px" %)DW-002-FE|(% style="width:135px" %)DW-004|(% style="width:150px" %)DW-006|(% style="width:120px" %)DW-010|(% style="width:151px" %)DW-020
148 |(% style="width:152px" %)**Diameter**|(% style="width:133px" %)G1/4" / DN10|(% style="width:135px" %)G1/2" / DN15|(% style="width:150px" %)G3/4" / DN20|(% style="width:120px" %)G1"  / DN25|(% style="width:151px" %)G2" / DN50
149 |(% style="width:152px" %)**Working Range**|(% style="width:133px" %)0.3 ~~ 6L/min|(% style="width:135px" %)1~~30L/min|(% style="width:150px" %)1~~60L/min|(% style="width:120px" %)2~~100L/min|(% style="width:151px" %)10~~300L/min
150 |(% style="width:152px" %)**Measure**|(% style="width:133px" %)1377 pulse = 1L|(% style="width:135px" %)450 pulse = 1 L|(% style="width:150px" %)390 pulse = 1 L|(% style="width:120px" %)64 pulse = 1 L|(% style="width:151px" %)12 pulse = 1 L
151 |(% style="width:152px" %)**Accurancy**|(% style="width:133px" %)±5%|(% style="width:135px" %)±5%|(% style="width:150px" %)±5%|(% style="width:120px" %)±5%|(% style="width:151px" %)±5%
152 |(% style="width:152px" %)**Power Consumption**|(% style="width:133px" %)1uA, 3.6v (Sensor Only)|(% style="width:135px" %)1uA, 3.6v (Sensor Only)|(% style="width:150px" %)1uA, 3.6v (Sensor Only)|(% style="width:120px" %)1uA, 3.6v (Sensor Only)|(% style="width:151px" %)1uA, 3.6v (Sensor Only)
153 |(% style="width:152px" %)**Max Pressure**|(% style="width:133px" %)≤0.8Mpa|(% style="width:135px" %)≤ 1.75Mpa|(% style="width:150px" %)≤ 1.75Mpa |(% style="width:120px" %)≤ 1.75Mpa|(% style="width:151px" %)≤ 1.75Mpa
154 |(% style="width:152px" %)**Temperature range**|(% style="width:133px" %)<80°C|(% style="width:135px" %)<80°C|(% style="width:150px" %)<80°C|(% style="width:120px" %)<80°C|(% style="width:151px" %)<80°C
155 |(% style="width:152px" %)**Humidity Range**|(% style="width:133px" %)35%~~90%RH (no frost)|(% style="width:135px" %)35%~~90%RH (no frost)|(% style="width:150px" %)35%~~90%RH (no frost)|(% style="width:120px" %)35%~~90%RH (no frost)|(% style="width:151px" %)35%~~90%RH (no frost)
Xiaoling 67.4 156 )))
157
Edwin Chen 107.1 158 (% style="color:red" %)**Notice: SW3L-002-FE model is none off-shore model, only valid with MOQ of 200pcs ordering. **
Xiaoling 67.4 159
Edwin Chen 107.1 160
Saxer Lin 77.1 161 == 1.10 Mechanical ==
Xiaoling 67.4 162
Xiaoling 99.7 163 === 1.10.1 for LB version ===
Xiaoling 67.4 164
Xiaoling 99.7 165 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DDS75-LB_LoRaWAN_Distance_Detection_Sensor_User_Manual/WebHome/image-20240105152536-3.png?rev=1.1||alt="image-20240105152536-3.png"]]
Edwin Chen 1.1 166
167
Edwin Chen 106.1 168 (% style="color:blue" %)**002-FE:  diameter: G1/4” / DN10.  1377 pulse = 1 L**
169
170 [[image:image-20240209233838-1.png]]
171
172
Xiaoling 104.4 173 (% style="color:blue" %)**004: DW-004 Flow Sensor: diameter: G1/2” / DN15.  450 pulse = 1 L**
Xiaoling 67.4 174
175 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SW3L%20LoRaWAN%20Outdoor%20Flow%20Sensor/WebHome/image-20220519091350-1.png?width=722&height=385&rev=1.1||alt="image-20220519091350-1.png"]]
176
177
178 (% style="color:blue" %)**006: DW-006 Flow Sensor: diameter: G3/4” / DN20.  390 pulse = 1 L**
179
180 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SW3L%20LoRaWAN%20Outdoor%20Flow%20Sensor/WebHome/image-20220519091423-2.png?width=723&height=258&rev=1.1||alt="image-20220519091423-2.png"]]
181
182
183 (% style="color:blue" %)**010: DW-010 Flow Sensor: diameter: G 1” / DN25. 64 pulse = 1 L**
184
185 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SW3L%20LoRaWAN%20Outdoor%20Flow%20Sensor/WebHome/image-20220519091423-3.png?width=724&height=448&rev=1.1||alt="image-20220519091423-3.png"]]
186
187
Xiaoling 95.4 188 (% style="color:blue" %)**020: DW-020 Flow Sensor: diameter: G 2”/ DN50.  12 pulse = 1 L**
Edwin Chen 95.1 189
Xiaoling 104.2 190 [[image:image-20240125090731-1.png]]
Edwin Chen 95.1 191
192
Xiaoling 99.7 193 === 1.10.2 for LS version ===
194
195
196 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SN50v3-LB/WebHome/image-20231231203439-3.png?width=886&height=385&rev=1.1||alt="image-20231231203439-3.png"]]
197
198
Xiaoling 99.12 199 = 2. Configure SW3L-LB/LS to connect to LoRaWAN network =
Edwin Chen 1.1 200
201 == 2.1 How it works ==
202
203
Xiaoling 99.12 204 The SW3L-LB/LS is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and press the button to activate the SW3L-LB/LS. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.
Edwin Chen 1.1 205
Xiaoling 64.2 206 (% style="display:none" %) (%%)
Edwin Chen 1.1 207
208 == 2.2 ​Quick guide to connect to LoRaWAN server (OTAA) ==
209
210
211 Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LPS8v2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] as a LoRaWAN gateway in this example.
212
Xiaoling 62.5 213 The LPS8v2 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server.
Edwin Chen 1.1 214
Xiaoling 66.2 215 [[image:image-20230530135929-2.png||height="404" width="806"]](% style="display:none" %)
Edwin Chen 1.1 216
Xiaoling 64.2 217
Xiaoling 99.13 218 (% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from SW3L-LB/LS.
Edwin Chen 1.1 219
Xiaoling 99.13 220 Each SW3L-LB/LS is shipped with a sticker with the default device EUI as below:
Edwin Chen 1.1 221
Ellie Zhang 30.1 222 [[image:image-20230426084152-1.png||alt="图片-20230426084152-1.png" height="233" width="502"]]
Edwin Chen 1.1 223
224
225 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
226
227
228 (% style="color:blue" %)**Register the device**
229
Xiaoling 14.13 230 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/1654935135620-998.png?rev=1.1||alt="1654935135620-998.png"]]
Edwin Chen 1.1 231
232
233 (% style="color:blue" %)**Add APP EUI and DEV EUI**
234
Ellie Zhang 30.1 235 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/image-20220611161308-4.png?width=753&height=551&rev=1.1||alt="图片-20220611161308-4.png"]]
Edwin Chen 1.1 236
237
238 (% style="color:blue" %)**Add APP EUI in the application**
239
240
Ellie Zhang 30.1 241 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/image-20220611161308-5.png?width=742&height=601&rev=1.1||alt="图片-20220611161308-5.png"]]
Edwin Chen 1.1 242
243
244 (% style="color:blue" %)**Add APP KEY**
245
Ellie Zhang 30.1 246 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/image-20220611161308-6.png?width=744&height=485&rev=1.1||alt="图片-20220611161308-6.png"]]
Edwin Chen 1.1 247
248
Xiaoling 99.13 249 (% style="color:blue" %)**Step 2:**(%%) Activate on SW3L-LB/LS
Edwin Chen 1.1 250
251
Xiaoling 99.13 252 Press the button for 5 seconds to activate the SW3L-LB/LS.
Edwin Chen 6.1 253
Edwin Chen 1.1 254 (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:blue" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network. (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
255
256 After join success, it will start to upload messages to TTN and you can see the messages in the panel.
257
258
259 == 2.3 ​Uplink Payload ==
260
261 === 2.3.1 Device Status, FPORT~=5 ===
262
263
Xiaoling 99.13 264 Include device configure status. Once SW3L-LB/LS Joined the network, it will uplink this message to the server. After that, SW3L-LB/LS will uplink Device Status every 12 hours.
Edwin Chen 1.1 265
Xiaoling 99.13 266 Users can also use the downlink command**(0x26 01)** to ask SW3L-LB/LS to resend this uplink. This uplink payload also includes the DeviceTimeReq to get time.
Xiaoling 67.6 267
Edwin Chen 1.1 268 The Payload format is as below.
269
Xiaoling 14.15 270 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
Xiaoling 99.20 271 |(% colspan="6" style="background-color:#4f81bd; color:white" %)**Device Status (FPORT=5)**
Edwin Chen 1.1 272 |(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2**
Xiaoling 96.5 273 |(% style="width:103px" %)Value|(% style="width:72px" %)Sensor Model|Firmware Version|(% style="width:91px" %)Frequency Band|(% style="width:86px" %)Sub-band|(% style="width:44px" %)BAT
Edwin Chen 1.1 274
275 Example parse in TTNv3
276
Saxer Lin 75.1 277 [[image:image-20230614172520-3.png||height="169" width="869"]]
Edwin Chen 1.1 278
279
Xiaoling 99.13 280 (% style="color:#037691" %)**Sensor Model**(%%): For SW3L-LB/LS, this value is 0x1F
Edwin Chen 1.1 281
282 (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
283
284 (% style="color:#037691" %)**Frequency Band**:
285
Xiaoling 77.10 286 0x01: EU868
Edwin Chen 1.1 287
Xiaoling 77.10 288 0x02: US915
Edwin Chen 1.1 289
Xiaoling 77.10 290 0x03: IN865
Edwin Chen 1.1 291
Xiaoling 77.10 292 0x04: AU915
Edwin Chen 1.1 293
Xiaoling 77.10 294 0x05: KZ865
Edwin Chen 1.1 295
Xiaoling 77.10 296 0x06: RU864
Edwin Chen 1.1 297
Xiaoling 77.10 298 0x07: AS923
Edwin Chen 1.1 299
Xiaoling 77.10 300 0x08: AS923-1
Edwin Chen 1.1 301
Xiaoling 77.10 302 0x09: AS923-2
Edwin Chen 1.1 303
Xiaoling 77.10 304 0x0a: AS923-3
Edwin Chen 1.1 305
Xiaoling 77.10 306 0x0b: CN470
Edwin Chen 1.1 307
Xiaoling 77.10 308 0x0c: EU433
Edwin Chen 1.1 309
Xiaoling 77.10 310 0x0d: KR920
Edwin Chen 1.1 311
Xiaoling 77.10 312 0x0e: MA869
Edwin Chen 1.1 313
314
315 (% style="color:#037691" %)**Sub-Band**:
316
317 AU915 and US915:value 0x00 ~~ 0x08
318
319 CN470: value 0x0B ~~ 0x0C
320
321 Other Bands: Always 0x00
322
323
324 (% style="color:#037691" %)**Battery Info**:
325
326 Check the battery voltage.
327
328 Ex1: 0x0B45 = 2885mV
329
330 Ex2: 0x0B49 = 2889mV
331
332
Xiaoling 62.5 333 === 2.3.2 Sensor Configuration, FPORT~=4 ===
Edwin Chen 1.1 334
335
Xiaoling 99.13 336 SW3L-LB/LS will only send this command after getting the downlink command **(0x26 02)** from the server.
Edwin Chen 1.1 337
Xiaoling 77.10 338 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
Xiaoling 99.20 339 |(% style="background-color:#4f81bd; color:white; width:70px" %) **Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:105px" %)**3**|(% style="background-color:#4f81bd; color:white; width:60px" %)**1**|(% style="background-color:#4f81bd; color:white; width:96px" %)**1**|(% style="background-color:#4f81bd; color:white; width:105px" %)**2**|(% style="background-color:#4f81bd; color:white; width:74px" %)**1**
Xiaoling 96.3 340 |Value|(% style="width:104px" %)TDC(unit:sec)|(% style="width:43px" %)N/A|(% style="width:91px" %)Stop Timer|(% style="width:100px" %)Alarm Timer|(% style="width:69px" %)Reserve
Xiaoling 62.5 341
Saxer Lin 90.1 342 Example parse in TTNv3
343
344 [[image:image-20230614172555-4.png||height="151" width="853"]]
345
346
Xiaoling 88.2 347 * (% style="color:blue" %)**TDC: (default: 0x0004B0)**
Edwin Chen 1.1 348
Xiaoling 67.7 349 Uplink interval for the total pulse count, default value is 0x0004B0 which is 1200 seconds = 20 minutes.
Saxer Lin 58.1 350
351
Xiaoling 88.2 352 * (% style="color:blue" %)**STOP Duration & Alarm Timer**
Edwin Chen 1.1 353
Xiaoling 67.14 354 Shows the configure value of [[Alarm for continuously water flow>>||anchor="H3.3.4Alarmforcontinuouslywaterflow"]]
Edwin Chen 1.1 355
356
Xiaoling 67.7 357 === 2.3.3 Water Flow Value, Uplink FPORT~=2 ===
Edwin Chen 1.1 358
Xiaoling 67.7 359
Xiaoling 62.5 360 (((
Xiaoling 99.13 361 SW3L-LB/LS will send this uplink **after** Device Status once join the LoRaWAN network successfully. And SW3L-LB/LS will:
Xiaoling 62.5 362 )))
Edwin Chen 1.1 363
Xiaoling 62.5 364 (((
Xiaoling 67.14 365 periodically send this uplink every 20 minutes, this interval [[can be changed>>||anchor="H3.3.1SetTransmitIntervalTime"]].
Xiaoling 62.5 366 )))
Edwin Chen 1.1 367
Xiaoling 62.5 368 (((
Xiaoling 67.7 369 Uplink Payload totals 11 bytes.
Xiaoling 62.5 370 )))
Edwin Chen 1.1 371
Xiaoling 86.2 372 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
Xiaoling 99.15 373 |=(% colspan="6" style="width: 515px; background-color:#4F81BD;color:white" %)**Water Flow Value,  FPORT=2**
Xiaoling 86.4 374 |(% style="width:50px" %)**Size(bytes)**|(% style="width:110px" %)**1**|(% style="width:120px" %)**4**|(% style="width:110px" %)**1**|(% style="width:55px" %)**1**|(% style="width:70px" %)**4**
Xiaoling 96.5 375 |(% style="width:110px" %)Value|(% style="width:81px" %)Calculate Flag & [[Alarm>>||anchor="H3.3.4Alarmforcontinuouslywaterflow"]]|(% style="width:95px" %)(((
Xiaoling 67.7 376 Total pulse Or Last Pulse
Saxer Lin 86.1 377 )))|(% style="width:78px" %)(((
Xiaoling 86.2 378 MOD & PA4_status & PB15_status
Saxer Lin 86.1 379 )))|(% style="width:92px" %)Reserve(0x01)|(% style="width:134px" %)[[Unix TimeStamp>>||anchor="H2.5.2UnixTimeStamp"]]
380
Saxer Lin 81.1 381 **Calculate Flag & Alarm:**
Saxer Lin 76.1 382
Xiaoling 79.2 383 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
Xiaoling 99.20 384 |(% style="background-color:#4f81bd; color:white; width:70px" %)**Size(bit)**|(% style="background-color:#4f81bd; color:white; width:70px" %)**[bit7:bit6]**|(% style="background-color:#4f81bd; color:white; width:90px" %)**[bit5:bit2]**|(% style="background-color:#4f81bd; color:white; width:140px" %)**bit1**|(% style="background-color:#4f81bd; color:white; width:130px" %)**bit0**
Xiaoling 96.4 385 |(% style="width:88px" %)Value|(% style="width:117px" %)Reserve|(% style="width:117px" %)Calculate Flag|(% style="width:169px" %)Alarm: 0: No Alarm; 1: Alarm|(% style="width:150px" %)TDC flag 0:No;1:Yes
Edwin Chen 1.1 386
Saxer Lin 86.1 387 **MOD & PA4_status & PB15_status:**
Edwin Chen 1.1 388
Xiaoling 86.6 389 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:230px" %)
Xiaoling 99.20 390 |(% style="background-color:#4f81bd; color:white; width:50px" %)**Size(bit)**|(% style="background-color:#4f81bd; color:white; width:60px" %)**bit7**|(% style="background-color:#4f81bd; color:white; width:60px" %)**bit6**|(% style="background-color:#4f81bd; color:white; width:60px" %)**[bit5:bit0]**
Xiaoling 96.4 391 |(% style="width:88px" %)Value|(% style="width:117px" %)PA4_status|(% style="width:117px" %)PB15_status|(% style="width:118px" %)MOD
Saxer Lin 86.1 392
Saxer Lin 85.1 393 (% style="color:#037691" %)** **[[image:image-20230626093242-1.png||height="276" width="892"]]
Edwin Chen 1.1 394
Saxer Lin 86.1 395
Xiaoling 67.7 396 * (((
Xiaoling 88.3 397 (% style="color:blue" %)**Calculate Flag**
Xiaoling 62.5 398 )))
Edwin Chen 1.1 399
Xiaoling 62.5 400 (((
Xiaoling 67.7 401 The calculate flag is a user defined field, IoT server can use this flag to handle different meters with different pulse factors. For example, if there are 100 Flow Sensors, meters 1 ~~50 are 1 liter/pulse and meters 51 ~~ 100 has 1.5 liter/pulse.
Xiaoling 80.2 402
403
Xiaoling 62.5 404 )))
Edwin Chen 1.1 405
Xiaoling 62.5 406 (((
Xiaoling 67.7 407 **Example: in the default payload:**
Xiaoling 62.5 408 )))
Edwin Chen 1.1 409
Xiaoling 62.5 410 * (((
Xiaoling 67.7 411 calculate flag=0: for SW3L-004 Flow Sensor: 450 pulse = 1 L
Xiaoling 62.5 412 )))
Xiaoling 67.7 413 * (((
414 calculate flag=1: for SW3L-006 Flow Sensor: 390 pulse = 1 L
Xiaoling 62.5 415 )))
Xiaoling 67.7 416 * (((
417 calculate flag=2: for SW3L-010 Flow Sensor: 64 pulse = 1 L
Xiaoling 62.5 418 )))
Bei Jinggeng 96.1 419 * (((
420 calculate flag=3: for SW3L-010 Flow Sensor: 12 pulse = 1 L
421 )))
Saxer Lin 46.1 422
Xiaoling 62.5 423 (((
424 Default value: 0. 
425 )))
Edwin Chen 1.1 426
Xiaoling 62.5 427 (((
Saxer Lin 79.1 428 Range (4 bits): (b)0000 ~~ (b) 1111
Xiaoling 67.7 429
430 If user use with a meter for example is 0.02L/pulse. To proper decode the correct value in server,
431
432 1) User can set the Calculate Flag of this sensor to 3.
433
434 2) In server side, when a sensor data arrive, the decoder will check the value of Calculate Flag, It the value is 3, the total volume = 0.02 x Pulse Count.
Xiaoling 62.5 435 )))
Edwin Chen 1.1 436
Xiaoling 62.5 437 (((
Xiaoling 88.5 438 (% style="color:red" %)**NOTE: User need to set Calculate Flag to proper value before use Flow Sensor. Downlink or AT Command see: **(%%)Refer: [[Set Calculate Flag>>||anchor="H3.3.5Setthecalculateflag"]]
Saxer Lin 77.1 439
Xiaoling 77.11 440 (((
Saxer Lin 89.1 441
Xiaoling 62.5 442 )))
Saxer Lin 77.1 443 )))
Xiaoling 14.22 444
Xiaoling 77.5 445
Xiaoling 62.5 446 * (((
Xiaoling 88.4 447 (% style="color:blue" %)**Alarm**
Xiaoling 62.5 448 )))
Edwin Chen 1.1 449
Xiaoling 62.5 450 (((
Xiaoling 67.16 451 See [[Alarm for continuously water flow>>||anchor="H3.3.4Alarmforcontinuouslywaterflow"]]
Xiaoling 62.5 452 )))
Edwin Chen 1.1 453
Xiaoling 67.7 454 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SW3L%20LoRaWAN%20Outdoor%20Flow%20Sensor/WebHome/image-20220519095946-4.png?width=724&height=65&rev=1.1||alt="image-20220519095946-4.png"]]
455
456
Saxer Lin 89.1 457 (((
458 * (% style="color:blue" %)**TDC flag**
459
460 When the flag is 1, it means sending packets at normal time intervals.
461
462 Otherwise, it is a packet sent at non-TDC time.
463
464
465 )))
466
Xiaoling 62.5 467 * (((
Xiaoling 88.4 468 (% style="color:blue" %)**Total pulse**
Xiaoling 62.5 469 )))
Edwin Chen 10.1 470
Xiaoling 62.5 471 (((
Xiaoling 67.7 472 Total pulse/counting since factory
Xiaoling 62.5 473 )))
Edwin Chen 1.1 474
Xiaoling 62.5 475 (((
Xiaoling 67.7 476 Range (4 Bytes) : 0x00000000~~ 0xFFFFFFFF .
Xiaoling 77.11 477
478
Xiaoling 62.5 479 )))
Edwin Chen 1.1 480
Xiaoling 62.5 481 * (((
Xiaoling 88.4 482 (% style="color:blue" %)**Last Pulse**
Xiaoling 62.5 483 )))
Edwin Chen 1.1 484
Xiaoling 62.5 485 (((
Xiaoling 67.7 486 Total pulse since last FPORT=2 uplink. (Default 20 minutes)
Xiaoling 62.5 487 )))
Edwin Chen 1.1 488
Xiaoling 62.5 489 (((
Xiaoling 77.5 490 Range (4 Bytes) : 0x00000000~~ 0xFFFFFFFF .
Xiaoling 77.11 491
Saxer Lin 86.1 492
493 * (((
Xiaoling 88.4 494 (% style="color:blue" %)**PA4_status: Support digital level input below 3.3V**
Saxer Lin 86.1 495 )))
496
497 (((
498 0 ~-~-> PA4 is at low level.
499 )))
500
501 (((
502 1 ~-~-> PA4 is at high level.
503
504
505 * (((
Xiaoling 88.4 506 (% style="color:blue" %)**PB15_status: Support digital level input below 3.3V**
Saxer Lin 86.1 507 )))
508
509 (((
510 0 ~-~-> PB15 is at low level.
511 )))
512
513 (((
514 1 ~-~-> PB15 is at high level..
515
Xiaoling 77.11 516
Xiaoling 62.5 517 )))
Saxer Lin 86.1 518 )))
519 )))
Edwin Chen 1.1 520
Saxer Lin 44.1 521 * (((
Xiaoling 88.4 522 (% style="color:blue" %)**MOD: Default =0**
Saxer Lin 44.1 523 )))
Xiaoling 62.5 524
525 (((
Xiaoling 67.7 526 MOD=0 ~-~-> Uplink Total Pulse since factory
Saxer Lin 44.1 527 )))
Edwin Chen 1.1 528
Xiaoling 62.5 529 (((
Xiaoling 77.5 530 MOD=1 ~-~-> Uplink total pulse since last FPORT=2 uplink.
Xiaoling 77.11 531
532
Xiaoling 62.5 533 )))
Edwin Chen 1.1 534
Xiaoling 67.7 535 * (((
Xiaoling 88.4 536 (% style="color:blue" %)**Water Flow Value**
Xiaoling 67.7 537 )))
Edwin Chen 1.1 538
Xiaoling 67.7 539 (((
540 **Total Water Flow Volume = (Calculate Flag) x (Total Pulse)=9597/450=21.3L**
541 )))
Xiaoling 39.5 542
Xiaoling 67.7 543 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SW3L%20LoRaWAN%20Outdoor%20Flow%20Sensor/WebHome/image-20220519095946-5.png?width=727&height=50&rev=1.1||alt="image-20220519095946-5.png"]]
Edwin Chen 1.1 544
545
Xiaoling 67.7 546 (((
547 **Total Water Flow for TDC timer = (Calculate Flag) x (Last Pulse)=79/450=0.2L**
Xiaoling 62.5 548 )))
Edwin Chen 1.1 549
Saxer Lin 75.1 550 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SW3L%20LoRaWAN%20Outdoor%20Flow%20Sensor/WebHome/image-20220519095946-6.png?width=733&height=43&rev=1.1||alt="image-20220519095946-6.png"]] ** **
Edwin Chen 1.1 551
552
Xiaoling 67.7 553 === 2.3.4 Historical Water Flow Status, FPORT~=3 ===
Edwin Chen 1.1 554
555
Saxer Lin 55.1 556 (((
Xiaoling 99.13 557 SW3L-LB/LS stores sensor values and users can retrieve these history values via the [[downlink command>>||anchor="H2.5DatalogFeature"]].
Saxer Lin 55.1 558 )))
559
560 (((
Xiaoling 67.7 561 The historical payload includes one or multiplies entries and every entry has the same payload as Real-Time water flow status.
Saxer Lin 75.1 562
Xiaoling 86.7 563 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
Xiaoling 99.15 564 |=(% colspan="6" style="width: 515px; background-color:#4F81BD;color:white" %)**Water Flow Value,  FPORT=3**
Xiaoling 86.7 565 |(% style="width:50px" %)**Size(bytes)**|(% style="width:110px" %)**1**|(% style="width:120px" %)**4**|(% style="width:110px" %)**1**|(% style="width:55px" %)**1**|(% style="width:70px" %)**4**
Xiaoling 96.5 566 |(% style="width:110px" %)Value|(% style="width:81px" %)Calculate Flag & [[Alarm>>||anchor="H3.3.4Alarmforcontinuouslywaterflow"]]|(% style="width:95px" %)(((
Saxer Lin 75.1 567 Total pulse Or Last Pulse
Saxer Lin 86.1 568 )))|(% style="width:78px" %)(((
Xiaoling 86.7 569 MOD & PA4_status & PB15_status
Saxer Lin 86.1 570 )))|(% style="width:92px" %)Reserve(0x01)|(% style="width:134px" %)[[Unix TimeStamp>>||anchor="H2.5.2UnixTimeStamp"]]
571
Saxer Lin 81.1 572 **Calculate Flag & Alarm:**
Saxer Lin 76.1 573
Xiaoling 81.3 574 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
Xiaoling 99.20 575 |(% style="background-color:#4f81bd; color:white; width:50px" %)**Size(bit)**|(% style="background-color:#4f81bd; color:white; width:89px" %)**bit7**|(% style="background-color:#4f81bd; color:white; width:89px" %)**bit6**|(% style="background-color:#4f81bd; color:white; width:69px" %)**[bit5:bit2]**|(% style="background-color:#4f81bd; color:white; width:129px" %)**bit1**|(% style="background-color:#4f81bd; color:white; width:89px" %)**bit0**
Xiaoling 96.5 576 |(% style="width:88px" %)Value|(% style="width:96px" %)(((
Xiaoling 77.10 577 No ACK message
578 )))|(% style="width:94px" %)Poll Message Flag|(% style="width:115px" %)Calculate Flag|(% style="width:136px" %)Alarm: 0: No Alarm; 1: Alarm|(% style="width:120px" %)TDC flag 0:No;1:Yes
Saxer Lin 86.1 579
580 **MOD & PA4_status & PB15_status:**
581
Xiaoling 86.8 582 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:240px" %)
Xiaoling 99.20 583 |(% style="background-color:#4f81bd; color:white; width:60px" %)**Size(bit)**|(% style="background-color:#4f81bd; color:white; width:60px" %)**bit7**|(% style="background-color:#4f81bd; color:white; width:60px" %)**bit6**|(% style="background-color:#4f81bd; color:white; width:60px" %)**[bit5:bit0]**
Xiaoling 96.5 584 |(% style="width:88px" %)Value|(% style="width:117px" %)PA4_status|(% style="width:117px" %)PB15_status|(% style="width:118px" %)MOD
Saxer Lin 55.1 585 )))
Saxer Lin 46.1 586
Xiaoling 62.5 587 * (((
Xiaoling 67.7 588 Each data entry is 11 bytes and has the same structure as [[real time water flow status>>||anchor="H2.3.3A0WaterFlowValue2CUplinkFPORT3D2"]], to save airtime and battery, SW3L will send max bytes according to the current DR and Frequency bands.
Xiaoling 62.5 589 )))
Saxer Lin 46.1 590
Xiaoling 62.5 591 (((
592 For example, in the US915 band, the max payload for different DR is:
593 )))
Edwin Chen 1.1 594
Xiaoling 62.5 595 (((
Xiaoling 67.23 596 (% style="color:blue" %)**a) DR0:**(%%) max is 11 bytes so one entry of data
Xiaoling 62.5 597 )))
Saxer Lin 55.1 598
Xiaoling 62.5 599 (((
Xiaoling 67.23 600 (% style="color:blue" %)**b) DR1:**(%%) max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
Xiaoling 62.5 601 )))
Edwin Chen 1.1 602
Xiaoling 62.5 603 (((
Xiaoling 67.23 604 (% style="color:blue" %)**c) DR2:**(%%) total payload includes 11 entries of data
Xiaoling 62.5 605 )))
Edwin Chen 1.1 606
Xiaoling 62.5 607 (((
Xiaoling 67.23 608 (% style="color:blue" %)**d) DR3:**(%%) total payload includes 22 entries of data.
Xiaoling 62.5 609 )))
Edwin Chen 1.1 610
Xiaoling 62.5 611 (((
Xiaoling 99.13 612 If SW3L-LB/LS doesn't have any data in the polling time. It will uplink 11 bytes of 0
Xiaoling 86.10 613
614
Xiaoling 62.5 615 )))
Edwin Chen 1.1 616
Xiaoling 62.5 617 (((
Xiaoling 67.7 618 (% style="color:#037691" %)**Downlink:**
Xiaoling 62.5 619 )))
Edwin Chen 1.1 620
Xiaoling 62.5 621 (((
Saxer Lin 85.1 622 0x31 64 92 C5 AC 64 92 C7 8C 05
Xiaoling 62.5 623 )))
Edwin Chen 1.1 624
Saxer Lin 85.1 625 [[image:image-20230626093440-2.png||height="160" width="890"]]
Edwin Chen 1.1 626
627
Xiaoling 62.5 628 (((
Xiaoling 67.7 629 (% style="color:#037691" %)**Uplink:**
Xiaoling 62.5 630 )))
Edwin Chen 1.1 631
Xiaoling 62.5 632 (((
Saxer Lin 85.1 633 41 00 01 00 00 00 08 64 92 C5 E4 40 00 01 00 00 00 08 64 92 C6 06 49 41 01 00 00 00 00 64 92 C6 8B 49 81 01 00 00 00 00 64 92 C7 34 4A 01 01 00 00 00 2D 64 92 C7 7C
Xiaoling 86.10 634
635
Xiaoling 62.5 636 )))
Edwin Chen 1.1 637
Xiaoling 62.5 638 (((
Xiaoling 67.7 639 (% style="color:#037691" %)**Parsed Value:**
Xiaoling 62.5 640 )))
Edwin Chen 1.1 641
Xiaoling 62.5 642 (((
Saxer Lin 85.1 643 [TDC_flag, Alarm, Calculate Flag, PA4_status, PB15_status, MOD, Total pulse or Last Pulse,** **Water Flow Value, TIME]
Xiaoling 62.5 644 )))
Xiaoling 14.26 645
Saxer Lin 55.1 646
Xiaoling 14.44 647 (((
Saxer Lin 85.1 648 [YES,FALSE,0,L,L, 0,8, 0.0,2023-06-21 09:41:56],
Edwin Chen 1.1 649
Saxer Lin 85.1 650 [NO,FALSE,0,L,L, 0,8, 0.0,2023-06-21 09:42:30],
Edwin Chen 1.1 651
Saxer Lin 85.1 652 [YES,FALSE,2,L,H,1,0, 0.0,2023-06-21 09:44:43],
Edwin Chen 1.1 653
Saxer Lin 85.1 654 [YES,FALSE,2,H,L,1,0, 0.0,2023-06-21 09:47:32],
Edwin Chen 1.1 655
Saxer Lin 85.1 656 [NO,TRUE ,2, L,L,1,45,0.7,2023-06-21 09:48:44],
Edwin Chen 1.1 657
Saxer Lin 85.1 658
Xiaoling 14.44 659 )))
Edwin Chen 1.1 660
Saxer Lin 85.1 661 [[image:image-20230626093703-3.png||height="156" width="894"]]
Xiaoling 62.5 662
Edwin Chen 1.1 663
Xiaoling 62.5 664 == 2.4 Payload Decoder file ==
Edwin Chen 1.1 665
666
Xiaoling 62.5 667 In TTN, use can add a custom payload so it shows friendly reading
Edwin Chen 1.1 668
Bei Jinggeng 88.1 669 In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder**(%%) to add the decoder from: [[dragino-end-node-decoder/SW3L-LB at main · dragino/dragino-end-node-decoder · GitHub>>url:https://github.com/dragino/dragino-end-node-decoder/tree/main/SW3L-LB]]
Edwin Chen 1.1 670
671
Xiaoling 62.5 672 == 2.5 Datalog Feature ==
Edwin Chen 1.1 673
Saxer Lin 51.1 674
Xiaoling 99.13 675 Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, SW3L-LB/LS will store the reading for future retrieving purposes.
Xiaoling 62.5 676
Xiaoling 91.2 677 (% style="color:red" %)**Note: After the device is reset, in cumulative counting mode,the last stored count value will be read as the initial value.**
Xiaoling 62.5 678
Saxer Lin 76.1 679
Xiaoling 62.5 680 === 2.5.1 Ways to get datalog via LoRaWAN ===
681
682
Xiaoling 99.13 683 Set PNACKMD=1, SW3L-LB/LS will wait for ACK for every uplink, when there is no LoRaWAN network, SW3L-LB/LS will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.
Xiaoling 62.5 684
685 * (((
Xiaoling 99.13 686 a) SW3L-LB/LS will do an ACK check for data records sending to make sure every data arrive server.
Xiaoling 62.5 687 )))
688 * (((
Xiaoling 99.13 689 b) SW3L-LB/LS will send data in **CONFIRMED Mode** when PNACKMD=1, but SW3L-LB/LS won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if SW3L-LB/LS gets a ACK, SW3L-LB/LS will consider there is a network connection and resend all NONE-ACK messages.
Xiaoling 62.5 690 )))
691
692 Below is the typical case for the auto-update datalog feature (Set PNACKMD=1)
693
694 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220703111700-2.png?width=1119&height=381&rev=1.1||alt="图片-20220703111700-2.png" height="381" width="1119"]]
695
696
697 === 2.5.2 Unix TimeStamp ===
698
699
Xiaoling 99.13 700 SW3L-LB/LS uses Unix TimeStamp format based on
Xiaoling 62.5 701
702 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523001219-11.png?width=627&height=97&rev=1.1||alt="图片-20220523001219-11.png" height="97" width="627"]]
703
704 User can get this time from link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :
705
706 Below is the converter example
707
708 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523001219-12.png?width=720&height=298&rev=1.1||alt="图片-20220523001219-12.png" height="298" width="720"]]
709
710
711 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25
712
713
714 === 2.5.3 Set Device Time ===
715
716
717 User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command.
718
Xiaoling 99.13 719 Once SW3L-LB/LS Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to SW3L-LB/LS. If SW3L-LB/LS fails to get the time from the server, SW3L-LB/LS will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).
Xiaoling 62.5 720
721 (% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.**
722
723
724 === 2.5.4 Poll sensor value ===
725
726
727 Users can poll sensor values based on timestamps. Below is the downlink command.
728
Xiaoling 99.17 729 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:425.818px" %)
Xiaoling 99.20 730 |(% colspan="4" style="background-color:#4f81bd; color:white; width:423px" %)**Downlink Command to poll Open/Close status (0x31)**
Xiaoling 62.5 731 |(% style="width:58px" %)**1byte**|(% style="width:127px" %)**4bytes**|(% style="width:124px" %)**4bytes**|(% style="width:114px" %)**1byte**
732 |(% style="width:58px" %)31|(% style="width:127px" %)Timestamp start|(% style="width:124px" %)Timestamp end|(% style="width:114px" %)Uplink Interval
733
734 (((
735 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.
736 )))
737
738 (((
Xiaoling 64.8 739 For example, downlink command [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/image-20220518162852-1.png?rev=1.1||alt="image-20220518162852-1.png"]]
Xiaoling 62.5 740 )))
741
742 (((
743 Is to check 2021/11/12 12:00:00 to 2021/11/12 15:00:00's data
744 )))
745
746 (((
Xiaoling 99.13 747 Uplink Internal =5s,means SW3L-LB/LS will send one packet every 5s. range 5~~255s.
Xiaoling 62.5 748 )))
749
750
Xiaoling 67.20 751 == 2.6 Frequency Plans ==
Edwin Chen 1.1 752
753
Xiaoling 99.21 754 The SW3L-LB/LS uses OTAA mode and below frequency plans by default. Each frequency band use different firmware, user update the firmware to the corresponding band for their country.
Edwin Chen 1.1 755
756 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]]
757
758
Xiaoling 99.13 759 = 3. Configure SW3L-LB/LS =
Edwin Chen 1.1 760
kai 16.4 761 == 3.1 Configure Methods ==
Edwin Chen 1.1 762
763
Xiaoling 99.13 764 SW3L-LB/LS supports below configure method:
Edwin Chen 1.1 765
766 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]].
Xiaoling 67.20 767
Edwin Chen 11.1 768 * AT Command via UART Connection : See [[UART Connection>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]].
Xiaoling 67.20 769
Edwin Chen 1.1 770 * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
771
772 == 3.2 General Commands ==
773
774
775 These commands are to configure:
776
777 * General system settings like: uplink interval.
Xiaoling 67.20 778
Edwin Chen 1.1 779 * LoRaWAN protocol & radio related command.
780
781 They are same for all Dragino Devices which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki:
782
783 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]]
784
785
Xiaoling 99.13 786 == 3.3 Commands special design for SW3L-LB/LS ==
Edwin Chen 1.1 787
788
Xiaoling 99.13 789 These commands only valid for SW3L-LB/LS, as below:
Edwin Chen 1.1 790
791
792 === 3.3.1 Set Transmit Interval Time ===
793
794
Xiaoling 62.5 795 (((
Edwin Chen 1.1 796 Feature: Change LoRaWAN End Node Transmit Interval.
Xiaoling 62.5 797 )))
798
799 (((
Edwin Chen 1.1 800 (% style="color:blue" %)**AT Command: AT+TDC**
Xiaoling 62.5 801 )))
Edwin Chen 1.1 802
Xiaoling 14.34 803 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
Xiaoling 99.17 804 |=(% style="width: 156px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 137px;background-color:#4F81BD;color:white" %)**Function**|=(% style="background-color:#4F81BD;color:white" %)**Response**
Edwin Chen 1.1 805 |(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|(((
806 30000
807 OK
808 the interval is 30000ms = 30s
809 )))
810 |(% style="width:156px" %)AT+TDC=60000|(% style="width:137px" %)Set Transmit Interval|(((
811 OK
812 Set transmit interval to 60000ms = 60 seconds
813 )))
814
Xiaoling 62.5 815 (((
Edwin Chen 1.1 816 (% style="color:blue" %)**Downlink Command: 0x01**
Xiaoling 62.5 817 )))
Edwin Chen 1.1 818
Xiaoling 62.5 819 (((
Edwin Chen 1.1 820 Format: Command Code (0x01) followed by 3 bytes time value.
Xiaoling 62.5 821 )))
Edwin Chen 1.1 822
Xiaoling 62.5 823 (((
Edwin Chen 1.1 824 If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01.
Xiaoling 62.5 825 )))
Edwin Chen 1.1 826
Xiaoling 62.5 827 * (((
828 Example 1: Downlink Payload: 0100001E  ~/~/ Set Transmit Interval (TDC) = 30 seconds
829 )))
830 * (((
Xiaoling 67.10 831 Example 2: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
Xiaoling 77.11 832
Xiaoling 79.5 833
Xiaoling 77.11 834
Xiaoling 67.10 835 )))
Edwin Chen 1.1 836
Saxer Lin 76.1 837 === 3.3.2 Set Power Output Duration ===
Edwin Chen 1.1 838
Xiaoling 62.5 839
Saxer Lin 76.1 840 Control the output duration 5V . Before each sampling, device will
Xiaoling 62.5 841
Saxer Lin 76.1 842 ~1. first enable the power output to external sensor,
Xiaoling 62.5 843
Saxer Lin 76.1 844 2. keep it on as per duration, read sensor value and construct uplink payload
Xiaoling 62.5 845
Saxer Lin 76.1 846 3. final, close the power output.
Xiaoling 62.5 847
Saxer Lin 76.1 848 (% style="color:blue" %)**AT Command:AT+5VT**
Xiaoling 62.5 849
Xiaoling 99.18 850 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:460px" %)
851 |=(% style="width: 156px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 175px; background-color: #4F81BD;color:white" %)**Function**|=(% style="background-color: #4F81BD;color:white; width: 126px;" %)**Response**
Saxer Lin 76.1 852 |(% style="width:156px" %)AT+5VT=?|(% style="width:175px" %)Show 5V open time.|(% style="width:126px" %)(((
853 0 (default)
854 OK
855 )))
Saxer Lin 91.1 856 |(% style="width:156px" %)AT+5VT=1000|(% style="width:175px" %)Close after a delay of 1000 milliseconds.|(% style="width:126px" %)(((
Saxer Lin 76.1 857 OK
858
859 )))
Xiaoling 62.5 860
Saxer Lin 76.1 861 (% style="color:blue" %)**Downlink Command:0x07**
Xiaoling 62.5 862
Saxer Lin 76.1 863 Format: Command Code (0x07) followed by 2 bytes.
Xiaoling 62.5 864
Saxer Lin 76.1 865 The first and second bytes are the time to turn on.
Xiaoling 62.5 866
Saxer Lin 76.1 867 * Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
868 * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
Edwin Chen 1.1 869
Saxer Lin 76.1 870 === 3.3.3 Set Time Sync Mode ===
Edwin Chen 1.1 871
Xiaoling 77.11 872
Saxer Lin 76.1 873 Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply to this command.
Edwin Chen 1.1 874
Saxer Lin 76.1 875 SYNCMOD is set to 1 by default. If user wants to set a different time from the LoRaWAN server, the user needs to set this to 0.
876
877 (% style="color:blue" %)**AT Command:**
878
Xiaoling 99.18 879 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
880 |=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 284px; background-color:#4F81BD;color:white" %)**Function**|=(% style="background-color:#4F81BD;color:white" %)**Response**
Xiaoling 79.3 881 |(% style="width:156px" %)AT+SYNCMOD=1|(% style="width:284px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) The default is zero time zone.|(% style="width:72px" %)(((
Saxer Lin 76.1 882 OK
883
884 )))
Xiaoling 79.3 885 |(% style="width:156px" %)AT+SYNCMOD=1,8|(% style="width:284px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) Set to East eight time zone.|(% style="width:72px" %)(((
Saxer Lin 76.1 886 OK
887
888 )))
Xiaoling 79.3 889 |(% style="width:156px" %)AT+SYNCMOD=1,-12|(% style="width:284px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) Set to West Twelve Time Zone.|(% style="width:72px" %)(((
Saxer Lin 76.1 890 OK
891 )))
892
893 (% style="color:blue" %)**Downlink Command:**
894
895 0x28 01  ~/~/ Same As AT+SYNCMOD=1
896
897 0x28 01 08  ~/~/ Same As AT+SYNCMOD=1,8
898
899 0x28 01 F4  ~/~/ Same As AT+SYNCMOD=1,-12
900
901 0x28 00  ~/~/ Same As AT+SYNCMOD=0
902
903
Xiaoling 67.13 904 === 3.3.4 Alarm for continuously water flow ===
Edwin Chen 1.1 905
Xiaoling 39.6 906
Xiaoling 62.5 907 (((
Xiaoling 67.10 908 This feature is to monitor and send Alarm for continuously water flow.
Xiaoling 62.5 909 )))
Edwin Chen 1.1 910
Xiaoling 62.5 911 (((
Xiaoling 67.10 912 Example case is for Toilet water monitoring, if some one push toilet button, the toilet will have water flow. If the toilet button has broken and can't returned to original state, the water flow will keep for hours or days which cause huge waste for water.
Xiaoling 62.5 913 )))
Edwin Chen 1.1 914
Xiaoling 62.5 915 (((
Xiaoling 67.10 916 To monitor this faulty and send alarm, there are two settings:
Xiaoling 62.5 917 )))
Edwin Chen 1.1 918
Xiaoling 67.10 919 * (((
Xiaoling 88.6 920 (% style="color:blue" %)**Stop Duration: Unit: Second**
Xiaoling 62.5 921 )))
Edwin Chen 1.1 922
Xiaoling 62.5 923 (((
Xiaoling 99.13 924 Default: 15s, If SW3L-LB/LS didn't see any water flow in 15s, SW3L-LB/LS will consider stop of water flow event.
Xiaoling 62.5 925 )))
Edwin Chen 1.1 926
Xiaoling 67.10 927 * (((
Xiaoling 88.6 928 (% style="color:blue" %)**Alarm Timer: Units: Minute; Default 0 minutes (means Alarm disable)**
Xiaoling 62.5 929 )))
Edwin Chen 1.1 930
Xiaoling 62.5 931 (((
Xiaoling 99.13 932 **Example:** 3 minutes, if SW3L-LB/LS detect a start of water flow event and didn't detect a stop event within Alarm timer, SW3L-LB/LS will send an Alarm to indicate a water flow abnormal alarm.
Xiaoling 62.5 933 )))
Edwin Chen 1.1 934
Xiaoling 62.5 935 (((
Xiaoling 67.10 936 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.
Xiaoling 62.5 937 )))
Edwin Chen 1.1 938
Xiaoling 62.5 939 (((
Xiaoling 67.10 940 (% style="color:red" %)**Note:** **After this alarm is send, sensor will consider a stop of water flow and count for another new event. So if water flow waste last for 1 hour, Sensor will keep sending alarm every 3 minutes.**
Xiaoling 62.5 941 )))
Xiaoling 39.6 942
Xiaoling 62.5 943 (((
Xiaoling 88.6 944 (% style="color:blue" %)**AT Command to configure:**
Xiaoling 62.5 945 )))
Edwin Chen 1.1 946
Xiaoling 67.10 947 * (((
948 AT+PTRIG=15,3  ~-~-> Set Stop duration: 15s, Alarm Timer: 3 minutes.
Xiaoling 62.5 949 )))
Edwin Chen 1.1 950
Xiaoling 67.10 951 * (((
952 AT+ PTRIG=15,0  ~-~-> Default Value, disable water waste Alarm.
Xiaoling 62.5 953 )))
Edwin Chen 1.1 954
Xiaoling 62.5 955 (((
Xiaoling 88.6 956 (% style="color:blue" %)**Downlink Command to configure:** 
Xiaoling 62.5 957 )))
Edwin Chen 1.1 958
Xiaoling 62.5 959 (((
Xiaoling 67.10 960 Command: **0xAA aa bb cc**
Xiaoling 62.5 961 )))
Edwin Chen 1.1 962
Xiaoling 62.5 963 (((
Xiaoling 67.10 964 AA: Command Type Code
Xiaoling 62.5 965 )))
Edwin Chen 1.1 966
Xiaoling 62.5 967 (((
Xiaoling 67.10 968 aa: Stop duration
Xiaoling 62.5 969 )))
Edwin Chen 1.1 970
Xiaoling 62.5 971 (((
Xiaoling 67.10 972 bb cc: Alarm Timer
Xiaoling 62.5 973 )))
Edwin Chen 1.1 974
Xiaoling 62.5 975 (((
Xiaoling 67.10 976 If user send 0xAA 0F 00 03: equal to AT+PTRIG=15,3
Xiaoling 62.5 977 )))
Edwin Chen 1.1 978
979
Saxer Lin 76.1 980 === 3.3.5 Set the calculate flag ===
Edwin Chen 1.1 981
982
Xiaoling 62.5 983 Feature: Set the calculate flag
984
Xiaoling 62.6 985 (% style="color:blue" %)**AT Command: AT+CALCFLAG**
Xiaoling 62.5 986
Xiaoling 99.19 987 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %)
Xiaoling 99.15 988 |=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 193px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 110px;background-color:#4F81BD;color:white" %)**Response**
Xiaoling 62.5 989 |(% style="width:158px" %)AT+CALCFLAG =1|(% style="width:192px" %)Set the calculate flag to 1.|(% style="width:109px" %)OK
990 |(% style="width:158px" %)AT+CALCFLAG =2|(% style="width:192px" %)Set the calculate flag to 2.|(% style="width:109px" %)OK
Bei Jinggeng 96.1 991 |(% style="width:158px" %)AT+CALCFLAG =3|(% style="width:192px" %)Set the calculate flag to 3.|(% style="width:109px" %)OK
Xiaoling 62.5 992
Xiaoling 62.6 993 (% style="color:blue" %)**Downlink Command:**
Xiaoling 62.5 994
995 * **Example**: 0XA501  ~/~/  Same as AT+CALCFLAG =1
996
Saxer Lin 76.1 997 === 3.3.6 Set count number ===
Xiaoling 62.5 998
999
1000 Feature: Manually set the count number
1001
Xiaoling 62.6 1002 (% style="color:blue" %)**AT Command: AT+SETCNT**
Xiaoling 62.5 1003
Xiaoling 99.15 1004 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:479px" %)
1005 |=(% style="width: 160px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 223px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 96px;background-color:#4F81BD;color:white" %)**Response**
Xiaoling 62.5 1006 |(% style="width:160px" %)AT+ SETCNT =0|(% style="width:221px" %)Set the count number to 0.|(% style="width:95px" %)OK
1007 |(% style="width:160px" %)AT+ SETCNT =100|(% style="width:221px" %)Set the count number to 100.|(% style="width:95px" %)OK
1008
Xiaoling 62.6 1009 (% style="color:blue" %)**Downlink Command:**
Xiaoling 62.5 1010
1011 * **Example**: 0xA6000001  ~/~/  Same as AT+ SETCNT =1
Xiaoling 62.6 1012
Xiaoling 62.5 1013 * **Example**: 0xA6000064  ~/~/  Same as AT+ SETCNT =100
1014
Saxer Lin 76.1 1015 === 3.3.7 Set work mode ===
Xiaoling 62.5 1016
Xiaoling 67.10 1017
1018 Feature: Manually set the work mode
Saxer Lin 41.1 1019
Xiaoling 67.10 1020 (% style="color:blue" %)**AT Command: AT+MOD**
Saxer Lin 41.1 1021
Xiaoling 99.15 1022 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:463px" %)
1023 |=(% style="width: 162px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 193px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 108px;background-color:#4F81BD;color:white" %)**Response**
Xiaoling 67.10 1024 |(% style="width:162px" %)AT+MOD=0|(% style="width:191px" %)Set the work mode to 0.|(% style="width:106px" %)OK
1025 |(% style="width:162px" %)AT+MOD=1|(% style="width:191px" %)Set the work mode to 1|(% style="width:106px" %)OK
Saxer Lin 41.1 1026
Xiaoling 67.10 1027 (% style="color:blue" %)**Downlink Command:**
Saxer Lin 41.1 1028
Xiaoling 67.10 1029 * **Example: **0x0A00  ~/~/  Same as AT+MOD=0
Saxer Lin 41.1 1030
Xiaoling 67.10 1031 * **Example:** 0x0A01  ~/~/  Same as AT+MOD=1
Xiaoling 62.7 1032
Saxer Lin 76.1 1033 === 3.3.8 Clear Flash Record ===
Xiaoling 67.23 1034
Saxer Lin 76.1 1035
1036 Feature: Clear flash storage for data log feature.
1037
1038 (% style="color:blue" %)**AT Command: AT+CLRDTA**
1039
Xiaoling 99.15 1040 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
1041 |=(% style="width: 157px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 169px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 174px;background-color:#4F81BD;color:white" %)**Response**
Saxer Lin 76.1 1042 |(% style="width:157px" %)AT+CLRDTA|(% style="width:169px" %)Clear flash storage for data log feature.|Clear all stored sensor data… OK
1043
kai 16.4 1044 = 4. Battery & Power Consumption =
Xiaoling 14.45 1045
Edwin Chen 1.1 1046
Xiaoling 99.5 1047 SW3L-LB use ER26500 + SPC1520 battery pack and SW3L-LS use 3000mAh Recharable Battery with Solar Panel. See below link for detail information about the battery info and how to replace.
Edwin Chen 1.1 1048
1049 [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
1050
1051
kai 16.4 1052 = 5. OTA Firmware update =
Edwin Chen 1.1 1053
1054
Edwin Chen 13.1 1055 (% class="wikigeneratedid" %)
Xiaoling 99.13 1056 User can change firmware SW3L-LB/LS to:
Edwin Chen 1.1 1057
Edwin Chen 13.1 1058 * Change Frequency band/ region.
Xiaoling 62.7 1059
Edwin Chen 13.1 1060 * Update with new features.
Xiaoling 62.7 1061
Edwin Chen 13.1 1062 * Fix bugs.
Edwin Chen 1.1 1063
Xiaoling 80.2 1064 Firmware and changelog can be downloaded from : **[[Firmware download link>>https://www.dropbox.com/sh/qs74jsd0zecdk3q/AADHPJ4Sl6z980Cg-rCdzgeza?dl=0]]**
Edwin Chen 1.1 1065
kai 31.1 1066 Methods to Update Firmware:
Edwin Chen 1.1 1067
Xiaoling 80.2 1068 * (Recommanded way) OTA firmware update via wireless : **[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]**
Xiaoling 62.7 1069
Xiaoling 80.2 1070 * Update through UART TTL interface : **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**.
Edwin Chen 1.1 1071
kai 31.1 1072 = 6. FAQ =
Edwin Chen 1.1 1073
Xiaoling 62.7 1074 == 6.1  AT Commands input doesn't work ==
Edwin Chen 1.1 1075
1076
Xiaoling 62.7 1077 In the case if user can see the console output but can't type input to the device. Please check if you already include the (% style="color:green" %)**ENTER**(%%) while sending out the command. Some serial tool doesn't send (% style="color:green" %)**ENTER**(%%) while press the send key, user need to add ENTER in their string.
1078
1079
kai 31.1 1080 = 7. Order Info =
Edwin Chen 1.1 1081
1082
Xiaoling 99.6 1083 **Part Number: (% style="color:blue" %)SW3L-LB-XXX-YYY  (%%)or (% style="color:blue" %)SW3L-LS-XX-YY(%%)**
Edwin Chen 1.1 1084
Xiaoling 99.6 1085 (% style="color:red" %)**XX**(%%)**: The default frequency band**
Edwin Chen 1.1 1086
Ellie Zhang 38.1 1087 * (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
Edwin Chen 1.1 1088
Ellie Zhang 38.1 1089 * (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
Edwin Chen 1.1 1090
Ellie Zhang 38.1 1091 * (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band
Edwin Chen 1.1 1092
Ellie Zhang 38.1 1093 * (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
Edwin Chen 1.1 1094
Ellie Zhang 38.1 1095 * (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
Edwin Chen 1.1 1096
Ellie Zhang 38.1 1097 * (% style="color:red" %)**US915**(%%): LoRaWAN US915 band
Edwin Chen 1.1 1098
Ellie Zhang 38.1 1099 * (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
Edwin Chen 1.1 1100
Ellie Zhang 38.1 1101 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
Edwin Chen 1.1 1102
Xiaoling 67.11 1103 (((
Xiaoling 99.6 1104 (% style="color:blue" %)**YY**(%%)**: Flow Sensor Model**
Xiaoling 67.11 1105 )))
1106
1107 (((
Xiaoling 95.4 1108 * **004:** DW-004 Flow Sensor: diameter: G1/2” / DN15.  450 pulse = 1 L
Xiaoling 67.11 1109 )))
1110
1111 (((
Xiaoling 95.4 1112 * **006:** DW-006 Flow Sensor: diameter: G3/4” / DN20. 390 pulse = 1 L
Xiaoling 67.11 1113 )))
1114
1115 (((
Xiaoling 95.4 1116 * **010:** DW-010 Flow Sensor: diameter: G 1” / DN25. 64 pulse = 1 L
Xiaoling 67.11 1117 )))
1118
Xiaoling 95.3 1119 (((
Xiaoling 96.2 1120 * **020:** DW-020 Flow Sensor: diameter: G 2” / DN50.  12 pulse = 1 L
Xiaoling 67.11 1121 )))
1122
Xiaoling 95.3 1123
kai 31.1 1124 = 8. ​Packing Info =
Edwin Chen 1.1 1125
Xiaoling 39.6 1126
Ellie Zhang 39.1 1127 (% style="color:#037691" %)**Package Includes**:
Edwin Chen 1.1 1128
Xiaoling 99.6 1129 * SW3L-LB or SW3L-LS LoRaWAN Flow Sensor
Edwin Chen 1.1 1130
Ellie Zhang 39.1 1131 (% style="color:#037691" %)**Dimension and weight**:
Edwin Chen 1.1 1132
kai 31.1 1133 * Device Size: cm
Edwin Chen 1.1 1134
kai 31.1 1135 * Device Weight: g
Edwin Chen 1.1 1136
kai 31.1 1137 * Package Size / pcs : cm
Edwin Chen 1.1 1138
kai 31.1 1139 * Weight / pcs : g
Edwin Chen 1.1 1140
kai 31.1 1141 = 9. Support =
Edwin Chen 1.1 1142
1143
kai 31.1 1144 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
Xiaoling 39.6 1145
1146 * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[Support@dragino.cc>>mailto:Support@dragino.cc]].
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0