<
From version < 87.23 >
edited by Xiaoling
on 2024/01/03 14:33
To version < 87.16 >
edited by Xiaoling
on 2024/01/03 14:14
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1193,7 +1193,7 @@
1193 1193  * Example 1: Downlink Payload: 0A01  **~-~-->**  AT+MOD=1
1194 1194  * Example 2: Downlink Payload: 0A04  **~-~-->**  AT+MOD=4
1195 1195  
1196 -
1196 +(% id="H3.3.8PWMsetting" %)
1197 1197  === 3.3.8 PWM setting ===
1198 1198  
1199 1199  
... ... @@ -1202,9 +1202,10 @@
1202 1202  (% style="color:blue" %)**AT Command: AT+PWMSET**
1203 1203  
1204 1204  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1205 -|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 225px; background-color: #4F81BD;color:white" %)**Function**|=(% style="width: 130px; background-color:#4F81BD;color:white" %)**Response**
1205 +|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 223px; background-color: #4F81BD;color:white" %)**Function**|=(% style="width: 130px; background-color:#4F81BD;color:white" %)**Response**
1206 1206  |(% style="width:154px" %)AT+PWMSET=?|(% style="width:223px" %)0|(% style="width:130px" %)(((
1207 1207  0(default)
1208 +
1208 1208  OK
1209 1209  )))
1210 1210  |(% style="width:154px" %)AT+PWMSET=0|(% style="width:223px" %)The unit of PWM capture time is microsecond. The capture frequency range is between 20HZ and 100000HZ.   |(% style="width:130px" %)(((
... ... @@ -1225,9 +1225,10 @@
1225 1225  (% style="color:blue" %)**AT Command: AT+PWMOUT**
1226 1226  
1227 1227  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1228 -|=(% style="width: 183px; background-color: #4F81BD;color:white" %)**Command Example**|=(% style="width: 193px; background-color: #4F81BD;color:white" %)**Function**|=(% style="width: 134px; background-color: #4F81BD;color:white" %)**Response**
1229 +|=(% style="width: 183px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Command Example**|=(% style="width: 193px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Function**|=(% style="width: 137px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Response**
1229 1229  |(% style="width:183px" %)AT+PWMOUT=?|(% style="width:193px" %)0|(% style="width:137px" %)(((
1230 1230  0,0,0(default)
1232 +
1231 1231  OK
1232 1232  )))
1233 1233  |(% style="width:183px" %)AT+PWMOUT=0,0,0|(% style="width:193px" %)The default is PWM input detection|(% style="width:137px" %)(((
... ... @@ -1243,7 +1243,7 @@
1243 1243  )))
1244 1244  
1245 1245  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1246 -|=(% style="width: 155px; background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 112px; background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 242px; background-color:#4F81BD;color:white" %)**parameters**
1248 +|=(% style="width: 155px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Command Example**|=(% style="width: 112px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Function**|=(% style="width: 242px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**parameters**
1247 1247  |(% colspan="1" rowspan="3" style="width:155px" %)(((
1248 1248  AT+PWMOUT=a,b,c
1249 1249  
... ... @@ -1260,7 +1260,9 @@
1260 1260  )))
1261 1261  )))|(% style="width:242px" %)(((
1262 1262  a: Output time (unit: seconds)
1265 +
1263 1263  The value ranges from 0 to 65535.
1267 +
1264 1264  When a=65535, PWM will always output.
1265 1265  )))
1266 1266  |(% style="width:242px" %)(((
... ... @@ -1268,6 +1268,7 @@
1268 1268  )))
1269 1269  |(% style="width:242px" %)(((
1270 1270  c: Output duty cycle (unit: %)
1275 +
1271 1271  The value ranges from 0 to 100.
1272 1272  )))
1273 1273  
... ... @@ -1275,7 +1275,7 @@
1275 1275  
1276 1276  Format: Command Code (0x0B01) followed by 6 bytes.
1277 1277  
1278 -Downlink payload:0B01 bb cc aa **~-~--> **AT+PWMOUT=a,b,c
1283 +Downlink payload0B01 bb cc aa **~-~--> **AT+PWMOUT=a,b,c
1279 1279  
1280 1280  * Example 1: Downlink Payload: 0B01 03E8 0032 0005 **~-~-->**  AT+PWMSET=5,1000,50
1281 1281  * Example 2: Downlink Payload: 0B01 07D0 003C 000A **~-~-->**  AT+PWMSET=10,2000,60
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0