Hi
im using arduino mega and im having a problem. i need to change the frequency to 8Khz and i dont know how. i have 4 ESC that work with 8khz.
any help would be appriciated.
Hi
im using arduino mega and im having a problem. i need to change the frequency to 8Khz and i dont know how. i have 4 ESC that work with 8khz.
any help would be appriciated.
Please keep in mind that changing the PWM frequency changes the Atmega's timers and disrupts the normal operation of many functions that rely on time (delay(), millis(), Servo library).
http://playground.arduino.cc/Code/PwmFrequency
One good blog on setting PWM frequency is gone. What I do see is PWM using TLC5940 chips.
USING TLC5940 TO GENERATE VARIABLE FREQUENCY PWM SIGNALS USING ARDUINO
TLC5940
· The Texas Instruments TLC5940, TLC5940 data sheet, product information and support | TI.com, is a 16 Channel LED Driver which can be used to run up to 16 LEDs, at set PWM values.
· The chips can be cascaded together, normally up to 16, which give up to 196 channels. There is an option to cascade more than that as well, but that has not been tried and tested internally yet. More on that below.
They have more articles on TLC5940 PWM.
This one of many you can find articles on using any Arduino pin to make soft-PWM.
I was able to find these quickly. Imagine you would have your answers already if you only knew about Search!