Topic RSS
Change of PWM frequency possible?
June 23, 2015
11:55 am
11:55 am
ML
New Member
Members
Forum Posts: 1
Member Since:
June 23, 2015
June 23, 2015
Offline
Hello at all,
I got an Arduino Uno and LabView 2014. I compiled the Arduino with my code so that Pin 9 outputs a PWM Signal.
Now the Frequency is set by default to 500Hz.
Is it possible to change the frequency of the PWM port (Pin 9) of the Arduino Uno with LabView?
I want to change it too 200Hz.
Any ideas are welcome.
Thanks in advance.
ML
June 23, 2015
1:34 pm
1:34 pm
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
March 12, 2015
Offline
Take a look at the VI Documentation for Analog Write. Also documented here, the PWM frequency using this method is fixed to 490Hz. What you can do is use a timer interrupt and toggle a Digital I/O to get 200Hz. Take a look at the "Interrupt - Timer.vi" example. Hope that helps.
Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
29
29
Guest(s)
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
miche91: 33
scottj: 28
scadao: 23
Member Stats:
Guest Posters: 5
Members: 202
Moderators: 0
Admins: 3
Forum Stats:
Groups: 1
Forums: 2
Topics: 266
Posts: 1222
Newest Members:
pujacontrolAdministrators: geadmin: 22, filipealtoe: 96, Steffan: 356
© Simple:Press —