Sir Iam not able to create high frequency from matlab arduino digital out pin using simulink plss help its urgent...

Réponses (1)

Brahmadev
Brahmadev le 15 Sep 2023
Modifié(e) : Brahmadev le 15 Sep 2023
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!

Catégories

Produits

Modifié(e) :

le 15 Sep 2023

Community Treasure Hunt

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

Start Hunting!

Translated by