Version 85.8 by Xiaoling on 2022/06/25 09:12

Hide last authors
Xiaoling 2.2 1 (% style="text-align:center" %)
2 [[image:1656035424980-692.png||height="533" width="386"]]
Xiaoling 1.1 3
4
5
Xiaoling 3.11 6 **Table of Contents:**
Xiaoling 1.1 7
Xiaoling 3.11 8 {{toc/}}
Xiaoling 1.1 9
10
11
12
13
14
15
16
17
Xiaoling 2.3 18 = 1. Introduction =
Xiaoling 1.1 19
Xiaoling 2.3 20 == 1.1 Overview ==
Xiaoling 1.1 21
Xiaoling 2.3 22
Xiaoling 3.13 23 (((
24 Dragino LoRaWAN weather station series products are designed for measuring atmospheric conditions to provide information for weather forecasts and to study the (% style="color:#4472c4" %)**weather and climate**(%%). They consist of a (% style="color:#4472c4" %)**main process device (WSC1-L) and various sensors**.
25 )))
Xiaoling 2.2 26
Xiaoling 3.13 27 (((
Xiaoling 3.11 28 The sensors include various type such as: (% style="color:#4472c4" %)**Rain Gauge**, **Temperature/Humidity/Pressure sensor**, **Wind Speed/direction sensor**, **Illumination sensor**, **CO2 sensor**, **Rain/Snow sensor**,** PM2.5/10 sensor**, **PAR(Photosynthetically Available Radiation) sensor, Total Solar Radiation sensor**(%%) and so on.
Xiaoling 3.13 29 )))
Xiaoling 2.2 30
Xiaoling 3.13 31 (((
32 Main process device WSC1-L is an outdoor LoRaWAN RS485 end node. It is powered by external (% style="color:#4472c4" %)**12v solar power**(%%) and have a (% style="color:#4472c4" %)**built-in li-on backup battery**(%%). WSC1-L reads value from various sensors and upload these sensor data to IoT server via LoRaWAN wireless protocol.
33 )))
Xiaoling 2.2 34
Xiaoling 3.13 35 (((
Xiaoling 3.11 36 WSC1-L is full compatible with(% style="color:#4472c4" %)** LoRaWAN Class C protocol**(%%), it can work with standard LoRaWAN gateway.
Xiaoling 3.13 37 )))
Xiaoling 2.2 38
39
40
Xiaoling 2.3 41 = 2. How to use =
Xiaoling 2.2 42
Xiaoling 2.3 43 == 2.1 Installation ==
44
Xiaoling 4.2 45 Below is an installation example for the weather station. Field installation example can be found at [[Appendix I: Field Installation Photo.>>||anchor="H11.AppendixI:FieldInstallationPhoto"]] 
Xiaoling 2.2 46
Xiaoling 4.2 47 [[image:1656041948552-849.png]]
Xiaoling 2.2 48
Xiaoling 4.3 49
Xiaoling 3.11 50 (% style="color:blue" %)** Wiring:**
Xiaoling 2.2 51
52 ~1. WSC1-L and sensors all powered by solar power via MPPT
53
54 2. WSC1-L and sensors connect to each other via RS485/Modbus.
55
56 3. WSC1-L read value from each sensor and send uplink via LoRaWAN
57
58
59 WSC1-L is shipped with a RS485 converter board, for the easy connection to different sensors and WSC1-L. Below is a connection photo:
60
Xiaoling 5.2 61 [[image:1656042136605-251.png]]
Xiaoling 2.2 62
63
Xiaoling 79.2 64 (% style="color:red" %)**Notice 1:**
Xiaoling 2.2 65
66 * All weather sensors and WSC1-L are powered by MPPT solar recharge controller. MPPT is connected to solar panel and storage battery.
67 * WSC1-L has an extra 1000mAh back up battery. So it can work even solar panel and storage battery Fails.
68 * Weather sensors won’t work if solar panel and storage battery fails.
69
Xiaoling 79.2 70 (% style="color:red" %)**Notice 2:**
71
Xiaoling 2.2 72 Due to shipment and importation limitation, user is better to purchase below parts locally:
73
74 * Solar Panel
75 * Storage Battery
76 * MPPT Solar Recharger
77 * Mounting Kit includes pole and mast assembly. Each weather sensor has it’s own mounting assembly, user can check the sensor section in this manual.
78 * Cabinet.
79
Xiaoling 2.3 80 == 2.2 How it works? ==
81
Xiaoling 14.8 82 (((
Xiaoling 2.2 83 Each WSC1-L is shipped with a worldwide unique set of OTAA keys. To use WSC1-L in a LoRaWAN network, user needs to input the OTAA keys in LoRaWAN network server. After finish installation as above. Create WSC1-L in your LoRaWAN server and Power on WSC1-L , it can join the LoRaWAN network and start to transmit sensor data. The default period for each uplink is 20 minutes.
Xiaoling 14.8 84 )))
Xiaoling 2.2 85
86
Xiaoling 79.4 87 (((
Xiaoling 2.2 88 Open WSC1-L and put the yellow jumper as below position to power on WSC1-L.
Xiaoling 79.4 89 )))
Xiaoling 2.2 90
Xiaoling 6.2 91 [[image:1656042192857-709.png]]
Xiaoling 2.2 92
93
Xiaoling 6.4 94 (% style="color:red" %)**Notice:**
Xiaoling 2.2 95
96 1. WSC1-L will auto scan available weather sensors when power on or reboot.
Xiaoling 6.5 97 1. User can send a downlink command to WSC1-L to do a re-scan on the available sensors.
Xiaoling 2.2 98
Xiaoling 2.3 99 == 2.3 Example to use for LoRaWAN network ==
Xiaoling 2.2 100
101 This section shows an example for how to join the TTN V3 LoRaWAN IoT server. Usages with other LoRaWAN IoT servers are of similar procedure.
102
103
Xiaoling 7.2 104 [[image:1656042612899-422.png]]
Xiaoling 2.2 105
106
107
108 Assume the DLOS8 is already set to connect to [[TTN V3 network >>url:https://eu1.cloud.thethings.network/]]. We need to add the WSC1-L device in TTN V3:
109
110
Xiaoling 3.2 111 (% style="color:blue" %)**Step 1**(%%): Create a device in TTN V3 with the OTAA keys from WSC1-L.
Xiaoling 2.2 112
113 Each WSC1-L is shipped with a sticker with the default device EUI as below:
114
Xiaoling 8.2 115 [[image:image-20220624115043-1.jpeg]]
Xiaoling 2.2 116
117
118 User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screen shot:
119
Xiaoling 12.2 120 **Add APP EUI in the application.**
Xiaoling 2.2 121
Xiaoling 10.2 122 [[image:1656042662694-311.png]]
Xiaoling 2.2 123
Xiaoling 10.2 124 [[image:1656042673910-429.png]]
Xiaoling 2.2 125
126
127
128
Xiaoling 12.2 129 **Choose Manually to add WSC1-L**
Xiaoling 2.2 130
Xiaoling 12.2 131 [[image:1656042695755-103.png]]
Xiaoling 2.2 132
133
134
Xiaoling 12.2 135 **Add APP KEY and DEV EUI**
Xiaoling 2.2 136
Xiaoling 12.2 137 [[image:1656042723199-746.png]]
Xiaoling 2.2 138
139
140
Xiaoling 79.5 141 (((
Xiaoling 3.2 142 (% style="color:blue" %)**Step 2**(%%): Power on WSC1-L, it will start to join TTN server. After join success, it will start to upload sensor data to TTN V3 and user can see in the panel.
Xiaoling 79.5 143 )))
Xiaoling 2.2 144
145
Xiaoling 13.2 146 [[image:1656042745346-283.png]]
Xiaoling 2.2 147
148
149
Xiaoling 2.3 150 == 2.4 Uplink Payload ==
Xiaoling 2.2 151
152 Uplink payloads include two types: Valid Sensor Value and other status / control command.
153
154 * Valid Sensor Value: Use FPORT=2
155 * Other control command: Use FPORT other than 2.
156
Xiaoling 6.4 157 === 2.4.1 Uplink FPORT~=5, Device Status ===
Xiaoling 6.3 158
Xiaoling 2.2 159 Uplink the device configures with FPORT=5. Once WSC1-L Joined the network, it will uplink this message to the server. After first uplink, WSC1-L will uplink Device Status every 12 hours
160
161
Xiaoling 16.5 162 (((
Xiaoling 2.2 163 User can also use downlink command(0x2301) to ask WSC1-L to resend this uplink
Xiaoling 16.5 164 )))
Xiaoling 2.2 165
Xiaoling 14.3 166 (% border="1" cellspacing="8" style="background-color:#ffffcc; color:green; width:500px" %)
Xiaoling 14.4 167 |=(% style="width: 70px;" %)**Size (bytes)**|=(% style="width: 60px;" %)**1**|=(% style="width: 80px;" %)**2**|=(% style="width: 80px;" %)**1**|=(% style="width: 60px;" %)**1**|=(% style="width: 50px;" %)**2**|=(% style="width: 100px;" %)**3**
Xiaoling 13.4 168 |(% style="width:99px" %)**Value**|(% style="width:112px" %)[[Sensor Model>>||anchor="HSensorModel:"]]|(% style="width:135px" %)[[Firmware Version>>||anchor="HFirmwareVersion:"]]|(% style="width:126px" %)[[Frequency Band>>||anchor="HFrequencyBand:"]]|(% style="width:85px" %)[[Sub-band>>||anchor="HSub-Band:"]]|(% style="width:46px" %)[[BAT>>||anchor="HBAT:"]]|(% style="width:166px" %)[[Weather Sensor Types>>||anchor="HWeatherSensorTypes:"]]
Xiaoling 2.2 169
Xiaoling 14.3 170 [[image:1656043061044-343.png]]
Xiaoling 2.2 171
172
Xiaoling 3.2 173 Example Payload (FPort=5):  [[image:image-20220624101005-1.png]]
Xiaoling 2.2 174
175
176
Xiaoling 3.11 177 ==== (% style="color:#037691" %)**Sensor Model:**(%%) ====
Xiaoling 2.2 178
Xiaoling 3.2 179 For WSC1-L, this value is 0x0D.
Xiaoling 2.2 180
181
Xiaoling 6.4 182
Xiaoling 3.11 183 ==== (% style="color:#037691" %)**Firmware Version:**(%%) ====
Xiaoling 2.2 184
Xiaoling 3.2 185 0x0100, Means: v1.0.0 version.
Xiaoling 2.2 186
Xiaoling 3.2 187
Xiaoling 6.4 188
Xiaoling 3.11 189 ==== (% style="color:#037691" %)**Frequency Band:**(%%) ====
Xiaoling 3.2 190
Xiaoling 2.2 191 *0x01: EU868
192
193 *0x02: US915
194
195 *0x03: IN865
196
197 *0x04: AU915
198
199 *0x05: KZ865
200
201 *0x06: RU864
202
203 *0x07: AS923
204
205 *0x08: AS923-1
206
207 *0x09: AS923-2
208
209 *0x0a: AS923-3
210
211
Xiaoling 6.4 212
Xiaoling 3.11 213 ==== (% style="color:#037691" %)**Sub-Band:**(%%) ====
Xiaoling 2.2 214
Xiaoling 3.2 215 value 0x00 ~~ 0x08(only for CN470, AU915,US915. Others are0x00)
Xiaoling 2.2 216
217
Xiaoling 6.4 218
Xiaoling 3.11 219 ==== (% style="color:#037691" %)**BAT:**(%%) ====
Xiaoling 3.2 220
Xiaoling 79.6 221 (((
Xiaoling 3.2 222 shows the battery voltage for WSC1-L MCU.
Xiaoling 79.6 223 )))
Xiaoling 3.2 224
Xiaoling 79.6 225 (((
Xiaoling 2.2 226 Ex1: 0x0BD6/1000 = 3.03 V
Xiaoling 79.6 227 )))
Xiaoling 2.2 228
229
Xiaoling 6.4 230
Xiaoling 3.11 231 ==== (% style="color:#037691" %)**Weather Sensor Types:**(%%) ====
Xiaoling 2.2 232
Xiaoling 15.2 233 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:100px" %)
Xiaoling 2.2 234 |Byte3|Byte2|Byte1
235
236 Bit = 1 means this sensor is connected, Bit=0 means this sensor is not connected
237
Xiaoling 15.2 238 [[image:image-20220624134713-1.png]]
Xiaoling 2.2 239
240
241 Eg: 0x1000FE = 1 0000 0000 0000 1111 1110(b)
242
243 External sensors detected by WSC1-L include :
244
245 custom sensor A1,
246
247 PAR sensor (WSS-07),
248
249 Total Solar Radiation sensor (WSS-06),
250
251 CO2/PM2.5/PM10 (WSS-03),
252
253 Wind Speed/Direction (WSS-02)
254
255
256 User can also use downlink command(0x26 01) to ask WSC1-L to resend this uplink :
257
Xiaoling 3.2 258 (% style="color:#037691" %)**Downlink:0x26 01**
Xiaoling 2.2 259
Xiaoling 16.2 260 [[image:1656049673488-415.png]]
Xiaoling 2.2 261
262
263
Xiaoling 6.4 264 === 2.4.2 Uplink FPORT~=2, Real time sensor value ===
Xiaoling 2.2 265
Xiaoling 16.5 266 (((
Xiaoling 16.4 267 WSC1-L will send this uplink after Device Config uplink once join LoRaWAN network successfully. And it will periodically send this uplink. Default interval is 20 minutes and [[can be changed>>||anchor="H3.1SetTransmitIntervalTime"]].
Xiaoling 16.5 268 )))
Xiaoling 2.2 269
Xiaoling 16.5 270 (((
Xiaoling 2.2 271 Uplink uses FPORT=2 and every 20 minutes send one uplink by default.
Xiaoling 16.5 272 )))
Xiaoling 2.2 273
274
Xiaoling 16.5 275 (((
Xiaoling 2.2 276 The upload length is dynamic, depends on what type of weather sensors are connected. The uplink payload is combined with sensor segments. As below:
Xiaoling 16.5 277 )))
Xiaoling 2.2 278
Xiaoling 16.6 279
280 (% style="color:#4472c4" %)** Uplink Payload**:
281
Xiaoling 16.5 282 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:464px" %)
283 |(% style="width:140px" %)Sensor Segment 1|(% style="width:139px" %)Sensor Segment 2|(% style="width:42px" %)……|(% style="width:140px" %)Sensor Segment n
Xiaoling 2.2 284
Xiaoling 3.11 285 (% style="color:#4472c4" %)** Sensor Segment Define**:
Xiaoling 2.2 286
Xiaoling 16.6 287 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:330px" %)
288 |(% style="width:89px" %)Type Code|(% style="width:114px" %)Length (Bytes)|(% style="width:124px" %)Measured Value
Xiaoling 2.2 289
Xiaoling 20.2 290 (% style="color:#4472c4" %)**Sensor Type Table:**
Xiaoling 2.2 291
Xiaoling 20.2 292 [[image:image-20220624140352-2.png]]
Xiaoling 2.2 293
294
Xiaoling 79.7 295 (((
Xiaoling 20.2 296 Below is an example payload:  [[image:image-20220624140615-3.png]]
Xiaoling 79.7 297 )))
Xiaoling 2.2 298
Xiaoling 79.7 299 (((
300
301 )))
Xiaoling 2.2 302
Xiaoling 79.7 303 (((
Xiaoling 20.2 304 When sending this payload to LoRaWAN server. WSC1-L will send this in one uplink or several uplinks according to LoRaWAN spec requirement. For example, total length of Payload is 54 bytes.
Xiaoling 79.7 305 )))
Xiaoling 2.2 306
Xiaoling 79.7 307 * (((
308 When WSC1-L sending in US915 frequency DR0 data rate. Because this data rate has limitation of 11 bytes payload for each uplink. The payload will be split into below packets and uplink.
309 )))
Xiaoling 2.2 310
Xiaoling 79.7 311 (((
Xiaoling 20.2 312 Uplink 1:  [[image:image-20220624140735-4.png]]
Xiaoling 79.7 313 )))
Xiaoling 2.2 314
Xiaoling 79.7 315 (((
Xiaoling 79.8 316
317 )))
318
319 (((
Xiaoling 20.2 320 Uplink 2:  [[image:image-20220624140842-5.png]]
Xiaoling 79.7 321 )))
Xiaoling 2.2 322
Xiaoling 79.7 323 (((
324
325 )))
Xiaoling 2.2 326
Xiaoling 79.7 327 * (((
328 When WSC1-L sending in EU868 frequency DR0 data rate. The payload will be split into below packets and uplink:
329 )))
Xiaoling 2.2 330
Xiaoling 79.7 331 (((
Xiaoling 22.2 332 Uplink 1:  [[image:image-20220624141025-6.png]]
Xiaoling 79.7 333 )))
Xiaoling 2.2 334
Xiaoling 79.8 335 (((
336
337 )))
338
Xiaoling 22.2 339 Uplink 2:  [[image:image-20220624141100-7.png]]
Xiaoling 2.2 340
341
342
343
Xiaoling 3.5 344 === 2.4.3 Decoder in TTN V3 ===
Xiaoling 2.2 345
Xiaoling 79.22 346 (((
Xiaoling 2.2 347 In LoRaWAN platform, user only see HEX payload by default, user needs to use payload formatters to decode the payload to see human-readable value.
Xiaoling 79.22 348 )))
Xiaoling 2.2 349
Xiaoling 79.22 350 (((
351
352 )))
Xiaoling 2.2 353
Xiaoling 79.22 354 (((
Xiaoling 2.2 355 Download decoder for suitable platform from:
Xiaoling 79.22 356 )))
Xiaoling 2.2 357
Xiaoling 79.22 358 (((
Xiaoling 2.2 359 [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Weather_Station/WSC1-L/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Weather_Station/WSC1-L/]]
Xiaoling 79.22 360 )))
Xiaoling 2.2 361
Xiaoling 79.22 362 (((
Xiaoling 2.2 363 and put as below:
Xiaoling 79.22 364 )))
Xiaoling 2.2 365
Xiaoling 23.2 366 [[image:1656051152438-578.png]]
Xiaoling 2.2 367
368
369
Xiaoling 3.5 370 == 2.5 Show data on Application Server ==
Xiaoling 2.2 371
Xiaoling 79.24 372 (((
Xiaoling 2.2 373 Application platform provides a human friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps:
Xiaoling 79.24 374 )))
Xiaoling 2.2 375
Xiaoling 79.24 376 (((
377
378 )))
Xiaoling 2.2 379
Xiaoling 79.24 380 (((
Xiaoling 3.11 381 (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
Xiaoling 79.24 382 )))
Xiaoling 2.2 383
Xiaoling 79.24 384 (((
Xiaoling 3.11 385 (% style="color:blue" %)**Step 2**(%%): Configure your Application to forward data to Datacake you will need to add integration. Go to TTN V3 Console ~-~-> Applications ~-~-> Integrations ~-~-> Add Integrations.
Xiaoling 79.24 386 )))
Xiaoling 2.2 387
Xiaoling 26.2 388 [[image:1656051197172-131.png]]
Xiaoling 2.2 389
390
Xiaoling 26.2 391 **Add TagoIO:**
Xiaoling 2.2 392
Xiaoling 26.2 393 [[image:1656051223585-631.png]]
Xiaoling 2.2 394
395
Xiaoling 26.2 396 **Authorization:**
Xiaoling 2.2 397
Xiaoling 26.2 398 [[image:1656051248318-368.png]]
Xiaoling 2.2 399
Xiaoling 26.2 400
Xiaoling 2.2 401 In TagoIO console ([[https:~~/~~/admin.tago.io~~/~~/>>url:https://datacake.co/]]) , add WSC1-L:
402
Xiaoling 27.2 403 [[image:1656051277767-168.png]]
Xiaoling 2.2 404
405
406
Xiaoling 3.5 407 = 3. Configure WSC1-L via AT Command or LoRaWAN Downlink =
408
Xiaoling 2.2 409 Use can configure WSC1-L via AT Command or LoRaWAN Downlink.
410
Xiaoling 27.4 411 * AT Command Connection: See [[FAQ>>||anchor="H7.FAQ"]].
Xiaoling 27.3 412 * LoRaWAN Downlink instruction for different platforms:  [[Use Note for Server>>doc:Main.WebHome]](IoT LoRaWAN Server)
Xiaoling 2.2 413
414 There are two kinds of commands to configure WSC1-L, they are:
415
Xiaoling 3.11 416 * (% style="color:#4472c4" %)**General Commands**.
Xiaoling 2.2 417
418 These commands are to configure:
419
420 * General system settings like: uplink interval.
421 * LoRaWAN protocol & radio related command.
422
Xiaoling 27.5 423 They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack((% style="color:red" %)Note~*~*)(%%). These commands can be found on the wiki:  [[End Device Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
Xiaoling 2.2 424
Xiaoling 3.5 425 (% style="color:red" %)Note~*~*: Please check early user manual if you don’t have v1.8.0 firmware.
Xiaoling 2.2 426
427
Xiaoling 3.11 428 * (% style="color:#4472c4" %)**Commands special design for WSC1-L**
Xiaoling 2.2 429
430 These commands only valid for WSC1-L, as below:
431
432
Xiaoling 46.3 433
Xiaoling 3.5 434 == 3.1 Set Transmit Interval Time ==
Xiaoling 2.2 435
436 Feature: Change LoRaWAN End Node Transmit Interval.
437
Xiaoling 3.11 438 (% style="color:#037691" %)**AT Command: AT+TDC**
Xiaoling 2.2 439
Xiaoling 28.2 440 [[image:image-20220624142619-8.png]]
Xiaoling 2.2 441
442
Xiaoling 3.11 443 (% style="color:#037691" %)**Downlink Command: 0x01**
Xiaoling 2.2 444
445 Format: Command Code (0x01) followed by 3 bytes time value.
446
447 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01.
448
449 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
450 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
451
Xiaoling 82.2 452
Xiaoling 85.8 453
454
455
456
Xiaoling 3.5 457 == 3.2 Set Emergency Mode ==
458
Xiaoling 2.2 459 Feature: In emergency mode, WSC1-L will uplink data every 1 minute.
460
Xiaoling 3.11 461 (% style="color:#037691" %)**AT Command:**
Xiaoling 2.2 462
Xiaoling 29.2 463 [[image:image-20220624142956-9.png]]
Xiaoling 2.2 464
Xiaoling 29.2 465
Xiaoling 3.11 466 (% style="color:#037691" %)**Downlink Command:**
Xiaoling 2.2 467
468 * 0xE101     Same as: AT+ALARMMOD=1
469 * 0xE100     Same as: AT+ALARMMOD=0
470
Xiaoling 82.3 471
Xiaoling 85.8 472
473
474
475
Xiaoling 3.5 476 == 3.3 Add or Delete RS485 Sensor ==
477
Xiaoling 79.25 478 (((
Xiaoling 2.2 479 Feature: User can add or delete 3^^rd^^ party sensor as long they are RS485/Modbus interface,baud rate support 9600.Maximum can add 4 sensors.
Xiaoling 79.25 480 )))
Xiaoling 2.2 481
Xiaoling 79.25 482 (((
Xiaoling 3.11 483 (% style="color:#037691" %)**AT Command: **
Xiaoling 79.25 484 )))
Xiaoling 2.2 485
Xiaoling 79.25 486 (((
Xiaoling 31.4 487 (% style="color:blue" %)**AT+DYSENSOR=Type_Code, Query_Length, Query_Command , Read_Length , Valid_Data ,has_CRC,timeout**
Xiaoling 79.25 488 )))
Xiaoling 2.2 489
Xiaoling 79.25 490 * (((
491 Type_Code range:  A1 ~~ A4
492 )))
493 * (((
494 Query_Length:  RS485 Query frame length, Value cannot be greater than 10
495 )))
496 * (((
497 Query_Command:  RS485 Query frame data to be sent to sensor, cannot be larger than 10 bytes
498 )))
499 * (((
500 Read_Length:  RS485 response frame length supposed to receive. Max can receive
501 )))
502 * (((
503 Valid_Data:  valid data from RS485 Response, Valid Data will be added to Payload and upload via LoRaWAN.
504 )))
505 * (((
506 has_CRC:  RS485 Response crc check  (0: no verification required 1: verification required). If CRC=1 and CRC error, valid data will be set to 0.
507 )))
508 * (((
509 timeout:  RS485 receive timeout (uint:ms). Device will close receive window after timeout
510 )))
Xiaoling 2.2 511
Xiaoling 79.25 512 (((
Xiaoling 31.2 513 **Example:**
Xiaoling 79.25 514 )))
Xiaoling 31.2 515
Xiaoling 79.25 516 (((
Xiaoling 2.2 517 User need to change external sensor use the type code as address code.
Xiaoling 79.25 518 )))
Xiaoling 2.2 519
Xiaoling 79.25 520 (((
Xiaoling 2.2 521 With a 485 sensor, after correctly changing the address code to A1, the RS485 query frame is shown in the following table:
Xiaoling 79.25 522 )))
Xiaoling 2.2 523
Xiaoling 31.2 524 [[image:image-20220624143553-10.png]]
Xiaoling 2.2 525
Xiaoling 31.2 526
Xiaoling 2.2 527 The response frame of the sensor is as follows:
528
Xiaoling 31.2 529 [[image:image-20220624143618-11.png]]
Xiaoling 2.2 530
Xiaoling 31.2 531
Xiaoling 46.4 532
Xiaoling 31.6 533 **Then the following parameters should be:**
Xiaoling 2.2 534
535 * Address_Code range: A1
536 * Query_Length: 8
537 * Query_Command: A103000000019CAA
538 * Read_Length: 8
539 * Valid_Data: 24 (Indicates that the data length is 2 bytes, starting from the 4th byte)
540 * has_CRC: 1
541 * timeout: 1500 (Fill in the test according to the actual situation)
542
Xiaoling 85.8 543
Xiaoling 31.6 544 **So the input command is:**
545
Xiaoling 2.2 546 AT+DYSENSOR=A1,8,A103000000019CAA,8,24,1,1500
547
548
549 In every sampling. WSC1-L will auto append the sensor segment as per this structure and uplink.
550
Xiaoling 31.5 551 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:351px" %)
552 |=(% style="width: 94px;" %)Type Code|=(% style="width: 121px;" %)Length (Bytes)|=(% style="width: 132px;" %)Measured Value
553 |(% style="width:94px" %)A1|(% style="width:121px" %)2|(% style="width:132px" %)0x000A
Xiaoling 2.2 554
Xiaoling 31.6 555 **Related commands:**
Xiaoling 2.2 556
Xiaoling 31.5 557 AT+DYSENSOR=A1,0  ~-~->  Delete 3^^rd^^ party sensor A1.
Xiaoling 2.2 558
Xiaoling 31.5 559 AT+DYSENSOR  ~-~->  List All 3^^rd^^ Party Sensor. Like below:
Xiaoling 2.2 560
561
Xiaoling 3.11 562 (% style="color:#037691" %)**Downlink Command:  **
Xiaoling 2.2 563
564 **delete custom sensor A1:**
565
566 * 0xE5A1     Same as: AT+DYSENSOR=A1,0
567
568 **Remove all custom sensors**
569
570 * 0xE5FF  
571
Xiaoling 82.4 572
Xiaoling 85.8 573
574
575
576
Xiaoling 3.5 577 == 3.4 RS485 Test Command ==
578
Xiaoling 3.11 579 (% style="color:#037691" %)**AT Command:**
Xiaoling 3.5 580
Xiaoling 31.7 581 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:474px" %)
582 |=(% style="width: 159px;" %)**Command Example**|=(% style="width: 227px;" %)**Function**|=(% style="width: 85px;" %)**Response**
583 |(% style="width:159px" %)AT+RSWRITE=xxxxxx|(% style="width:227px" %)(((
Xiaoling 2.2 584 Send command to 485 sensor
585
586 Range : no more than 10 bytes
Xiaoling 31.7 587 )))|(% style="width:85px" %)OK
Xiaoling 2.2 588
589 Eg: Send command **01 03 00 00 00 01 84 0A** to 485 sensor
590
591 AT+RSWRITE=0103000001840A
592
593
Xiaoling 3.11 594 (% style="color:#037691" %)**Downlink Command:**
Xiaoling 2.2 595
596 * 0xE20103000001840A     Same as: AT+RSWRITE=0103000001840A
597
Xiaoling 82.5 598
Xiaoling 85.8 599
600
601
602
Xiaoling 3.5 603 == 3.5 RS485 response timeout ==
Xiaoling 2.2 604
605 Feature: Set or get extended time to receive 485 sensor data.
606
Xiaoling 3.11 607 (% style="color:#037691" %)**AT Command:**
Xiaoling 2.2 608
Xiaoling 31.8 609 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:433px" %)
610 |=(% style="width: 157px;" %)**Command Example**|=(% style="width: 188px;" %)**Function**|=(% style="width: 85px;" %)**Response**
611 |(% style="width:157px" %)AT+DTR=1000|(% style="width:188px" %)(((
Xiaoling 2.2 612 Set response timeout to:
613
614 Range : 0~~10000
Xiaoling 31.8 615 )))|(% style="width:85px" %)OK
Xiaoling 2.2 616
Xiaoling 3.11 617 (% style="color:#037691" %)**Downlink Command:**
Xiaoling 2.2 618
619 Format: Command Code (0xE0) followed by 3 bytes time value.
620
621 If the downlink payload=E0000005, it means set the END Node’s Transmit Interval to 0x000005=5(S), while type code is E0.
622
623 * Example 1: Downlink Payload: E0000005 ~/~/ Set Transmit Interval (DTR) = 5 seconds
624 * Example 2: Downlink Payload: E000000A ~/~/ Set Transmit Interval (DTR) = 10 seconds
625
Xiaoling 82.6 626
Xiaoling 85.8 627
628
629
630
Xiaoling 3.5 631 == 3.6 Set Sensor Type ==
632
Xiaoling 79.10 633 (((
Xiaoling 2.2 634 Feature: Set sensor in used. If there are 6 sensors, user can set to only send 5 sensors values.
Xiaoling 79.10 635 )))
Xiaoling 2.2 636
Xiaoling 79.10 637 (((
Xiaoling 32.7 638 See [[definition>>||anchor="HWeatherSensorTypes:"]] for the sensor type.
Xiaoling 79.10 639 )))
Xiaoling 2.2 640
Xiaoling 32.2 641 [[image:image-20220624144904-12.png]]
Xiaoling 2.2 642
643
Xiaoling 3.11 644 (% style="color:#037691" %)**AT Command:**
Xiaoling 2.2 645
Xiaoling 32.3 646 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:377px" %)
647 |=(% style="width: 157px;" %)**Command Example**|=(% style="width: 130px;" %)**Function**|=(% style="width: 87px;" %)**Response**
648 |(% style="width:157px" %)AT+STYPE=80221|(% style="width:130px" %)Set sensor types|(% style="width:87px" %)OK
Xiaoling 2.2 649
650 Eg: The setting command **AT+STYPE=802212** means:
651
Xiaoling 32.4 652 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:495px" %)
653 |(% rowspan="2" style="width:57px" %)Byte3|(% style="width:57px" %)Bit23|(% style="width:59px" %)Bit22|(% style="width:56px" %)Bit21|(% style="width:51px" %)Bit20|(% style="width:54px" %)Bit19|(% style="width:54px" %)Bit18|(% style="width:52px" %)Bit17|(% style="width:52px" %)Bit16
654 |(% style="width:57px" %)0|(% style="width:59px" %)0|(% style="width:56px" %)0|(% style="width:51px" %)0|(% style="width:54px" %)1|(% style="width:54px" %)0|(% style="width:52px" %)0|(% style="width:52px" %)0
655 |(% rowspan="2" style="width:57px" %)Byte2|(% style="width:57px" %)Bit15|(% style="width:59px" %)Bit14|(% style="width:56px" %)Bit13|(% style="width:51px" %)Bit12|(% style="width:54px" %)Bit11|(% style="width:54px" %)Bit10|(% style="width:52px" %)Bit9|(% style="width:52px" %)Bit8
656 |(% style="width:57px" %)0|(% style="width:59px" %)0|(% style="width:56px" %)0|(% style="width:51px" %)0|(% style="width:54px" %)0|(% style="width:54px" %)0|(% style="width:52px" %)1|(% style="width:52px" %)0
657 |(% rowspan="2" style="width:57px" %)Byte1|(% style="width:57px" %)Bit7|(% style="width:59px" %)Bit6|(% style="width:56px" %)Bit5|(% style="width:51px" %)Bit4|(% style="width:54px" %)Bit3|(% style="width:54px" %)Bit2|(% style="width:52px" %)Bit1|(% style="width:52px" %)Bit0
658 |(% style="width:57px" %)0|(% style="width:59px" %)0|(% style="width:56px" %)1|(% style="width:51px" %)0|(% style="width:54px" %)0|(% style="width:54px" %)0|(% style="width:52px" %)0|(% style="width:52px" %)1
Xiaoling 2.2 659
660 So wsc1-L will upload the following data: Custom Sensor A1, Rain Gauge,CO2,BAT.
661
662
Xiaoling 3.11 663 (% style="color:#037691" %)**Downlink Command:**
Xiaoling 2.2 664
665 * 0xE400802212     Same as: AT+STYPE=80221
666
Xiaoling 3.5 667 (% style="color:red" %)**Note:**
Xiaoling 2.2 668
Xiaoling 32.5 669 ~1. The sensor type will not be saved to flash, and the value will be updated every time the sensor is restarted or rescanned.
Xiaoling 2.2 670
671
672
673
Xiaoling 3.5 674 = 4. Power consumption and battery =
Xiaoling 2.2 675
Xiaoling 3.5 676 == 4.1 Total Power Consumption ==
677
Xiaoling 2.2 678 Dragino Weather Station serial products include the main process unit ( WSC1-L ) and various sensors. The total power consumption equal total power of all above units. The power consumption for main process unit WSC1-L is 18ma @ 12v. and the power consumption of each sensor can be found on the Sensors chapter.
679
680
Xiaoling 3.5 681 == 4.2 Reduce power consumption ==
Xiaoling 2.2 682
683 The main process unit WSC1-L is set to LoRaWAN Class C by default. If user want to reduce the power consumption of this unit, user can set it to run in Class A. In Class A mode, WSC1-L will not be to get real-time downlink command from IoT Server.
684
685
Xiaoling 3.5 686 == 4.3 Battery ==
Xiaoling 2.2 687
Xiaoling 32.8 688 (((
689 All sensors are only power by external power source. If external power source is off. All sensor won't work.
690 )))
Xiaoling 2.2 691
Xiaoling 32.8 692 (((
Xiaoling 2.2 693 Main Process Unit WSC1-L is powered by both external power source and internal 1000mAh rechargeable battery. If external power source is off, WSC1-L still runs and can send periodically uplinks, but the sensors value will become invalid.  External power source can recharge the 1000mAh rechargeable battery.
Xiaoling 32.8 694 )))
Xiaoling 2.2 695
696
Xiaoling 3.5 697 = 5. Main Process Unit WSC1-L =
Xiaoling 2.2 698
Xiaoling 3.5 699 == 5.1 Features ==
Xiaoling 2.2 700
701 * Wall Attachable.
702 * LoRaWAN v1.0.3 Class A protocol.
703 * RS485 / Modbus protocol
704 * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915
705 * AT Commands to change parameters
706 * Remote configure parameters via LoRaWAN Downlink
707 * Firmware upgradable via program port
708 * Powered by external 12v battery
709 * Back up rechargeable 1000mAh battery
710 * IP Rating: IP65
711 * Support default sensors or 3rd party RS485 sensors
712
Xiaoling 83.1 713
Xiaoling 85.8 714
715
716
717
Xiaoling 3.5 718 == 5.2 Power Consumption ==
719
Xiaoling 2.2 720 WSC1-L (without external sensor): Idle: 4mA, Transmit: max 40mA
721
722
Xiaoling 3.5 723 == 5.3 Storage & Operation Temperature ==
Xiaoling 2.2 724
725 -20°C to +60°C
726
727
Xiaoling 3.5 728 == 5.4 Pin Mapping ==
Xiaoling 2.2 729
Xiaoling 33.2 730 [[image:1656054149793-239.png]]
Xiaoling 2.2 731
732
Xiaoling 3.5 733 == 5.5 Mechanical ==
Xiaoling 2.2 734
735 Refer LSn50v2 enclosure drawing in: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/Mechanical_Drawing/>>url:https://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/Mechanical_Drawing/]]
736
737
Xiaoling 3.5 738 == 5.6 Connect to RS485 Sensors ==
Xiaoling 2.2 739
740 WSC1-L includes a RS485 converter PCB. Which help it easy to connect multiply RS485 sensors. Below is the photo for reference.
741
742
Xiaoling 34.2 743 [[image:1656054389031-379.png]]
Xiaoling 2.2 744
745
746 Hardware Design for the Converter Board please see:
747
748 [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Weather_Station/RS485_Converter_Board/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Weather_Station/RS485_Converter_Board/]]
749
750
Xiaoling 3.6 751 = 6. Weather Sensors =
Xiaoling 2.2 752
Xiaoling 3.6 753 == 6.1 Rain Gauge ~-~- WSS-01 ==
754
Xiaoling 34.4 755
Xiaoling 40.3 756 (((
Xiaoling 2.2 757 WSS-01 RS485 Rain Gauge is used in meteorology and hydrology to gather and measure the amount of liquid precipitation (mainly rainfall) over an area.
Xiaoling 40.3 758 )))
Xiaoling 2.2 759
Xiaoling 40.3 760 (((
Xiaoling 34.4 761 WSS-01 uses a tipping bucket to detect rainfall. The tipping bucket use 3D streamline shape to make sure it works smoothly and is easy to clean.
Xiaoling 40.3 762 )))
Xiaoling 2.2 763
Xiaoling 40.3 764 (((
Xiaoling 34.4 765 WSS-01 is designed to support the Dragino Weather station solution. Users only need to connect WSS-01 RS485 interface to WSC1-L. The weather station main processor WSC1-L can detect and upload the rainfall to the IoT Server via wireless LoRaWAN protocol
Xiaoling 40.3 766 )))
Xiaoling 2.2 767
Xiaoling 40.3 768 (((
Xiaoling 34.4 769 The tipping bucket of WSS-01 is adjusted to the best angle. When installation, user only needs to screw up and adjust the bottom horizontally.
Xiaoling 40.3 770 )))
Xiaoling 2.2 771
Xiaoling 40.3 772 (((
Xiaoling 2.2 773 WSS-01 package includes screw which can be installed to ground. If user want to install WSS-01 on pole, they can purchase WS-K2 bracket kit.
Xiaoling 40.3 774 )))
Xiaoling 2.2 775
776
Xiaoling 3.6 777 === 6.1.1 Feature ===
Xiaoling 3.10 778
Xiaoling 2.2 779 * RS485 Rain Gauge
780 * Small dimension, easy to install
781 * Vents under funnel, avoid leaf or other things to avoid rain flow.
782 * ABS enclosure.
783 * Horizontal adjustable.
784
Xiaoling 83.1 785
Xiaoling 85.8 786
787
788
789
Xiaoling 3.6 790 === 6.1.2 Specification ===
Xiaoling 3.10 791
Xiaoling 2.2 792 * Resolution: 0.2mm
793 * Accuracy: ±3%
794 * Rainfall strength: 0mm~4mm/min (max 8mm/min)
795 * Input Power: DC 5~~24v
796 * Interface: RS485
797 * Working Temperature: 0℃~70℃ ( incorrect below 0 degree, because water become ICE)
798 * Working Humidity: <100% (no dewing)
799 * Power Consumption: 4mA @ 12v.
800
Xiaoling 83.1 801
Xiaoling 85.8 802
803
804
805
Xiaoling 3.6 806 === 6.1.3 Dimension ===
807
Xiaoling 35.2 808 [[image:1656054957406-980.png]]
Xiaoling 2.2 809
810
Xiaoling 3.9 811 === 6.1.4 Pin Mapping ===
812
Xiaoling 36.2 813 [[image:1656054972828-692.png]]
Xiaoling 2.2 814
815
Xiaoling 3.6 816 === 6.1.5 Installation Notice ===
Xiaoling 2.2 817
Xiaoling 79.11 818 (((
Xiaoling 2.2 819 Do not power on while connect the cables. Double check the wiring before power on.
Xiaoling 79.11 820 )))
Xiaoling 2.2 821
Xiaoling 79.11 822 (((
Xiaoling 2.2 823 Installation Photo as reference:
Xiaoling 79.11 824 )))
Xiaoling 2.2 825
826
Xiaoling 79.11 827 (((
Xiaoling 3.11 828 (% style="color:#4472c4" %)** Install on Ground:**
Xiaoling 79.11 829 )))
Xiaoling 2.2 830
Xiaoling 79.11 831 (((
Xiaoling 2.2 832 WSS-01 Rain Gauge include screws so can install in ground directly .
Xiaoling 79.11 833 )))
Xiaoling 2.2 834
835
Xiaoling 79.11 836 (((
Xiaoling 3.11 837 (% style="color:#4472c4" %)** Install on pole:**
Xiaoling 79.11 838 )))
Xiaoling 2.2 839
Xiaoling 79.11 840 (((
Xiaoling 3.11 841 If user want to install on pole, they can purchase the (% style="color:#4472c4" %)** WS-K2 :  Bracket Kit for Pole installation**(%%), and install as below:
Xiaoling 79.11 842 )))
Xiaoling 2.2 843
Xiaoling 39.2 844 [[image:image-20220624152218-1.png||height="526" width="276"]]
Xiaoling 2.2 845
Xiaoling 39.2 846 WS-K2: Bracket Kit for Pole installation
Xiaoling 2.2 847
848
849 WSSC-K2 dimension document, please see:
850
Xiaoling 38.2 851 [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Weather_Station/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Weather_Station/]]
Xiaoling 2.2 852
853
Xiaoling 3.6 854 == 6.2 Wind Speed/Direction ~-~- WSS-02 ==
Xiaoling 2.2 855
Xiaoling 40.2 856 [[image:1656055444035-179.png]]
Xiaoling 2.2 857
Xiaoling 40.2 858 (((
Xiaoling 2.2 859 WSS-02 is a RS485 wind speed and wind direction monitor designed for weather station solution.
Xiaoling 40.2 860 )))
Xiaoling 2.2 861
Xiaoling 40.2 862 (((
Xiaoling 2.2 863 WSS-02 shell is made of polycarbonate composite material, which has good anti-corrosion and anti-corrosion characteristics, and ensure the long-term use of the sensor without rust. At the same time, it cooperates with the internal smooth bearing system to ensure the stability of information collection
Xiaoling 40.2 864 )))
Xiaoling 2.2 865
Xiaoling 40.2 866 (((
867 Users only need to connect WSS-02 RS485 interface to WSC1-L. The weather station main processor WSC1-L can detect and upload the wind speed and direction to the IoT Server via wireless LoRaWAN protocol.
868 )))
Xiaoling 2.2 869
870
Xiaoling 3.6 871 === 6.2.1 Feature ===
Xiaoling 3.9 872
Xiaoling 2.2 873 * RS485 wind speed / direction sensor
874 * PC enclosure, resist corrosion
875
Xiaoling 83.1 876
Xiaoling 85.8 877
878
879
880
Xiaoling 3.6 881 === 6.2.2 Specification ===
Xiaoling 3.9 882
Xiaoling 2.2 883 * Wind speed range: 0 ~~ 30m/s, (always show 30m/s for higher speed)
884 * Wind direction range: 0 ~~ 360°
885 * Start wind speed: ≤0.3m/s
886 * Accuracy: ±(0.3+0.03V)m/s , ±1°
887 * Input Power: DC 5~~24v
888 * Interface: RS485
889 * Working Temperature: -30℃~70℃
890 * Working Humidity: <100% (no dewing)
891 * Power Consumption: 13mA ~~ 12v.
892 * Cable Length: 2 meters
893
Xiaoling 83.1 894
Xiaoling 85.8 895
896
897
898
Xiaoling 3.6 899 === 6.2.3 Dimension ===
900
Xiaoling 43.2 901 [[image:image-20220624152813-2.png]]
Xiaoling 2.2 902
903
Xiaoling 3.6 904 === 6.2.4 Pin Mapping ===
Xiaoling 2.2 905
Xiaoling 45.2 906 [[image:1656056281231-994.png]]
Xiaoling 2.2 907
908
Xiaoling 45.2 909 === 6.2.5  Angle Mapping ===
Xiaoling 2.2 910
Xiaoling 45.2 911 [[image:1656056303845-585.png]]
Xiaoling 2.2 912
913
Xiaoling 45.2 914 === 6.2.6  Installation Notice ===
Xiaoling 2.2 915
Xiaoling 79.12 916 (((
Xiaoling 2.2 917 Do not power on while connect the cables. Double check the wiring before power on.
Xiaoling 79.12 918 )))
Xiaoling 2.2 919
Xiaoling 79.12 920 (((
Xiaoling 2.2 921 The sensor must be installed with below direction, towards North.
Xiaoling 79.12 922 )))
Xiaoling 2.2 923
Xiaoling 46.2 924 [[image:image-20220624153901-3.png]]
Xiaoling 2.2 925
926
Xiaoling 3.6 927 == 6.3 CO2/PM2.5/PM10 ~-~- WSS-03 ==
Xiaoling 2.2 928
Xiaoling 46.5 929
Xiaoling 46.6 930 (((
Xiaoling 2.2 931 WSS-03 is a RS485 Air Quality sensor. It can monitor CO2, PM2.5 and PM10 at the same time.
Xiaoling 46.6 932 )))
Xiaoling 2.2 933
Xiaoling 46.6 934 (((
Xiaoling 2.2 935 WSS-03 uses weather proof shield which can make sure the sensors are well protected against UV & radiation.
Xiaoling 46.6 936 )))
Xiaoling 2.2 937
Xiaoling 46.6 938 (((
Xiaoling 46.5 939 WSS-03 is designed to support the Dragino Weather station solution. Users only need to connect WSS-03 RS485 interface to WSC1-L. The weather station main processor WSC1-L can detect and upload the environment CO2, PM2.5 and PM10 to the IoT Server via wireless LoRaWAN protocol.
Xiaoling 46.6 940 )))
Xiaoling 2.2 941
942
Xiaoling 3.6 943 === 6.3.1 Feature ===
Xiaoling 3.9 944
Xiaoling 2.2 945 * RS485 CO2, PM2.5, PM10 sensor
946 * NDIR to measure CO2 with Internal Temperature Compensation
947 * Laser Beam Scattering to PM2.5 and PM10
948
Xiaoling 83.1 949
Xiaoling 85.8 950
951
952
953
Xiaoling 3.6 954 === 6.3.2 Specification ===
Xiaoling 3.9 955
Xiaoling 2.2 956 * CO2 Range: 0~5000ppm, accuracy: ±3%F•S(25℃)
957 * CO2 resolution: 1ppm
958 * PM2.5/PM10 Range: 0~1000μg/m3 , accuracy ±3%F•S(25℃)
959 * PM2.5/PM10 resolution: 1μg/m3
960 * Input Power: DC 7 ~~ 24v
961 * Preheat time: 3min
962 * Interface: RS485
963 * Working Temperature:
964 ** CO2: 0℃~50℃;
965 ** PM2.5/PM10: -30 ~~ 50℃
966 * Working Humidity:
967 ** PM2.5/PM10: 15~80%RH (no dewing)
968 ** CO2: 0~95%RH
969 * Power Consumption: 50mA@ 12v.
970
Xiaoling 83.1 971
Xiaoling 85.8 972
973
974
975
Xiaoling 3.6 976 === 6.3.3 Dimension ===
977
Xiaoling 51.2 978 [[image:1656056708366-230.png]]
Xiaoling 2.2 979
980
Xiaoling 3.6 981 === 6.3.4 Pin Mapping ===
Xiaoling 2.2 982
Xiaoling 51.2 983 [[image:1656056722648-743.png]]
Xiaoling 2.2 984
985
Xiaoling 3.7 986 === 6.3.5 Installation Notice ===
Xiaoling 2.2 987
988 Do not power on while connect the cables. Double check the wiring before power on.
989
Xiaoling 51.2 990 [[image:1656056751153-304.png]]
Xiaoling 2.2 991
Xiaoling 51.2 992 [[image:1656056766224-773.png]]
Xiaoling 2.2 993
994
Xiaoling 51.3 995 == 6.4 Rain/Snow Detect ~-~- WSS-04 ==
Xiaoling 2.2 996
997
Xiaoling 51.3 998 (((
Xiaoling 2.2 999 WSS-04 is a RS485 rain / snow detect sensor. It can monitor Rain or Snow event.
Xiaoling 51.3 1000 )))
Xiaoling 2.2 1001
Xiaoling 51.3 1002 (((
Xiaoling 2.2 1003 WSS-04 has auto heating feature, this ensures measurement more reliable.
Xiaoling 51.3 1004 )))
Xiaoling 2.2 1005
Xiaoling 51.3 1006 (((
1007 WSS-04 is designed to support the Dragino Weather station solution. Users only need to connect WSS-04 RS485 interface to WSC1-L. The weather station main processor WSC1-L can detect and upload the SNOW/Rain Event to the IoT Server via wireless LoRaWAN protocol.
1008 )))
Xiaoling 2.2 1009
1010
1011
Xiaoling 3.7 1012 === 6.4.1 Feature ===
Xiaoling 3.9 1013
Xiaoling 2.2 1014 * RS485 Rain/Snow detect sensor
1015 * Surface heating to dry
1016 * grid electrode uses Electroless Nickel/Immersion Gold design for resist corrosion
1017
Xiaoling 83.1 1018
Xiaoling 85.8 1019
1020
1021
1022
Xiaoling 3.7 1023 === 6.4.2 Specification ===
Xiaoling 3.9 1024
Xiaoling 2.2 1025 * Detect if there is rain or snow
1026 * Input Power: DC 12 ~~ 24v
1027 * Interface: RS485
1028 * Working Temperature: -30℃~70℃
1029 * Working Humidity: 10~90%RH
1030 * Power Consumption:
1031 ** No heating: 12mA @ 12v,
1032 ** heating: 94ma @ 12v.
1033
Xiaoling 83.1 1034
Xiaoling 85.8 1035
1036
1037
1038
Xiaoling 3.7 1039 === 6.4.3 Dimension ===
1040
Xiaoling 55.2 1041 [[image:1656056844782-155.png]]
Xiaoling 2.2 1042
1043
Xiaoling 3.7 1044 === 6.4.4 Pin Mapping ===
Xiaoling 2.2 1045
Xiaoling 55.2 1046 [[image:1656056855590-754.png]]
Xiaoling 2.2 1047
1048
Xiaoling 3.7 1049 === 6.4.5 Installation Notice ===
Xiaoling 2.2 1050
1051 Do not power on while connect the cables. Double check the wiring before power on.
1052
1053
Xiaoling 79.13 1054 (((
Xiaoling 2.2 1055 Install with 15°degree.
Xiaoling 79.13 1056 )))
Xiaoling 2.2 1057
Xiaoling 55.2 1058 [[image:1656056873783-780.png]]
Xiaoling 2.2 1059
1060
Xiaoling 55.2 1061 [[image:1656056883736-804.png]]
Xiaoling 2.2 1062
1063
Xiaoling 3.11 1064 === 6.4.6 Heating ===
Xiaoling 2.2 1065
Xiaoling 55.3 1066 (((
Xiaoling 2.2 1067 WSS-04 supports auto-heat feature. When the temperature is below the heat start temperature 15℃, WSS-04 starts to heat and stop at stop temperature (default is 25℃).
Xiaoling 55.3 1068 )))
Xiaoling 2.2 1069
1070
Xiaoling 3.7 1071 == 6.5 Temperature, Humidity, Illuminance, Pressure ~-~- WSS-05 ==
Xiaoling 2.2 1072
Xiaoling 56.4 1073
1074 (((
Xiaoling 2.2 1075 WSS-05 is a 4 in 1 RS485 sensor which can monitor Temperature, Humidity, Illuminance and Pressure at the same time.
Xiaoling 56.4 1076 )))
Xiaoling 2.2 1077
Xiaoling 56.4 1078 (((
1079 WSS-05 is designed to support the Dragino Weather station solution. Users only need to connect WSS-05 RS485 interface to WSC1-L. The weather station main processor WSC1-L can detect and upload environment Temperature, Humidity, Illuminance, Pressure to the IoT Server via wireless LoRaWAN protocol.
1080 )))
Xiaoling 2.2 1081
1082
Xiaoling 3.7 1083 === 6.5.1 Feature ===
1084
Xiaoling 2.2 1085 * RS485 Temperature, Humidity, Illuminance, Pressure sensor
1086
Xiaoling 78.4 1087
Xiaoling 85.8 1088
1089
1090
1091
Xiaoling 3.7 1092 === 6.5.2 Specification ===
1093
Xiaoling 2.2 1094 * Input Power: DC 12 ~~ 24v
1095 * Interface: RS485
1096 * Temperature Sensor Spec:
1097 ** Range: -30 ~~ 70℃
1098 ** resolution 0.1℃
1099 ** Accuracy: ±0.5℃
1100 * Humidity Sensor Spec:
1101 ** Range: 0 ~~ 100% RH
1102 ** resolution 0.1 %RH
1103 ** Accuracy: 3% RH
1104 * Pressure Sensor Spec:
1105 ** Range: 10~1100hPa
1106 ** Resolution: 0.1hPa
1107 ** Accuracy: ±0.1hPa
1108 * Illuminate sensor:
1109 ** Range: 0~2/20/200kLux
1110 ** Resolution: 10 Lux
1111 ** Accuracy: ±3%FS
1112 * Working Temperature: -30℃~70℃
1113 * Working Humidity: 10~90%RH
1114 * Power Consumption: 4mA @ 12v
1115
Xiaoling 78.4 1116
Xiaoling 85.8 1117
1118
1119
1120
Xiaoling 3.7 1121 === 6.5.3 Dimension ===
1122
Xiaoling 60.2 1123 [[image:1656057170639-522.png]]
Xiaoling 2.2 1124
1125
Xiaoling 3.7 1126 === 6.5.4 Pin Mapping ===
Xiaoling 2.2 1127
Xiaoling 60.2 1128 [[image:1656057181899-910.png]]
Xiaoling 2.2 1129
1130
Xiaoling 3.7 1131 === 6.5.5 Installation Notice ===
1132
Xiaoling 2.2 1133 Do not power on while connect the cables. Double check the wiring before power on.
1134
Xiaoling 60.2 1135 [[image:1656057199955-514.png]]
Xiaoling 2.2 1136
1137
Xiaoling 60.2 1138 [[image:1656057212438-475.png]]
Xiaoling 2.2 1139
1140
Xiaoling 3.7 1141 == 6.6 Total Solar Radiation sensor ~-~- WSS-06 ==
Xiaoling 2.2 1142
Xiaoling 60.3 1143
1144 (((
Xiaoling 2.2 1145 WSS-06 is Total Radiation Sensor can be used to measure the total solar radiation in the spectral range of 0.3 to 3 μm (300 to 3000 nm). If the sensor face is down, the reflected radiation can be measured, and the shading ring can also be used to measure the scattered radiation.
Xiaoling 60.3 1146 )))
Xiaoling 2.2 1147
Xiaoling 60.3 1148 (((
Xiaoling 2.2 1149 The core device of the radiation sensor is a high-precision photosensitive element, which has good stability and high precision; at the same time, a precision-machined PTTE radiation cover is installed outside the sensing element, which effectively prevents environmental factors from affecting its performance
Xiaoling 60.3 1150 )))
Xiaoling 2.2 1151
Xiaoling 60.3 1152 (((
Xiaoling 64.2 1153 WSS-06 is designed to support the Dragino Weather station solution.  Users only need to connect WSS-06 RS485 interface to WSC1-L. The weather station main processor WSC1-L can detect and upload Total Solar Radiation to the IoT Server via wireless LoRaWAN protocol.
Xiaoling 60.3 1154 )))
Xiaoling 2.2 1155
1156
1157
Xiaoling 3.7 1158 === 6.6.1 Feature ===
1159
Xiaoling 2.2 1160 * RS485 Total Solar Radiation sensor
1161 * Measure Total Radiation between 0.3~3μm(300~3000nm)
1162 * Measure Reflected Radiation if sense area towards ground.
1163
Xiaoling 85.8 1164
1165
1166
1167
1168
1169
Xiaoling 3.7 1170 === 6.6.2 Specification ===
1171
Xiaoling 2.2 1172 * Input Power: DC 5 ~~ 24v
1173 * Interface: RS485
1174 * Detect spectrum: 0.3~3μm(300~3000nm)
1175 * Measure strength range: 0~2000W/m2
1176 * Resolution: 0.1W/m2
1177 * Accuracy: ±3%
1178 * Yearly Stability: ≤±2%
1179 * Cosine response: ≤7% (@ Sun angle 10°)
1180 * Temperature Effect: ±2%(-10℃~40℃)
1181 * Working Temperature: -40℃~70℃
1182 * Working Humidity: 10~90%RH
1183 * Power Consumption: 4mA @ 12v
1184
Xiaoling 78.4 1185
Xiaoling 85.8 1186
1187
1188
1189
Xiaoling 3.7 1190 === 6.6.3 Dimension ===
1191
Xiaoling 64.2 1192 [[image:1656057348695-898.png]]
Xiaoling 2.2 1193
1194
Xiaoling 3.7 1195 === 6.6.4 Pin Mapping ===
Xiaoling 2.2 1196
Xiaoling 64.2 1197 [[image:1656057359343-744.png]]
Xiaoling 2.2 1198
1199
Xiaoling 3.7 1200 === 6.6.5 Installation Notice ===
Xiaoling 2.2 1201
1202 Do not power on while connect the cables. Double check the wiring before power on.
1203
Xiaoling 64.2 1204 [[image:1656057369259-804.png]]
Xiaoling 2.2 1205
Xiaoling 64.3 1206
Xiaoling 64.2 1207 [[image:1656057377943-564.png]]
Xiaoling 2.2 1208
1209
Xiaoling 3.7 1210 == 6.7 PAR (Photosynthetically Available Radiation) ~-~- WSS-07 ==
1211
Xiaoling 64.3 1212
1213 (((
Xiaoling 2.2 1214 WSS-07 photosynthetically active radiation sensor is mainly used to measure the photosynthetically active radiation of natural light in the wavelength range of 400-700nm.
Xiaoling 64.3 1215 )))
Xiaoling 2.2 1216
Xiaoling 64.3 1217 (((
Xiaoling 2.2 1218 WSS-07 use precision optical detectors and has an optical filter of 400-700nm, when natural light is irradiated, a voltage signal proportional to the intensity of the incident radiation is generated, and its luminous flux density is proportional to the cosine of the direct angle of the incident light.
Xiaoling 64.3 1219 )))
Xiaoling 2.2 1220
Xiaoling 64.3 1221 (((
1222 WSS-07 is designed to support the Dragino Weather station solution. Users only need to connect WSS-07 RS485 interface to WSC1-L. The weather station main processor WSC1-L can detect and upload Photosynthetically Available Radiation to the IoT Server via wireless LoRaWAN protocol.
1223 )))
Xiaoling 2.2 1224
1225
Xiaoling 3.7 1226 === 6.7.1 Feature ===
Xiaoling 2.2 1227
Xiaoling 79.14 1228 (((
Xiaoling 68.2 1229 PAR (Photosynthetically Available Radiation) sensor measure 400 ~~ 700nm wavelength nature light's Photosynthetically Available Radiation.
Xiaoling 79.16 1230 )))
Xiaoling 2.2 1231
Xiaoling 79.14 1232 (((
Xiaoling 2.2 1233 When nature light shine on the sense area, it will generate a signal base on the incidence radiation strength.
Xiaoling 79.16 1234 )))
Xiaoling 2.2 1235
1236
Xiaoling 3.7 1237 === 6.7.2 Specification ===
1238
Xiaoling 2.2 1239 * Input Power: DC 5 ~~ 24v
1240 * Interface: RS485
1241 * Response Spectrum: 400~700nm
1242 * Measure range: 0~2500μmol/m2•s
1243 * Resolution: 1μmol/m2•s
1244 * Accuracy: ±2%
1245 * Yearly Stability: ≤±2%
1246 * Working Temperature: -30℃~75℃
1247 * Working Humidity: 10~90%RH
1248 * Power Consumption: 3mA @ 12v
1249
Xiaoling 78.3 1250
Xiaoling 85.8 1251
1252
1253
1254
Xiaoling 3.7 1255 === 6.7.3 Dimension ===
1256
Xiaoling 68.2 1257 [[image:1656057538793-888.png]]
Xiaoling 2.2 1258
1259
Xiaoling 3.7 1260 === 6.7.4 Pin Mapping ===
1261
Xiaoling 68.2 1262 [[image:1656057548116-203.png]]
Xiaoling 2.2 1263
1264
Xiaoling 3.7 1265 === 6.7.5 Installation Notice ===
Xiaoling 2.2 1266
1267 Do not power on while connect the cables. Double check the wiring before power on.
1268
1269
Xiaoling 68.2 1270 [[image:1656057557191-895.png]]
Xiaoling 2.2 1271
1272
Xiaoling 68.2 1273 [[image:1656057565783-251.png]]
Xiaoling 2.2 1274
Xiaoling 68.2 1275
Xiaoling 2.3 1276 = 7. FAQ =
Xiaoling 2.2 1277
Xiaoling 2.3 1278 == 7.1 What else do I need to purchase to build Weather Station? ==
1279
Xiaoling 2.2 1280 Below is the installation photo and structure:
1281
Xiaoling 70.2 1282 [[image:1656057598349-319.png]]
Xiaoling 2.2 1283
1284
Xiaoling 70.2 1285 [[image:1656057608049-693.png]]
Xiaoling 2.2 1286
1287
1288
Xiaoling 2.3 1289 == 7.2 How to upgrade firmware for WSC1-L? ==
Xiaoling 2.2 1290
Xiaoling 70.2 1291 (((
Xiaoling 2.2 1292 Firmware Location & Change log:
Xiaoling 70.2 1293 )))
Xiaoling 2.2 1294
Xiaoling 70.2 1295 (((
Xiaoling 2.2 1296 [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/WSC1-L/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/WSC1-L/]]
Xiaoling 70.2 1297 )))
Xiaoling 2.2 1298
1299
Xiaoling 70.2 1300 (((
1301 Firmware Upgrade instruction:  [[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome||anchor="H2.HardwareUpgradeMethodSupportList"]]
1302 )))
Xiaoling 2.2 1303
1304
Xiaoling 2.3 1305 == 7.3 How to change the LoRa Frequency Bands/Region? ==
Xiaoling 2.2 1306
Xiaoling 70.2 1307 User can follow the introduction for how to [[upgrade image>>||anchor="H7.2HowtoupgradefirmwareforWSC1-L3F"]]. When download the images, choose the required image file for download.
Xiaoling 2.2 1308
1309
Xiaoling 2.3 1310 == 7.4 Can I add my weather sensors? ==
Xiaoling 2.2 1311
Xiaoling 70.4 1312 Yes, connect the sensor to RS485 bus and see instruction:  [[add sensors.>>||anchor="H3.3AddorDeleteRS485Sensor"]]
Xiaoling 2.2 1313
1314
Xiaoling 3.2 1315 = 8. Trouble Shooting =
Xiaoling 2.2 1316
Xiaoling 70.6 1317 == 8.1 AT Command input doesn't work ==
Xiaoling 2.2 1318
Xiaoling 70.6 1319 (((
1320 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.
1321 )))
Xiaoling 2.2 1322
1323
Xiaoling 2.3 1324 = 9. Order Info =
Xiaoling 2.2 1325
Xiaoling 2.3 1326 == 9.1 Main Process Unit ==
Xiaoling 2.2 1327
Xiaoling 34.6 1328 Part Number: (% style="color:blue" %)**WSC1-L-XX**
Xiaoling 2.2 1329
Xiaoling 34.6 1330 (% style="color:blue" %)**XX**(%%): The default frequency band
Xiaoling 2.2 1331
Xiaoling 34.6 1332 * (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1333 * (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
1334 * (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band
1335 * (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
1336 * (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
1337 * (% style="color:red" %)**US915**(%%): LoRaWAN US915 band
1338 * (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
1339 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
Xiaoling 2.2 1340
Xiaoling 79.17 1341
Xiaoling 84.2 1342
Xiaoling 2.3 1343 == 9.2 Sensors ==
Xiaoling 2.2 1344
Xiaoling 85.6 1345 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:500px" %)
Xiaoling 85.7 1346 |=(% style="width: 300px;" %)**Sensor Model**|=(% style="width: 200px;" %)**Part Number**
Xiaoling 85.2 1347 |(% style="width:462px" %)**Rain Gauge**|(% style="width:120px" %)WSS-01
1348 |(% style="width:462px" %)**Rain Gauge installation Bracket for Pole**|(% style="width:120px" %)WS-K2
1349 |(% style="width:462px" %)**Wind Speed Direction 2 in 1 Sensor**|(% style="width:120px" %)WSS-02
1350 |(% style="width:462px" %)**CO2/PM2.5/PM10 3 in 1 Sensor**|(% style="width:120px" %)WSS-03
1351 |(% style="width:462px" %)**Rain/Snow Detect Sensor**|(% style="width:120px" %)WSS-04
1352 |(% style="width:462px" %)**Temperature, Humidity, illuminance and Pressure 4 in 1 sensor**|(% style="width:120px" %)WSS-05
1353 |(% style="width:462px" %)**Total Solar Radiation Sensor**|(% style="width:120px" %)WSS-06
1354 |(% style="width:462px" %)**PAR (Photosynthetically Available Radiation)**|(% style="width:120px" %)WSS-07
Xiaoling 2.2 1355
Xiaoling 79.18 1356
Xiaoling 84.2 1357
Xiaoling 2.3 1358 = 10. Support =
Xiaoling 2.2 1359
1360 * 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 70.6 1361 * 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.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]]
Xiaoling 2.2 1362
Xiaoling 79.18 1363
Xiaoling 84.1 1364
Xiaoling 85.8 1365
1366
1367
Xiaoling 2.3 1368 = 11. Appendix I: Field Installation Photo =
Xiaoling 2.2 1369
1370
Xiaoling 84.1 1371 [[image:1656058346362-132.png||height="685" width="732"]]
Xiaoling 2.2 1372
1373 **Storage Battery**: 12v,12AH li battery
1374
1375
Xiaoling 74.2 1376
Xiaoling 77.3 1377 **Wind Speed/Direction**
Xiaoling 2.2 1378
Xiaoling 84.1 1379 [[image:1656058373174-421.png||height="356" width="731"]]
Xiaoling 2.2 1380
1381
Xiaoling 74.2 1382
Xiaoling 77.3 1383 **Total Solar Radiation sensor**
Xiaoling 2.2 1384
Xiaoling 84.1 1385 [[image:1656058397364-282.png||height="453" width="732"]]
Xiaoling 2.2 1386
1387
1388
Xiaoling 77.3 1389 **PAR Sensor**
Xiaoling 2.2 1390
Xiaoling 74.2 1391 [[image:1656058416171-615.png]]
Xiaoling 2.2 1392
1393
Xiaoling 74.2 1394
Xiaoling 77.3 1395 **CO2/PM2.5/PM10 3 in 1 sensor**
Xiaoling 2.2 1396
Xiaoling 84.1 1397 [[image:1656058441194-827.png||height="672" width="523"]]
Xiaoling 2.2 1398
1399
Xiaoling 77.2 1400
Xiaoling 77.3 1401 **Rain / Snow Detect**
Xiaoling 2.2 1402
Xiaoling 77.2 1403 [[image:1656058451456-166.png]]
Xiaoling 2.2 1404
1405
Xiaoling 77.2 1406
Xiaoling 77.3 1407 **Rain Gauge**
Xiaoling 2.2 1408
Xiaoling 84.1 1409 [[image:1656058463455-569.png||height="499" width="550"]]