PWM gneration using arduino mega 2560 through simulink
조회 수: 4 (최근 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
커뮤니티
더 많은 답변 보기: Power Electronics Community
참고 항목
카테고리
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!