Go Down

Topic: speed of PWM ? (Read 1 time) previous topic - next topic

Gadget999

I read that the The frequency of the PWM signal is approximately 490 Hz

can this be made faster ?

is there a shield that operates at a faster frequency ?

Grumpy_Mike

Quote
can this be made faster

Yes
http://www.arduino.cc/playground/Code/PwmFrequency

Quote
is there a shield that operates at a faster frequency ?

To do what?

Gadget999

#2
Jun 14, 2011, 09:16 pm Last Edit: Jun 14, 2011, 09:30 pm by Gadget999 Reason: 1
cheers for the link

it is to control a fuel injector,

its a shame you loose the time functions

can two boards be connected togther to one does the timing and one does the pwm ?

Grumpy_Mike

Quote

can two boards be connected togther to one does the timing and one does the pwm ?

Yes in any number of ways. It depends on how fast they need to communicate with each other.
You can use:-
I2C
SPI
Serial

Gadget999

ty

is there a shield / frame that allows you to plug them together ?

is there a limit on how many can be connected ?

Grumpy_Mike


Gadget999

do you daisychain them together with a ribbon cable to get them to work together ?

Udo Klein

You can generate PWM without loosing the time functions. You should take care to use only PWM that does not rely on timer0. Then the timer and PWM will not interfere at all.
Check out my experiments http://blog.blinkenlight.net

Gadget999


Grumpy_Mike

Quote
do you daisychain them together with a ribbon cable to get them to work together ?

I2C - yes
Anything else - no

growler

With an UNO just pins 5 and 6 use the same timer0 for pwm.  As has been said you can change the timer settings for timer1 and timer2 without losing the arduino timing functions.

Go Up