Hi,

I measured a PWM output on sparkfun ATmega1280 and I found that when system is not armed all pwm outputs are 50 Hz, 1 ms, when I arm the system I experienced a variable frequency pwm output form 200 Hz to 300 Hz with duty cycle depending on the radio command. Is that normal? Thanks

Angelo

Tags: PWM, outputs

Views: 232

Reply to This

Replies to This Discussion

Yeah, that's "Instant PWM" kicking in.

Jason,

Could you tell us a bit more about the ESC update rate? I know the code loop speeds but not how fast the ESC update rate. Is it basically Turbo PWM or is that specifically different?

Thanks!!

the update rate are the same as the loop speed (each cycle, one update)

so you get a signal every run

Instant PWM? Oscilloscope correctly captured the signal with a variable frequency. Are the ESC capable of decoding such signal?

as we all see, yes, they are :D

ESCs dont typically use a clock pulse for sync so can take any frequency upto (i believe) 450hz ish. After that the 2ms maximum pulse width begins to blend into a constant high.

(Having looked at the implementation in APM_RC.cpp) Why isn't the timer/counter's 'TOP' value just reduced to 5000 rather than having that 'Force_Out0_Out1' jazz?  Manipulating the timer/counter register to 'skip' over part of the timing seems unnecessary and terrifying.

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service