Hi, I am using the ardunio support package in MATLAB to generate pwm pulses, but when I checked the PWM pulses at arduino digital pin with DSO it is not showing the correct frequency as 4kHz instead it shows smth around 200Hz. Can anyone suggest?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Shubham Kamble
am 23 Feb. 2018
Beantwortet: Arpita Agrawal
am 23 Feb. 2018
Is there is problem with support package or arduino, I am using arduino uno.
0 Kommentare
Akzeptierte Antwort
Arpita Agrawal
am 23 Feb. 2018
PWM frequency is not programmable in Arduino. Depending on which pin you are using to generate PWM the frequency may vary. Refer to Arduino documentation for more details: https://www.arduino.cc/reference/en/language/functions/analog-io/analogwrite/
-Arpita
0 Kommentare
Weitere Antworten (0)
Communitys
Weitere Antworten in Power Electronics Control
Siehe auch
Kategorien
Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!