PWM gneration using arduino mega 2560 through simulink
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(4 个)
Ahmet yüksel
2016-11-29
Have you found any soluion to your problem, please let me know
pls may you help me
0 个评论
Saipraveen
2018-11-29
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.
0 个评论
社区
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!