필터 지우기
필터 지우기

how to change the default frequency of aurdiuno pwm block of simulink support package for aurdiuno?

조회 수: 7 (최근 30일)
Hi, the default frequency is 490Hz and i need set PWM frequency=10KHz, how to change the default frequency of aurdiuno pwm block of simulink support package for aurdiuno?

답변 (3개)

Zenin Easa Panthakkalakath
Zenin Easa Panthakkalakath 2019년 5월 15일
Hi Shivaleela,
Arduino hardware does not support changing the frequency of PWM wave. The frequency of the PWM signal on most pins is approximately 490 Hz. On the Uno and similar boards, pins 5 and 6 have a frequency of approximately 980 Hz.
Regards,
Zenin
  댓글 수: 1
Hariprasad Sl
Hariprasad Sl 2019년 6월 12일
Thanks Zenin!
but is there a work around to get the other frequency by modifying timer precsaler using simulink ?

댓글을 달려면 로그인하십시오.


Simon
Simon 2019년 8월 9일
Dear Shivaleela
this topic was discussed several times.
Please see for example:
https://www.arduino.cc/en/Tutorial/SecretsOfArduinoPWM
All the best
SImon

Arun Kumar
Arun Kumar 2019년 9월 25일
편집: Arun Kumar 2019년 9월 25일
Hi,
Use this library to change the PWM frequency on arduino:
Request for supporting variable PWM frequnecy on arduino is under consideration.
HTH.

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by