<
From version < 74.7 >
edited by Xiaoling
on 2023/09/26 08:52
To version < 76.1 >
edited by Mengting Qiu
on 2023/12/12 19:04
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.ting
Content
... ... @@ -580,6 +580,7 @@
580 580  
581 581  ==== 2.3.2.10  MOD~=10 (PWM input capture and output mode,Since firmware v1.2) ====
582 582  
583 +(% style="color:red" %)**Note: Firmware not release, contact Dragino for testing.**
583 583  
584 584  In this mode, the uplink can perform PWM input capture, and the downlink can perform PWM output.
585 585  
... ... @@ -628,10 +628,17 @@
628 628  
629 629  [[image:image-20230818092200-1.png||height="344" width="627"]]
630 630  
632 +===== 2.3.2.10.b  Uplink, PWM input capture =====
631 631  
632 -===== 2.3.2.10.b  Downlink, PWM output =====
633 633  
634 634  
636 +
637 +
638 +
639 +
640 +===== 2.3.2.10.c  Downlink, PWM output =====
641 +
642 +
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**
... ... @@ -890,8 +890,17 @@
890 890  )))
891 891  * (((
892 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.
901 +)))
902 +* (((
903 +PWM Input allows low power consumption. PWM Output to achieve real-time control, you need to go to class C. Power consumption will not be low.
893 893  
905 +For PWM Output Feature, there are two consideration to see if the device can be powered by battery or have to be powered by external DC.
894 894  
907 +a) If real-time control output is required, the SN50v3-LB is already operating in class C and an external power supply must be used.
908 +
909 +b) If the output duration is more than 30 seconds, better to use external power source. 
910 +
911 +
895 895  
896 896  )))
897 897  
... ... @@ -1146,7 +1146,7 @@
1146 1146  === 3.3.8 PWM setting ===
1147 1147  
1148 1148  
1149 -Feature: Set the time acquisition unit for PWM input capture.
1166 +* Feature: Set the time acquisition unit for PWM input capture.
1150 1150  
1151 1151  (% style="color:blue" %)**AT Command: AT+PWMSET**
1152 1152  
... ... @@ -1170,6 +1170,43 @@
1170 1170  * Example 1: Downlink Payload: 0C00  **~-~-->**  AT+PWMSET=0
1171 1171  * Example 2: Downlink Payload: 0C01  **~-~-->**  AT+PWMSET=1
1172 1172  
1190 +* Feature: Set the time acquisition unit for PWM input capture.
1191 +
1192 +(% style="color:blue" %)**AT Command: AT+PWMOUT**
1193 +
1194 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:580px" %)
1195 +|=(% 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**
1196 +|(% style="width:154px" %)AT+PWMOUT=?|(% style="width:196px" %)0|(% style="width:157px" %)(((
1197 +0,0,0(default)
1198 +
1199 +OK
1200 +)))
1201 +|(% style="width:154px" %)AT+PWMOUT=0,0,0|(% style="width:196px" %)The default is PWM input detection|(% style="width:157px" %)(((
1202 +OK
1203 +
1204 +)))
1205 +|(% style="width:154px" %)AT+PWMOUT=a,b,c|(% style="width:250px" %)(((
1206 +PWM output.
1207 +
1208 +a: Output time (unit: seconds)
1209 +
1210 +b: Output frequency (unit: HZ)
1211 +
1212 +c: Output duty cycle (unit: %)
1213 +)))|(% style="width:157px" %)(((
1214 +OK
1215 +)))
1216 +
1217 +
1218 +(% style="color:blue" %)**Downlink Command: 0x0C**
1219 +
1220 +
1221 +Format: Command Code (0x0C) followed by 1 bytes.
1222 +
1223 +* Example 1: Downlink Payload: 0C00  **~-~-->**  AT+PWMSET=0
1224 +* Example 2: Downlink Payload: 0C01  **~-~-->**  AT+PWMSET=1
1225 +
1226 +
1173 1173  = 4. Battery & Power Consumption =
1174 1174  
1175 1175  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0