Version 90.1 by Xiaoling on 2022/07/06 15:49

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