<
From version < 74.1 >
edited by Saxer Lin
on 2023/08/18 09:51
To version < 74.4 >
edited by Xiaoling
on 2023/08/19 15:45
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Saxer
1 +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,16 +611,17 @@
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,**(% lang="EN-US" %)Frequency= 1000000/(%%)Pulse period(HZ);
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 619  (% class="MsoNormal" %)
620 -(% 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);
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);
621 621  
624 +
622 622  (% class="MsoNormal" %)
623 -Duty cycle:
626 +**Duty cycle:**
624 624  
625 625  Duty cycle= Duration of high level/ Pulse period*100 ~(%).
626 626  
... ... @@ -629,6 +629,7 @@
629 629  
630 630  ===== 2.3.2.10.b  Downlink, PWM output =====
631 631  
635 +
632 632  [[image:image-20230817173800-3.png||height="412" width="685"]]
633 633  
634 634  Downlink:  (% style="color:#037691" %)**0B xx xx xx yy zz zz**
... ... @@ -886,7 +886,7 @@
886 886  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.
887 887  )))
888 888  * (((
889 -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.
890 890  
891 891  
892 892  )))
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0