PWM gneration using arduino mega 2560 through simulink
Mostrar comentarios más antiguos
Respected sir/madam I am facing problem to generate the PWM using arduino mega 2560. I am generating the PWM pulses using simulink, PWM genration block at 50 % duty cycle but , arduino mega 2560 generates just upto 1200 hz digital output otherwise overrun detection occurs. I have tested on all pins. So how can i generate the digital output at any frequency( 20khz, 50khz) using simulink without occurrence overrun detection.
Respuestas (4)
oday
el 5 de En. de 2015
0 votos
Have you found any solution to your problem, please let me know
jiwanjot singh
el 6 de En. de 2015
0 votos
Ahmet yüksel
el 29 de Nov. de 2016
0 votos
Have you found any soluion to your problem, please let me know
pls may you help me
Saipraveen
el 29 de Nov. de 2018
0 votos
Currently the PWM block generates in the default frequency. The frequency of the pins 4 & 13 is 976.5Hz while the other PWM pins generate at 490.1Hz.
Comunidades de usuarios
Más respuestas en Power Electronics Control
Categorías
Más información sobre Arduino Hardware en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!