simulink arduino oscilloscope ,how i can get correct freuency ?
3 次查看(过去 30 天)
显示 更早的评论
HI
I AM TRYING TO BUILED OSCILLOSCOPE USING arduino AND simulink
i have a problem with the ferquency ,
when i give a 1Khz sine wave i got a 1.300 Khz sinwave if i give 2Khz i got about 2.600 Khz , this mean the frequency some how changes to 300hz higher for 1Khz and doubled for 2Khz frequeny
i am using arduino mega 2560 .. 1Khz 4v peak to peak sinwave carried on 2v dc.
how i can get correct freuency ?
4 个评论
Ameer Hamza
2020-4-6
How do you measure the frequency in Simulink? Using scope blocks? What is the time-step of the Simulink model? Are you connecting to Arduino in external mode?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Modeling 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!