Last modified by Mengting Qiu on 2025/06/12 18:01

Show last authors
1
2
3 [[image:image-20250530173441-1.jpeg||data-xwiki-image-style-alignment="center" height="551" width="423"]]
4
5
6
7
8
9
10 **Table of Contents:**
11
12 {{toc/}}
13
14
15
16
17
18
19
20
21
22 = 1. Introduction =
23
24 == 1.1 Overview ==
25
26
27 The Dragino WSC2-C is the main unit in Dragino Weather Station solution which desianed for (% style="color:blue" %)**measuring atmospheric conditions**(%%) to provide information for weatherforecasts and to study the weather and climate.
28
29 WSC2-C can reads values from various sensors and upload these sensor data to IoT server via NB-IoT/LTE-M wireless protocol.
30
31 WSC2-C supports input and (% style="color:blue" %)**12V recharge power**(%%) and (% style="color:blue" %)**build in 1000mAh rechargeable Li-ion battery**(%%). lf the user needs to connect other sensors, please kindly note the (% style="color:blue" %)**externalpower supply is required**.
32
33 WSC2-C supports connecting 3rd party RS485 multiple sensors. Users can purchase DR-F6C-4M one-to-four cables to connect more sensors according to their needs.
34
35 WSC2-C supports different uplink methods include (% style="color:blue" %)**TCP, MQTT,  UDP, MQTTS or CoAP**(%%) for different application requirement. and Support Uplinks to various IoT Servers.
36
37 *make sure you have NB-IoT or CAT-M1 coverage locally.
38
39
40 == 1.2 Features & Spec for WSC2-C Transmitter ==
41
42
43 * For -NB Bands: B1/B2/B3/B4/B5/B8/B12/B13/B17/B18/B19/B20/B25/B28/B66/B70/B85
44 * For -CB Bands: B1/B2/B3/B4/B5/B8/B12/B13~/~/B18/B19/B20/B25/B28/B66/B71/B85
45 * CAT-M1 / LTE-M Bands: B1/B2/B3/B4/B5/B8/B12/B13/B18/B19/B20/B25/B26/B27/B28/B66/B85
46 * Ultra-low power consumption
47 * Support reading the Rain Gauge, Wind Speed/Direction, CO2/PM2.5/PM10, Rain/Snow Detect, Temperature, Humidiity, Iillumiance, Pressure, Total Solar Radiation, PAR
48 * Support WSS09 9 in 1 Sensors: Wind Speed, Wind Direction, Temperature,  Humidity, Air Pressure, Illumination, PM2.5, PM10, Noise & Rain Gauge
49 * RS485 Interface for 3rd party Sensors
50 * Support WSS08 optical Rain Gauge or tipping bucket Rain Gauge
51 * Support Bluetooth v5.1 remote configure and update firmware
52 * Support wireless OTA update firmware
53 * AT Commands to change parameters
54 * Uplink on periodically
55 * Downlink to change configure
56 * IP66 Waterproof Enclosure
57 * 1000mAh Rechargeable Li-ion Battery
58 * Input and Recharge power: 12v
59 * Nano SIM card slot for NB-IoT SIM
60
61 == 1.3 Specification for WSS-09 9 in 1 weather sensors ==
62
63 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/WSC2-L_Weather_Station_Kit_User_Manual/WebHome/image-20250505190455-1.png?width=226&height=283&rev=1.1||alt="image-20250505190455-1.png"]]
64
65 More Detail: [[WSS-09 Manual.>>doc:Main.Agriculture & Weather Stations.WebHome||anchor="H1.WSS099in1WeatherStationSensor"]]
66
67
68 (% style="color:blue" %)**Wind Speed:**
69
70 * Range: 0~~60m/s
71 * Accuracy: ±(0.2m/s±0.02*v)(v : the wind speed)
72 * Ultrasonic measurement,no start wind strength needed
73
74 (% style="color:blue" %)**Wind Direction:**
75
76 * Range: 0~~3599
77 * Accuracy: ±3°
78 * Ultrasonic measurement,no start wind strength needed
79 * Built-in electronic compass. No need to consider installation direction
80
81 (% style="color:blue" %)**Temperature:**
82
83 * Range: -40°C ~~ +80°C
84 * Accuracy: ±0.5°C
85
86 (% style="color:blue" %)**Humidity:**
87
88 * Range: 0 ~~ 99% RH
89 * Accuracy Tolerance : Typ ±3% RH
90
91 (% style="color:blue" %)**Air Pressure:**
92
93 * Accuracy: ±0.15kPa@25°C 101kPa
94 * Range: 0~~120kPa
95
96 (% style="color:blue" %)**Noise:**
97
98 * Range: 30dB~~120dB
99 * Accuracy: ±0.5dB
100
101 (% style="color:blue" %)**PM2.5:**
102
103 * Range: 0~~1000ug/m3
104 * Accuracy: ±3%FS
105 * Resolution: 1ug/m3
106
107 (% style="color:blue" %)**PM10:**
108
109 * Range: 0~~1000ug/m3
110 * Accuracy: ±3%FS
111 * Resolution: 1ug/m3
112
113 (% style="color:blue" %)**llumination:**
114
115 * Range: 0~~200k Lux
116 * Accuracy: ±7%(25 °C)
117
118 == 1.4 Specification for WSS-08 Optical Rain Guage ==
119
120 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/WSC2-L_Weather_Station_Kit_User_Manual/WebHome/image-20250505190636-2.png?width=201&height=158&rev=1.1||alt="image-20250505190636-2.png"]]
121
122 * Input Power: 9~~30 VDC
123 * Sense diameter: 6cm
124 * Pulse Output
125
126 More Detail: [[WSS-08 Manual.>>doc:Main.Agriculture & Weather Stations.WebHome||anchor="H2.WSS08OpticalRangeGuage"]]
127
128
129 = 2. How to use =
130
131 == 2.1 Installation ==
132
133
134 Below is an installation example for the weather station. Field installation example can be found at [[Appendix I: Field Installation Photo.>>||anchor="H12.AppendixI:FieldInstallationPhoto"]] 
135
136 [[image:image-20250116134451-1.jpeg||height="482" width="1016"]]
137
138
139 (% style="color:blue" %)** Wiring:**
140
141 1. WSC2-C and sensors all powered by solar power via MPPT
142 1. WSC2-C Weather Station Kit already include 9 sensors.
143 1. Possible to add optional 3rd sensors to measure more parameter
144
145 (% style="color:red" %)**Notice 1:**
146
147 * All weather sensors and WSC2-C are powered by MPPT solar recharge controller. MPPT is connected to solar panel and storage battery.
148 * Weather sensors won't work if solar panel and storage battery fails.
149
150 (% style="color:red" %)**Notice 2:**
151
152 Due to shipment and importation limitation, user is better to purchase below parts locally:
153
154 * Solar Panel
155 * Storage Battery
156 * MPPT Solar Recharger
157 * Cabinet.
158
159 == 2.2 Send data to IoT server via NB-IoT network ==
160
161
162 (((
163 The WSC2-C is equipped with a NB-IoT module, the pre-loaded firmware in WSC2-C will get environment data from sensors and send the value to local NB-IoT network via the NB-IoT module.  The NB-IoT network will forward this value to IoT server via the protocol defined by WSC2-C.
164 )))
165
166
167 Below shows the network structure:
168
169 [[image:image-20250116134502-2.jpeg||height="477" width="1005"]]
170
171 There are two version: (% style="color:blue" %)**-GE**(%%) and (% style="color:blue" %)**-1T**(%%) version of WSC2-C.
172
173
174 (% style="color:blue" %)**GE Version**(%%): This version doesn't include SIM card or point to any IoT server. User needs to use AT Commands to configure below two steps to set WSC2-C send data to IoT server.
175
176 * Install NB-IoT SIM card and configure APN. See instruction of [[Attach Network>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H2.AttachNetwork]].
177
178 * Set up sensor to point to IoT Server. See instruction of [[Configure to Connect Different Servers>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.Configuretoconnecttodifferentservers]]. 
179
180 Below shows result of different server as a glance.
181
182 (% border="1" cellspacing="3" style="width:515px" %)
183 |(% style="background-color:#4f81bd; color:white; width:100px" %)**Servers**|(% style="background-color:#4f81bd; color:white; width:300px" %)**Dash Board**|(% style="background-color:#4f81bd; color:white; width:115px" %)**Comments**
184 |(% style="width:127px" %)[[Node-Red>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.5A0Node-RedA028viaA0MQTT29]]|(% style="width:385px" %)(((
185 [[image:image-20250113195417-4.png]]
186 )))|(% style="width:170px" %)
187 |(% style="width:127px" %)[[DataCake>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.4Datacake]]|(% style="width:385px" %)(((
188 [[image:image-20250113195357-3.png]]
189 )))|(% style="width:170px" %)
190 |(% style="width:127px" %)[[Tago.IO>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.7A0Tago.ioA028viaA0MQTT29]]|(% style="width:385px" %)[[image:image-20250113195545-5.png]]|(% style="width:170px" %)
191 |(% style="width:127px" %)[[General UDP>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.1GeneralA0UDPA0Connection]]|(% style="width:385px" %)Raw Payload. Need Developer to design Dash Board|(% style="width:170px" %)
192 |(% style="width:127px" %)[[General MQTT>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.2GeneralA0MQTTA0Connection]]|(% style="width:385px" %)Raw Payload. Need Developer to design Dash Board|(% style="width:170px" %)
193 |(% style="width:127px" %)[[ThingSpeak>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.3A0ThingSpeakA028viaA0MQTT29]]|(% style="width:385px" %)(((
194 [[image:image-20250113195349-2.png]]
195 )))|(% style="width:170px" %)
196 |(% style="width:127px" %)[[ThingsBoard>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.6A0ThingsBoard.CloudA028viaA0MQTT29]]|(% style="width:385px" %)(((
197 [[image:image-20250113195339-1.png]]
198 )))|(% style="width:170px" %)
199
200 (% style="color:blue" %)**1T Version**(%%): This version has 1NCE SIM card pre-installed and configure to send value to ThingsEye. User Just need to select the sensor type in ThingsEyeand Activate WSC2-C and user will be able to see data in ThingsEye. See here for [[ThingsEye Config Instruction>>url:https://wiki.thingseye.io/xwiki/bin/view/Main/]].
201
202
203 == 2.3 Payload Types ==
204
205
206 To meet different server requirement, WSC2-C supports different payload type.
207
208 **Includes:**
209
210 * [[General JSON format payload>>||anchor="H2.2.1GeneralJsonFormat28Type3D529"]]. (Type=5)
211
212 * [[HEX format Payload>>||anchor="H2.2.2HEXformatPayload28Type3D029"]]. (Type=0)
213
214 * [[ThingSpeak Format>>||anchor="H2.2.4ThingSpeakPayload28Type3D129"]]. (Type=1)
215
216 * [[ThingsBoard Format>>||anchor="H2.2.3ThingsBoardPayload28Type3D329"]]. (Type=3)
217
218 User can specify the payload type when choose the connection protocol. Example:
219
220
221 (% style="color:#037691" %)**AT+PRO=1,0**  (%%) ~/~/ Use COAP Connection & hex Payload
222
223 (% style="color:#037691" %)**AT+PRO=1,5**   (%%) ~/~/ Use COAP Connection & Json Payload
224
225 (% style="color:#037691" %)**AT+PRO=2,0**  (%%) ~/~/ Use UDP Connection & hex Payload
226
227 (% style="color:#037691" %)**AT+PRO=2,5**   (%%) ~/~/ Use UDP Connection & Json Payload
228
229 (% style="color:#037691" %)**AT+PRO=3,0**  (%%) ~/~/ Use MQTT Connection & hex Payload
230
231 (% style="color:#037691" %)**AT+PRO=3,5 ** (%%) ~/~/ Use MQTT Connection & Json Payload
232
233 (% style="color:#037691" %)**AT+PRO=4,0**  (%%) ~/~/ Use TCP Connection & hex Payload
234
235 (% style="color:#037691" %)**AT+PRO=4,5 ** (%%) ~/~/ Use TCP Connection & Json Payload
236
237 **Since firmware V1.1.0**, (% style="color:#4472c4" %)**IMSI**(%%) has been added to payload.
238
239
240 === 2.3.1  General Json Format(Type~=5) ===
241
242 This is the **PMMOD=1** generic Json format. It is shown below:
243
244 (% style="color:#4472c4" %)**{"IMEI":"868508065628110","IMSI":"460240210507481","Model":"WSC2-C","payload_ver":0,"rain_count":120.00,"wind_speed":0.58,"wind_level":1,"wind_direction":3,"wind_angel":136,"humidity":43.1,"temperature":21.0,"voise":52.1,"PM2_5":41,"PM10":58,"pressure":101.8,"illumination":650,"interrupt":0,"interrupt_level":0,"battery":3.27,"signal":27,"time":"2025-01-18T01:22:56Z","latitude":0.000000,"longitude":0.000000,"gps_time":"2025-01-18T01:07:06Z"}**
245
246 [[image:image-20250118092344-2.png]]
247
248
249 This is the **PMMOD=0** generic Json format. It is shown below:
250
251 (% style="color:#4472c4" %)**{"IMEI":"868508065628110","IMSI":"460240210507481","Model":"WSC2-C","payload_ver":1,"rain_count":120.00,"wind_speed":0.27,"wind_level":1,"wind_direction":5,"wind_angel":229,"humidity":38.5,"temperature":24.1,"voise":62.4,"CO2":34,"pressure":101.1,"illumination":646,"interrupt":0,"interrupt_level":0,"battery":3.33,"signal":28,"time":"2025-01-20T05:37:16Z","latitude":0.000000,"longitude":0.000000,"gps_time":"2025-01-20T04:01:08Z"}**
252
253 [[image:image-20250120133930-1.png]]
254
255
256 (% style="color:red" %)**Notice, from above payload:**
257
258 If set to **PMMOD=1**, the following data will be uploaded:
259
260 * BAT,Singal,Mod,Interrupt,Interrupt_level,payload_ver,exit_count,wind_speed,wind_level,wind_direction,wind_angel, humidity,temperature,voise,PM2_5,PM10,pressure,illumination,flag,DIY Sensors(A1~~A4),Timestamp
261
262 If set to **PMMOD=0**, the following data will be uploaded
263
264 * BAT,Singal,Mod,Interrupt,Interrupt_level,payload_ver,exit_count,wind_speed,wind_level,wind_direction,wind_angel, humidity,temperature,voise,PM2_5,PM10,pressure,illumination,flag,DIY Sensors(A1~~A4),Timestamp
265
266 === 2.3.2  HEX format Payload(Type~=0) ===
267
268 ==== a. This is the hex format of PMMOD~=1. ====
269
270 (% class="wikigeneratedid" %)
271 It is shown below:
272
273 (% style="color:#4472c4" %)**f868508065628110f4602402105074816e6e0cbc1a01000001000004b00016000100060110017000e402330023003203f90000028a810aa20352fc30678b19740000000000000000678b098f**
274
275 [[image:image-20250118113309-6.png]]
276
277 [[image:image-20250118113344-7.png]]
278
279 (% style="color:blue" %)**Version:**
280
281 These bytes include the hardware and software version.
282
283 (% style="color:#037691" %)**Higher byte:**(%%) Specify Sensor Model: 0x6e for WSC2-C
284
285 (% style="color:#037691" %)**Lower byte:**(%%) Specify the software version: 0x6e=110, means firmware version 1.1.0
286
287
288 (% style="color:blue" %)**BAT (Battery Info):**
289
290 Ex1: 0x0cbc = 3260mV/1000= 3.260V
291
292
293 (% style="color:blue" %)**Signal Strength:**
294
295 NB-IoT Network signal Strength.
296
297 **Ex1: 0x1a = 26**
298
299 **0**  -113dBm or less
300
301 **1**  -111dBm
302
303 **2...30** -109dBm... -53dBm
304
305 **31**   -51dBm or greater
306
307 **99**    Not known or not detectable
308
309
310 (% style="color:blue" %)**Interrupt:**
311
312 This data field shows if this packet is generated by interrupt or not.
313
314 **Example:**
315
316 If byte[0]&0x01=0x00 : Normal uplink packet.
317
318 If byte[0]&0x01=0x01 : Interrupt Uplink Packet.
319
320
321 (% style="color:blue" %)**Interrupt_level:**
322
323 This byte shows whether the interrupt is triggered by a high or low level.
324
325 **Ex1:** 0x00  Interrupt triggered by falling edge (low level)
326
327 **Ex2: **0x01  Interrupt triggered by rising edge (high level)
328
329
330 (% style="color:blue" %)**payload_ver: **
331
332 The payload version number is used to parse different decodes.
333
334 **Ex2: **0x01  Payload decoding version v1.0.0
335
336
337 (% style="color:blue" %)**exit_count: **
338
339 Converted to rainfall based on the number of interruptions,
340
341 **Ex1:**
342
343 bytes[54]&0x0F(hex) / bytes[55](hex) = 0x81&0x0F / 0x0a = 1 / 10=0.1mm((% style="color:red" %)**Note:Calculate the accuracy of the trigger one time to 0.1mm**(%%))
344
345 bytes[10] | bytes[13] / 0.1mm = 0x000004b0(hex)  *  0.1 = 1200(dec) * 0.1 = 120mm((% style="color:red" %)**Note:Use exit_count x precision = rainfall**(%%))
346
347
348 (% style="color:blue" %)**wind_speed:**
349
350 Ex1: 0x0016(hex) / 100 = 22(dec) / 100 = 0.22m/s
351
352
353 (% style="color:blue" %)**wind_level:**
354
355 Ex1: 0x0001(hex) = 1(dec)
356
357
358 (% style="color:blue" %)**wind_direction:**
359
360 Ex1: 0x0006(hex) = 6(dec)
361
362 (% style="color:red" %)**Note: 0 for due north, increasing clockwise, 2 for due east**
363
364
365 (% style="color:blue" %)**wind_angel:**
366
367 Ex1: 0x0110(hex) =  272(dec)
368
369 (% style="color:red" %)**Note: Calculation: 0° clockwise increase in degrees for due north, 90° for due east**
370
371
372 (% style="color:blue" %)**Humidity:   **
373
374 Ex1: :0170(H)=368(D)    Value:  368 / 10=36.8, So 36.8%
375
376
377 (% style="color:blue" %)**Temperature:**
378
379 If payload is: 00e4H:  (00e4 & 8000 == 0), temp = 00e4H /10 = 22.8 degree
380
381 If payload is: FF3FH :  (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
382
383 (FF3F & 8000: Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
384
385
386 (% style="color:blue" %)**Voise:**
387
388 Ex1:0x0233(H) = 563(D)  Value: 563/10=56.3, So 56.3dB/y
389
390
391 (% style="color:blue" %)**PM2_5(CO2):**
392
393 Ex1: 0x0023(H) = 35(D)
394
395
396 (% style="color:blue" %)**PM10:**
397
398 Ex1: 0x0032(H) = 50(D)
399
400
401 (% style="color:blue" %)**Pressure:**
402
403 Ex1: 0x03f9(H) = 1017(D)  Value: 1017/10= 101.7, So 101.7kPa
404
405
406 (% style="color:blue" %)**illumination:**
407
408 Ex1: 0x0000028a(H) = 650(D) Lux
409
410
411 (% style="color:blue" %)**Flag:**
412
413 (% style="color:#037691" %)**Higher byte:**
414
415 s_flag: (0x81>>6)&0x01= 000**1 **, A value of 1 for the last value means that the sensor has been recognized, and 0 means that, the sensor has not been recognized.
416
417 i_flag: (0x81>>5)&0x01 = 000**1 **, A last value of 1 means that the interrupt has been triggered, and 0 means that the interrupt has not been triggered.
418
419 (% style="color:#037691" %)**Low byte:**
420
421 Ext:0x0a = 10/100=0.1, This represents 0.1mm of rainfall per trigger conversion.
422
423
424 (% style="color:blue" %)**DIY Sensors(A1~~A4)**
425
426 Ex1: 0xa203fafc1e
427
428 **a2** :  485 Sensor Address
429
430 **03**:  The sensor returns a total of 3 bytes
431
432 **fafc1e**: Hexadecimal data returned from sensor acquisition
433
434 (% style="color:red" %)**Note: **(%%)DIY sensor data needs to be set up before it has to go up with the device. (Setup reference link: [[Reference Links>>https://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/WSC2-C--Weather_Station_Kit_User_Manual/#H3.3.3AddorDeleteRS485Sensor]])
435
436
437 (% style="color:blue" %)**TimeStamp: **
438
439 Unit TimeStamp Example: 678b098f(H) = 1737165199(D)
440
441 Put the decimal value into this link(https:~/~/www.epochconverter.com/) to get the time.
442
443
444 (% style="color:blue" %)**Latitude:**
445
446 **Example: **0x015A7A7A(H)=22706810(D)=22.706810
447
448
449 (% style="color:blue" %)**Longitude:**
450
451 **Example: **0x06CF33CE(H)=114242510(D)=114.242510
452
453
454 (% style="color:blue" %)**GPS Timestamp:**
455
456 Unit TimeStamp Example: 678b098f(H) = 1737165199(D)
457
458 Put the decimal value into this link(https:~/~/www.epochconverter.com/) to get the time.
459
460
461
462 ==== b. This is the hex format of PMMOD~=0. ====
463
464 (% class="wikigeneratedid" %)
465 It is shown below:
466
467 (% style="color:#4472c4" %)**f868508065628110f4602402105074816e6e0d131c01000001000004b000110000000500dc01f000da01eb002f03f600000286010aa203fafc1e678dae100000000000000000678dad17**
468
469 [[image:image-20250120100524-2.png]]
470
471 [[image:image-20250120100538-3.png]]
472
473 (% style="color:blue" %)**Version:**
474
475 These bytes include the hardware and software version.
476
477 (% style="color:#037691" %)**Higher byte:**(%%) Specify Sensor Model: 0x3e for WSC2-C
478
479 (% style="color:#037691" %)**Lower byte:**(%%) Specify the software version: 0x6e=110, means firmware version 1.1.0
480
481
482 (% style="color:blue" %)**BAT (Battery Info):**
483
484 Ex1: 0x0d13 = 3347mV/1000= 3.347V
485
486
487 (% style="color:blue" %)**Signal Strength:**
488
489 NB-IoT Network signal Strength.
490
491 **Ex1: 0x1c = 28**
492
493 **0**  -113dBm or less
494
495 **1**  -111dBm
496
497 **2...30** -109dBm... -53dBm
498
499 **31**   -51dBm or greater
500
501 **99**    Not known or not detectable
502
503
504 (% style="color:blue" %)**Interrupt:**
505
506 This data field shows if this packet is generated by interrupt or not.
507
508 **Example:**
509
510 If byte[0]&0x01=0x00 : Normal uplink packet.
511
512 If byte[0]&0x01=0x01 : Interrupt Uplink Packet.
513
514
515 (% style="color:blue" %)**Interrupt_level:**
516
517 This byte shows whether the interrupt is triggered by a high or low level.
518
519 **Ex1:** 0x00  Interrupt triggered by falling edge (low level)
520
521 **Ex2: **0x01  Interrupt triggered by rising edge (high level)
522
523
524 (% style="color:blue" %)**payload_ver: **
525
526 The payload version number is used to parse different decodes.
527
528 **Ex2: **0x01  Payload decoding version v1.0.0
529
530
531 (% style="color:blue" %)**exit_count: **
532
533 Converted to rainfall based on the number of interruptions,
534
535 **Ex1:**
536
537 bytes[54]&0x0F(hex) / bytes[55](hex) = 0x81&0x0F / 0x0a = 1 / 10=0.1mm((% style="color:red" %)**Note:Calculate the accuracy of the trigger one time to 0.1mm**(%%))
538
539 bytes[10] | bytes[13] / 0.1mm = 0x 000004b0(hex)  *  0.1 = 1200(dec) * 0.1 = 120mm((% style="color:red" %)**Note:Use exit_count x precision = rainfall**(%%))
540
541
542 (% style="color:blue" %)**wind_speed:**
543
544 Ex1: 0x0011(hex) / 100 = 17(dec) / 100 = 0.17m/s
545
546
547 (% style="color:blue" %)**wind_level:**
548
549 Ex1: 0x0000(hex) = 0(dec)
550
551
552 (% style="color:blue" %)**wind_direction:**
553
554 Ex1: 0x0005(hex) = 5(dec)
555
556 (% style="color:red" %)**Note: 0 for due north, increasing clockwise, 2 for due east**
557
558
559 (% style="color:blue" %)**wind_angel:**
560
561 Ex1: 0x00dc(hex) =  220(dec)
562
563 (% style="color:red" %)**Note: Calculation: 0° clockwise increase in degrees for due north, 90° for due east**
564
565
566 (% style="color:blue" %)**Humidity:   **
567
568 Ex1: 0x01f0(H)=496(D)    Value:  496 / 10=49.6, So 49.6%
569
570
571 (% style="color:blue" %)**Temperature:**
572
573 If payload is: 00da(H) :  (00da & 8000 == 0), temp = 00da(H) /10 = 21.8 degree
574
575 If payload is: FF3F(H) :  (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
576
577 (FF3F & 8000: Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
578
579
580 (% style="color:blue" %)**Voise:**
581
582 Ex1:0x01eb(H) = 491(D)  Value: 491/10=49.1, So 49.1dB/y
583
584
585 (% style="color:blue" %)**CO2:**
586
587 Ex1: 0x002f(H) = 47(D)
588
589
590 (% style="color:blue" %)**Pressure:**
591
592 Ex1: 0x03f6(H) = 1014(D)  Value: 1014/10= 101.4, So 101.4kPa
593
594
595 (% style="color:blue" %)**illumination:**
596
597 Ex1: 0x00000286(H) = 390(D) Lux
598
599
600 (% style="color:blue" %)**Flag:**
601
602 (% style="color:#037691" %)**Higher byte:**
603
604 s_flag: (0x01>>6)&0x01= 000**1 **, A value of 1 for the last value means that the sensor has been recognized, and 0 means that, the sensor has not been recognized.
605
606 i_flag: (0x01>>5)&0x01 = 000**1 **, A last value of 1 means that the interrupt has been triggered, and 0 means that the interrupt has not been triggered.
607
608 (% style="color:#037691" %)**Low byte:**
609
610 Ext:0x0a = 10/100=0.1, This represents 0.1mm of rainfall per trigger conversion.
611
612
613 (% style="color:blue" %)**DIY Sensors(A1~~A4)**
614
615 Ex1: 0xa203fafc1e
616
617 a2 :  485 Sensor Address
618
619 03:  The sensor returns a total of 3 bytes
620
621 fafc1e: Hexadecimal data returned from sensor acquisition
622
623 (% style="color:red" %)**Note: **(%%)DIY sensor data needs to be set up before it has to go up with the device. (Setup reference link: [[Reference Links>>https://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/WSC2-C--Weather_Station_Kit_User_Manual/#H3.3.3AddorDeleteRS485Sensor]])
624
625
626 (% style="color:blue" %)**TimeStamp: **
627
628 Unit TimeStamp Example: 678dae10(H) = 1737338384(D)
629
630 Put the decimal value into this link(https:~/~/www.epochconverter.com/) to get the time.
631
632
633 (% style="color:blue" %)**Latitude:**
634
635 **Example: **0x015A7A7A(H)=22706810(D)=22.706810
636
637
638 (% style="color:blue" %)**Longitude:**
639
640 **Example: **0x06CF33CE(H)=114242510(D)=114.242510
641
642
643 (% style="color:blue" %)**GPS Timestamp:**
644
645 Unit TimeStamp Example: 678dad17(H) = 1737338135(D)
646
647 Put the decimal value into this link(https:~/~/www.epochconverter.com/) to get the time.
648
649
650
651 === 2.3.3 ThingsBoard Payload(Type~=3) ===
652
653
654 Type3 payload special design for ThingsBoard, it will also configure other default server to ThingsBoard.
655
656 (% style="color:#4472c4" %)**{
657 "IMEI": "868508065628110",
658 "IMSI": "460240210507481",
659 "Model": "WSC2-C",
660 "payload_ver": 1,
661 "rain_count": 120.00,
662 "wind_speed": 0.00,
663 "wind_level": 0,
664 "wind_direction": 0,
665 "wind_angel": 0,
666 "humidity": 38.4,
667 "temperature": 24.5,
668 "voise": 50.1,
669 "CO2": 38,
670 "pressure": 101.1,
671 "illumination": 632,
672 "interrupt": 0,
673 "interrupt_level": 0,
674 "battery": 3.34,
675 "signal": 26,
676 "time": "2025-01-20T06:12:29Z",
677 "latitude": 0.000000,
678 "longitude": 0.000000,
679 "gps_time": "2025-01-20T06:00:19Z"
680 }**
681
682 [[image:image-20250120141719-6.png||height="632" width="1332"]]
683
684
685 === 2.3.4 ThingSpeak Payload(Type~=1) ===
686
687
688 This payload meets ThingSpeak platform requirement. It includes only four fields. Form 1~~8 are:
689
690 (% style="color:#4472c4" %)**payload_ver**(%%), (% style="color:#4472c4" %)**exit_count(rain)**(%%), (% style="color:#4472c4" %)**WIND_SPEED**(%%) & (% style="color:#4472c4" %)**WIND_LEVEL **(%%)& (% style="color:#4472c4" %)**WIND_DIRECTION **(%%)& (% style="color:#4472c4" %)**WIND_ANGLE **(%%)& (% style="color:#4472c4" %)**Humidity **(%%)& (% style="color:#4472c4" %)**Temperature**(%%). This payload type only valid for ThingsSpeak Platform
691
692 As below:
693
694 (% style="color:#4472c4" %)**field1=payload_ver & field2=exit_count(rain) & field3=WIND_SPEED & field4=WIND_LEVEL & field5=WIND_DIRECTION & field6=WIND_ANGLE & field7=Humidity & field8=Temperature**
695
696 [[image:image-20250120135427-4.png]]
697
698 [[image:image-20250120135438-5.png]]
699
700
701 == 2.4 Test Uplink and Change Update Interval ==
702
703
704 By default, Sensor will send uplinks (% style="color:blue" %)**every 2 hours**(%%)
705
706 User can use below commands to change the (% style="color:blue" %)**uplink interval**.
707
708 (% style="color:#037691" %)**AT+TDC=7200 ** (%%) ~/~/ Set Update Interval to 7200s
709
710 User can also push the button for more than 1 seconds to activate an uplink.
711
712
713 = 3. Configure WSC2-C =
714
715 == 3.1 Configure Methods ==
716
717
718 WSC2-C supports below configure method:
719
720 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]].
721
722 * AT Command via UART Connection : See [[UART Connection>>https://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.4UARTConnectionforRS485-BLbasemotherboard]].
723
724 * NB-Iot Downlink.  Instruction for different platforms: See [[NB-Iot downlink>>https://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H4.A0MQTT2FUDP2FTCPdownlink]] section.
725
726 == 3.2  Serial Access Password ==
727
728 After the Bluetooth or UART connection is successful, use the Serial Access Password to enter the AT command window.
729
730 The label on the box of the node will print the initial password: AT+PIN=**xxxxxx**, and directly use the six-digit password to access the AT instruction window.
731
732 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/RS485-NB%2C-NS_RS485%2CUART_to_NB-IoT_Converter_User_Manual/WebHome/image-20250226165815-1.png?rev=1.1||alt="image-20250226165815-1.png"]]
733
734 If you need to change the password, use **AT+PWORD=**xxxxxx (6 characters), CB nodes only support lowercase letters.
735
736 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/TS01-CB--NB-IoTLTE-M_Tilting_Sensor_User_Manual/WebHome/image-20240826181440-2.png?rev=1.1||alt="image-20240826181440-2.png"]]
737
738 **Note: After entering the command, you need to add a line break, and you can also set automatic line breaks in the Bluetooth tool or UART connection tool.**
739
740 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/TS01-CB--NB-IoTLTE-M_Tilting_Sensor_User_Manual/WebHome/image-20240826181446-3.png?rev=1.1||alt="image-20240826181446-3.png"]]
741
742
743 == 3.3 Commands special design for WSC2-C ==
744
745
746 These commands only valid for WSC2-C, as below:
747
748
749 === 3.3.1 Set Transmit Interval Time ===
750
751
752 Feature: Change NB-Iot End Node Transmit Interval.
753
754 (% style="color:#037691" %)**AT Command: AT+TDC**
755
756 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:501px" %)
757 |(% style="background-color:#4f81bd; color:white; width:155px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:166px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:180px" %)**Response**
758 |(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)(((
759 30000
760 OK
761 the interval is 30000ms = 30s
762 )))
763 |(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)(((
764 OK
765 Set transmit interval to 60000ms = 60 seconds
766 )))
767
768 (% style="color:#037691" %)**Downlink Command: 0x01**
769
770 Format: Command Code (0x01) followed by 3 bytes time value.
771
772 If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01.
773
774 * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
775 * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
776
777 === 3.3.2 Set the CO2 or PM mode ===
778
779
780 (% style="color:red" %)**Note: Default shipment is PM sensor, optional CO2 or PM sensor is available at the time of purchase, which needs to be modified according to the sensor selected at the time of purchase.**
781
782 Feature: Set the CO2/PM mode, and the user can set the corresponding mode according to the purchased sensor.
783
784 (% style="color:#037691" %)**AT Command:**
785
786 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:466px" %)
787 |(% style="background-color:#4f81bd; color:white; width:156px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:225px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:85px" %)**Response**
788 |(% style="width:155px" %)AT+PMMOD=1|(% style="width:224px" %)The working sensors are PM2.5 and PM10|(% style="width:84px" %)(((
789 OK
790
791 )))
792 |(% style="width:155px" %)AT+PMMOD=0|(% style="width:224px" %)The working sensors are CO2|(% style="width:84px" %)(((
793 OK
794 )))
795
796 (% style="color:#037691" %)**Downlink Command:**
797
798 * 0xE101     Same as: AT+PMMOD=1
799 * 0xE100     Same as: AT+PMMOD=0
800
801 === 3.3.3 Add or Delete RS485 Sensor ===
802
803
804 (((
805 Feature: User can add or delete 3^^rd^^ party sensor as long they are RS485/Modbus interface,baud rate support 4800.Maximum can add 4 sensors.
806 )))
807
808 (((
809 (% style="color:#037691" %)**AT Command: **
810 )))
811
812 (((
813 (% style="color:blue" %)**AT+DYSENSOR=Type_Code, Query_Length, Query_Command , Read_Length , Valid_Data ,has_CRC,timeout**
814 )))
815
816 * (((
817 Type_Code range:  A1 ~~ A4
818 )))
819 * (((
820 Query_Length:  RS485 Query frame length, Value cannot be greater than 10
821 )))
822 * (((
823 Query_Command:  RS485 Query frame data to be sent to sensor, cannot be larger than 10 bytes
824 )))
825 * (((
826 Read_Length:  RS485 response frame length supposed to receive. Max can receive
827 )))
828 * (((
829 Valid_Data:  valid data from RS485 Response, Valid Data will be added to Payload and upload via LoRaWAN.
830 )))
831 * (((
832 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.
833 )))
834 * (((
835 timeout:  RS485 receive timeout (uint:ms). Device will close receive window after timeout
836 )))
837
838 (((
839 **Example:**
840 )))
841
842 (((
843 User need to change external sensor use the type code as address code.
844 )))
845
846 (((
847 With a 485 sensor, after correctly changing the address code to A1, the RS485 query frame is shown in the following table:
848 )))
849
850 [[image:image-20220624143553-10.png]]
851
852
853 The response frame of the sensor is as follows:
854
855 [[image:image-20220624143618-11.png]]
856
857
858 **Then the following parameters should be:**
859
860 * Address_Code range: A1
861 * Query_Length: 8
862 * Query_Command: A103000000019CAA
863 * Read_Length: 8
864 * Valid_Data: 23 (Indicates that the data length is 2 bytes, starting from the 3th byte)
865 * has_CRC: 1
866 * timeout: 1500 (Fill in the test according to the actual situation)
867
868 **So the input command is:**
869
870 AT+DYSENSOR=A1,8,A103000000019CAA,8,24,1,1500
871
872
873 In every sampling. WSC2-C will auto append the sensor segment as per this structure and uplink.
874
875 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:351px" %)
876 |=(% style="width: 95px;background-color:#4F81BD;color:white" %)Type Code|=(% style="width: 122px;background-color:#4F81BD;color:white" %)Length (Bytes)|=(% style="width: 134px;background-color:#4F81BD;color:white" %)Measured Value
877 |(% style="width:94px" %)A1|(% style="width:121px" %)2|(% style="width:132px" %)0x000A
878
879 **Related commands:**
880
881 AT+DYSENSOR=A1,0  ~-~->  Delete 3^^rd^^ party sensor A1.
882
883 AT+DYSENSOR  ~-~->  List All 3^^rd^^ Party Sensor. Like below:
884
885
886 (% style="color:#037691" %)**Downlink Command:  **
887
888 **delete custom sensor A1:**
889
890 * 0xE5A1     Same as: AT+DYSENSOR=A1,0
891
892 **Remove all custom sensors**
893
894 * 0xE5FF  
895
896 === 3.3.4 RS485 Test Command ===
897
898
899 (% style="color:#037691" %)**AT Command:**
900
901 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:494px" %)
902 |=(% style="width: 160px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 248px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 86px;background-color:#4F81BD;color:white" %)**Response**
903 |(% style="width:159px" %)AT+RSWRITE=xxxxxx|(% style="width:227px" %)(((
904 Send command to 485 sensor. Range : no more than 10 bytes
905 )))|(% style="width:85px" %)OK
906
907 Eg: Send command **01 03 00 00 00 01 84 0A** to 485 sensor
908
909 AT+RSWRITE=0103000001840A
910
911
912 (% style="color:#037691" %)**Downlink Command:**
913
914 * 0xE20103000001840A     Same as: AT+RSWRITE=0103000001840A
915
916 === 3.3.5 RS485 response timeout ===
917
918
919 Feature: Set or get extended time to receive 485 sensor data.
920
921 (% style="color:#037691" %)**AT Command:**
922
923 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:433px" %)
924 |=(% style="width: 157px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 190px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 86px;background-color:#4F81BD;color:white" %)**Response**
925 |(% style="width:157px" %)AT+DTR=1000|(% style="width:188px" %)(((
926 Set response timeout to: Range : 0~~10000
927 )))|(% style="width:85px" %)OK
928
929 (% style="color:#037691" %)**Downlink Command:**
930
931 Format: Command Code (0xE0) followed by 3 bytes time value.
932
933 If the downlink payload=E0000005, it means set the END Node's Transmit Interval to 0x000005=5(S), while type code is E0.
934
935 * Example 1: Downlink Payload: E0000005  ~/~/  Set Transmit Interval (DTR) = 5 seconds
936 * Example 2: Downlink Payload: E000000A  ~/~/  Set Transmit Interval (DTR) = 10 seconds
937
938 === 3.3.6 Set or get the total count value ===
939
940
941 Feature: The user can set the counting to start from the set value according to the requirements. (only available in counting mode).
942
943 (% style="color:#037691" %)**AT Command:**
944
945 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:433px" %)
946 |=(% style="width: 157px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 190px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 86px;background-color:#4F81BD;color:white" %)**Response**
947 |(% style="width:157px" %)AT+SETCNT=1000|(% style="width:188px" %)Set the total count to start from 1000|(% style="width:85px" %)OK
948
949 (% style="color:#037691" %)**Downlink Command:**
950
951 Format: Command Code (0x09) followed by 5 bytes time value.
952
953 If the downlink payload=09000003E8, This means that the count of the END node will start counting from setting 0x000003E8=1000 (times). while type code is 09.
954
955 * Example 1: Downlink Payload: 09000003E8  ~/~/  Set the value to start counting from 1000 = 1000 (times)
956
957 === 3.3.7  Set interrupt or counting mode ===
958
959
960 Feature: Users can set the trigger mode to counting mode or interrupt mode as needed.
961
962 (% style="color:#037691" %)**AT Command:**
963
964 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:433px" %)
965 |=(% style="width: 157px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 190px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 86px;background-color:#4F81BD;color:white" %)**Response**
966 |(% style="width:157px" %)AT+COUNTMOD=0|(% style="width:188px" %)set to interrupt mode|(% style="width:85px" %)OK
967 |(% style="width:157px" %)AT+COUNTMOD=1|(% style="width:188px" %)(((
968 set to counting mode
969 )))|(% style="width:85px" %)OK
970
971 (% style="color:#037691" %)**Downlink Command:**
972
973 Format: Command Code (0x10) followed by 1 bytes time value.
974
975 If the downlink payload=10 00, Set the trigger mode to interrupt mode, while type code is 10.
976
977 * Example 1: Downlink Payload: 10 00  ~/~/  Same as: AT+COUNTMOD=0  set to interrupt mode
978
979 === 3.3.8 Domain name resolution settings ===
980
981
982 Feature: Set dynamic domain name resolution IP.
983
984 (% style="color:blue" %)**AT command: AT+BKDNS**
985
986 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
987 |=(% style="width: 138px; background-color: rgb(79, 129, 189); color: white;" %)**Command Example**|=(% style="width: 143px; background-color: rgb(79, 129, 189); color: white;" %)**Function/Parameters**|=(% style="width: 229px; background-color: rgb(79, 129, 189); color: white;" %)**Response/Explanation**
988 |(% style="width:134px" %)(((
989 AT+BKDNS=?
990 )))|(% style="width:143px" %)Get current Settings|(% style="width:606px" %)(((
991 0,0,NULL  (default)
992 OK
993 )))
994 |(% colspan="1" rowspan="3" style="width:134px" %)(((
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006 AT+BKDNS=a,b,c
1007 )))|(% style="width:143px" %)(((
1008 **a**: Enable/Disable dynamic domain name resolution.
1009 )))|(% style="width:606px" %)**1**: Disable dynamic domain name update. The ip address will be saved after the domain name is resolved, if the next domain name resolution fails, the last saved ip address will be used.
1010 **2**: Enable dynamic domain name update. The ip address will be saved after domain name resolution, if the next domain name resolution fails, the last saved ip address will be used, and the domain name resolution will be updated regularly according to the time set by the customer.
1011 |(% style="width:143px" %)**b**: Set the time to update the domain name resolution at regular intervals.|(% style="width:606px" %)(((
1012 Unit: hour
1013 )))
1014 |(% style="width:143px" %)(((
1015 **c**: Set the IP address manually.
1016 )))|(% style="width:606px" %)(((
1017 The format is the same as AT+SERVADDR.
1018 If domain name resolution fails, this ip address will be used directly, if domain name resolution succeeds, parameter c will be updated to the successfully resolved IP address.
1019 )))
1020
1021 **Example:**
1022
1023 * AT+BKDNS=1,0  ~/~/ Dynamic domain name resolution is disabled.
1024 * AT+BKDNS=2,1  ~/~/ The dynamic domain name resolution function is enabled and the automatic update time is set to 1 hour.
1025 * AT+BKDNS=2,4,3.69.98.183,1883  ~/~/ The dynamic domain name resolution function is enabled and the automatic update time is set to 4 hour, and manually set the ip address, if the domain name failed to resolve, it will directly use this ip to communicate. When the next domain name resolution is successful, it will be updated to the ip address of the successful resolution.
1026
1027 (% style="color:blue" %)**Downlink Command:  **
1028
1029 No downlink commands for feature
1030
1031
1032 === 3.3.9 Set the downlink debugging mode ===
1033
1034 Feature: Set the conversion between the standard version and 1T version downlinks.
1035
1036 (% style="color:blue" %)**AT command: AT+DOWNTE**
1037
1038 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1039 |=(% style="width: 138px; background-color: rgb(79, 129, 189); color: white;" %)**Command Example**|=(% style="width: 143px; background-color: rgb(79, 129, 189); color: white;" %)**Function/Parameters**|=(% style="width: 229px; background-color: rgb(79, 129, 189); color: white;" %)**Response/Explanation**
1040 |(% style="width:134px" %)AT+DOWNTE=?|(% style="width:143px" %)Get current Settings|(% style="width:229px" %)(((
1041 0,0  (default)
1042 OK
1043 )))
1044 |(% colspan="1" rowspan="2" style="width:134px" %)(((
1045
1046
1047
1048
1049 AT+DOWNTE=a,b
1050 )))|(% style="width:143px" %)**a**: Set the conversion between the downlink of the standard version and 1T version|(% style="width:229px" %)(((
1051 **0**: Set the downlink of the standard version.
1052 **1**: Set the downlink of the 1T version(ThingsEye platform)
1053 )))
1054 |(% style="width:143px" %)**b**: Enable/Disable downlink debugging|(% style="width:229px" %)(((
1055 **0**: Disable downlink debugging mode.
1056 **1**: Enable downlink debugging mode, users can see the original downlink reception.
1057 )))
1058
1059 **Example:**
1060
1061 * AT+DOWNTE=0,1  ~/~/ Set to standard version downlink, and enable downlink debugging.
1062 * AT+DOWNTE=1,1  ~/~/ Set to 1T version downlink, and enable downlink debugging.
1063
1064 (% style="color:blue" %)**Downlink Command:  **
1065
1066 No downlink commands for feature
1067
1068
1069 === 3.3.10 Set the TLS mode ===
1070
1071
1072 Refer to this link ([[MQTT Connection to send data to Tago.io>>http://wiki.dragino.com/xwiki/bin/view/Main/General%20Manual%20for%20-CB%20%2C%20-CS%20models/#H3.7Tago.io28viaMQTT29]])to use the TLS mode.
1073
1074 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**AT+TLSMOD**
1075
1076 **Example 1: ** AT+TLSMOD=0,0  ~/~/ Disable TLS Mode.
1077
1078 **Example 2:**  AT+TLSMOD=1,0  ~/~/ No authentication
1079
1080 AT+TLSMOD=1,1  ~/~/ Perform server authentication
1081
1082 AT+TLSMOD=1,2  ~/~/ Perform server and client authentication if requested by the remote server
1083
1084 (% style="color:blue" %)**Downlink command:**(%%)** (% style="color:#037691" %)0x09(%%)**
1085
1086 Format: Command Code (0x09) followed by 2 bytes.
1087
1088 Example1:  Downlink Payload: **09 00 00    **~/~/ AT+TLSMOD=0,0
1089
1090 Example2:  Downlink Payload: **09 01 02    **~/~/ AT+TLSMOD=1,2
1091
1092
1093 === 3.3.11 Set GNSS open time ===
1094
1095
1096 Extend the time to turn on GNSS. The automatic GPS location time is extended when the node is activated.
1097
1098 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**AT+GNSST**
1099
1100 Example: AT+GNSST=30  ~/~/ Set the GPS positioning time to 30 seconds
1101
1102 (% style="color:blue" %)**Downlink command:**(%%)** (% style="color:#037691" %)0x10(%%)**
1103
1104 Format: Command Code (0x10) followed by 2 bytes.
1105
1106 Example:  Downlink Payload: **10 00 1E    **~/~/ AT+GNSST=30
1107
1108
1109 === 3.3.12 Turn on/off GPS ===
1110
1111
1112 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**AT+GPS **
1113
1114 **Ex1:  **AT+GPS=0  ~/~/ Turn off GPS
1115
1116 **Ex2:  **AT+GPS=1  ~/~/ Turn on GPS
1117
1118 (% style="color:blue" %)**Downlink command:**(%%)** (% style="color:#037691" %)0x11(%%)**
1119
1120 Format: Command Code (0x11) followed by 1 byte.
1121
1122 Example:  Downlink Payload: **11 01   **~/~/ AT+GPS=1
1123
1124
1125 === 3.3.13 Set GPS positioning interval ===
1126
1127
1128 Feature: Set GPS positioning interval (unit: hour).
1129
1130 When GPS is enabled, the node automatically locates and uplinks each time it passes **GTDC time** after activation.
1131
1132 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**AT+GTDC**
1133
1134 Example: AT+GTDC=24  ~/~/ Set the GPS positioning interval to 24h.
1135
1136 (% style="color:blue" %)**Downlink command:**(%%)** (% style="color:#037691" %)0x12(%%)**
1137
1138 Format: Command Code (0x12) followed by 3 bytes.
1139
1140 Example: 24 hours:  24(D)=0x18(H)
1141
1142 Downlink Payload: **12 00 00 18   **~/~/ AT+GTDC=24
1143
1144
1145 === 3.3.14 Set the search network time ===
1146
1147
1148 Feature: Get or Set the time to join the network(unit: minutes).
1149
1150 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**AT+CSQTIME**
1151
1152 Example: AT+CSQTIME=10  ~/~/ Set the search time to 10 minutes.
1153
1154 (% style="color:blue" %)**Downlink command:**(%%)** (% style="color:#037691" %)0x13(%%)**
1155
1156 Format: Command Code (0x13) followed by 1 byte.
1157
1158 Example:  Downlink Payload: **13 0A   **~/~/ AT+CSQTIME=10
1159
1160
1161 === 3.3.15 Set the IPv4 or IPv6 ===
1162
1163
1164 This command is used to set IP version.
1165
1166 (% style="color:blue" %)**AT command:**
1167
1168 * (% style="color:#037691; font-weight:bold" %)**AT+IPTYPE**(% style="color:#037691" %)**=1**(%%)**      **~/~/ IPv4
1169 * (% style="color:#037691; font-weight:bold" %)**AT+IPTYPE**(% style="color:#037691" %)**=2**(%%)**      **~/~/ IPv6
1170
1171 === 3.3.16 Configure Network Category to be Searched for under LTE RAT. ===
1172
1173
1174 (% style="color:blue" %)**AT command:**(%%)** (% style="color:#037691" %)AT+IOTMOD=xx(%%)**
1175
1176 (% style="color:#037691" %)**xx:**(%%)  **0:** eMTC
1177
1178 **1:** NB-IoT
1179
1180 **2:** eMTC and NB-IoT
1181
1182
1183 === 3.3.17 Factory data reset ===
1184
1185
1186 Two different restore factory Settings configurations.
1187
1188 (% style="color:blue" %)**AT command:**
1189
1190 * (% style="color:#037691; font-weight:bold" %)**AT+FDR**(%%)**       **~/~/ Reset Parameters to Factory Default.
1191 * (% style="color:#037691; font-weight:bold" %)**AT+FDR1**(%%)**     **~/~/ Reset parameters to factory default values **except for passwords**.
1192
1193 === 3.3.19 Set CoAP option ===
1194
1195
1196 Feature: Set CoAP option, follow this link to set up the CoaP protocol.
1197
1198 (% style="color:blue" %)**AT command: **(% style="color:#037691; font-weight:bold" %)**AT+URI1~~AT+URI8**
1199
1200 (% style="color:#037691; font-weight:bold" %)**AT+URI1=11,"i"         **(%%)~/~/ "i/" indicates that the endpoint supports observation mode. In -CB products, fixed  setting AT+URI1=11,"i"
1201
1202 (% style="color:#037691; font-weight:bold" %)**AT+URI2=11,"CoAP endpoint URl"   **(%%)~/~/ 11 is a fixed parameter.
1203
1204 **Example: ** i/13a35fbe-9515-6e55-36e8-081fb6aacf86
1205
1206 AT+URI1=11,"i"
1207
1208 AT+URI2=11,"13a35fbe-9515-6e55-36e8-081fb6aacf86"
1209
1210 ~-~-> If multiple groups of CoAP endpoint urls:
1211
1212 AT+URI3=11,"i"
1213
1214 AT+URI4=11,"CoAP endpoint URl"
1215
1216
1217 === 3.3.20 Power on / power off BG95 module ===
1218
1219
1220 This command is used to power on and power off BG95 module.
1221
1222 * (% style="color:blue" %)**AT command: **(% style="color:#037691" %)**AT+QSW**
1223
1224 The module is powered on after the command is sent for the first time, and powered off after the command is sent again.
1225
1226 [[image:image-20250120110640-4.png]]
1227
1228
1229 === 3.3.21 Set the receiving time ===
1230
1231
1232 Feature: Extend the receiving time
1233
1234 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**AT+RXDL**
1235
1236 Example: AT+RXDL=1000  ~/~/ Set the receiving time delay to 1000ms
1237
1238 (% style="color:blue" %)**Downlink Commands: **(% style="color:#037691" %)**0x03**
1239
1240 Format: Command Code (0x03) followed by 3 bytes.
1241
1242 Example:  Downlink Payload: **03 00 03 E8     **~/~/ AT+RXDL=1000
1243
1244
1245 === 3.3.22 Reset ===
1246
1247
1248 Feature: Trig a reset of the MCU.
1249
1250 (% style="color:blue" %)**AT Command: **(% style="color:#037691" %)**ATZ**
1251
1252 (% style="color:blue" %)**Downlink Commands: **(% style="color:#037691" %)**0x04FF**
1253
1254
1255 === 3.3.23 Set the QoS level ===
1256
1257
1258 This command is used to set the QoS level of **MQTT**.
1259
1260 (% style="color:blue" %)**AT command:**
1261
1262 * (% style="color:#037691" %)**AT+MQOS=xx**(%%)**   **~/~/ 0~~2
1263
1264 (% style="color:blue" %)**Downlink command:**(%%)** (% style="color:#037691" %)0x07(%%)**
1265
1266 Format: Command Code (0x07) followed by 1 byte.
1267
1268 **Ex1:** Downlink payload: **0x0700**  ~/~/ AT+MQOS=0
1269
1270 **Ex2:** Downlink payload: **0x0701**  ~/~/ AT+MQOS=1
1271
1272
1273 == 3.4 Add 3rd RS485 / Modbus Sensor ==
1274
1275 === 3.4.1 Hardware Connection ===
1276
1277
1278 WSC2-C has a 1 to 3 cables. All the three connectors has same defination as below. It include Five Pins: VCC, GND, RS485-A, RS485-B, Count.
1279
1280 (% style="color:red" %)**Notice: RS485-A,RS485-B can be used to connect multiply sensors. but the COUNT can be only use for one sensor. Which means if you already add a Pulse output Rain Guage in the system, you are not able to add another Pulse Output device.**
1281
1282 [[image:image-20240707220859-4.png||height="313" width="366"]]
1283
1284
1285 === 3.4.2 Software Setup ===
1286
1287
1288 Send AT+DYSENSOR to activate the RS485 sensor for collecting 3rd RS485 sensor. You can refer to the instructions in section 3.3.3 of the manual.
1289
1290 For example: AT+DYSENSOR=A1,8,A103000000019CAA,8,24,1,1500
1291
1292
1293 === 3.4.3 Payload ===
1294
1295 [[image:image-20240416163658-1.png]]
1296
1297 For example: A1 02 00 00
1298
1299 A1 : A1 register data acquisition instruction
1300
1301 02 : The valid data returned is 2 bytes in total.
1302
1303 00 00 : Return valid data
1304
1305
1306 = 3.5 Add tipping bucket total solar radiation sensor =
1307
1308 === 3.5.1 Hardware Connection ===
1309
1310
1311 The following is an example of connecting a total solar radiation sensor to a matching interface cable, and then using the interface to connect the WSC2-C.
1312
1313 Users can also choose to connect the sensor directly to the WSC2-C via the cable and pin instructions below.
1314
1315 The following is an explanation of the [[pins>>||anchor="H5.7PinMapping"]] required for WSC2-C:
1316
1317 **A:** RS485-A  (Connect the RS485 sensor)
1318
1319 **B:** RS485-B  (Connect the RS485 sensor)
1320
1321 **GPIO_EXTI:** Interrupt pin  (Can be used to connect an additionally added pulsed rain gauge)
1322
1323
1324 * Total Solar Radiation Sensor Cable Descripti
1325
1326 [[image:image-20240906174635-2.jpeg||height="430" width="813"]]
1327
1328
1329
1330 * Mating Interface Cable Description
1331
1332 [[image:image-20240906173843-1.jpeg||height="404" width="815"]]
1333
1334 * Connect to WSC2-C
1335
1336 The Total solar radiation sensor does not need to connect the interrupt pin, so the white cable is not wired.
1337
1338 [[image:image-20240906182250-3.jpeg||height="442" width="820"]]
1339
1340
1341 === 3.5.2 Calculating & Decode ===
1342
1343
1344 0FC6 01 00000000 00EB 000F 0000 0003 008E 0251 00CE 0213 0017 001B 03EC 000000DE 90 A1020000 A2020032
1345
1346 For example:  A2 02 00 32
1347
1348 A2 : A2 register data acquisition instruction
1349
1350 02 : The valid data returned is 2 bytes in total.
1351
1352 00 32(HEX) : Return valid data = 50(DEC)W/m2
1353
1354
1355 == 3.6 AT Commands Set ==
1356
1357 AT+<CMD>? : Help on <CMD>
1358
1359 AT+<CMD> : Run <CMD>
1360
1361 AT+<CMD>=<value> : Set the value
1362
1363 AT+<CMD>=? : Get the value
1364
1365
1366 (% style="color:blue" %)**General Commands **
1367
1368 AT+MODEL : Get module information
1369
1370 ATZ : Trig a reset of the MCU
1371
1372 AT+CFGMOD : Working mode selection
1373
1374 AT+DEUI : Get or set the Device ID
1375
1376 AT+CFG : Print all settings
1377
1378 AT+SERVADDR: Get or Set the Server address
1379
1380 AT+TDC : Get or set the application data transmission interval in s
1381
1382 AT+INTMOD : Get or Set the trigger interrupt mode (0:input,1:falling or rising,2:falling,3:rising)
1383
1384 AT+APN : Get or set the APN
1385
1386 AT+PRO : Get or Set usage agreement (1:COAP,2:UDP,3:MQTT,4:TCP)
1387
1388 AT+RXDL : Get or Set the receiving time
1389
1390 AT+LDATA : Get the last upload data
1391
1392 AT+COUNTMOD : Get or Set the count mode
1393
1394 AT+RSWRITE : Write command to 485 sensor
1395
1396 AT+DTR : Set or get the delay time for receiving 485 sensor data
1397
1398 AT+DYSENSOR : Set or get 485 sensor
1399
1400 AT+PMMOD : CO2 to PM2.5/10
1401
1402 AT+SETCNT : Get or set the count at present
1403
1404 AT+FACTOR : Get or Set factor
1405
1406 AT+GETSENSORVALUE : Returns the current sensor measurement
1407
1408 AT+DNSCFG : Get or Set DNS Server
1409
1410 AT+CSQTIME : Get or Set the time to join the network
1411
1412 AT+BKDNS : Get or Set dynamic domain name resolution IP
1413
1414 AT+SLEEP : Get or Set the sleep mode
1415
1416 AT+GETLOG : Print serial port logs
1417
1418 AT+DOWNTE: Get or set the conversion between the standard version and 1T version downlinks
1419
1420 AT+GDNS : Get or Set the DNS
1421
1422 AT+MQOS : Set the QoS level of MQTT
1423
1424 AT+IPTYPE : Set the IPv4 or IPv6
1425
1426 AT+QSW : Power on and power off BG95 module
1427
1428 AT+QBAND: Get or set Frequency Band
1429
1430 AT+IOTMOD: Configure Network Category to be Searched for under LTE RAT
1431
1432
1433 (% style="color:blue" %)**MQTT Management**
1434
1435
1436 AT+CLIENT : Get or Set the MQTT clientID
1437
1438 AT+UNAME : Get or Set the MQTT Username
1439
1440 AT+PWD : Get or Set the MQTT password
1441
1442 AT+PUBTOPIC: Get or set MQTT publishing topic
1443
1444 AT+SUBTOPIC: Get or set MQTT subscription topic
1445
1446 AT+TLSMOD : Get or Set the TLS mode
1447
1448
1449 (% style="color:blue" %)**information**
1450
1451 AT+FDR1 : Reset parameters to factory default values except for passwords
1452
1453 AT+FDR : Reset Parameters to Factory Default
1454
1455 AT+PWORD : Get or set the System password
1456
1457
1458 (% style="color:blue" %)**Management**
1459
1460 AT+URI1: Get or set CoAP option 1
1461
1462 AT+URI2: Get or set CoAP option 2
1463
1464 AT+URI3: Get or set CoAP option 3
1465
1466 AT+URI4: Get or set CoAP option 4
1467
1468 AT+URI5: Get or set CoAP option 5
1469
1470 AT+URI6: Get or set CoAP option 6
1471
1472 AT+URI7: Get or set CoAP option 7
1473
1474 AT+URI8: Get or set CoAP option 8
1475
1476
1477 (% style="color:blue" %)**GPS**
1478
1479 AT+GNSST : Extend the time to turn on GNSS
1480
1481 AT+GPS : Turn off and on GPS
1482
1483 AT+GTDC : Get or set GPS positioning interval in units of h
1484
1485
1486 = 4. Power consumption and battery =
1487
1488 == 4.1 Total Power Consumption ==
1489
1490
1491 Dragino Weather Station serial products include the main process unit (WSC2-C) and various sensors. The total power consumption equal total power of all above units. The power consumption for main process unit WSC2-C is 18ma @ 12v. and the power consumption of each sensor can be found on the Sensors chapter.
1492
1493
1494 == 4.2 Battery ==
1495
1496
1497 (((
1498 All sensors are only power by external power source. If external power source is off. All sensor won't work.
1499 )))
1500
1501 (((
1502 Main Process Unit WSC2-C is powered by both external power source and internal 1000mAh rechargeable battery. If external power source is off, WSC2-C still runs and can send periodically uplinks, but the sensors value will become invalid.  External power source can recharge the 1000mAh rechargeable battery.
1503 )))
1504
1505
1506 = 5. Main Process Unit WSC2-C =
1507
1508
1509 WSC2-C is the main process unit in Dragino Weather Station solution. WSC2-C is an an outdoor NB-IOT RS485 end node. It is powered by external 12v solar power and have a built-in Li-ion backup battery.
1510
1511 WSC2-C reads value from various sensors and upload these sensor data to IoT server via NB-Iot wireless protocol.
1512
1513 WSC2-C Supports BLE configure and wireless OTA update which make user easy to use.
1514
1515
1516 == 5.1 Features ==
1517
1518
1519 * NB-IoT Bands: B1/B2/B3/B4/B5/B8/B12/B13/B17/B18/B19/B20/B25/B28/B66/B70/B85 @H-FDD
1520 * Ultra-low power consumption
1521 * RS485 / Modbus protocol
1522 * AT Commands to change parameters
1523 * Downlink to change configure
1524 * Powered by external 12v battery
1525 * Back up rechargeable 1000mAh battery
1526 * IP Rating: IP65
1527 * Support default sensors or 3rd party RS485 sensors
1528 * Support wireless OTA update firmware
1529 * Wall Attachable.
1530
1531 == 5.2 Power Consumption ==
1532
1533
1534 WSC2-C (without external sensor): Idle: 4mA, Transmit: max 40mA
1535
1536
1537 == 5.3 Storage & Operation Temperature ==
1538
1539
1540 -20°C to +60°C
1541
1542
1543 == 5.4 Sleep mode and working mode ==
1544
1545
1546 (% style="color:blue" %)**Deep Sleep Mode: **(%%)Sensor doesn't have any NB-IoT activate. This mode is used for storage and shipping to save battery life.
1547
1548 (% style="color:blue" %)**Working Mode:** (%%)In this mode, Sensor will work as NB-IoT Sensor to Join NB-IoT network and send out sensor data to server. Between each sampling/tx/rx periodically, sensor will be in IDLE mode), in IDLE mode, sensor has the same power consumption as Deep Sleep mode.
1549
1550
1551 == 5.5 Button & LEDs ==
1552
1553
1554 [[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675071855856-879.png]]
1555
1556
1557 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1558 |=(% style="width: 167px;background-color:#4F81BD;color:white" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width:226px;background-color:#4F81BD;color:white" %)**Action**
1559 |[[image:1749524254279-855.png]] 1~~3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)(((
1560 If sensor has already attached to NB-IoT/CAT-M1 network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once.
1561 Meanwhile, BLE module will be active and user can connect via BLE to configure device.
1562 )))
1563 |[[image:1749524256484-963.png]] >3s|(% style="width:117px" %)Active Device|(% style="width:225px" %)(((
1564 (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:#037691" %)**OTA mode**(%%) for 3 seconds. And then start to attach NB-IoT/CAT-M1 network.
1565 Once sensor is active, BLE module will be active and user can connect via BLE to configure device, no matter if device attach NB-IoT/CAT-M1 network or not.
1566 )))
1567 |[[image:1749524278678-893.png]] x5|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode.
1568
1569 (% style="color:red" %)**Note: When the device is executing a program, the buttons may become invalid. It is best to press the buttons after the device has completed the program execution.**
1570
1571
1572 == 5.6 BLE connection ==
1573
1574
1575 WSC2-C supports BLE remote configure.
1576
1577 BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case:
1578
1579 * Press button to send an uplink
1580 * Press button to active device.
1581 * Device Power on or reset.
1582
1583 If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode.
1584
1585
1586 == 5.7 Pin Mapping ==
1587
1588
1589 [[image:image-20240412165523-2.png]]
1590
1591
1592 == 5.8 Mechanical ==
1593
1594
1595 Refer LSn50v2 enclosure drawing in:  [[https:~~/~~/www.dropbox.com/sh/0ir0l9jjmk6p95e/AADwWXorcKuNpPR5em7VgrEja?dl=0>>https://www.dropbox.com/sh/0ir0l9jjmk6p95e/AADwWXorcKuNpPR5em7VgrEja?dl=0]]
1596
1597
1598 = 6. OTA Firmware update =
1599
1600
1601 (% class="wikigeneratedid" %)
1602 **User can change firmware WSC2-C to:**
1603
1604 * Change Frequency band/ region.
1605 * Update with new features.
1606 * Fix bugs.
1607
1608 **Firmware and changelog can be downloaded from :** **[[Firmware download link>>https://www.dropbox.com/sh/8j3ioji411ni9gu/AADnOw3ErB1REsthKilfaq_Pa?dl=0]]**
1609
1610 **Methods to Update Firmware:**
1611
1612 * (Recommanded way) OTA firmware update via wireless: **[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]**
1613
1614 * Update through UART TTL interface: **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**.
1615
1616 = 7. FAQ =
1617
1618 == 7.1 What else do I need to purchase to build Weather Station? ==
1619
1620
1621 Below is the installation photo and structure:
1622
1623 [[image:image-20250120111258-5.jpeg]]
1624
1625 == 7.2 Where can i find the modbus command for the WSS-09 sensor? ==
1626
1627 See this link for the [[modbus command set>>https://www.dropbox.com/scl/fo/ztlw35a9xbkomu71u31im/AJ0vtpF_CRE7KYMQMJNa9tw/LTE-M/WSC2-C?dl=0&e=1&preview=Weather_Sensors_Modbus_Command_List.xlsx&rlkey=ojjcsw927eaow01dgooldq3nu&subfolder_nav_tracking=1]].
1628
1629
1630 = 8. Trouble Shooting =
1631
1632 == 8.1 What should I do when the RS485 sensor cannot collect data? ==
1633
1634
1635 ~1. Recheck whether the sensor's power supply voltage is 12V at maximum.
1636
1637 2. Recheck whether the A and B signal lines of the sensor are connected reversely.
1638
1639 3. Check whether the sensor's transmission baud rate is 4800. If not, please change it to 4800 and try reading again.
1640
1641
1642 == 8.2 Why does the weather station make electric current sounds during operation? ==
1643
1644
1645 ~1. Because a certain amount of sound will be produced during long-term power supply operation. This is a normal phenomenon and does not affect use.
1646
1647
1648 == 8.3 How to solve the problem of temperature difference in weather stations? ==
1649
1650
1651 You can use AT+RSWRITE (downlink: E2 xx xx xx xx xx xx xx ) to modify the temperature compensation function in the weather station.
1652
1653 **For example:**
1654
1655 When the temperature of the weather station is 3°C different from the right value, you can use AT+RSWRITE=01 06 00 50 00 1E 09 D3 (downlink: E2 01 06 00 50 00 1E 09 D3) to modify the temperature compensation value of the weather station to +3°C .
1656
1657
1658 == 8.4 Why does the rain gauge have no data? ==
1659
1660
1661 The default mode of the rain gauge is trigger mode.
1662 When it rains, it will trigger an uplink, and the data does not include rainfall data.
1663 If you want to query rainfall data, please change to counting mode
1664
1665 Feature: Users can set the trigger mode to counting mode or interrupt mode as needed.
1666
1667 (% style="color:#037691" %)**AT Command:**
1668
1669 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:433px" %)
1670 |=(% style="width: 157px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 190px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 86px;background-color:#4F81BD;color:white" %)**Response**
1671 |(% style="width:157px" %)AT+COUNTMOD=0|(% style="width:188px" %)set to interrupt mode|(% style="width:85px" %)OK
1672 |(% style="width:157px" %)AT+COUNTMOD=1|(% style="width:188px" %)(((
1673 set to counting mode
1674 )))|(% style="width:85px" %)OK
1675
1676 (% style="color:#037691" %)**Downlink Command:**
1677
1678 Format: Command Code (0x10) followed by 1 bytes time value.
1679
1680 If the downlink payload=10 00, Set the trigger mode to interrupt mode, while type code is 10.
1681
1682 * Example 1: Downlink Payload: 10 00  ~/~/  Same as: AT+COUNTMOD=0  set to interrupt mode
1683
1684 = 9. Order Info =
1685
1686
1687 (% style="color:red" %)**Please note that the WSC2-C only includes the wireless transmitter, and the WSS-08, WSS-09, WSS-21, WSS-22, WSS-23, WSS-24, WSS-25, WSS-26, WSS-27 sensor need to be purchased separately. If you need to connect more than 3 sensors, please purchase an additional one to four adapter cable (DR-F6C-4M).**
1688
1689
1690 **Part Number:**
1691
1692 (% style="color:blue" %)**Wireless Transmitter :**(%%)** WSC2-C-XX **
1693
1694 (% style="color:red" %)**XX**(%%):
1695
1696 * (% style="color:#037691" %)**GE**(%%): General version ( Exclude SIM card)
1697
1698 * (% style="color:#037691" %)**1T**(%%): with 1NCE * 10 years 500MB SIM card and Pre-configure to ThingsEye server
1699
1700 (% style="color:green" %)**Sensors Option :**(%%)** WSS-08, WSS-09, WSS-21, WSS-22, WSS-23, WSS-24, WSS-25, WSS-26, WSS-27**
1701
1702
1703 = 10. Support =
1704
1705
1706 * 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.
1707
1708 * 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]].