You can set the Arduino's PWM frequency with great accuracy by using this library.
Links:
http://forum.arduino.cc/index.php?topic=117425.0
https://code.google.com/p/arduino-pwm-frequency-library/
Links:
http://forum.arduino.cc/index.php?topic=117425.0
https://code.google.com/p/arduino-pwm-frequency-library/
Hey! I'm having trouble downloading the PWM library to my arduino IDE. I know this video was made a while ago so I'm wondering if this library still works? I'm able to download the library to my computer but when I try the add .zip library it says "archive is not valid: multiple file found in zip file top level" also do you knwo if this library works for the ATtiny85? thanks
Thank you i was just working with pwm. I was curious about changing freq. Thanks.
hello sir, why is this program not working on ATtiny85 ic?
Great informative content!
Can we have a frequency of 225khz using this library
You just literally saved my life thank you!
Has anyone found a way to make this library work on the ATtiny? Or found a similar library that does work?
Can it handle 25khz?
There is a problem with this library, I had an inverter project where I needed to switch between mosfets at 10 milliseconds to get 50 hz acv output. The millis function works fine until 20 hz, no matter how hard I tried I couldn't switch between mosfets faster than 20 hz. So any timing above 20 milliseconds with the millis function works but not faster.
Hello Julian, I am an old guy new to Arduino. I used your code for this generator. I need to output 369,000Hz. I can get 363k or 380k but not 369k. I wonder if I were to add a line of code to scan between 363k and 380k would it hit 369k. Can you help?
To. The. Point. You're the dude, bravo!
Thank you for detailed instructions. Very helpful.
hello, i want to get a variable voltage output using PWM without using POT . What should i do.
Have you published your codes?