<
From version < 72.1 >
edited by Saxer Lin
on 2023/08/18 09:47
To version < 71.1 >
edited by Saxer Lin
on 2023/08/18 09:21
>
Change comment: Uploaded new attachment "image-20230818092200-1.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -609,44 +609,13 @@
609 609  [[image:image-20230817170702-1.png||height="161" width="1044"]]
610 610  
611 611  
612 -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**
613 613  
614 -Frequency
614 +When AA is 0, the unit of PWM capture time is microsecond. The capture frequency range is between 20HZ and 100000HZ.  
615 615  
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 ,**
616 +When AA is 1, the unit of PWM capture time is millisecond.  The capture frequency range is between 5HZ and 250HZ.  
618 618  
619 -(((
620 620  
621 -
622 -(% lang="EN-US" %)Frequency= 1000000/(%%)Pulse period(HZ);
623 -)))
624 -
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 ,**
627 -
628 -(((
629 -
630 -
631 -(% lang="EN-US" %)Frequency= 1000/(%%)Pulse period(HZ);
632 -)))
633 -
634 -(% class="MsoNormal" %)
635 -Duty cycle:
636 -
637 -Duty cycle= Duration of high level/ Pulse period*100 ~(%).
638 -
639 -(% class="MsoNormal" %)
640 -
641 -
642 -(((
643 -
644 -)))
645 -
646 -
647 -[[image:image-20230818092200-1.png||height="344" width="627"]]
648 -
649 -
650 650  ===== 2.3.2.10.b  Downlink, PWM output =====
651 651  
652 652  [[image:image-20230817173800-3.png||height="412" width="685"]]
... ... @@ -1159,35 +1159,6 @@
1159 1159  * Example 1: Downlink Payload: 0A01  **~-~-->**  AT+MOD=1
1160 1160  * Example 2: Downlink Payload: 0A04  **~-~-->**  AT+MOD=4
1161 1161  
1162 -
1163 -
1164 -=== 3.3.8 PWM setting ===
1165 -
1166 -Feature: Set the time acquisition unit for PWM input capture.
1167 -
1168 -(% style="color:blue" %)**AT Command: AT+PWMSET**
1169 -
1170 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1171 -|=(% 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**
1172 -|(% style="width:154px" %)AT+PWMSET=?|(% style="width:196px" %)0|(% style="width:157px" %)(((
1173 -0(default)
1174 -
1175 -OK
1176 -)))
1177 -|(% 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" %)(((
1178 -OK
1179 -
1180 -)))
1181 -|(% 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
1182 -
1183 -(% style="color:blue" %)**Downlink Command: 0x0C**
1184 -
1185 -Format: Command Code (0x0C) followed by 1 bytes.
1186 -
1187 -* Example 1: Downlink Payload: 0C00  **~-~-->**  AT+PWMSET=0
1188 -* Example 2: Downlink Payload: 0C01  **~-~-->**  AT+PWMSET=1
1189 -
1190 -
1191 1191  = 4. Battery & Power Consumption =
1192 1192  
1193 1193  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0