필터 지우기
필터 지우기

simulink arduino oscilloscope ,how i can get correct freuency ?

조회 수: 4 (최근 30일)
rabei shwehdi
rabei shwehdi 2020년 4월 5일
댓글: rabei shwehdi 2020년 4월 6일
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
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?
rabei shwehdi
rabei shwehdi 2020년 4월 6일
hi
yes i am working in external mode
sample time .01
measuring frequency using socpe block

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Instrument Control Toolbox에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by