Sir Iam not able to create high frequency from matlab arduino digital out pin using simulink plss help its urgent...
조회 수: 1 (최근 30일)
이전 댓글 표시
Is there any way to create 40kHz from matlab simulink ant taking it out by interfacing arduino digital out pin
댓글 수: 0
답변 (1개)
Brahmadev
2023년 9월 15일
편집: Brahmadev
2023년 9월 15일
Hey Mithun,
I understand that you would like to generate a 40kHz signal on one of the Digital Out pins of the Arduino. This can be achieved using the "Pulse Generator" with the "Arduino Digital Write" block as shown below.
In the "Pulse Generator" block, the period can be defined as 1/40k and the duty cycle can be defined as per requirement.
Hope this helps!
댓글 수: 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!