<
From version < 3.3 >
edited by Xiaoling
on 2022/06/24 10:12
To version < 3.5 >
edited by Xiaoling
on 2022/06/24 10:34
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -169,7 +169,7 @@
169 169  User can also use downlink command(0x2301) to ask WSC1-L to resend this uplink
170 170  
171 171  |**Size (bytes)**|**1**|**2**|**1**|**1**|**2**|**3**
172 -|**Value**|[[Sensor Model>>path:#Sensor_model]]|[[Firmware Version>>path:#Firmware_version]]|[[Frequency Band>>path:#Fre_Band]]|[[Sub-band>>path:#Sub_band]]|[[BAT>>path:#Battery]]|[[Weather Sensor Types>>path:#Sensor_types]]
172 +|**Value**|[[Sensor Model>>||anchor="HSensorModel:"]]|[[Firmware Version>>||anchor="HFirmwareVersion:"]]|[[Frequency Band>>||anchor="HFrequencyBand:"]]|[[Sub-band>>||anchor="HSub-Band:"]]|[[BAT>>||anchor="HBAT:"]]|[[Weather Sensor Types>>||anchor="HWeatherSensorTypes:"]]
173 173  
174 174  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.png]]
175 175  
... ... @@ -178,17 +178,17 @@
178 178  
179 179  
180 180  
181 -==== (% style="color:#037691" %)**Sensor Model**(%%): ====
181 +==== (% style="color:#037691" %)**Sensor Model:** ====
182 182  
183 183  For WSC1-L, this value is 0x0D.
184 184  
185 185  
186 -==== (% style="color:#037691" %)**Firmware Version**(%%): ====
186 +==== (% style="color:#037691" %)**Firmware Version:** ====
187 187  
188 188  0x0100, Means: v1.0.0 version.
189 189  
190 190  
191 -==== (% style="color:#037691" %)**Frequency Band**:(%%) ====
191 +==== (% style="color:#037691" %)**Frequency Band:** ====
192 192  
193 193  *0x01: EU868
194 194  
... ... @@ -211,12 +211,12 @@
211 211  *0x0a: AS923-3
212 212  
213 213  
214 -==== (% style="color:#037691" %)**Sub-Band**(%%): ====
214 +==== (% style="color:#037691" %)**Sub-Band:** ====
215 215  
216 216  value 0x00 ~~ 0x08(only for CN470, AU915,US915. Others are0x00)
217 217  
218 218  
219 -==== (% style="color:#037691" %)**BAT**(%%): ====
219 +==== (% style="color:#037691" %)**BAT:** ====
220 220  
221 221  shows the battery voltage for WSC1-L MCU.
222 222  
... ... @@ -223,7 +223,7 @@
223 223  Ex1: 0x0BD6/1000 = 3.03 V
224 224  
225 225  
226 -==== (% style="color:#037691" %)**Weather Sensor Types:**(%%) ====
226 +==== (% style="color:#037691" %)**Weather Sensor Types:** ====
227 227  
228 228  |Byte3|Byte2|Byte1
229 229  
... ... @@ -263,11 +263,9 @@
263 263  
264 264  
265 265  
266 -1.
267 -11.
268 -111. Uplink FPORT=2, Real time sensor value
266 +=== 2.4.2 Uplink FPORT=2, Real time sensor value ===
269 269  
270 -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>>path:#Uplink_Interval]].
268 +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="H"]].
271 271  
272 272  Uplink uses FPORT=2 and every 20 minutes send one uplink by default.
273 273  
... ... @@ -276,11 +276,11 @@
276 276  
277 277  |Sensor Segment 1|Sensor Segment 2|……|Sensor Segment n
278 278  
279 -**Uplink Payload**:
277 +**(% style="color:#4472C4" %) Uplink Payload**:
280 280  
281 281  |Type Code|Length (Bytes)|Measured Value
282 282  
283 -**Sensor Segment Define**:
281 +**(% style="color:#4472C4" %) Sensor Segment Define**:
284 284  
285 285  
286 286  
... ... @@ -390,9 +390,7 @@
390 390  
391 391  
392 392  
393 -1.
394 -11.
395 -111. Decoder in TTN V3
391 +=== 2.4.3 Decoder in TTN V3 ===
396 396  
397 397  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.
398 398  
... ... @@ -407,15 +407,14 @@
407 407  
408 408  
409 409  
410 -1.
411 -11. Show data on Application Server
406 +== 2.5 Show data on Application Server ==
412 412  
413 413  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:
414 414  
415 415  
416 -**Step 1**: Be sure that your device is programmed and properly connected to the LoRaWAN network.
411 +**(% style="color:blue" %)Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
417 417  
418 -**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.
413 +**(% 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.
419 419  
420 420  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image014.png]]
421 421  
... ... @@ -433,13 +433,13 @@
433 433  
434 434  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.png]]
435 435  
436 -*
437 437  
438 -1. Configure WSC1-L via AT Command or LoRaWAN Downlink
439 439  
433 += 3. Configure WSC1-L via AT Command or LoRaWAN Downlink =
434 +
440 440  Use can configure WSC1-L via AT Command or LoRaWAN Downlink.
441 441  
442 -* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]].
437 +* AT Command Connection: See [[FAQ>>||anchor="H"]].
443 443  * LoRaWAN Downlink instruction for different platforms:
444 444  
445 445  [[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server>>url:http://wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server]]
... ... @@ -447,7 +447,7 @@
447 447  
448 448  There are two kinds of commands to configure WSC1-L, they are:
449 449  
450 -* **General Commands**.
445 +* **(% style="color:#4472C4" %)General Commands**.
451 451  
452 452  These commands are to configure:
453 453  
... ... @@ -454,24 +454,23 @@
454 454  * General system settings like: uplink interval.
455 455  * LoRaWAN protocol & radio related command.
456 456  
457 -They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki:
452 +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:
458 458  
459 459  [[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]]
460 460  
461 -Note~*~*: Please check early user manual if you don’t have v1.8.0 firmware.
456 +(% style="color:red" %)Note~*~*: Please check early user manual if you don’t have v1.8.0 firmware.
462 462  
463 463  
464 -* **Commands special design for WSC1-L**
459 +* **(% style="color:#4472C4" %)Commands special design for WSC1-L**
465 465  
466 466  These commands only valid for WSC1-L, as below:
467 467  
468 468  
469 -1.
470 -11. Set Transmit Interval Time
464 +== 3.1 Set Transmit Interval Time ==
471 471  
472 472  Feature: Change LoRaWAN End Node Transmit Interval.
473 473  
474 -**AT Command: AT+TDC**
468 +**(% style="color:#037691" %)AT Command: AT+TDC**
475 475  
476 476  |**Command Example**|**Function**|**Response**
477 477  |AT+TDC?|Show current transmit Interval|(((
... ... @@ -487,7 +487,7 @@
487 487  Set transmit interval to 60000ms = 60 seconds
488 488  )))
489 489  
490 -**Downlink Command: 0x01**
484 +**(% style="color:#037691" %)Downlink Command: 0x01**
491 491  
492 492  Format: Command Code (0x01) followed by 3 bytes time value.
493 493  
... ... @@ -498,30 +498,33 @@
498 498  
499 499  
500 500  
501 -1.
502 -11. Set Emergency Mode
503 503  
496 +
497 +== 3.2 Set Emergency Mode ==
498 +
504 504  Feature: In emergency mode, WSC1-L will uplink data every 1 minute.
505 505  
506 506  
507 -**AT Command:**
502 +**(% style="color:#037691" %)AT Command:**
508 508  
509 509  |**Command Example**|**Function**|**Response**
510 510  |AT+ALARMMOD=1|Enter emergency mode. Uplink every 1 minute|OK
511 511  |AT+ALARMMOD=0|Exit emergency mode. Uplink base on TDC time|OK
512 512  
513 -**Downlink Command:**
508 +**(% style="color:#037691" %)Downlink Command:**
514 514  
515 515  * 0xE101     Same as: AT+ALARMMOD=1
516 516  * 0xE100     Same as: AT+ALARMMOD=0
517 517  
518 518  
519 -1.
520 -11. Add or Delete RS485 Sensor
521 521  
515 +
516 +
517 +== 3.3 Add or Delete RS485 Sensor ==
518 +
522 522  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.
523 523  
524 -**AT Command: **
521 +**(% style="color:#037691" %)AT Command: **
525 525  
526 526  AT+DYSENSOR=Type_Code, Query_Length, Query_Command , Read_Length , Valid_Data ,has_CRC,timeout
527 527  
... ... @@ -580,7 +580,7 @@
580 580  AT+DYSENSOR ~-~-> List All 3^^rd^^ Party Sensor. Like below:
581 581  
582 582  
583 -**Downlink Command:  **
580 +**(% style="color:#037691" %)Downlink Command:  **
584 584  
585 585  **delete custom sensor A1:**
586 586  
... ... @@ -591,11 +591,13 @@
591 591  * 0xE5FF  
592 592  
593 593  
594 -1.
595 -11. RS485 Test Command
596 596  
597 -**AT Command:**
598 598  
593 +
594 +== 3.4 RS485 Test Command ==
595 +
596 +**(% style="color:#037691" %)AT Command:**
597 +
599 599  |**Command Example**|**Function**|**Response**
600 600  |AT+RSWRITE=xxxxxx|(((
601 601  Send command to 485 sensor
... ... @@ -608,18 +608,17 @@
608 608  AT+RSWRITE=0103000001840A
609 609  
610 610  
611 -**Downlink Command:**
610 +**(% style="color:#037691" %)Downlink Command:**
612 612  
613 613  * 0xE20103000001840A     Same as: AT+RSWRITE=0103000001840A
614 614  
615 615  
616 616  
617 -1.
618 -11. RS485 response timeout
616 +== 3.5 RS485 response timeout ==
619 619  
620 620  Feature: Set or get extended time to receive 485 sensor data.
621 621  
622 -**AT Command:**
620 +**(% style="color:#037691" %)AT Command:**
623 623  
624 624  |**Command Example**|**Function**|**Response**
625 625  |AT+DTR=1000|(((
... ... @@ -628,7 +628,7 @@
628 628  Range : 0~~10000
629 629  )))|OK
630 630  
631 -**Downlink Command:**
629 +**(% style="color:#037691" %)Downlink Command:**
632 632  
633 633  Format: Command Code (0xE0) followed by 3 bytes time value.
634 634  
... ... @@ -639,12 +639,13 @@
639 639  
640 640  
641 641  
642 -1.
643 -11. Set Sensor Type
644 644  
641 +
642 +== 3.6 Set Sensor Type ==
643 +
645 645  Feature: Set sensor in used. If there are 6 sensors, user can set to only send 5 sensors values.
646 646  
647 -See [[definition>>path:#Sensor_types]] for the sensor type.
646 +See [[definition>>||anchor="H"]] for the sensor type.
648 648  
649 649  
650 650  |(% rowspan="2" %)Byte3|Bit23|Bit22|Bit21|Bit20|Bit19|Bit18|Bit17|Bit16
... ... @@ -670,7 +670,7 @@
670 670  Direction
671 671  )))|Wind Speed|BAT
672 672  
673 -**AT Command:**
672 +**(% style="color:#037691" %)AT Command:**
674 674  
675 675  |**Command Example**|**Function**|**Response**
676 676  |AT+STYPE=80221|Set sensor types|OK
... ... @@ -687,11 +687,11 @@
687 687  So wsc1-L will upload the following data: Custom Sensor A1, Rain Gauge,CO2,BAT.
688 688  
689 689  
690 -**Downlink Command:**
689 +**(% style="color:#037691" %)Downlink Command:**
691 691  
692 692  * 0xE400802212     Same as: AT+STYPE=80221
693 693  
694 -Note:
693 +(% style="color:red" %)**Note:**
695 695  
696 696  ~1. The sensor type will not be saved to flash, and the value will be updated every time the sensor is restarted or rescanned
697 697  
... ... @@ -699,21 +699,20 @@
699 699  
700 700  
701 701  
702 -1. Power consumption and battery
703 -11. Total Power Consumption
701 += 4. Power consumption and battery =
704 704  
703 +== 4.1 Total Power Consumption ==
704 +
705 705  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.
706 706  
707 707  
708 -1.
709 -11. Reduce power consumption
708 +== 4.2 Reduce power consumption ==
710 710  
711 711  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.
712 712  
713 713  
714 714  
715 -1.
716 -11. Battery
714 +== 4.3 Battery ==
717 717  
718 718  All sensors are only power by external power source. If external power source is off. All sensor won’t work.
719 719  
... ... @@ -722,13 +722,10 @@
722 722  
723 723  
724 724  
723 += 5. Main Process Unit WSC1-L =
725 725  
725 +== 5.1 Features ==
726 726  
727 -
728 -
729 -1. Main Process Unit WSC1-L
730 -11. Features
731 -
732 732  * Wall Attachable.
733 733  * LoRaWAN v1.0.3 Class A protocol.
734 734  * RS485 / Modbus protocol
... ... @@ -743,27 +743,25 @@
743 743  
744 744  
745 745  
746 -1.
747 -11. Power Consumption
748 748  
742 +
743 +== 5.2 Power Consumption ==
744 +
749 749  WSC1-L (without external sensor): Idle: 4mA, Transmit: max 40mA
750 750  
751 751  
752 752  
753 -1.
754 -11. Storage & Operation Temperature
749 +== 5.3 Storage & Operation Temperature ==
755 755  
756 756  -20°C to +60°C
757 757  
758 758  
759 -1.
760 -11. Pin Mapping
754 +== 5.4 Pin Mapping ==
761 761  
762 762  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png]]
763 763  
764 764  
765 -1.
766 -11. Mechanical
759 +== 5.5 Mechanical ==
767 767  
768 768  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/]]
769 769  
... ... @@ -770,8 +770,7 @@
770 770  
771 771  
772 772  
773 -1.
774 -11. Connect to RS485 Sensors
766 +== 5.6 Connect to RS485 Sensors ==
775 775  
776 776  WSC1-L includes a RS485 converter PCB. Which help it easy to connect multiply RS485 sensors. Below is the photo for reference.
777 777  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0