Regarding frequency issues with PWM generation using simulink and deploying onto arduino
1 次查看(过去 30 天)
显示 更早的评论
Hi...I'm trying to generate 6 PWM signals by comparing a 50 HZ sine wave with a 50 HZ triangular wave using the relational operator , sine wave source and repeating sequence ( for triangular wave). Since my modulating signal is of 50 HZ, when I connect a scope, I'm getting pulses of 50 HZ frequency. When I deploy the same model onto Arduino Mega, the frequency is getting reduced to around 15 HZ instead of 50 HZ . How to fix this ?
1 个评论
回答(1 个)
社区
另请参阅
类别
在 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!