how to change the default frequency of aurdiuno pwm block of simulink support package for aurdiuno?
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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?
0 commentaires
Réponses (3)
Zenin Easa Panthakkalakath
le 15 Mai 2019
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 commentaire
Hariprasad Sl
le 12 Juin 2019
Thanks Zenin!
but is there a work around to get the other frequency by modifying timer precsaler using simulink ?
Simon
le 9 Août 2019
Dear Shivaleela
this topic was discussed several times.
Please see for example:
https://www.arduino.cc/en/Tutorial/SecretsOfArduinoPWM
All the best
SImon
0 commentaires
Arun Kumar
le 25 Sep 2019
Modifié(e) : Arun Kumar
le 25 Sep 2019
Hi,
Use this library to change the PWM frequency on arduino:
Request for supporting variable PWM frequnecy on arduino is under consideration.
HTH.
1 commentaire
Communautés
Plus de réponses dans Power Electronics Control
Voir également
Catégories
En savoir plus sur Arduino Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!