Changes for page SN50v3-LB/LS -- LoRaWAN Sensor Node User Manual
Last modified by Bei Jinggeng on 2025/01/10 15:51
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Saxer1 +XWiki.Xiaoling - Content
-
... ... @@ -581,13 +581,15 @@ 581 581 582 582 ==== 2.3.2.10 MOD~=10 (PWM input capture and output mode,Since firmware v1.2) ==== 583 583 584 + 584 584 In this mode, the uplink can perform PWM input capture, and the downlink can perform PWM output. 585 585 586 -[[It should be noted when using PWM mode.>> http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SN50v3-LB/#H2.3.3.12A0PWMMOD]]587 +[[It should be noted when using PWM mode.>>||anchor="H2.3.3.12A0PWMMOD"]] 587 587 588 588 589 589 ===== 2.3.2.10.a Uplink, PWM input capture ===== 590 590 592 + 591 591 [[image:image-20230817172209-2.png||height="439" width="683"]] 592 592 593 593 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:690px" %) ... ... @@ -611,43 +611,26 @@ 611 611 612 612 When the device detects the following PWM signal ,decoder will converts the pulse period and high-level duration to frequency and duty cycle. 613 613 614 -Frequency: 616 +**Frequency:** 615 615 616 616 (% class="MsoNormal" %) 617 -(% lang="EN-US" %)If (% style="background-attachment:initial; background-clip:initial; background-image:initial; background-origin:initial; background-position:initial; background-repeat:initial; background-size:initial; color:blue; font-family:Arial,sans-serif" %)**AT+PWMSET**(%%)**=0 619 +(% lang="EN-US" %)If (% style="background-attachment:initial; background-clip:initial; background-image:initial; background-origin:initial; background-position:initial; background-repeat:initial; background-size:initial; color:blue; font-family:Arial,sans-serif" %)**AT+PWMSET**(%%)**=0, **(% lang="EN-US" %)Frequency= 1000000/(%%)Pulse period(HZ); 618 618 619 -((( 620 - 621 - 622 -(% lang="EN-US" %)Frequency= 1000000/(%%)Pulse period(HZ); 623 -))) 624 - 625 625 (% class="MsoNormal" %) 626 -(% lang="EN-US" %)If (% style="background-attachment:initial; background-clip:initial; background-image:initial; background-origin:initial; background-position:initial; background-repeat:initial; background-size:initial; color:blue; font-family:Arial,sans-serif" %)**AT+PWMSET**(%%)**=1 622 +(% lang="EN-US" %)If (% style="background-attachment:initial; background-clip:initial; background-image:initial; background-origin:initial; background-position:initial; background-repeat:initial; background-size:initial; color:blue; font-family:Arial,sans-serif" %)**AT+PWMSET**(%%)**=1, **(% lang="EN-US" %)Frequency= 1000/(%%)Pulse period(HZ); 627 627 628 -((( 629 - 630 630 631 -(% lang="EN-US" %)Frequency= 1000/(%%)Pulse period(HZ); 632 -))) 633 - 634 634 (% class="MsoNormal" %) 635 -Duty cycle: 626 +**Duty cycle:** 636 636 637 637 Duty cycle= Duration of high level/ Pulse period*100 ~(%). 638 638 639 - 640 - 641 -((( 642 - 643 -))) 644 - 645 - 646 646 [[image:image-20230818092200-1.png||height="344" width="627"]] 647 647 648 648 649 649 ===== 2.3.2.10.b Downlink, PWM output ===== 650 650 635 + 651 651 [[image:image-20230817173800-3.png||height="412" width="685"]] 652 652 653 653 Downlink: (% style="color:#037691" %)**0B xx xx xx yy zz zz** ... ... @@ -905,7 +905,7 @@ 905 905 The signal captured by the input should preferably be processed by hardware filtering and then connected in. The software processing method is to capture four values, discard the first captured value, and then take the middle value of the second, third, and fourth captured values. 906 906 ))) 907 907 * ((( 908 -Since the device can only detect a pulse period of 50ms when [[AT+PWMSET=0>> http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SN50v3-LB/#H3.3.8PWMsetting]] (counting in microseconds), it is necessary to change the value of PWMSET according to the frequency of input capture.893 +Since the device can only detect a pulse period of 50ms when [[AT+PWMSET=0>>||anchor="H3.3.8PWMsetting"]] (counting in microseconds), it is necessary to change the value of PWMSET according to the frequency of input capture. 909 909 910 910 911 911 ))) ... ... @@ -1158,7 +1158,6 @@ 1158 1158 * Example 1: Downlink Payload: 0A01 **~-~-->** AT+MOD=1 1159 1159 * Example 2: Downlink Payload: 0A04 **~-~-->** AT+MOD=4 1160 1160 1161 - 1162 1162 === 3.3.8 PWM setting === 1163 1163 1164 1164 Feature: Set the time acquisition unit for PWM input capture.