MATLAB Answers

Convert analog output to digital//PWM with arduino in Simulink

6 views (last 30 days)
aakash dewangan
aakash dewangan on 11 Aug 2021
Answered: Rhea Chandy on 27 Aug 2021
Hello, I want to convert output of the potentiometer to PWM/digital output, in Simulink, for my arduino project.
Please help me with this.
Thanks

Answers (1)

Rhea Chandy
Rhea Chandy on 27 Aug 2021
Hi Aakash,
This previously answered question may be useful to you:
If you want to generate square PWM signals depending on the input value sent to the block on the Arduino® hardware pin, please refer to the following documentation:

Community Treasure Hunt

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

Start Hunting!

Translated by