Last modified by Mengting Qiu on 2025/06/10 18:53

From version 79.17
edited by Xiaoling
on 2022/06/24 17:20
Change comment: There is no comment for this version
To version 86.9
edited by Xiaoling
on 2022/07/06 15:40
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Dragino LoRaWAN Weather Station User Manual
1 +WSC1-L-Dragino LoRaWAN Weather Station User Manual
Content
... ... @@ -67,7 +67,6 @@
67 67  * WSC1-L has an extra 1000mAh back up battery. So it can work even solar panel and storage battery Fails.
68 68  * Weather sensors won’t work if solar panel and storage battery fails.
69 69  
70 -
71 71  (% style="color:red" %)**Notice 2:**
72 72  
73 73  Due to shipment and importation limitation, user is better to purchase below parts locally:
... ... @@ -102,6 +102,7 @@
102 102  
103 103  
104 104  
104 +
105 105  == 2.3 Example to use for LoRaWAN network ==
106 106  
107 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.
... ... @@ -162,6 +162,7 @@
162 162  
163 163  
164 164  
165 +
165 165  === 2.4.1 Uplink FPORT~=5, Device Status ===
166 166  
167 167  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
... ... @@ -297,9 +297,92 @@
297 297  
298 298  (% style="color:#4472c4" %)**Sensor Type Table:**
299 299  
300 -[[image:image-20220624140352-2.png]]
301 301  
302 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
303 +|=(% style="width: 70px;" %)**Sensor Type**|=(% style="width: 60px;" %)**Type Code**|=(% style="width: 100px;" %)**Range**|=(% style="width: 70px;" %)**Length ( Bytes)**|=(% style="width: 200px;" %)**Example**
304 +|(% style="width:126px" %)**Wind Speed**|(% style="width:104px" %)0x01|(% style="width:135px" %)(((
305 +Speed: 0~60m/s
302 302  
307 +Level: 0~17
308 +)))|(% style="width:147px" %)0x03 |(% style="width:295px" %)(((
309 +0x0024/10=3.6m/s
310 +
311 +(0x02FE: No Sensor, 0x02FF: Value Error)
312 +
313 +0x02=2
314 +
315 +(0x14: No Sensor, 0x15: Value Error)
316 +)))
317 +|(% style="width:126px" %)**Wind Direction**|(% style="width:104px" %)0x02|(% style="width:135px" %)(((
318 +Angel: 0~360°
319 +
320 +Direction: 16 positions
321 +)))|(% style="width:147px" %)0x03|(% style="width:295px" %)(((
322 +0x029A/10=66.6°
323 +
324 +(0x0EFE: No Sensor,0x0EFF: Value Error)
325 +
326 +0X03=3(ENE)
327 +
328 +(0x14: No Sensor,0x15: Value Error)
329 +)))
330 +|(% style="width:126px" %)**Illumination**|(% style="width:104px" %)0x03|(% style="width:135px" %)0~200000Lux|(% style="width:147px" %)0x02|(% style="width:295px" %)(((
331 +0x04D2 *10=12340Lux
332 +
333 +(0x4EFE: No Sensor,0x4EFF: Value Error)
334 +)))
335 +|(% style="width:126px" %)**Rain / Snow**|(% style="width:104px" %)0x04|(% style="width:135px" %)00: No, 01 Yes.|(% style="width:147px" %)0x01|(% style="width:295px" %)(((
336 +0x00 (00) No Rain or snow detected
337 +
338 +(0x02: No Sensor,0x03: Value Error)
339 +)))
340 +|(% style="width:126px" %)**CO2**|(% style="width:104px" %)0x05|(% style="width:135px" %)0~5000ppm|(% style="width:147px" %)0x02|(% style="width:295px" %)(((
341 +0x0378=888ppm
342 +
343 + (0x14FE: No Sensor,0x14FF: Value Error)
344 +)))
345 +|(% style="width:126px" %)**Temperature**|(% style="width:104px" %)0x06|(% style="width:135px" %)-30℃~70℃|(% style="width:147px" %)0x02|(% style="width:295px" %)(((
346 +0xFFDD/10=-3.5℃
347 +
348 +(0x02FE: No Sensor,0x02FF: Value Error)
349 +)))
350 +|(% style="width:126px" %)**Humidity**|(% style="width:104px" %)0x07|(% style="width:135px" %)0~100%RH|(% style="width:147px" %)0x02|(% style="width:295px" %)0x0164/10=35.6%RH (0x03FE: No Sensor,0x03FF: Value Error)
351 +|(% style="width:126px" %)**Pressure**|(% style="width:104px" %)0x08|(% style="width:135px" %)10~1100hPa|(% style="width:147px" %)0x02|(% style="width:295px" %)(((
352 +0x2748/10=1005.6hPa
353 +
354 +(0x00: No Sensor,0x01: Value Error)
355 +)))
356 +|(% style="width:126px" %)**Rain Gauge**|(% style="width:104px" %)0x09|(% style="width:135px" %)0mm~~100mm(Rainfall in the last 24 hours)|(% style="width:147px" %)0x02|(% style="width:295px" %)(((
357 +0x0050/10=8mm(Rainfall within 24 hours: 8.0mm)
358 +
359 +(0x03FE: No Sensor,0x03FF: Value Error)
360 +)))
361 +|(% style="width:126px" %)**PM2.5**|(% style="width:104px" %)0x0A|(% style="width:135px" %)0~1000μg/m^^3^^|(% style="width:147px" %)0x02|(% style="width:295px" %)(((
362 +0x0023=35μg/m^^3 ^^
363 +
364 +(0x03FE: No Sensor,0x03FF: Value Error)
365 +)))
366 +|(% style="width:126px" %)**PM10**|(% style="width:104px" %)0x0B|(% style="width:135px" %)0~1000μg/m^^3^^|(% style="width:147px" %)0x02|(% style="width:295px" %)(((
367 +0x002D=45μg/m^^3 ^^
368 +
369 +(0x03FE: No Sensor,0x03FF: Value Error)
370 +)))
371 +|(% style="width:126px" %)**PAR**|(% style="width:104px" %)0x0C|(% style="width:135px" %)0~2500μmol/m^^2^^•s|(% style="width:147px" %)0x02|(% style="width:295px" %)(((
372 +0x00B3=179μmol/m^^2^^•s
373 +
374 +(0x09FE: No Sensor,0x9FF: Value Error)
375 +)))
376 +|(% style="width:126px" %)(((
377 +**Total Solar**
378 +
379 +**Radiation**
380 +)))|(% style="width:104px" %)0x0D|(% style="width:135px" %)0~2000W/m^^2^^|(% style="width:147px" %)0x02|(% style="width:295px" %)(((
381 +0x0073/10=11.5W/m^^2^^
382 +
383 +(0x4EFE: No Sensor,0x4EFF: Value Error)
384 +)))
385 +
386 +
303 303  (((
304 304  Below is an example payload:  [[image:image-20220624140615-3.png]]
305 305  )))
... ... @@ -348,17 +348,27 @@
348 348  
349 349  
350 350  
351 -
352 352  === 2.4.3 Decoder in TTN V3 ===
353 353  
437 +(((
354 354  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.
439 +)))
355 355  
441 +(((
442 +
443 +)))
356 356  
445 +(((
357 357  Download decoder for suitable platform from:
447 +)))
358 358  
449 +(((
359 359  [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Weather_Station/WSC1-L/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Weather_Station/WSC1-L/]]
451 +)))
360 360  
453 +(((
361 361  and put as below:
455 +)))
362 362  
363 363  [[image:1656051152438-578.png]]
364 364  
... ... @@ -366,12 +366,21 @@
366 366  
367 367  == 2.5 Show data on Application Server ==
368 368  
463 +(((
369 369  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:
465 +)))
370 370  
467 +(((
468 +
469 +)))
371 371  
471 +(((
372 372  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
473 +)))
373 373  
475 +(((
374 374  (% 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.
477 +)))
375 375  
376 376  [[image:1656051197172-131.png]]
377 377  
... ... @@ -419,9 +419,6 @@
419 419  
420 420  
421 421  
422 -
423 -
424 -
425 425  == 3.1 Set Transmit Interval Time ==
426 426  
427 427  Feature: Change LoRaWAN End Node Transmit Interval.
... ... @@ -440,8 +440,6 @@
440 440  * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
441 441  * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
442 442  
443 -
444 -
445 445  == 3.2 Set Emergency Mode ==
446 446  
447 447  Feature: In emergency mode, WSC1-L will uplink data every 1 minute.
... ... @@ -456,29 +456,53 @@
456 456  * 0xE101     Same as: AT+ALARMMOD=1
457 457  * 0xE100     Same as: AT+ALARMMOD=0
458 458  
459 -
460 -
461 461  == 3.3 Add or Delete RS485 Sensor ==
462 462  
559 +(((
463 463  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.
561 +)))
464 464  
563 +(((
465 465  (% style="color:#037691" %)**AT Command: **
565 +)))
466 466  
567 +(((
467 467  (% style="color:blue" %)**AT+DYSENSOR=Type_Code, Query_Length, Query_Command , Read_Length , Valid_Data ,has_CRC,timeout**
569 +)))
468 468  
469 -* Type_Code range:  A1 ~~ A4
470 -* Query_Length:  RS485 Query frame length, Value cannot be greater than 10
471 -* Query_Command:  RS485 Query frame data to be sent to sensor, cannot be larger than 10 bytes
472 -* Read_Length:  RS485 response frame length supposed to receive. Max can receive
473 -* Valid_Data:  valid data from RS485 Response, Valid Data will be added to Payload and upload via LoRaWAN.
474 -* 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.
475 -* timeout:  RS485 receive timeout (uint:ms). Device will close receive window after timeout
571 +* (((
572 +Type_Code range:  A1 ~~ A4
573 +)))
574 +* (((
575 +Query_Length:  RS485 Query frame length, Value cannot be greater than 10
576 +)))
577 +* (((
578 +Query_Command:  RS485 Query frame data to be sent to sensor, cannot be larger than 10 bytes
579 +)))
580 +* (((
581 +Read_Length:  RS485 response frame length supposed to receive. Max can receive
582 +)))
583 +* (((
584 +Valid_Data:  valid data from RS485 Response, Valid Data will be added to Payload and upload via LoRaWAN.
585 +)))
586 +* (((
587 +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.
588 +)))
589 +* (((
590 +timeout:  RS485 receive timeout (uint:ms). Device will close receive window after timeout
591 +)))
476 476  
593 +(((
477 477  **Example:**
595 +)))
478 478  
597 +(((
479 479  User need to change external sensor use the type code as address code.
599 +)))
480 480  
601 +(((
481 481  With a 485 sensor, after correctly changing the address code to A1, the RS485 query frame is shown in the following table:
603 +)))
482 482  
483 483  [[image:image-20220624143553-10.png]]
484 484  
... ... @@ -527,8 +527,6 @@
527 527  
528 528  * 0xE5FF  
529 529  
530 -
531 -
532 532  == 3.4 RS485 Test Command ==
533 533  
534 534  (% style="color:#037691" %)**AT Command:**
... ... @@ -536,9 +536,13 @@
536 536  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:474px" %)
537 537  |=(% style="width: 159px;" %)**Command Example**|=(% style="width: 227px;" %)**Function**|=(% style="width: 85px;" %)**Response**
538 538  |(% style="width:159px" %)AT+RSWRITE=xxxxxx|(% style="width:227px" %)(((
659 +(((
539 539  Send command to 485 sensor
661 +)))
540 540  
663 +(((
541 541  Range : no more than 10 bytes
665 +)))
542 542  )))|(% style="width:85px" %)OK
543 543  
544 544  Eg: Send command **01 03 00 00 00 01 84 0A** to 485 sensor
... ... @@ -550,8 +550,6 @@
550 550  
551 551  * 0xE20103000001840A     Same as: AT+RSWRITE=0103000001840A
552 552  
553 -
554 -
555 555  == 3.5 RS485 response timeout ==
556 556  
557 557  Feature: Set or get extended time to receive 485 sensor data.
... ... @@ -561,9 +561,13 @@
561 561  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:433px" %)
562 562  |=(% style="width: 157px;" %)**Command Example**|=(% style="width: 188px;" %)**Function**|=(% style="width: 85px;" %)**Response**
563 563  |(% style="width:157px" %)AT+DTR=1000|(% style="width:188px" %)(((
686 +(((
564 564  Set response timeout to:
688 +)))
565 565  
690 +(((
566 566  Range : 0~~10000
692 +)))
567 567  )))|(% style="width:85px" %)OK
568 568  
569 569  (% style="color:#037691" %)**Downlink Command:**
... ... @@ -575,8 +575,6 @@
575 575  * Example 1: Downlink Payload: E0000005 ~/~/ Set Transmit Interval (DTR) = 5 seconds
576 576  * Example 2: Downlink Payload: E000000A ~/~/ Set Transmit Interval (DTR) = 10 seconds
577 577  
578 -
579 -
580 580  == 3.6 Set Sensor Type ==
581 581  
582 582  (((
... ... @@ -659,8 +659,6 @@
659 659  * IP Rating: IP65
660 660  * Support default sensors or 3rd party RS485 sensors
661 661  
662 -
663 -
664 664  == 5.2 Power Consumption ==
665 665  
666 666  WSC1-L (without external sensor): Idle: 4mA, Transmit: max 40mA
... ... @@ -728,8 +728,6 @@
728 728  * ABS enclosure.
729 729  * Horizontal adjustable.
730 730  
731 -
732 -
733 733  === 6.1.2 Specification ===
734 734  
735 735  * Resolution: 0.2mm
... ... @@ -741,8 +741,6 @@
741 741  * Working Humidity: <100% (no dewing)
742 742  * Power Consumption: 4mA @ 12v.
743 743  
744 -
745 -
746 746  === 6.1.3 Dimension ===
747 747  
748 748   [[image:1656054957406-980.png]]
... ... @@ -813,8 +813,6 @@
813 813  * RS485 wind speed / direction sensor
814 814  * PC enclosure, resist corrosion
815 815  
816 -
817 -
818 818  === 6.2.2 Specification ===
819 819  
820 820  * Wind speed range: 0 ~~ 30m/s, (always show 30m/s for higher speed)
... ... @@ -828,8 +828,6 @@
828 828  * Power Consumption: 13mA ~~ 12v.
829 829  * Cable Length: 2 meters
830 830  
831 -
832 -
833 833  === 6.2.3 Dimension ===
834 834  
835 835  [[image:image-20220624152813-2.png]]
... ... @@ -880,8 +880,6 @@
880 880  * NDIR to measure CO2 with Internal Temperature Compensation
881 881  * Laser Beam Scattering to PM2.5 and PM10
882 882  
883 -
884 -
885 885  === 6.3.2 Specification ===
886 886  
887 887  * CO2 Range: 0~5000ppm, accuracy: ±3%F•S(25℃)
... ... @@ -899,8 +899,6 @@
899 899  ** CO2: 0~95%RH
900 900  * Power Consumption: 50mA@ 12v.
901 901  
902 -
903 -
904 904  === 6.3.3 Dimension ===
905 905  
906 906  [[image:1656056708366-230.png]]
... ... @@ -943,8 +943,6 @@
943 943  * Surface heating to dry
944 944  * grid electrode uses Electroless Nickel/Immersion Gold design for resist corrosion
945 945  
946 -
947 -
948 948  === 6.4.2 Specification ===
949 949  
950 950  * Detect if there is rain or snow
... ... @@ -956,8 +956,6 @@
956 956  ** No heating: 12mA @ 12v,
957 957  ** heating: 94ma @ 12v.
958 958  
959 -
960 -
961 961  === 6.4.3 Dimension ===
962 962  
963 963  [[image:1656056844782-155.png]]
... ... @@ -1006,8 +1006,6 @@
1006 1006  
1007 1007  * RS485 Temperature, Humidity, Illuminance, Pressure sensor
1008 1008  
1009 -
1010 -
1011 1011  === 6.5.2 Specification ===
1012 1012  
1013 1013  * Input Power: DC 12 ~~ 24v
... ... @@ -1032,8 +1032,6 @@
1032 1032  * Working Humidity: 10~90%RH
1033 1033  * Power Consumption: 4mA @ 12v
1034 1034  
1035 -
1036 -
1037 1037  === 6.5.3 Dimension ===
1038 1038  
1039 1039  [[image:1656057170639-522.png]]
... ... @@ -1077,8 +1077,6 @@
1077 1077  * Measure Total Radiation between 0.3~3μm(300~3000nm)
1078 1078  * Measure Reflected Radiation if sense area towards ground.
1079 1079  
1080 -
1081 -
1082 1082  === 6.6.2 Specification ===
1083 1083  
1084 1084  * Input Power: DC 5 ~~ 24v
... ... @@ -1094,8 +1094,6 @@
1094 1094  * Working Humidity: 10~90%RH
1095 1095  * Power Consumption: 4mA @ 12v
1096 1096  
1097 -
1098 -
1099 1099  === 6.6.3 Dimension ===
1100 1100  
1101 1101  [[image:1656057348695-898.png]]
... ... @@ -1156,8 +1156,6 @@
1156 1156  * Working Humidity: 10~90%RH
1157 1157  * Power Consumption: 3mA @ 12v
1158 1158  
1159 -
1160 -
1161 1161  === 6.7.3 Dimension ===
1162 1162  
1163 1163  [[image:1656057538793-888.png]]
... ... @@ -1244,23 +1244,18 @@
1244 1244  * (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
1245 1245  * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1246 1246  
1247 -
1248 -
1249 -
1250 -
1251 -
1252 1252  == 9.2 Sensors ==
1253 1253  
1254 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:350px" %)
1255 -|=(% style="width: 300px;" %)**Sensor Model**|=(% style="width: 50px;" %)**Part Number**
1256 -|(% style="width:462px" %)**Rain Gauge**|(% style="width:110px" %)WSS-01
1257 -|(% style="width:462px" %)**Rain Gauge installation Bracket for Pole**|(% style="width:110px" %)WS-K2
1258 -|(% style="width:462px" %)**Wind Speed Direction 2 in 1 Sensor**|(% style="width:110px" %)WSS-02
1259 -|(% style="width:462px" %)**CO2/PM2.5/PM10 3 in 1 Sensor**|(% style="width:110px" %)WSS-03
1260 -|(% style="width:462px" %)**Rain/Snow Detect Sensor**|(% style="width:110px" %)WSS-04
1261 -|(% style="width:462px" %)**Temperature, Humidity, illuminance and Pressure 4 in 1 sensor**|(% style="width:110px" %)WSS-05
1262 -|(% style="width:462px" %)**Total Solar Radiation Sensor**|(% style="width:110px" %)WSS-06
1263 -|(% style="width:462px" %)**PAR (Photosynthetically Available Radiation)**|(% style="width:110px" %)WSS-07
1345 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:500px" %)
1346 +|=(% style="width: 300px;" %)**Sensor Model**|=(% style="width: 200px;" %)**Part Number**
1347 +|(% style="width:462px" %)**Rain Gauge**|(% style="width:120px" %)WSS-01
1348 +|(% style="width:462px" %)**Rain Gauge installation Bracket for Pole**|(% style="width:120px" %)WS-K2
1349 +|(% style="width:462px" %)**Wind Speed Direction 2 in 1 Sensor**|(% style="width:120px" %)WSS-02
1350 +|(% style="width:462px" %)**CO2/PM2.5/PM10 3 in 1 Sensor**|(% style="width:120px" %)WSS-03
1351 +|(% style="width:462px" %)**Rain/Snow Detect Sensor**|(% style="width:120px" %)WSS-04
1352 +|(% style="width:462px" %)**Temperature, Humidity, illuminance and Pressure 4 in 1 sensor**|(% style="width:120px" %)WSS-05
1353 +|(% style="width:462px" %)**Total Solar Radiation Sensor**|(% style="width:120px" %)WSS-06
1354 +|(% style="width:462px" %)**PAR (Photosynthetically Available Radiation)**|(% style="width:120px" %)WSS-07
1264 1264  
1265 1265  = 10. Support =
1266 1266  
... ... @@ -1270,7 +1270,7 @@
1270 1270  = 11. Appendix I: Field Installation Photo =
1271 1271  
1272 1272  
1273 -[[image:1656058346362-132.png]]
1364 +[[image:1656058346362-132.png||height="685" width="732"]]
1274 1274  
1275 1275  **Storage Battery**: 12v,12AH li battery
1276 1276  
... ... @@ -1278,13 +1278,13 @@
1278 1278  
1279 1279  **Wind Speed/Direction**
1280 1280  
1281 -[[image:1656058373174-421.png]]
1372 +[[image:1656058373174-421.png||height="356" width="731"]]
1282 1282  
1283 1283  
1284 1284  
1285 1285  **Total Solar Radiation sensor**
1286 1286  
1287 -[[image:1656058397364-282.png]]
1378 +[[image:1656058397364-282.png||height="453" width="732"]]
1288 1288  
1289 1289  
1290 1290  
... ... @@ -1296,7 +1296,7 @@
1296 1296  
1297 1297  **CO2/PM2.5/PM10 3 in 1 sensor**
1298 1298  
1299 -[[image:1656058441194-827.png]]
1390 +[[image:1656058441194-827.png||height="672" width="523"]]
1300 1300  
1301 1301  
1302 1302  
... ... @@ -1308,4 +1308,4 @@
1308 1308  
1309 1309  **Rain Gauge**
1310 1310  
1311 -[[image:1656058463455-569.png]]
1402 +[[image:1656058463455-569.png||height="499" width="550"]]