<
From version < 74.3 >
edited by Xiaoling
on 2023/08/19 15:41
To version < 69.1 >
edited by Saxer Lin
on 2023/08/17 18:33
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Saxer
Content
... ... @@ -581,15 +581,13 @@
581 581  
582 582  ==== 2.3.2.10  MOD~=10 (PWM input capture and output mode,Since firmware v1.2) ====
583 583  
584 -
585 585  In this mode, the uplink can perform PWM input capture, and the downlink can perform PWM output.
586 586  
587 -[[It should be noted when using PWM mode.>>||anchor="H2.3.3.12A0PWMMOD"]]
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]]
588 588  
589 589  
590 590  ===== 2.3.2.10.a  Uplink, PWM input capture =====
591 591  
592 -
593 593  [[image:image-20230817172209-2.png||height="439" width="683"]]
594 594  
595 595  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:690px" %)
... ... @@ -611,27 +611,15 @@
611 611  [[image:image-20230817170702-1.png||height="161" width="1044"]]
612 612  
613 613  
614 -When the device detects the following PWM signal ,decoder will converts the pulse period and high-level duration to frequency and duty cycle.
612 +(% style="color:blue" %)**AT+PWMSET=AA(Default is 0)  ==> Corresponding downlink: 0B AA**
615 615  
616 -Frequency
614 +When AA is 0, the unit of PWM capture time is microsecond. The capture frequency range is between 20HZ and 100000HZ.  
617 617  
618 -(% class="MsoNormal" %)
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);
616 +When AA is 1, the unit of PWM capture time is millisecond.  The capture frequency range is between 5HZ and 250HZ.  
620 620  
621 -(% class="MsoNormal" %)
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);
623 623  
624 -(% class="MsoNormal" %)
625 -Duty cycle:
626 -
627 -Duty cycle= Duration of high level/ Pulse period*100 ~(%).
628 -
629 -[[image:image-20230818092200-1.png||height="344" width="627"]]
630 -
631 -
632 632  ===== 2.3.2.10.b  Downlink, PWM output =====
633 633  
634 -
635 635  [[image:image-20230817173800-3.png||height="412" width="685"]]
636 636  
637 637  Downlink:  (% style="color:#037691" %)**0B xx xx xx yy zz zz**
... ... @@ -889,11 +889,10 @@
889 889  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.
890 890  )))
891 891  * (((
892 -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.
893 -
894 -
878 +Since the device can only detect a pulse period of 50ms when AT+PWMSET=0 (counting in microseconds), it is necessary to change the value of PWMSET according to the frequency of input capture.
895 895  )))
896 896  
881 +
897 897  ==== 2.3.3.13  Working MOD ====
898 898  
899 899  
... ... @@ -1142,32 +1142,6 @@
1142 1142  * Example 1: Downlink Payload: 0A01  **~-~-->**  AT+MOD=1
1143 1143  * Example 2: Downlink Payload: 0A04  **~-~-->**  AT+MOD=4
1144 1144  
1145 -=== 3.3.8 PWM setting ===
1146 -
1147 -Feature: Set the time acquisition unit for PWM input capture.
1148 -
1149 -(% style="color:blue" %)**AT Command: AT+PWMSET**
1150 -
1151 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1152 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1153 -|(% style="width:154px" %)AT+PWMSET=?|(% style="width:196px" %)0|(% style="width:157px" %)(((
1154 -0(default)
1155 -
1156 -OK
1157 -)))
1158 -|(% style="width:154px" %)AT+PWMSET=0|(% style="width:196px" %)The unit of PWM capture time is microsecond. The capture frequency range is between 20HZ and 100000HZ.   |(% style="width:157px" %)(((
1159 -OK
1160 -
1161 -)))
1162 -|(% style="width:154px" %)AT+PWMSET=1|(% style="width:196px" %)The unit of PWM capture time is millisecond.  The capture frequency range is between 5HZ and 250HZ. |(% style="width:157px" %)OK
1163 -
1164 -(% style="color:blue" %)**Downlink Command: 0x0C**
1165 -
1166 -Format: Command Code (0x0C) followed by 1 bytes.
1167 -
1168 -* Example 1: Downlink Payload: 0C00  **~-~-->**  AT+PWMSET=0
1169 -* Example 2: Downlink Payload: 0C01  **~-~-->**  AT+PWMSET=1
1170 -
1171 1171  = 4. Battery & Power Consumption =
1172 1172  
1173 1173  
image-20230818092200-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Saxer
Size
... ... @@ -1,1 +1,0 @@
1 -98.9 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0