Borrar filtros
Borrar filtros

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?

7 visualizaciones (últimos 30 días)
Is there is problem with support package or arduino, I am using arduino uno.

Respuesta aceptada

Arpita Agrawal
Arpita Agrawal el 23 de Feb. de 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

Más respuestas (0)

Comunidades de usuarios

Más respuestas en  Power Electronics Control

Categorías

Más información sobre Arduino Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by